You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Simple model with sink, source and temperature sensor fails to compile in both Dymola and OpenModelica.
Error message on OpenModelica is: Error: External function ‘TwoPhaseMedium_setState_pT_C_impl_wrap‘ could not be found in any of the given shared libraries;
Error message on Dymola is: dsmodel.c(94): error C2084: function 'void TwoPhaseMedium_setState_pT_C_impl_wrap(double,double,ExternalThermodynamicState *,const char *,const char *,const char *)' already has a body dsmodel.c(84): note: see previous definition of 'TwoPhaseMedium_setState_pT_C_impl_wrap' dsmodel.c(112): error C2084: function 'void TwoPhaseMedium_setState_ph_C_impl_wrap(double,double,int,ExternalThermodynamicState *,const char *,const char *,const char *)' already has a body dsmodel.c(102): note: see previous definition of 'TwoPhaseMedium_setState_ph_C_impl_wrap'
The error on Dymola is the same as in #102.
The test case is attached Test_Tsensor_MSLTotal.zip
The text was updated successfully, but these errors were encountered:
Simple model with sink, source and temperature sensor fails to compile in both Dymola and OpenModelica.
Error message on OpenModelica is:
Error: External function ‘TwoPhaseMedium_setState_pT_C_impl_wrap‘ could not be found in any of the given shared libraries
;Error message on Dymola is:
dsmodel.c(94): error C2084: function 'void TwoPhaseMedium_setState_pT_C_impl_wrap(double,double,ExternalThermodynamicState *,const char *,const char *,const char *)' already has a body
dsmodel.c(84): note: see previous definition of 'TwoPhaseMedium_setState_pT_C_impl_wrap'
dsmodel.c(112): error C2084: function 'void TwoPhaseMedium_setState_ph_C_impl_wrap(double,double,int,ExternalThermodynamicState *,const char *,const char *,const char *)' already has a body
dsmodel.c(102): note: see previous definition of 'TwoPhaseMedium_setState_ph_C_impl_wrap'
The error on Dymola is the same as in #102.
The test case is attached
Test_Tsensor_MSLTotal.zip
The text was updated successfully, but these errors were encountered: