Christoph Buchner

Results 643 comments of Christoph Buchner

> when translating the model the external libraries might be missed i guess Is the translation step different between Modelica simulation and FMU export? Because this simulates in OMEdit just...

Also, while you are investigating, please keep the closely related issue #7005 in mind -- the present issue is basically one aspect of #7005, so maybe it's possible and even...

I just tried this using OpenModelica v1.25.0-dev-56-gc804077a20, following observations: * Using the .dll library as in the original post, simulation works correctly, FMU export now completes successfully, the generate target...

OK, let's do a step-by-step to see where we diverge: * Windows 10, OpenModelica v1.25.0-dev-56-gc804077a20 (which includes your fix c804077a208f1ce6d24d6f4f3aadfe33e7e87751 AFAICT) * Model code from the original post https://github.com/OpenModelica/OpenModelica/issues/12640#issue-2370566704 (only...

> * Tools-Options-Simulations has "use static linking" OFF (=> is _that_ maybe the point of divergence?) I checked, no, even with "use static linking" checked, I get the same dependency...

> I did not simulate with PYFMI, since i had issues with installation, can you post what error message does `pyfmi` gives, because if it still needs the ExternalFunc1.dll we...

`conda install -c conda-forge pyfmi` does not work? (I was not familiar with the `::` syntax)

> @bilderbuchi Can you please test my generated fmu in pyfmi and also check the dependency [Example.zip](https://github.com/user-attachments/files/17257938/Example.zip) Simulation works, and ldd shows no dependency on the external dll ``` #...

> > `conda install -c conda-forge pyfmi` does not work? (I was not familiar with the `::` syntax), I tried to install so many approaches with different commands and i...

Here is my FMU (renamed .fmu to .zip) for you to try [Example.zip](https://github.com/user-attachments/files/17258196/Example.zip)