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

ControlledTemperature FMI3 ME crash #5

Open
KarlWernersson opened this issue Nov 4, 2024 · 3 comments
Open

ControlledTemperature FMI3 ME crash #5

KarlWernersson opened this issue Nov 4, 2024 · 3 comments

Comments

@KarlWernersson
Copy link

Hi when i try to simulate ControlledTemperature as ME in fmi 3 i get a crash when i call freeInstance.

CallStack bmp

Attached is the call stack.
If i can help with additional info or anything else let me know

@Maplesoft-fmigroup
Copy link
Owner

@KarlWernersson Thanks for the report. It seems to be running without a crash in our FMU Import and fmusim. I wonder if this is related to directional derivatives. Are you using the directional derivatives that this FMU provides in your import? Does this crash still occur if you don't? Also, does the FMI 2 version of this FMU also result in a crash? Thanks in advance for any additional info.

@KarlWernersson
Copy link
Author

Hi, I checked again and i had turned on analytical Jacobian for the model translation so directionalDerivative was called, when i turned this of the simulation went well and I didn't have any crash.
I tried with FMI 2 and I didn't get any crash with or without directional derivatives.

@Maplesoft-fmigroup
Copy link
Owner

@KarlWernersson Hi Karl, could you please try the updated FMU CT3_dirderiv.fmu to see if it resolves the issue?

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

No branches or pull requests

2 participants