-
Notifications
You must be signed in to change notification settings - Fork 297
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
PowerGrids IEEE14bus models generate a compiler error under Win11 pro #12055
Comments
Ouch, this should not be the case, the functions should be forward declared. Is this with daeMode? |
Yes, the simulation is made by using daeMode and also the minimal tearing, herebelow the simulation settings: |
- forward the equation functions in the main file 16dae.c file from the part files.
My bad, I tested with |
Is that the reason why the failure does not happen in the CI? |
Should be fixed now. I also changed |
I suppose because Linux and Win use a different C compiler, and AFAIK the CI is made by using Linux only |
As I understand, the generated C code was invalid. The difference was that OMEdit used buildModel while the CI used translateModel |
If I remember right, the CI under Linux simulated, so the compiler had accepted the code. |
I checked with the latest nighty on Windows, problem solved |
Description
Starting from the OpenModelica version v1.23.0-dev-340-g2ab9ff89dc (64-bit) all the models of the network IEEE14bus in PowerGrids library fail the compile phase under WIN11 pro 64 bit
Steps to Reproduce
PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow
in OMEditThe compile phase fails and a lot of the following errors are thrown
The same happens with all the IEEE14bus models.
Version and OS
OpenModelica v1.23.0-dev-340-g2ab9ff89dc (64-bit)
Win11 pro - 64 bit
The text was updated successfully, but these errors were encountered: