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

.fmu file not working with OpenModelica #17

Closed
mantielero opened this issue Dec 7, 2023 · 1 comment
Closed

.fmu file not working with OpenModelica #17

mantielero opened this issue Dec 7, 2023 · 1 comment

Comments

@mantielero
Copy link
Collaborator

Using OMEdityou can import the model. Later you can instantiate it in a new model. The simulation raises:

Fallo en el proceso
[INFO][inc] [logFmiCall][FMU status:OK] fmi2Instantiate: GUID={8c4e810f-3df3-4a00-8276-176fa3c9f008} SIGSEGV: Illegal storage access. (Attempt to read from nil?) 
Fallo en el proceso Simulation process failed. Exited with code 11.
@mantielero
Copy link
Collaborator Author

Fixed: it was because functions object should have {.cdecl.} pragma for each function signature.

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

1 participant