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.001326/0.001326, allocations: 175.1 kB / 12.73 MB, free: 2.59 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.342/1.342, allocations: 221.4 MB / 234.6 MB, free: 14.44 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009891/0.0009891, allocations: 95.11 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.0955/0.0955, allocations: 20.16 MB / 356.7 MB, free: 5.906 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.257/1.257, allocations: 127.5 MB / 0.5284 GB, free: 15.9 MB / 362.8 MB Notification: Performance of FrontEnd - loaded program: time 3.751e-05/3.761e-05, allocations: 4 kB / 0.618 GB, free: 3.941 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.579/0.5791, allocations: 82.84 MB / 0.6989 GB, free: 32.1 MB / 474.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.596/4.176, allocations: 1.161 GB / 1.86 GB, free: 115.1 MB / 0.7137 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002968/4.176, allocations: 59.97 kB / 1.86 GB, free: 115.1 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.04179/4.218, allocations: 18.96 MB / 1.879 GB, free: 96.25 MB / 0.7137 GB Notification: Performance of FrontEnd: time 1.203e-06/4.218, allocations: 0 / 1.879 GB, free: 96.25 MB / 0.7137 GB Notification: Performance of Transformations before backend: time 3.176e-05/4.218, allocations: 8 kB / 1.879 GB, free: 96.24 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.0008185/4.219, allocations: 0.5702 MB / 1.879 GB, free: 95.63 MB / 0.7137 GB Notification: Performance of prepare preOptimizeDAE: time 5.944e-05/4.219, allocations: 10.91 kB / 1.879 GB, free: 95.62 MB / 0.7137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001061/4.219, allocations: 66.53 kB / 1.879 GB, free: 95.55 MB / 0.7137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003045/4.219, allocations: 51.5 kB / 1.879 GB, free: 95.5 MB / 0.7137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005272/4.22, allocations: 299.4 kB / 1.88 GB, free: 95.16 MB / 0.7137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/4.22, allocations: 17.81 kB / 1.88 GB, free: 95.14 MB / 0.7137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.182e-05/4.22, allocations: 16 kB / 1.88 GB, free: 95.13 MB / 0.7137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005176/4.22, allocations: 416.1 kB / 1.88 GB, free: 94.63 MB / 0.7137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/4.22, allocations: 0 / 1.88 GB, free: 94.63 MB / 0.7137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.013e-05/4.22, allocations: 15.95 kB / 1.88 GB, free: 94.61 MB / 0.7137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.425e-05/4.221, allocations: 11.94 kB / 1.88 GB, free: 94.6 MB / 0.7137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003392/4.221, allocations: 187.4 kB / 1.88 GB, free: 94.42 MB / 0.7137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001848/4.223, allocations: 3.075 MB / 1.883 GB, free: 91.18 MB / 0.7137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001748/4.223, allocations: 153.5 kB / 1.884 GB, free: 91 MB / 0.7137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001166/4.223, allocations: 116.5 kB / 1.884 GB, free: 90.88 MB / 0.7137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.902e-05/4.223, allocations: 16.03 kB / 1.884 GB, free: 90.86 MB / 0.7137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/4.223, allocations: 34.56 kB / 1.884 GB, free: 90.82 MB / 0.7137 GB Notification: Performance of pre-optimization done (n=56): time 1.964e-06/4.223, allocations: 0 / 1.884 GB, free: 90.82 MB / 0.7137 GB Notification: Performance of matching and sorting (n=56): time 0.0004674/4.224, allocations: 225.2 kB / 1.884 GB, free: 90.59 MB / 0.7137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.938e-05/4.224, allocations: 140.5 kB / 1.884 GB, free: 90.42 MB / 0.7137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003002/4.224, allocations: 294.6 kB / 1.884 GB, free: 90.13 MB / 0.7137 GB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/4.224, allocations: 29.7 kB / 1.884 GB, free: 90.09 MB / 0.7137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/4.224, allocations: 215.7 kB / 1.885 GB, free: 89.88 MB / 0.7137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/4.224, allocations: 181.2 kB / 1.885 GB, free: 89.7 MB / 0.7137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.327e-05/4.224, allocations: 4.844 kB / 1.885 GB, free: 89.7 MB / 0.7137 GB Notification: Performance of setup shared object (initialization): time 9.892e-05/4.224, allocations: 350.8 kB / 1.885 GB, free: 89.34 MB / 0.7137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001302/4.224, allocations: 80.77 kB / 1.885 GB, free: 89.27 MB / 0.7137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002657/4.225, allocations: 352.7 kB / 1.885 GB, free: 88.79 MB / 0.7137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002428/4.225, allocations: 162 kB / 1.886 GB, free: 88.64 MB / 0.7137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.461e-06/4.225, allocations: 3.984 kB / 1.886 GB, free: 88.64 MB / 0.7137 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0006607/4.226, allocations: 468.5 kB / 1.886 GB, free: 88.17 MB / 0.7137 GB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/4.226, allocations: 9.25 kB / 1.886 GB, free: 88.16 MB / 0.7137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.586e-05/4.226, allocations: 36.88 kB / 1.886 GB, free: 88.13 MB / 0.7137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.767e-05/4.226, allocations: 16.09 kB / 1.886 GB, free: 88.11 MB / 0.7137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000168/4.226, allocations: 71.84 kB / 1.886 GB, free: 88.04 MB / 0.7137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.83e-05/4.226, allocations: 15.94 kB / 1.886 GB, free: 88.03 MB / 0.7137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002803/4.226, allocations: 71.14 kB / 1.886 GB, free: 87.96 MB / 0.7137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.365e-05/4.226, allocations: 31.98 kB / 1.886 GB, free: 87.93 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 () * 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 9.598e-05/4.226, allocations: 124.8 kB / 1.886 GB, free: 87.8 MB / 0.7137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001206/4.227, allocations: 39.48 kB / 1.886 GB, free: 87.76 MB / 0.7137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006737/4.227, allocations: 0.752 MB / 1.887 GB, free: 86.82 MB / 0.7137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.453e-05/4.227, allocations: 188.2 kB / 1.887 GB, free: 86.62 MB / 0.7137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.45e-05/4.227, allocations: 180.2 kB / 1.888 GB, free: 86.44 MB / 0.7137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.826e-05/4.227, allocations: 176.3 kB / 1.888 GB, free: 86.26 MB / 0.7137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003376/4.228, allocations: 0.5359 MB / 1.888 GB, free: 85.67 MB / 0.7137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.105e-05/4.228, allocations: 104.9 kB / 1.888 GB, free: 85.56 MB / 0.7137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.067e-05/4.228, allocations: 105 kB / 1.888 GB, free: 85.45 MB / 0.7137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.766e-05/4.228, allocations: 188.2 kB / 1.889 GB, free: 85.26 MB / 0.7137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.928e-05/4.228, allocations: 180.3 kB / 1.889 GB, free: 85.07 MB / 0.7137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.66e-05/4.228, allocations: 180.3 kB / 1.889 GB, free: 84.89 MB / 0.7137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.624e-05/4.228, allocations: 184.2 kB / 1.889 GB, free: 84.7 MB / 0.7137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001503/4.228, allocations: 347.3 kB / 1.889 GB, free: 84.34 MB / 0.7137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001839/4.228, allocations: 277.3 kB / 1.89 GB, free: 84.04 MB / 0.7137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.449e-05/4.228, allocations: 180.2 kB / 1.89 GB, free: 83.86 MB / 0.7137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001407/4.229, allocations: 108.9 kB / 1.89 GB, free: 83.75 MB / 0.7137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.324e-05/4.229, allocations: 180.3 kB / 1.89 GB, free: 83.56 MB / 0.7137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-05/4.229, allocations: 108.9 kB / 1.89 GB, free: 83.45 MB / 0.7137 GB Notification: Performance of sorting global known variables: time 0.000363/4.229, allocations: 353.5 kB / 1.891 GB, free: 83.1 MB / 0.7137 GB Notification: Performance of sort global known variables: time 1.9e-07/4.229, allocations: 0 / 1.891 GB, free: 83.1 MB / 0.7137 GB Notification: Performance of remove unused functions: time 0.0006423/4.23, allocations: 151.9 kB / 1.891 GB, free: 82.95 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 () * 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.001359/4.231, allocations: 1.184 MB / 1.892 GB, free: 81.83 MB / 0.7137 GB Notification: Performance of simCode: created initialization part: time 0.0004368/4.232, allocations: 449.5 kB / 1.892 GB, free: 81.35 MB / 0.7137 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/4.232, allocations: 1.938 kB / 1.892 GB, free: 81.35 MB / 0.7137 GB Notification: Performance of simCode: created simulation system equations: time 3.968e-06/4.232, allocations: 4 kB / 1.892 GB, free: 81.34 MB / 0.7137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003912/4.232, allocations: 0.5768 MB / 1.893 GB, free: 80.77 MB / 0.7137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00099/4.233, allocations: 496.7 kB / 1.893 GB, free: 80.24 MB / 0.7137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002473/4.233, allocations: 0.7755 MB / 1.894 GB, free: 79.44 MB / 0.7137 GB Notification: Performance of simCode: alias equations: time 0.0001911/4.233, allocations: 67.8 kB / 1.894 GB, free: 79.38 MB / 0.7137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001362/4.234, allocations: 107.3 kB / 1.894 GB, free: 79.27 MB / 0.7137 GB Notification: Performance of SimCode: time 4.51e-07/4.234, allocations: 0 / 1.894 GB, free: 79.27 MB / 0.7137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03089/4.264, allocations: 9.745 MB / 1.904 GB, free: 69.77 MB / 0.7137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002467/4.265, allocations: 175.7 kB / 1.904 GB, free: 69.55 MB / 0.7137 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -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:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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:178: note: 'omc_fixedMixingRatio' declared here TILMedia_VLEFluidTypes_D_BaseVLEFluid24refrigerant24vleFluidType omc_TILMedia_VLEFluidTypes_D_BaseVLEFluid24refrigerant24vleFluidType(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:217: note: 'omc_nc_propertyCalculation' declared here TILMedia_VLEFluidTypes_D_BaseVLEFluid24refrigerant24vleFluidType omc_TILMedia_VLEFluidTypes_D_BaseVLEFluid24refrigerant24vleFluidType(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:180: note: 'omc_fixedMixingRatio' declared here TILMedia_VLEFluidTypes_D_BaseVLEFluid24refrigerant224vleFluidType omc_TILMedia_VLEFluidTypes_D_BaseVLEFluid24refrigerant224vleFluidType(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:219: note: 'omc_nc_propertyCalculation' declared here TILMedia_VLEFluidTypes_D_BaseVLEFluid24refrigerant224vleFluidType omc_TILMedia_VLEFluidTypes_D_BaseVLEFluid24refrigerant224vleFluidType(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