Open
Description
Describe the bug
FMUs exported from Hopsan crashes if the exported model contains subsystems.
To Reproduce
If the bug can be reproduce, please give the steps taken to reproduce the behavior:
- Create a Hopsan model with a subsystem
- Export model to FMU
- Import FMU to Hopsan (or other importing tool)
- Simulate
- Segmentation fault
Expected behavior
No segmentation fault :)
Hopsan version (please complete the following information):
Version information is shown in the message widget when HopsanGUI is started
- OS: Confirmed on both Windows 11 and Ubuntu
- Version: 2.21.0