Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem when calling getOutputDerivatives from FMU3Slave #694

Closed
Tapisama opened this issue Sep 19, 2024 · 0 comments · Fixed by #698
Closed

Problem when calling getOutputDerivatives from FMU3Slave #694

Tapisama opened this issue Sep 19, 2024 · 0 comments · Fixed by #698
Labels

Comments

@Tapisama
Copy link

https://github.com/CATIA-Systems/FMPy/blame/2196d875a753aee804df46f1b632bdfd4f4c8831/fmpy/fmi3.py#L999

Aparently, the call made from the referenced line is missing an argument. That would be the lenght of the resulting value array.

The definition of the official interface function at the beginning of the class definition seems to be correct (as defined by the standard) . And when running it, it finds the function in my fmu. But of course, when making this call it fails.

I don't feel like this could be an error on my end, but I would appreciate some confirmation as I'm generating my own FMUs and I was using fmpy as a validation tool.

Thank you for your time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants