-
Notifications
You must be signed in to change notification settings - Fork 50
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 export of system with embedded FMU does not work #257
Comments
Hello, I looked at that closed issue, which looks similar than mine. |
You seem to use rtwsfcnfmi.tlc target. To my understanding, nested FMUs are only supported with the grtfmi.tlc target |
Thanks a lot! You are right. This is very helpful. Could you please help me to understand the underlying issue? I have generated my own FMU from c-code and can't get the nested sfunction to work with this one. |
Nested FMUs are not supported with |
Thanks for the clarification. I understand that I can't use the sfunction FMI target. My goal is then to export an FMU with the grt fmi target of a system which includes a custom-made FMU. I made this FMU myself from scratch and would like to include in in a system which I want to export as an FMU with the FMIKit using the grt fmi target. Please point me in a direction what I need to do to get this to work. Thanks! |
The only requirement for exporting nested FMUs with grtfmi.tlc is that they have binaries for the platform you're exporting for. There is no source code required. |
I am using an FMU export from Adams model and trying to run it in simulink and I am still getting this error |
I created a simple model which includes an FMU generated with the FMIKit.
I export this model as an FMU again without errors or warnings, but the generated nested FMU does not execute. In Simulink the error message is:
With the FMU Simulator the message is:
Could not lad shared library. The specified module could not be found. (System Error 126)
Attached is my example code.
FMUinFMUtest.zip
The text was updated successfully, but these errors were encountered: