Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ClaRa_dev_ClaRa.Basics.Media.CreateInterpolatedMedium.conf.json loadFile("/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/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/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/TILMedia 1.8.1-main/package.mo", uses=false) Using package TILMedia with version 1.8.1 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/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) 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 ClaRa with version 1.8.0 (/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/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"}) [/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: ShellType_L2 ShellType_L3 TubeType_L3 TubeType_L2 [/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: ShellType_L2 ShellType_L3 TubeType_L3 TubeType_L2 [/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.8752/0.8752, allocations: 127.1 MB / 142.1 MB, free: 10.6 MB / 126.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009988/0.0009987, allocations: 91.03 kB / 169.3 MB, free: 11.76 MB / 142.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 180.6 kB / 196.7 MB, free: 0.582 MB / 158.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.625/1.625, allocations: 223.2 MB / 447.1 MB, free: 11.99 MB / 318.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.09852/0.09852, allocations: 22.59 MB / 0.5344 GB, free: 0.6992 MB / 398.1 MB Warning: Requested package TILMedia of version 1.8.0 ClaRa, but this package was already loaded with version 1.8.1 ClaRa. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.0005261/0.0005261, allocations: 13.34 kB / 0.6275 GB, free: 80.74 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1831/0.1836, allocations: 83.48 MB / 0.7091 GB, free: 4.715 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Media.CreateInterpolatedMedium): time 0.002855/0.1866, allocations: 2.849 MB / 0.7118 GB, free: 1.84 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005836/0.1924, allocations: 4.745 MB / 0.7165 GB, free: 13.08 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001675/0.1926, allocations: 7.938 kB / 0.7165 GB, free: 13.07 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008566/0.1935, allocations: 223 kB / 0.7167 GB, free: 12.86 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003599/0.1939, allocations: 187 kB / 0.7169 GB, free: 12.67 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006392/0.1945, allocations: 295.1 kB / 0.7171 GB, free: 12.38 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006074/0.1951, allocations: 0.6004 MB / 0.7177 GB, free: 11.78 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.591e-05/0.1952, allocations: 41.08 kB / 0.7178 GB, free: 11.74 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001878/0.1954, allocations: 183.2 kB / 0.7179 GB, free: 11.56 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002593/0.1957, allocations: 187.1 kB / 0.7181 GB, free: 11.38 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.098e-05/0.1957, allocations: 16 kB / 0.7181 GB, free: 11.36 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002931/0.196, allocations: 123.9 kB / 0.7183 GB, free: 11.24 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 8.56e-05/0.1961, allocations: 59.75 kB / 0.7183 GB, free: 11.18 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 7.875e-05/0.1962, allocations: 85.52 kB / 0.7184 GB, free: 11.09 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004433/0.1967, allocations: 387.3 kB / 0.7188 GB, free: 10.71 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.1967, allocations: 4 kB / 0.7188 GB, free: 10.71 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1967, allocations: 0 / 0.7188 GB, free: 10.71 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.233e-05/0.1967, allocations: 4 kB / 0.7188 GB, free: 10.7 MB / 478.1 MB 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.0007989/0.1975, allocations: 0.5955 MB / 0.7194 GB, free: 10.06 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.727e-05/0.1976, allocations: 12.02 kB / 0.7194 GB, free: 10.05 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.902e-05/0.1976, allocations: 66.53 kB / 0.7194 GB, free: 9.973 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002676/0.1979, allocations: 51.45 kB / 0.7195 GB, free: 9.922 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003912/0.1983, allocations: 298.1 kB / 0.7198 GB, free: 9.59 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.1984, allocations: 16 kB / 0.7198 GB, free: 9.574 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.969e-05/0.1984, allocations: 16 kB / 0.7198 GB, free: 9.559 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005134/0.1989, allocations: 414 kB / 0.7202 GB, free: 9.062 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.1989, allocations: 4 kB / 0.7202 GB, free: 9.059 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.417e-05/0.199, allocations: 12 kB / 0.7202 GB, free: 9.047 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.518e-05/0.199, allocations: 8 kB / 0.7202 GB, free: 9.039 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002773/0.1993, allocations: 195.9 kB / 0.7204 GB, free: 8.844 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002088/0.2014, allocations: 3.06 MB / 0.7234 GB, free: 5.625 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002026/0.2016, allocations: 154.4 kB / 0.7235 GB, free: 5.438 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001326/0.2017, allocations: 107.5 kB / 0.7236 GB, free: 5.32 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.774e-05/0.2018, allocations: 11.92 kB / 0.7236 GB, free: 5.309 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.17e-05/0.2018, allocations: 42.52 kB / 0.7237 GB, free: 5.258 MB / 478.1 MB Notification: Performance of pre-optimization done (n=56): time 1.362e-06/0.2018, allocations: 0 / 0.7237 GB, free: 5.258 MB / 478.1 MB Notification: Performance of matching and sorting (n=56): time 0.0005982/0.2024, allocations: 318.9 kB / 0.724 GB, free: 4.945 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.919e-05/0.2025, allocations: 128.5 kB / 0.7241 GB, free: 4.789 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003786/0.2029, allocations: 332.2 kB / 0.7244 GB, free: 4.449 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.203, allocations: 29.7 kB / 0.7245 GB, free: 4.414 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001586/0.2031, allocations: 215.8 kB / 0.7247 GB, free: 4.199 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001458/0.2033, allocations: 185.2 kB / 0.7248 GB, free: 4.016 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.307e-05/0.2033, allocations: 8.062 kB / 0.7249 GB, free: 4.008 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.2035, allocations: 346.8 kB / 0.7252 GB, free: 3.66 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001461/0.2036, allocations: 84.97 kB / 0.7253 GB, free: 3.578 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003603/0.204, allocations: 358 kB / 0.7256 GB, free: 3.105 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002269/0.2042, allocations: 159.7 kB / 0.7258 GB, free: 2.949 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.55e-05/0.2043, allocations: 4 kB / 0.7258 GB, free: 2.945 MB / 478.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0006675/0.2049, allocations: 476.7 kB / 0.7262 GB, free: 2.473 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.205, allocations: 11.95 kB / 0.7262 GB, free: 2.461 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.239e-05/0.205, allocations: 27.98 kB / 0.7263 GB, free: 2.434 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.568e-05/0.205, allocations: 16.78 kB / 0.7263 GB, free: 2.418 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001782/0.2052, allocations: 67.84 kB / 0.7263 GB, free: 2.352 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.003e-05/0.2053, allocations: 23.92 kB / 0.7264 GB, free: 2.328 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002332/0.2055, allocations: 67.19 kB / 0.7264 GB, free: 2.262 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.029e-05/0.2055, allocations: 24 kB / 0.7264 GB, free: 2.238 MB / 478.1 MB 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.0001714/0.2057, allocations: 169.6 kB / 0.7266 GB, free: 2.062 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/0.2058, allocations: 35.53 kB / 0.7266 GB, free: 2.027 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009217/0.2068, allocations: 0.7946 MB / 0.7274 GB, free: 1.039 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.258e-05/0.2069, allocations: 184.2 kB / 0.7276 GB, free: 0.8516 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.723e-05/0.2069, allocations: 184.3 kB / 0.7278 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.267e-05/0.207, allocations: 176.3 kB / 0.7279 GB, free: 496 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004144/0.2074, allocations: 0.5436 MB / 0.7285 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-05/0.2075, allocations: 101 kB / 0.7286 GB, free: 15.78 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.206e-05/0.2075, allocations: 109.1 kB / 0.7287 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.966e-05/0.2076, allocations: 176.3 kB / 0.7288 GB, free: 15.48 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.454e-05/0.2077, allocations: 184.7 kB / 0.729 GB, free: 15.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.697e-05/0.2078, allocations: 184.2 kB / 0.7292 GB, free: 15.11 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.155e-05/0.2079, allocations: 192.1 kB / 0.7294 GB, free: 14.91 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001784/0.208, allocations: 343.3 kB / 0.7297 GB, free: 14.55 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000214/0.2083, allocations: 277.3 kB / 0.73 GB, free: 14.26 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001261/0.2084, allocations: 180.2 kB / 0.7301 GB, free: 14.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001653/0.2086, allocations: 109 kB / 0.7302 GB, free: 13.96 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.112e-05/0.2086, allocations: 184.2 kB / 0.7304 GB, free: 13.77 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.246e-05/0.2087, allocations: 109 kB / 0.7305 GB, free: 13.66 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004082/0.2091, allocations: 350.8 kB / 0.7309 GB, free: 13.32 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2091, allocations: 0 / 0.7309 GB, free: 13.32 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005487/0.2097, allocations: 131.9 kB / 0.731 GB, free: 13.19 MB / 494.1 MB 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.001133/0.2108, allocations: 1.102 MB / 0.7321 GB, free: 12.13 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004952/0.2113, allocations: 451.7 kB / 0.7325 GB, free: 11.64 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2114, allocations: 12 kB / 0.7325 GB, free: 11.63 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.393e-06/0.2114, allocations: 0 / 0.7325 GB, free: 11.63 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005861/0.212, allocations: 0.573 MB / 0.7331 GB, free: 11.06 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00267/0.2146, allocations: 1.968 MB / 0.735 GB, free: 8.91 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003946/0.215, allocations: 0.7755 MB / 0.7357 GB, free: 8.109 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001828/0.2152, allocations: 64.05 kB / 0.7358 GB, free: 8.047 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001427/0.2154, allocations: 107.3 kB / 0.7359 GB, free: 7.941 MB / 494.1 MB Notification: Performance of SimCode: time 2.61e-07/0.2154, allocations: 0 / 0.7359 GB, free: 7.941 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01928/0.2347, allocations: 7.27 MB / 0.743 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001906/0.2349, allocations: 207.2 kB / 0.7432 GB, free: 0.582 MB / 494.1 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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 -Wno-parentheses-equality -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:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium_functions.c:7: ./ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium_includes.h:42:136: error: use of undeclared identifier 'ModelicaFormatMessage' return TILMedia_createExternalObject_errorInterface(objectType, mixtureName, flags, xi, _nc, condensingIndex, instanceName, (void*)ModelicaFormatMessage, (void*)ModelicaFormatError, 0); ^ ./ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium_includes.h:42:166: error: use of undeclared identifier 'ModelicaFormatError' return TILMedia_createExternalObject_errorInterface(objectType, mixtureName, flags, xi, _nc, condensingIndex, instanceName, (void*)ModelicaFormatMessage, (void*)ModelicaFormatError, 0); ^ ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium_functions.c:70:125: warning: passing 'const double *' to parameter of type 'double *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] _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_includes.h:38:105: note: passing argument to parameter 'xi' here void* TILMedia_createExternalObject(const char* objectType, const char* mixtureName, int flags, double* xi, int _nc, int condensingIndex, const char* instanceName) { ^ ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium_functions.c:116:66: warning: passing 'const double *' to parameter of type 'double *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] _d_ext = TILMedia_VLEFluid_Cached_density_phxi(_p_ext, _h_ext, (const double*) _xi_c89, _vleFluidPointer_ext); ^~~~~~~~~~~~~~~~~~~~~~~ ./ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium_includes.h:12:69: note: passing argument to parameter here double TILMedia_VLEFluid_Cached_density_phxi(double, double, double*, void*); ^ ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium_functions.c:148: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:180: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:251: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:357: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:431: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:484: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*); ^ 10 warnings and 2 errors generated. make: *** [: ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium_functions.o] Error 1