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.001321/0.001321, allocations: 173.7 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.821/1.821, allocations: 221.5 MB / 229.6 MB, free: 7.598 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.001063/0.001063, allocations: 94.11 kB / 280.5 MB, free: 5.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.09032/0.09032, allocations: 20.18 MB / 351.4 MB, free: 11.02 MB / 250.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 0.8288/0.8288, allocations: 127.6 MB / 0.5233 GB, free: 1.035 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.491e-05/2.493e-05, allocations: 4 kB / 0.6111 GB, free: 7.707 MB / 378.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6862/0.6862, allocations: 82.86 MB / 0.692 GB, free: 3.031 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.709/4.396, allocations: 1.161 GB / 1.853 GB, free: 122.5 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004037/4.396, allocations: 63.97 kB / 1.853 GB, free: 122.4 MB / 0.698 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.04109/4.437, allocations: 18.75 MB / 1.871 GB, free: 103.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.445e-06/4.437, allocations: 4 kB / 1.871 GB, free: 103.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.425e-05/4.437, allocations: 8 kB / 1.871 GB, free: 103.7 MB / 0.698 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.001002/4.438, allocations: 0.5686 MB / 1.872 GB, free: 103 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.627e-05/4.439, allocations: 8.031 kB / 1.872 GB, free: 103 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003886/4.439, allocations: 55.5 kB / 1.872 GB, free: 103 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005825/4.44, allocations: 295.4 kB / 1.872 GB, free: 102.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.316e-05/4.44, allocations: 8 kB / 1.872 GB, free: 102.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.715e-05/4.44, allocations: 8 kB / 1.872 GB, free: 102.6 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002951/4.44, allocations: 144.7 kB / 1.872 GB, free: 102.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000447/4.44, allocations: 376.6 kB / 1.872 GB, free: 102 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/4.44, allocations: 7.953 kB / 1.872 GB, free: 102 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.627e-05/4.44, allocations: 4 kB / 1.872 GB, free: 102 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.513e-05/4.44, allocations: 8 kB / 1.872 GB, free: 102 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001775/4.442, allocations: 3.032 MB / 1.875 GB, free: 98.82 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001611/4.442, allocations: 146.4 kB / 1.876 GB, free: 98.64 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/4.443, allocations: 103.5 kB / 1.876 GB, free: 98.53 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.408e-05/4.443, allocations: 7.953 kB / 1.876 GB, free: 98.52 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/4.443, allocations: 38.56 kB / 1.876 GB, free: 98.48 MB / 0.698 GB Notification: Performance of pre-optimization done (n=56): time 2.104e-06/4.443, allocations: 0 / 1.876 GB, free: 98.48 MB / 0.698 GB Notification: Performance of matching and sorting (n=56): time 0.0004607/4.443, allocations: 221.4 kB / 1.876 GB, free: 98.25 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/4.443, allocations: 140.3 kB / 1.876 GB, free: 98.09 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002807/4.443, allocations: 280.9 kB / 1.876 GB, free: 97.81 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/4.443, allocations: 25.7 kB / 1.876 GB, free: 97.78 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.464e-05/4.444, allocations: 211.8 kB / 1.877 GB, free: 97.57 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.552e-05/4.444, allocations: 181.2 kB / 1.877 GB, free: 97.39 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.272e-05/4.444, allocations: 0 / 1.877 GB, free: 97.39 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.206e-05/4.444, allocations: 346.8 kB / 1.877 GB, free: 97.04 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001139/4.444, allocations: 80.83 kB / 1.877 GB, free: 96.96 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002217/4.444, allocations: 348.7 kB / 1.877 GB, free: 96.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002594/4.444, allocations: 135.8 kB / 1.878 GB, free: 96.36 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/4.444, allocations: 4 kB / 1.878 GB, free: 96.36 MB / 0.698 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0006282/4.445, allocations: 421 kB / 1.878 GB, free: 95.95 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/4.445, allocations: 15.95 kB / 1.878 GB, free: 95.93 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.828e-05/4.445, allocations: 27.97 kB / 1.878 GB, free: 95.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.656e-05/4.445, allocations: 16 kB / 1.878 GB, free: 95.89 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001717/4.445, allocations: 71.84 kB / 1.878 GB, free: 95.82 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.467e-05/4.445, allocations: 15.94 kB / 1.878 GB, free: 95.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003189/4.446, allocations: 55.66 kB / 1.878 GB, free: 95.75 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.573e-05/4.446, allocations: 31.98 kB / 1.878 GB, free: 95.71 MB / 0.698 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 0.0001091/4.446, allocations: 124.8 kB / 1.878 GB, free: 95.59 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003563/4.446, allocations: 224.8 kB / 1.879 GB, free: 95.36 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.285e-05/4.446, allocations: 39.48 kB / 1.879 GB, free: 95.32 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006491/4.447, allocations: 0.7475 MB / 1.879 GB, free: 94.39 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.755e-05/4.447, allocations: 180.3 kB / 1.879 GB, free: 94.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.465e-05/4.447, allocations: 184.2 kB / 1.88 GB, free: 94.02 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.559e-05/4.447, allocations: 176.5 kB / 1.88 GB, free: 93.84 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003273/4.447, allocations: 0.5208 MB / 1.88 GB, free: 93.27 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-05/4.448, allocations: 112.9 kB / 1.88 GB, free: 93.15 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.195e-05/4.448, allocations: 101 kB / 1.881 GB, free: 93.05 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.191e-05/4.448, allocations: 192.2 kB / 1.881 GB, free: 92.85 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.631e-05/4.448, allocations: 180.2 kB / 1.881 GB, free: 92.67 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.495e-05/4.448, allocations: 176.3 kB / 1.881 GB, free: 92.49 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.754e-05/4.448, allocations: 180.2 kB / 1.881 GB, free: 92.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001422/4.448, allocations: 343.3 kB / 1.882 GB, free: 91.95 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001796/4.448, allocations: 277.3 kB / 1.882 GB, free: 91.65 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.772e-05/4.448, allocations: 188.2 kB / 1.882 GB, free: 91.46 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/4.448, allocations: 105.8 kB / 1.882 GB, free: 91.35 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.694e-05/4.448, allocations: 176.3 kB / 1.882 GB, free: 91.17 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.19e-05/4.448, allocations: 104.9 kB / 1.882 GB, free: 91.06 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003143/4.449, allocations: 330.9 kB / 1.883 GB, free: 90.73 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/4.449, allocations: 0 / 1.883 GB, free: 90.73 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006343/4.449, allocations: 139.9 kB / 1.883 GB, free: 90.6 MB / 0.698 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.00126/4.451, allocations: 1.196 MB / 1.884 GB, free: 89.46 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004016/4.451, allocations: 437.3 kB / 1.884 GB, free: 88.98 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/4.451, allocations: 2.5 kB / 1.884 GB, free: 88.98 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.464e-06/4.451, allocations: 0 / 1.884 GB, free: 88.98 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003825/4.451, allocations: 0.5713 MB / 1.885 GB, free: 88.41 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009771/4.452, allocations: 483.7 kB / 1.885 GB, free: 87.89 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002547/4.453, allocations: 0.7833 MB / 1.886 GB, free: 87.09 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001885/4.453, allocations: 62.31 kB / 1.886 GB, free: 87.03 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000128/4.453, allocations: 103.4 kB / 1.886 GB, free: 86.93 MB / 0.698 GB Notification: Performance of SimCode: time 2.91e-07/4.453, allocations: 0 / 1.886 GB, free: 86.93 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03572/4.489, allocations: 7.674 MB / 1.894 GB, free: 79.32 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002374/4.489, allocations: 154 kB / 1.894 GB, free: 79.12 MB / 0.698 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium_FMU.o ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium_FMU.c In file included from ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium_FMU.c:9: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium_FMU.c:54: include/fmi2/fmu2_model_interface.c:73:11: warning: enumeration value 'modelSlaveInitialized' not handled in switch [-Wswitch] switch (comp->state) ^ include/fmi2/fmu2_model_interface.c:162:16: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] GC_vasprintf(&str, msg, args); ^~~~ include/util/modelica_string.h:71:31: note: passing argument to parameter 'strp' here int GC_vasprintf(const char **strp, const char *fmt, va_list ap); ^ 4 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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 include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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:1: In file included from ./ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium_functions.h:3: In file included from include/meta/meta_modelica.h:49: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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:265: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:265: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:328: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:356: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:414: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:508: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:576: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:622: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:677:74: error: use of undeclared identifier '_nc_propertyCalculation' tmp1._nc = (_fixedMixingRatio?((modelica_integer) 1):(modelica_integer)_nc_propertyCalculation); ^ ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium_functions.c:677:15: error: use of undeclared identifier '_fixedMixingRatio'; did you mean 'omc_fixedMixingRatio'? tmp1._nc = (_fixedMixingRatio?((modelica_integer) 1):(modelica_integer)_nc_propertyCalculation); ^~~~~~~~~~~~~~~~~ omc_fixedMixingRatio ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium_functions.c:674: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:697:74: error: use of undeclared identifier '_nc_propertyCalculation' tmp1._nc = (_fixedMixingRatio?((modelica_integer) 1):(modelica_integer)_nc_propertyCalculation); ^ ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium_functions.c:697:15: error: use of undeclared identifier '_fixedMixingRatio'; did you mean 'omc_fixedMixingRatio'? tmp1._nc = (_fixedMixingRatio?((modelica_integer) 1):(modelica_integer)_nc_propertyCalculation); ^~~~~~~~~~~~~~~~~ omc_fixedMixingRatio ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium_functions.c:694:170: note: 'omc_fixedMixingRatio' declared here TILMedia_VLEFluidTypes_BaseVLEFluid$refrigerant$vleFluidType omc_TILMedia_VLEFluidTypes_BaseVLEFluid$refrigerant$vleFluidType(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:717:74: error: use of undeclared identifier '_nc_propertyCalculation' tmp1._nc = (_fixedMixingRatio?((modelica_integer) 1):(modelica_integer)_nc_propertyCalculation); ^ ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium_functions.c:717:15: error: use of undeclared identifier '_fixedMixingRatio'; did you mean 'omc_fixedMixingRatio'? tmp1._nc = (_fixedMixingRatio?((modelica_integer) 1):(modelica_integer)_nc_propertyCalculation); ^~~~~~~~~~~~~~~~~ omc_fixedMixingRatio ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium_functions.c:714:172: note: 'omc_fixedMixingRatio' declared here TILMedia_VLEFluidTypes_BaseVLEFluid$refrigerant2$vleFluidType omc_TILMedia_VLEFluidTypes_BaseVLEFluid$refrigerant2$vleFluidType(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