Andreas

Results 167 comments of Andreas

@BasilioPV the FMU size isn't a good indicator. You can use tools like [Dependencies](https://github.com/lucasg/Dependencies) too check why the DLL can't be loaded. Unzip the FMU and open `FMU/binaries/win64/Test_FMU.dll` with Dependencies...

That's looking good. Please open an issue with the FMU importing tool you use so that they'll add `SetDllDirectoryA` before loading the DLL. As far as I know there is...

Ah sorry, I misread the output from your image. Did you copy `Test_FMU.dll` out of `FMU/binaries/win64`? The location matters and there should be `libwinpthread-1.dll` in the same directory.

Can't reproduce with OpenModelica v1.23.0-dev-416-g0f1ee9aef5 (64-bit) on my Windows 11 or a clean Windows 11 virtual machine. libwinpthread-1.dll is in the binaries directory and Dependencies reports no load errors.

I tried again with the settings from your screenshot and here's the resulting FMU: [Test_FMU.zip](https://github.com/OpenModelica/OpenModelica/files/14883179/Test_FMU.zip) The only things I can think of are some settings in OMEdit we aren't aware...

As @BasilioPV showed it's installed together with OpenModelica in `C:\Program Files\OpenModelica1.23.0-dev-64bit\tools\msys\ucrt64\bin`. You have OMDev installed. Maybe that's the issue somehow? It also has pthreads and CMake available. But it seems...

For me the example testsuite\openmodelica\fmi\CoSimulation\2.0\ExportIdaFmu_cmake.mos is copying the IDA C files and not the CVODE files. Maybe you have some build error, or you forgot to run the `install` target...

I have the same issue in a TypeScript action. The [documentation](https://github.com/actions/toolkit/tree/main/packages/core#platform-helper) has an example how to use it, but indeed it's not defined.

Would UniFMI be a solution for this particular problem? See [Portable runtime environments for Python-based FMUs: Adding Docker support to UniFMU](https://2021.international.conference.modelica.org/proceedings/papers/Modelica2021session5B_paper4.pdf) from the 2021 Modelica Conference. With this it could...

Indeed I didn't had the right version of libgfortan on my machine. Thanks for the help!