Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ClaRa_dev_ClaRa.Basics.Media.CreateInterpolatedMedium.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo", uses=false) loadFile("/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo", uses=false) Using package ClaRa with version 1.8.0 (/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo) Using package TILMedia with version 1.8.0 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ClaRa.Basics.Media.CreateInterpolatedMedium,fileNamePrefix="ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Basics.Media.CreateInterpolatedMedium,fileNamePrefix="ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008516/0.008516, allocations: 169.7 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.644/1.644, allocations: 223.2 MB / 239 MB, free: 1.785 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 101.6 kB / 290.2 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.1113/0.1113, allocations: 20.33 MB / 361.6 MB, free: 6.648 MB / 298.7 MB [/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/Components/Sensors/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: TinySensorGas_L1_O2dry [/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/Basics/ControlVolumes/Fundamentals/PressureLoss/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: TubeType_L2 TubeType_L3 ShellType_L2 ShellType_L3 [/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/Basics/ControlVolumes/Fundamentals/HeatTransport/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: TubeType_L2 TubeType_L3 ShellType_L2 ShellType_L3 [/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/Basics/ControlVolumes/FluidVolumes/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: VolumeVLE_2 VolumeVLE_3_TwoZones Notification: Performance of loadFile(/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo): time 1.195/1.195, allocations: 127.1 MB / 0.533 GB, free: 16.97 MB / 362.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0005013/0.0005015, allocations: 16 kB / 0.6255 GB, free: 11.05 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2071/0.2076, allocations: 82.86 MB / 0.7065 GB, free: 8.395 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.509/3.717, allocations: 1.161 GB / 1.868 GB, free: 207.3 MB / 0.7137 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002936/3.717, allocations: 66.67 kB / 1.868 GB, free: 207.3 MB / 0.7137 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/VLEFluidObjectFunctions.mo:354:25-355:85:writable] Warning: Ignoring external declaration of the extended class: density_phxi. Notification: Performance of FrontEnd - DAE generated: time 0.04804/3.765, allocations: 19.32 MB / 1.887 GB, free: 198 MB / 0.7137 GB Notification: Performance of FrontEnd: time 2.064e-06/3.765, allocations: 0.9688 kB / 1.887 GB, free: 198 MB / 0.7137 GB Notification: Performance of Transformations before backend: time 3.304e-05/3.765, allocations: 13.62 kB / 1.887 GB, free: 198 MB / 0.7137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.0009722/3.766, allocations: 0.6026 MB / 1.887 GB, free: 197.5 MB / 0.7137 GB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/3.766, allocations: 12.62 kB / 1.887 GB, free: 197.5 MB / 0.7137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.858e-05/3.767, allocations: 69.05 kB / 1.887 GB, free: 197.4 MB / 0.7137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003533/3.767, allocations: 53.19 kB / 1.887 GB, free: 197.4 MB / 0.7137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005815/3.767, allocations: 299.8 kB / 1.888 GB, free: 197.1 MB / 0.7137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/3.768, allocations: 11.97 kB / 1.888 GB, free: 197.1 MB / 0.7137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.783e-05/3.768, allocations: 19.81 kB / 1.888 GB, free: 197.1 MB / 0.7137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005103/3.768, allocations: 414.5 kB / 1.888 GB, free: 196.7 MB / 0.7137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/3.768, allocations: 6.188 kB / 1.888 GB, free: 196.7 MB / 0.7137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.991e-05/3.768, allocations: 8.219 kB / 1.888 GB, free: 196.7 MB / 0.7137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.933e-05/3.768, allocations: 8.781 kB / 1.888 GB, free: 196.7 MB / 0.7137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003244/3.768, allocations: 191.3 kB / 1.888 GB, free: 196.6 MB / 0.7137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001794/3.77, allocations: 3.07 MB / 1.891 GB, free: 193.5 MB / 0.7137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000189/3.771, allocations: 159.3 kB / 1.891 GB, free: 193.4 MB / 0.7137 GB Notification: Performance of preOpt evalFunc (simulation): time 5.29e-05/3.771, allocations: 17.56 kB / 1.892 GB, free: 193.3 MB / 0.7137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.077e-05/3.771, allocations: 32.53 kB / 1.892 GB, free: 193.3 MB / 0.7137 GB Notification: Performance of pre-optimization done (n=56): time 2.054e-06/3.771, allocations: 0 / 1.892 GB, free: 193.3 MB / 0.7137 GB Notification: Performance of matching and sorting (n=56): time 0.0008686/3.771, allocations: 0.9495 MB / 1.892 GB, free: 192.4 MB / 0.7137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.761e-05/3.772, allocations: 130.7 kB / 1.893 GB, free: 192.2 MB / 0.7137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003823/3.772, allocations: 304.1 kB / 1.893 GB, free: 192 MB / 0.7137 GB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/3.772, allocations: 26.67 kB / 1.893 GB, free: 192 MB / 0.7137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/3.772, allocations: 215.2 kB / 1.893 GB, free: 191.8 MB / 0.7137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/3.772, allocations: 178.4 kB / 1.893 GB, free: 191.6 MB / 0.7137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.52e-05/3.772, allocations: 6.156 kB / 1.893 GB, free: 191.6 MB / 0.7137 GB Notification: Performance of setup shared object (initialization): time 9.535e-05/3.772, allocations: 347.1 kB / 1.894 GB, free: 191.3 MB / 0.7137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001615/3.772, allocations: 90.23 kB / 1.894 GB, free: 191.2 MB / 0.7137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00029/3.773, allocations: 358.1 kB / 1.894 GB, free: 190.8 MB / 0.7137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002746/3.773, allocations: 157.4 kB / 1.894 GB, free: 190.7 MB / 0.7137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.223e-06/3.773, allocations: 2.594 kB / 1.894 GB, free: 190.7 MB / 0.7137 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0008196/3.774, allocations: 476.3 kB / 1.895 GB, free: 190.5 MB / 0.7137 GB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/3.774, allocations: 9.344 kB / 1.895 GB, free: 190.5 MB / 0.7137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.707e-05/3.774, allocations: 30.41 kB / 1.895 GB, free: 190.5 MB / 0.7137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.97e-05/3.774, allocations: 14.31 kB / 1.895 GB, free: 190.5 MB / 0.7137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001886/3.774, allocations: 71.5 kB / 1.895 GB, free: 190.4 MB / 0.7137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.852e-05/3.774, allocations: 16.78 kB / 1.895 GB, free: 190.4 MB / 0.7137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003311/3.775, allocations: 63.12 kB / 1.895 GB, free: 190.4 MB / 0.7137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.362e-05/3.775, allocations: 32.27 kB / 1.895 GB, free: 190.4 MB / 0.7137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001812/3.775, allocations: 170.3 kB / 1.895 GB, free: 190.2 MB / 0.7137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/3.775, allocations: 46.19 kB / 1.895 GB, free: 190.2 MB / 0.7137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006976/3.776, allocations: 0.748 MB / 1.896 GB, free: 189.4 MB / 0.7137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.909e-05/3.776, allocations: 180.2 kB / 1.896 GB, free: 189.2 MB / 0.7137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-05/3.776, allocations: 181.7 kB / 1.896 GB, free: 189 MB / 0.7137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.741e-05/3.776, allocations: 182.1 kB / 1.896 GB, free: 188.8 MB / 0.7137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000398/3.776, allocations: 0.5411 MB / 1.897 GB, free: 188.3 MB / 0.7137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.826e-05/3.776, allocations: 108.9 kB / 1.897 GB, free: 188.2 MB / 0.7137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.656e-05/3.776, allocations: 106.1 kB / 1.897 GB, free: 188.1 MB / 0.7137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.733e-05/3.776, allocations: 181.4 kB / 1.897 GB, free: 187.9 MB / 0.7137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.101e-05/3.776, allocations: 177.4 kB / 1.897 GB, free: 187.7 MB / 0.7137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.942e-05/3.776, allocations: 185.6 kB / 1.898 GB, free: 187.5 MB / 0.7137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.591e-05/3.776, allocations: 176.3 kB / 1.898 GB, free: 187.3 MB / 0.7137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001711/3.777, allocations: 352.2 kB / 1.898 GB, free: 187 MB / 0.7137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002397/3.777, allocations: 281.8 kB / 1.898 GB, free: 186.7 MB / 0.7137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/3.777, allocations: 177.5 kB / 1.899 GB, free: 186.5 MB / 0.7137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001501/3.777, allocations: 106 kB / 1.899 GB, free: 186.4 MB / 0.7137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.266e-05/3.777, allocations: 185.4 kB / 1.899 GB, free: 186.2 MB / 0.7137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.339e-05/3.777, allocations: 101 kB / 1.899 GB, free: 186.1 MB / 0.7137 GB Notification: Performance of sorting global known variables: time 0.000466/3.778, allocations: 357.1 kB / 1.899 GB, free: 185.9 MB / 0.7137 GB Notification: Performance of sort global known variables: time 2.1e-07/3.778, allocations: 1.25 kB / 1.899 GB, free: 185.9 MB / 0.7137 GB Notification: Performance of remove unused functions: time 0.0007873/3.778, allocations: 153 kB / 1.899 GB, free: 185.9 MB / 0.7137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001355/3.78, allocations: 1.215 MB / 1.901 GB, free: 184.9 MB / 0.7137 GB Notification: Performance of simCode: created initialization part: time 0.0005075/3.78, allocations: 448.8 kB / 1.901 GB, free: 184.5 MB / 0.7137 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/3.78, allocations: 0 / 1.901 GB, free: 184.5 MB / 0.7137 GB Notification: Performance of simCode: created simulation system equations: time 1.893e-06/3.78, allocations: 4.188 kB / 1.901 GB, free: 184.5 MB / 0.7137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004041/3.781, allocations: 0.5663 MB / 1.902 GB, free: 184 MB / 0.7137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005315/3.786, allocations: 8.235 MB / 1.91 GB, free: 176.2 MB / 0.7137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000267/3.786, allocations: 0.7897 MB / 1.91 GB, free: 175.4 MB / 0.7137 GB Notification: Performance of simCode: alias equations: time 0.0002151/3.787, allocations: 64.97 kB / 1.91 GB, free: 175.4 MB / 0.7137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001362/3.787, allocations: 102.2 kB / 1.911 GB, free: 175.3 MB / 0.7137 GB Notification: Performance of SimCode: time 5.71e-07/3.787, allocations: 0 / 1.911 GB, free: 175.3 MB / 0.7137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0256/3.812, allocations: 9.436 MB / 1.92 GB, free: 169 MB / 0.7137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001741/3.813, allocations: 199 kB / 1.92 GB, free: 168.8 MB / 0.7137 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium.o ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium.c In file included from ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium.c:7: In file included from ./ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium_functions.o ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium_functions.c In file included from ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium_functions.c:2: In file included from ./ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium_functions.c:271:25: warning: implicit declaration of function 'TILMedia_createExternalObject' is invalid in C99 [-Wimplicit-function-declaration] _externalObject_ext = TILMedia_createExternalObject(MMC_STRINGDATA(_objectType), MMC_STRINGDATA(_mediumName), _flags_ext, (const double*) _xi_c89, _nc_ext, _condensingIndex_ext, MMC_STRINGDATA(_instanceName)); ^ ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium_functions.c:271:23: warning: incompatible integer to pointer conversion assigning to 'void *' from 'int' [-Wint-conversion] _externalObject_ext = TILMedia_createExternalObject(MMC_STRINGDATA(_objectType), MMC_STRINGDATA(_mediumName), _flags_ext, (const double*) _xi_c89, _nc_ext, _condensingIndex_ext, MMC_STRINGDATA(_instanceName)); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium_functions.c:339:82: warning: passing 'const double *' to parameter of type 'double *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] _s_ext = TILMedia_VLEFluidObjectFunctions_specificEntropy_phxi(_p_ext, _h_ext, (const double*) _xi_c89, _vleFluidPointer_ext); ^~~~~~~~~~~~~~~~~~~~~~~ ./ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium_includes.h:11:85: note: passing argument to parameter here double TILMedia_VLEFluidObjectFunctions_specificEntropy_phxi(double, double, double*, void*); ^ ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium_functions.c:371:78: warning: passing 'const double *' to parameter of type 'double *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] _T_ext = TILMedia_VLEFluidObjectFunctions_temperature_phxi(_p_ext, _h_ext, (const double*) _xi_c89, _vleFluidPointer_ext); ^~~~~~~~~~~~~~~~~~~~~~~ ./ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium_includes.h:10:81: note: passing argument to parameter here double TILMedia_VLEFluidObjectFunctions_temperature_phxi(double, double, double*, void*); ^ ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium_functions.c:442:56: warning: passing 'const double *' to parameter of type 'double *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] TILMedia_VLEFluid_VLEProperties_phxi(_p_ext, _h_ext, (const double*) _xi_c89, _vleFluidPointer_ext, &_d_l_ext, &_h_l_ext, &_p_l_ext, &_s_l_ext, &_T_l_ext, (double*) _xi_l_c89, &_d_v_ext, &_h_v_ext, &_p_v_ext, &_s_v_ext, &_T_v_ext, (double*) _xi_v_c89); ^~~~~~~~~~~~~~~~~~~~~~~ ./ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium_includes.h:8:66: note: passing argument to parameter here void TILMedia_VLEFluid_VLEProperties_phxi(double, double, double*, void*, double*, double*, double*, double*, double*, double*, ^ ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium_functions.c:548:63: warning: passing 'const double *' to parameter of type 'double *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] TILMedia_VLEFluid_additionalProperties_phxi(_p_ext, _h_ext, (const double*) _xi_c89, _vleFluidPointer_ext, &_x_ext, &_cp_ext, &_cv_ext, &_beta_ext, &_kappa_ext, &_drhodp_ext, &_drhodh_ext, (double*) _drhodxi_c89, &_a_ext, &_gamma_ext); ^~~~~~~~~~~~~~~~~~~~~~~ ./ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium_includes.h:7:73: note: passing argument to parameter here void TILMedia_VLEFluid_additionalProperties_phxi(double, double, double*, void*, double*, double*, double*, double*, double*, double*, double*, double*, double*, double*); ^ ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium_functions.c:622:37: warning: passing 'const double *' to parameter of type 'double *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] TILMedia_VLEFluid_cricondenbar_xi((const double*) _xi_c89, _vleFluidPointer_ext, &_d_ext, &_h_ext, &_p_ext, &_s_ext, &_T_ext); ^~~~~~~~~~~~~~~~~~~~~~~ ./ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium_includes.h:6:47: note: passing argument to parameter here void TILMedia_VLEFluid_cricondenbar_xi(double*, void*, double*, double*, double*, double*, double*); ^ ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium_functions.c:675:62: warning: passing 'const double *' to parameter of type 'double *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] TILMedia_VLEFluid_transportProperties_phxi(_p_ext, _h_ext, (const double*) _xi_c89, _vleFluidPointer_ext, &_Pr_ext, &_lambda_ext, &_eta_ext, &_sigma_ext); ^~~~~~~~~~~~~~~~~~~~~~~ ./ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium_includes.h:5:72: note: passing argument to parameter here void TILMedia_VLEFluid_transportProperties_phxi(double, double, double*, void*, double*, double*, double*, double*); ^ ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium_functions.c:732:15: error: use of undeclared identifier '_fixedMixingRatio'; did you mean 'omc_fixedMixingRatio'? tmp1._nc = (_fixedMixingRatio?((modelica_integer) 1):_nc_propertyCalculation); ^~~~~~~~~~~~~~~~~ omc_fixedMixingRatio ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium_functions.c:729:120: note: 'omc_fixedMixingRatio' declared here TILMedia_VLEFluidTypes_BaseVLEFluid omc_TILMedia_VLEFluidTypes_BaseVLEFluid(threadData_t *threadData, modelica_boolean omc_fixedMixingRatio, modelica_integer omc_nc_propertyCalculation, string_array omc_vleFluidNames, real_array omc_mixingRatio_propertyCalculation, real_array omc_defaultMixingRatio, real_array omc_xi_default, modelica_string omc_concatVLEFluidName) ^ ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium_functions.c:732:56: error: use of undeclared identifier '_nc_propertyCalculation'; did you mean 'omc_nc_propertyCalculation'? tmp1._nc = (_fixedMixingRatio?((modelica_integer) 1):_nc_propertyCalculation); ^~~~~~~~~~~~~~~~~~~~~~~ omc_nc_propertyCalculation ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium_functions.c:729:159: note: 'omc_nc_propertyCalculation' declared here TILMedia_VLEFluidTypes_BaseVLEFluid omc_TILMedia_VLEFluidTypes_BaseVLEFluid(threadData_t *threadData, modelica_boolean omc_fixedMixingRatio, modelica_integer omc_nc_propertyCalculation, string_array omc_vleFluidNames, real_array omc_mixingRatio_propertyCalculation, real_array omc_defaultMixingRatio, real_array omc_xi_default, modelica_string omc_concatVLEFluidName) ^ ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium_functions.c:752:15: error: use of undeclared identifier '_fixedMixingRatio'; did you mean 'omc_fixedMixingRatio'? tmp1._nc = (_fixedMixingRatio?((modelica_integer) 1):_nc_propertyCalculation); ^~~~~~~~~~~~~~~~~ omc_fixedMixingRatio ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium_functions.c:749:188: note: 'omc_fixedMixingRatio' declared here TILMedia_VLEFluidTypes__omcQBaseVLEFluid_24refrigerant_24vleFluidType omc_TILMedia_VLEFluidTypes__omcQBaseVLEFluid_24refrigerant_24vleFluidType(threadData_t *threadData, modelica_boolean omc_fixedMixingRatio, modelica_integer omc_nc_propertyCalculation, string_array omc_vleFluidNames, real_array omc_mixingRatio_propertyCalculation, real_array omc_defaultMixingRatio, real_array omc_xi_default, modelica_string omc_concatVLEFluidName) ^ ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium_functions.c:752:56: error: use of undeclared identifier '_nc_propertyCalculation'; did you mean 'omc_nc_propertyCalculation'? tmp1._nc = (_fixedMixingRatio?((modelica_integer) 1):_nc_propertyCalculation); ^~~~~~~~~~~~~~~~~~~~~~~ omc_nc_propertyCalculation ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium_functions.c:749:227: note: 'omc_nc_propertyCalculation' declared here TILMedia_VLEFluidTypes__omcQBaseVLEFluid_24refrigerant_24vleFluidType omc_TILMedia_VLEFluidTypes__omcQBaseVLEFluid_24refrigerant_24vleFluidType(threadData_t *threadData, modelica_boolean omc_fixedMixingRatio, modelica_integer omc_nc_propertyCalculation, string_array omc_vleFluidNames, real_array omc_mixingRatio_propertyCalculation, real_array omc_defaultMixingRatio, real_array omc_xi_default, modelica_string omc_concatVLEFluidName) ^ ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium_functions.c:772:15: error: use of undeclared identifier '_fixedMixingRatio'; did you mean 'omc_fixedMixingRatio'? tmp1._nc = (_fixedMixingRatio?((modelica_integer) 1):_nc_propertyCalculation); ^~~~~~~~~~~~~~~~~ omc_fixedMixingRatio ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium_functions.c:769:190: note: 'omc_fixedMixingRatio' declared here TILMedia_VLEFluidTypes__omcQBaseVLEFluid_24refrigerant2_24vleFluidType omc_TILMedia_VLEFluidTypes__omcQBaseVLEFluid_24refrigerant2_24vleFluidType(threadData_t *threadData, modelica_boolean omc_fixedMixingRatio, modelica_integer omc_nc_propertyCalculation, string_array omc_vleFluidNames, real_array omc_mixingRatio_propertyCalculation, real_array omc_defaultMixingRatio, real_array omc_xi_default, modelica_string omc_concatVLEFluidName) ^ ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium_functions.c:772:56: error: use of undeclared identifier '_nc_propertyCalculation'; did you mean 'omc_nc_propertyCalculation'? tmp1._nc = (_fixedMixingRatio?((modelica_integer) 1):_nc_propertyCalculation); ^~~~~~~~~~~~~~~~~~~~~~~ omc_nc_propertyCalculation ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium_functions.c:769:229: note: 'omc_nc_propertyCalculation' declared here TILMedia_VLEFluidTypes__omcQBaseVLEFluid_24refrigerant2_24vleFluidType omc_TILMedia_VLEFluidTypes__omcQBaseVLEFluid_24refrigerant2_24vleFluidType(threadData_t *threadData, modelica_boolean omc_fixedMixingRatio, modelica_integer omc_nc_propertyCalculation, string_array omc_vleFluidNames, real_array omc_mixingRatio_propertyCalculation, real_array omc_defaultMixingRatio, real_array omc_xi_default, modelica_string omc_concatVLEFluidName) ^ 10 warnings and 6 errors generated. make: *** [: ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium_functions.o] Error 1