Skip to content

Issue exporting FMU from Open Modelica OMEdit to Unreal 5.3.2 #28

@sebzuddas

Description

@sebzuddas

I managed to install and use the plugin in UE 5.3.2, but currently the FMU's I'm exporting from OMEdit are throwing errors.
I came to understand that there were two types of FMU's, co-simulation and model exchange. Co-simulation exports the solver alongside the model, whereas model exchange relies on the destination software to have its own solver. I'm suspecting this is the issue, however I cannot say for sure.

difference between co-simulation and model exchange

KERNELBASE
VCRUNTIME140
UnrealEditor_UEFMI!fmikit::FMU::error() [C:\dev\digital_twins\latest_engine_test\Plugins\UEFMI\Source\UEFMI\ThirdParty\fmikit\src\FMU.cpp:203]
UnrealEditor_UEFMI!fmikit::FMU::FMU() [C:\dev\digital_twins\latest_engine_test\Plugins\UEFMI\Source\UEFMI\ThirdParty\fmikit\src\FMU.cpp:168]
UnrealEditor_UEFMI!fmikit::FMU2::FMU2() [C:\dev\digital_twins\latest_engine_test\Plugins\UEFMI\Source\UEFMI\ThirdParty\fmikit\src\FMU2.cpp:25]
UnrealEditor_UEFMI!fmikit::FMU2Slave::FMU2Slave() [C:\dev\digital_twins\latest_engine_test\Plugins\UEFMI\Source\UEFMI\ThirdParty\fmikit\src\FMU2.cpp:197]
UnrealEditor_UEFMI!std::make_unique<fmikit::FMU2Slave,char *,char *,char *,char *,0>() [C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.39.33519\INCLUDE\memory:3434]
UnrealEditor_UEFMI!AA_FMU::Initialize() [C:\dev\digital_twins\latest_engine_test\Plugins\UEFMI\Source\UEFMI\Private\A_FMU.cpp:113]
UnrealEditor_UEFMI!AA_FMU::BeginPlay() [C:\dev\digital_twins\latest_engine_test\Plugins\UEFMI\Source\UEFMI\Private\A_FMU.cpp:100]
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_UnrealEd
UnrealEditor_UnrealEd
UnrealEditor_UnrealEd
UnrealEditor_UnrealEd
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_UnrealEd
UnrealEditor_UnrealEd
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
kernel32
ntdll

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions