-
Notifications
You must be signed in to change notification settings - Fork 39
Description
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