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"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004057/0.004057, allocations: 180.4 kB / 7.458 MB, free: 2.504 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.39/1.39, allocations: 221.4 MB / 229.3 MB, free: 3.23 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.001022, allocations: 96.92 kB / 280.1 MB, free: 1.289 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.09213/0.09213, allocations: 20.16 MB / 351.1 MB, free: 10.33 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.052/1.052, allocations: 127.6 MB / 0.5229 GB, free: 4.719 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2182/1.271, allocations: 89.7 MB / 0.6105 GB, free: 10.82 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5265/1.797, allocations: 82.83 MB / 0.6914 GB, free: 33.68 MB / 474.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.628/4.426, allocations: 1.161 GB / 1.852 GB, free: 130 MB / 0.7137 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002749/4.426, allocations: 68.67 kB / 1.852 GB, free: 129.9 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: 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.03989/4.466, allocations: 19.06 MB / 1.871 GB, free: 111 MB / 0.7137 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/4.466, allocations: 8.938 kB / 1.871 GB, free: 111 MB / 0.7137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002999/4.466, allocations: 61.98 kB / 1.871 GB, free: 111 MB / 0.7137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000572/4.467, allocations: 307.3 kB / 1.871 GB, free: 110.6 MB / 0.7137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/4.467, allocations: 4 kB / 1.871 GB, free: 110.6 MB / 0.7137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.725e-05/4.467, allocations: 13.03 kB / 1.871 GB, free: 110.6 MB / 0.7137 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002629/4.467, allocations: 132.7 kB / 1.871 GB, free: 110.5 MB / 0.7137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003833/4.468, allocations: 385.1 kB / 1.871 GB, free: 110 MB / 0.7137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.105e-05/4.468, allocations: 4.875 kB / 1.871 GB, free: 110 MB / 0.7137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.665e-05/4.468, allocations: 4 kB / 1.871 GB, free: 110 MB / 0.7137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.562e-05/4.468, allocations: 13.14 kB / 1.871 GB, free: 110 MB / 0.7137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001717/4.469, allocations: 3.024 MB / 1.874 GB, free: 106.8 MB / 0.7137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000163/4.47, allocations: 154.4 kB / 1.875 GB, free: 106.6 MB / 0.7137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001063/4.47, allocations: 106.9 kB / 1.875 GB, free: 106.5 MB / 0.7137 GB Notification: Performance of preOpt evalFunc (simulation): time 5.132e-05/4.47, allocations: 15.98 kB / 1.875 GB, free: 106.5 MB / 0.7137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/4.47, allocations: 34.5 kB / 1.875 GB, free: 106.5 MB / 0.7137 GB Notification: Performance of pre-optimization done (n=56): time 2.044e-06/4.47, allocations: 6.719 kB / 1.875 GB, free: 106.5 MB / 0.7137 GB Notification: Performance of matching and sorting (n=56): time 0.0004802/4.47, allocations: 260.7 kB / 1.875 GB, free: 106.2 MB / 0.7137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.673e-05/4.47, allocations: 136.6 kB / 1.875 GB, free: 106 MB / 0.7137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002875/4.471, allocations: 271.3 kB / 1.875 GB, free: 105.8 MB / 0.7137 GB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/4.471, allocations: 29.7 kB / 1.875 GB, free: 105.7 MB / 0.7137 GB Notification: Performance of collectInitialEqns (initialization): time 8.229e-05/4.471, allocations: 203.7 kB / 1.876 GB, free: 105.5 MB / 0.7137 GB Notification: Performance of collectInitialBindings (initialization): time 8.297e-05/4.471, allocations: 177.3 kB / 1.876 GB, free: 105.3 MB / 0.7137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.271e-05/4.471, allocations: 0 / 1.876 GB, free: 105.3 MB / 0.7137 GB Notification: Performance of setup shared object (initialization): time 9.832e-05/4.471, allocations: 350.7 kB / 1.876 GB, free: 105 MB / 0.7137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/4.471, allocations: 72.78 kB / 1.876 GB, free: 104.9 MB / 0.7137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002164/4.471, allocations: 352.5 kB / 1.877 GB, free: 104.4 MB / 0.7137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002599/4.472, allocations: 144.8 kB / 1.877 GB, free: 104.3 MB / 0.7137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/4.472, allocations: 4 kB / 1.877 GB, free: 104.3 MB / 0.7137 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0006646/4.472, allocations: 455.6 kB / 1.877 GB, free: 103.9 MB / 0.7137 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/4.472, allocations: 4 kB / 1.877 GB, free: 103.8 MB / 0.7137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-05/4.472, allocations: 27.98 kB / 1.877 GB, free: 103.8 MB / 0.7137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.487e-05/4.472, allocations: 12 kB / 1.877 GB, free: 103.8 MB / 0.7137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001795/4.473, allocations: 71.84 kB / 1.877 GB, free: 103.7 MB / 0.7137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.946e-05/4.473, allocations: 19.92 kB / 1.877 GB, free: 103.7 MB / 0.7137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002736/4.473, allocations: 59.22 kB / 1.877 GB, free: 103.7 MB / 0.7137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.151e-05/4.473, allocations: 29.19 kB / 1.877 GB, free: 103.6 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.202e-05/4.473, allocations: 128.7 kB / 1.877 GB, free: 103.5 MB / 0.7137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/4.473, allocations: 35.53 kB / 1.877 GB, free: 103.5 MB / 0.7137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006784/4.474, allocations: 0.765 MB / 1.878 GB, free: 102.5 MB / 0.7137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.562e-05/4.474, allocations: 180.3 kB / 1.878 GB, free: 102.3 MB / 0.7137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.795e-05/4.474, allocations: 188.2 kB / 1.879 GB, free: 102.2 MB / 0.7137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.374e-05/4.474, allocations: 180.2 kB / 1.879 GB, free: 102 MB / 0.7137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003102/4.474, allocations: 0.5207 MB / 1.879 GB, free: 101.4 MB / 0.7137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.088e-05/4.474, allocations: 104.9 kB / 1.879 GB, free: 101.3 MB / 0.7137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.787e-05/4.474, allocations: 105 kB / 1.879 GB, free: 101.2 MB / 0.7137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.406e-05/4.474, allocations: 184.2 kB / 1.88 GB, free: 101 MB / 0.7137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.983e-05/4.474, allocations: 180.2 kB / 1.88 GB, free: 100.8 MB / 0.7137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-05/4.474, allocations: 176.3 kB / 1.88 GB, free: 100.6 MB / 0.7137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.408e-05/4.475, allocations: 180.3 kB / 1.88 GB, free: 100.5 MB / 0.7137 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001403/4.475, allocations: 351.2 kB / 1.88 GB, free: 100.1 MB / 0.7137 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002071/4.475, allocations: 0.7106 MB / 1.881 GB, free: 99.35 MB / 0.7137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001645/4.475, allocations: 279.5 kB / 1.881 GB, free: 99.05 MB / 0.7137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/4.475, allocations: 188.2 kB / 1.882 GB, free: 98.86 MB / 0.7137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/4.475, allocations: 109.2 kB / 1.882 GB, free: 98.75 MB / 0.7137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.283e-05/4.475, allocations: 176.3 kB / 1.882 GB, free: 98.57 MB / 0.7137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-05/4.475, allocations: 109 kB / 1.882 GB, free: 98.45 MB / 0.7137 GB Notification: Performance of sort global known variables: time 0.0003007/4.476, allocations: 326.9 kB / 1.882 GB, free: 98.13 MB / 0.7137 GB Notification: Performance of remove unused functions: time 0.001184/4.477, allocations: 155.9 kB / 1.882 GB, free: 97.98 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.0009026/4.478, allocations: 0.5158 MB / 1.883 GB, free: 97.54 MB / 0.7137 GB Notification: Performance of simCode: created initialization part: time 0.0003882/4.478, allocations: 430.8 kB / 1.883 GB, free: 97.07 MB / 0.7137 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/4.478, allocations: 0 / 1.883 GB, free: 97.07 MB / 0.7137 GB Notification: Performance of simCode: created simulation system equations: time 3.166e-06/4.478, allocations: 6.625 kB / 1.883 GB, free: 97.07 MB / 0.7137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004504/4.479, allocations: 0.5839 MB / 1.884 GB, free: 96.47 MB / 0.7137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005898/4.479, allocations: 389.8 kB / 1.884 GB, free: 96.07 MB / 0.7137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003565/4.48, allocations: 0.8294 MB / 1.885 GB, free: 95.21 MB / 0.7137 GB Notification: Performance of SimCode: time 2.314e-06/4.48, allocations: 0 / 1.885 GB, free: 95.21 MB / 0.7137 GB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ClaRa_dev_ClaRa.Basics.Media.CreateInterpolatedMedium/ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium.fmutmp/sources' clang -fPIC -O0 -falign-functions -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -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:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -fPIC -O0 -falign-functions -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -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:2: In file included from ./ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium_model.h:4: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -fPIC -O0 -falign-functions -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -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:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium_functions.c:270: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:270: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:333: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:361: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:419: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:513: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:581: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:627: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:682: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:682: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:679: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:702: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:702: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:699: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:722: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:722: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:719: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 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ClaRa_dev_ClaRa.Basics.Media.CreateInterpolatedMedium/ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium.fmutmp/sources' Error: Error building simulator. Build log: checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu build_short: x86_64-linux-gnu host_short: x86_64-linux-gnu checking for gcc... clang checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether clang accepts -g... yes checking for clang option to accept ISO C89... none needed checking how to run the C preprocessor... clang -E checking whether make sets $(MAKE)... yes checking for cross-compilation flags... not cross-compiling checking if -Werror works... ok checking looking for --no-undefined... yes checking looking for dollars in identifiers... CPPFLAGS: -fdollars-in-identifiers checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... no checking for an ANSI C-conforming const... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for size_t... yes checking for vprintf... yes checking for _doprnt... yes checking for strdup... yes checking for strerror... yes checking LAPACK/BLAS flags... not found checking for static pthreads... no checking for pthread_mutex_lock in -lpthread... yes checking for cos in -lm... yes checking for filesystem access... OK configure: creating ./config.status config.status: creating Makefile rm -f ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium.def ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium.o ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium.a ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium.so ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium_FMU.o ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium.o ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium_functions.o ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium_records.o ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium_01exo.o ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium_02nls.o ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium_03lsy.o ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium_04set.o ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium_05evt.o ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium_06inz.o ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium_07dly.o ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium_08bnd.o ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium_09alg.o ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium_10asr.o ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium_11mix.o ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium_12jac.o ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium_13opt.o ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium_14lnz.o ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium_15syn.o ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium_16dae.o ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium_17inl.o ClaRa_dev_ClaRa_Basics_Media_CreateInterpolatedMedium_init_fmu.o include/./gc/memory_pool.o include/./util/base_array.o include/./util/boolean_array.o include/./util/omc_error.o include/./util/division.o include/./util/generic_array.o include/./util/index_spec.o include/./util/integer_array.o include/./util/list.o include/./util/modelica_string.o include/./util/real_array.o include/./util/ringbuffer.o include/./util/string_array.o include/./util/utility.o include/./util/varinfo.o include/./util/ModelicaUtilities.o include/./util/omc_msvc.o include/./util/simulation_options.o include/./util/cJSON.o include/./util/rational.o include/./util/modelica_string_lit.o include/./util/omc_init.o include/./util/omc_mmap.o include/./math-support/pivot.o include/./simulation/simulation_info_json.o include/./simulation/options.o include/./simulation/simulation_omc_assert.o include/./simulation/solver/delay.o include/./simulation/solver/omc_math.o include/./simulation/solver/model_help.o include/./simulation/solver/stateset.o include/./simulation/solver/synchronous.o include/./simulation/solver/initialization/initialization.o include/./meta/meta_modelica_catch.o