Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register

Error Running Test for new Medium Definition

Error Running Test for new Medium Definition

Hello,

I'm defining a new medium for use in with the fluids components in the standard library.  I followed the guidelines in the build in documentation in the Medium package.  Now I'm trying to run this test:

Code:


within gri30;

model Test_gri30
   extends Modelica.Media.Examples.Tests.Components.PartialTestModel(
            redeclare package Medium = gri30);
end Test_gri30;

When I run Test_gri30, I get this error:

Code:


[1] 08:52:33 Error
OMC unable to load `./Modelica_specificEnthalpy_pTX_15.so': ./Modelica_specificEnthalpy_pTX_15.so: undefined symbol: omc_Modelica_Media_Examples_Tests_Components_FluidPort__a$shortPipe$port__a_Medium_setState__pTX.

...

[16] 08:52:33 Error
OMC unable to load `./gri30_Test__gri30_Medium_specificEnthalpy__pTX.so': ./gri30_Test__gri30_Medium_specificEnthalpy__pTX.so: undefined symbol: omc_gri30_Test__gri30_Medium_setState__pTX.


[17] 08:52:33 Translation Error
Error occurred while flattening model gri30.Test_gri30

Any hints?

Thank you,

Adam Lange

There are 0 guests and 0 other users also viewing this topic
You are here: