Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling") translateModel(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.162/2.162, allocations: 284.9 MB / 292.2 MB, free: 10.73 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001659/0.001658, allocations: 177.3 kB / 360.4 MB, free: 7.527 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.733/1.733, allocations: 205.1 MB / 0.6188 GB, free: 12.44 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001312/0.001312, allocations: 92.19 kB / 0.7318 GB, free: 44.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.312e-05/1.317e-05, allocations: 4 kB / 0.8503 GB, free: 3.852 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6822/0.6823, allocations: 115.2 MB / 0.9628 GB, free: 9.883 MB / 0.6823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.146/1.829, allocations: 446.1 MB / 1.398 GB, free: 235.5 MB / 1.01 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003062/1.829, allocations: 94.38 kB / 1.398 GB, free: 235.5 MB / 1.01 GB Notification: Performance of FrontEnd: time 5.672/7.501, allocations: 1.279 GB / 2.678 GB, free: 145.7 MB / 1.12 GB Notification: Performance of Transformations before backend: time 0.0009843/7.502, allocations: 80.67 kB / 2.678 GB, free: 145.7 MB / 1.12 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 470 * Number of variables: 470 Notification: Performance of Generate backend data structure: time 0.01441/7.517, allocations: 2.783 MB / 2.681 GB, free: 144.7 MB / 1.12 GB Notification: Performance of prepare preOptimizeDAE: time 5.966e-05/7.517, allocations: 13.5 kB / 2.681 GB, free: 144.7 MB / 1.12 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01571/7.532, allocations: 1.111 MB / 2.682 GB, free: 144.6 MB / 1.12 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01607/7.549, allocations: 2.949 MB / 2.685 GB, free: 144.2 MB / 1.12 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001943/7.549, allocations: 57.84 kB / 2.685 GB, free: 144.2 MB / 1.12 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00107/7.55, allocations: 117.6 kB / 2.685 GB, free: 144.2 MB / 1.12 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008603/7.559, allocations: 1.572 MB / 2.686 GB, free: 144.2 MB / 1.12 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009279/7.568, allocations: 1.871 MB / 2.688 GB, free: 143.9 MB / 1.12 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001011/7.568, allocations: 7.562 kB / 2.688 GB, free: 143.9 MB / 1.12 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004606/7.569, allocations: 3.688 kB / 2.688 GB, free: 143.9 MB / 1.12 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.283e-05/7.569, allocations: 56.38 kB / 2.688 GB, free: 143.9 MB / 1.12 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04107/7.61, allocations: 12.29 MB / 2.7 GB, free: 137.6 MB / 1.12 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009341/7.619, allocations: 1.169 MB / 2.701 GB, free: 137.6 MB / 1.12 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002249/7.622, allocations: 0.656 MB / 2.702 GB, free: 137.5 MB / 1.12 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001526/7.623, allocations: 1.367 MB / 2.703 GB, free: 136 MB / 1.12 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.286e-05/7.623, allocations: 49.16 kB / 2.703 GB, free: 136 MB / 1.12 GB Notification: Performance of pre-optimization done (n=105): time 3.627e-06/7.623, allocations: 0 / 2.703 GB, free: 136 MB / 1.12 GB Notification: Performance of matching and sorting (n=111): time 0.01623/7.639, allocations: 3.488 MB / 2.707 GB, free: 135.2 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.281e-05/7.64, allocations: 174.9 kB / 2.707 GB, free: 135 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003893/7.643, allocations: 1.56 MB / 2.708 GB, free: 134.8 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 0.0004681/7.644, allocations: 25.7 kB / 2.708 GB, free: 134.7 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 0.000689/7.645, allocations: 0.8031 MB / 2.709 GB, free: 134.3 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 0.000712/7.645, allocations: 373 kB / 2.71 GB, free: 134.1 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001725/7.646, allocations: 2.625 kB / 2.71 GB, free: 134.1 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 0.0001328/7.646, allocations: 358.4 kB / 2.71 GB, free: 133.8 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001673/7.647, allocations: 0.546 MB / 2.71 GB, free: 133.8 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002031/7.649, allocations: 1.005 MB / 2.711 GB, free: 133.2 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002889/7.652, allocations: 0.7306 MB / 2.712 GB, free: 133.2 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-05/7.652, allocations: 0 / 2.712 GB, free: 133.2 MB / 1.12 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.01443/7.667, allocations: 2.431 MB / 2.715 GB, free: 133 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008264/7.668, allocations: 3.706 MB / 2.718 GB, free: 129 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.092e-05/7.668, allocations: 7.75 kB / 2.718 GB, free: 129 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006713/7.675, allocations: 0.8706 MB / 2.719 GB, free: 129 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003365/7.678, allocations: 385.5 kB / 2.719 GB, free: 129 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0164/7.694, allocations: 5.153 MB / 2.724 GB, free: 126.7 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006232/7.701, allocations: 404.5 kB / 2.725 GB, free: 126.7 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005637/7.701, allocations: 78.52 kB / 2.725 GB, free: 126.7 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/7.701, allocations: 3.656 kB / 2.725 GB, free: 126.7 MB / 1.12 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01281/7.714, allocations: 2.053 MB / 2.727 GB, free: 126.6 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.195e-05/7.714, allocations: 11.12 kB / 2.727 GB, free: 126.6 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00463/7.719, allocations: 0.5929 MB / 2.727 GB, free: 126.6 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003798/7.723, allocations: 413.1 kB / 2.728 GB, free: 126.6 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01845/7.741, allocations: 6.675 MB / 2.734 GB, free: 122.8 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005615/7.747, allocations: 345 kB / 2.735 GB, free: 122.8 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005204/7.747, allocations: 77.55 kB / 2.735 GB, free: 122.8 MB / 1.12 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (140): * Single equations (assignments): 137 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 16,1 19,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0005833/7.748, allocations: 142.2 kB / 2.735 GB, free: 122.6 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008081/7.749, allocations: 217.3 kB / 2.735 GB, free: 122.5 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007418/7.756, allocations: 1.923 MB / 2.737 GB, free: 122.4 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.077e-05/7.756, allocations: 17.44 kB / 2.737 GB, free: 122.4 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/7.756, allocations: 0 / 2.737 GB, free: 122.4 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004698/7.761, allocations: 1.674 MB / 2.739 GB, free: 121.9 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01437/7.776, allocations: 4.002 MB / 2.743 GB, free: 121.5 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.451e-05/7.776, allocations: 0 / 2.743 GB, free: 121.5 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003899/7.78, allocations: 315.6 kB / 2.743 GB, free: 121.5 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003702/7.783, allocations: 409.7 kB / 2.743 GB, free: 121.5 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000389/7.784, allocations: 20.27 kB / 2.743 GB, free: 121.5 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002883/7.787, allocations: 1.561 MB / 2.745 GB, free: 120.4 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.396e-06/7.787, allocations: 0.9375 kB / 2.745 GB, free: 120.4 MB / 1.12 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00995/7.797, allocations: 2.543 MB / 2.747 GB, free: 120 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002414/7.799, allocations: 0.5028 MB / 2.748 GB, free: 119.8 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007484/7.8, allocations: 3.844 kB / 2.748 GB, free: 119.8 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005912/7.806, allocations: 321.5 kB / 2.748 GB, free: 119.8 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002814/7.806, allocations: 74.09 kB / 2.748 GB, free: 119.8 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002877/7.806, allocations: 48.59 kB / 2.748 GB, free: 119.8 MB / 1.12 GB Notification: Performance of sort global known variables: time 0.003604/7.81, allocations: 1.169 MB / 2.749 GB, free: 119.6 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.01159/7.822, allocations: 1.24 MB / 2.751 GB, free: 119.6 MB / 1.12 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (hex.port_b1.h_outflow,hex.port_a2.h_outflow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 20,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.003054/7.825, allocations: 1.139 MB / 2.752 GB, free: 119.2 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.01029/7.835, allocations: 2.784 MB / 2.754 GB, free: 118.8 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 9.628e-06/7.835, allocations: 0 / 2.754 GB, free: 118.8 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 0.002561/7.838, allocations: 0.6787 MB / 2.755 GB, free: 118.8 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02323/7.861, allocations: 1.005 MB / 2.756 GB, free: 118.8 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03591/7.897, allocations: 4.433 MB / 2.76 GB, free: 117.9 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004033/7.901, allocations: 1.886 MB / 2.762 GB, free: 117.2 MB / 1.12 GB Notification: Performance of SimCode: time 1.563e-06/7.901, allocations: 0 / 2.762 GB, free: 117.2 MB / 1.12 GB Notification: Performance of Templates: time 0.1545/8.056, allocations: 63.42 MB / 2.824 GB, free: 113.8 MB / 1.12 GB make -j1 -f Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.makefile make -j1 -f Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.makefile b'clang -fPIC -O0 -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_8_0_0_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Cooling -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.o Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.c\nBuildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.c:372:3: error: use of undeclared identifier \'real\'; did you mean \'read\'?\n real /* assuming real for unknown type! */_array tmp21;\n ^~~~\n read\n/usr/include/unistd.h:363:16: note: \'read\' declared here\nextern ssize_t read (int __fd, void *__buf, size_t __nbytes) __wur;\n ^\nBuildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.c:372:7: error: expected \';\' after expression\n real /* assuming real for unknown type! */_array tmp21;\n ^\n ;\nBuildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.c:372:45: error: use of undeclared identifier \'_array\'\n real /* assuming real for unknown type! */_array tmp21;\n ^\nBuildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.c:373:3: error: use of undeclared identifier \'array_alloc_real\'\n array_alloc_real /* assuming real for unknown type! */_array(&tmp21, 1, 1.0 - data->localData[0]->realVars[17] /* $cse19 variable */);\n ^\nBuildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.c:374:302: error: use of undeclared identifier \'tmp21\'\n data->localData[0]->realVars[46] /* hex._TWarIn._y variable */ = omc_Buildings_Obsolete_DistrictHeatingCooling_Plants_LakeWaterHeatExchanger__T$hex_Medium_temperature__phX(threadData, data->simulationInfo->realParameter[12], data->localData[0]->realVars[36] /* bou._ports[1]._h_outflow variable */, tmp21);\n ^\nBuildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.c:372:3: warning: expression result unused [-Wunused-value]\n real /* assuming real for unknown type! */_array tmp21;\n ^~~~\n1 warning and 5 errors generated.\n: recipe for target \'Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.o\' failed\nmake: *** [Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.o] Error 1\n'