Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.597/1.597, allocations: 285.5 MB / 292.8 MB, free: 10.5 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001526/0.001526, allocations: 181.3 kB / 361.1 MB, free: 7.129 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.643/1.643, allocations: 205.1 MB / 0.6195 GB, free: 10.32 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001175/0.001175, allocations: 91.52 kB / 0.7326 GB, free: 44.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.622e-06/6.653e-06, allocations: 0 / 0.8511 GB, free: 3.004 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7843/0.7843, allocations: 115.3 MB / 0.9637 GB, free: 78.05 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9806/1.765, allocations: 446.2 MB / 1.399 GB, free: 116.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002164/1.765, allocations: 90.92 kB / 1.4 GB, free: 116.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 4.126/5.891, allocations: 1.279 GB / 2.679 GB, free: 6.316 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000689/5.892, allocations: 75.92 kB / 2.679 GB, free: 6.242 MB / 0.948 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.009859/5.902, allocations: 2.783 MB / 2.682 GB, free: 3.406 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/5.902, allocations: 8.531 kB / 2.682 GB, free: 3.398 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006363/5.908, allocations: 1.112 MB / 2.683 GB, free: 2.281 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009019/5.917, allocations: 2.946 MB / 2.686 GB, free: 15.27 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.149e-05/5.918, allocations: 56 kB / 2.686 GB, free: 15.21 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004722/5.918, allocations: 124 kB / 2.686 GB, free: 15.09 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003791/5.922, allocations: 1.57 MB / 2.687 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003483/5.925, allocations: 1.872 MB / 2.689 GB, free: 11.56 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.996e-05/5.925, allocations: 7.938 kB / 2.689 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001691/5.926, allocations: 4 kB / 2.689 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.549e-05/5.926, allocations: 47.98 kB / 2.689 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02114/5.947, allocations: 12.31 MB / 2.701 GB, free: 14.4 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003766/5.951, allocations: 1.163 MB / 2.702 GB, free: 13.23 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001272/5.952, allocations: 0.6659 MB / 2.703 GB, free: 12.56 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00142/5.953, allocations: 1.366 MB / 2.704 GB, free: 10.9 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.742e-05/5.953, allocations: 48.12 kB / 2.704 GB, free: 10.84 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=105): time 3.467e-06/5.953, allocations: 0 / 2.704 GB, free: 10.84 MB / 0.9792 GB Notification: Performance of matching and sorting (n=111): time 0.01161/5.965, allocations: 3.492 MB / 2.708 GB, free: 7.289 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.812e-05/5.965, allocations: 167.2 kB / 2.708 GB, free: 7.086 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003668/5.969, allocations: 1.559 MB / 2.709 GB, free: 5.504 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0002325/5.969, allocations: 25.7 kB / 2.709 GB, free: 5.473 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008475/5.97, allocations: 0.8018 MB / 2.71 GB, free: 4.656 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005104/5.971, allocations: 374.4 kB / 2.711 GB, free: 4.285 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001405/5.971, allocations: 0 / 2.711 GB, free: 4.285 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001721/5.971, allocations: 357.9 kB / 2.711 GB, free: 3.93 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001137/5.972, allocations: 0.5461 MB / 2.712 GB, free: 3.387 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001387/5.973, allocations: 1.003 MB / 2.712 GB, free: 2.191 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001785/5.975, allocations: 0.7388 MB / 2.713 GB, free: 1.453 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/5.975, allocations: 4 kB / 2.713 GB, free: 1.449 MB / 0.9792 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.4613/6.437, allocations: 2.426 MB / 2.716 GB, free: 191.9 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007793/6.437, allocations: 3.697 MB / 2.719 GB, free: 188 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.652e-05/6.437, allocations: 9.469 kB / 2.719 GB, free: 188 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003393/6.441, allocations: 0.8721 MB / 2.72 GB, free: 188 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001875/6.443, allocations: 382.7 kB / 2.72 GB, free: 188 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008961/6.452, allocations: 5.141 MB / 2.725 GB, free: 185.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003812/6.455, allocations: 405.7 kB / 2.726 GB, free: 185.7 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002219/6.456, allocations: 77.52 kB / 2.726 GB, free: 185.7 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/6.456, allocations: 3.031 kB / 2.726 GB, free: 185.7 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006753/6.463, allocations: 2.056 MB / 2.728 GB, free: 185.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.519e-05/6.463, allocations: 7.688 kB / 2.728 GB, free: 185.7 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002387/6.465, allocations: 0.5891 MB / 2.728 GB, free: 185.7 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00182/6.467, allocations: 413 kB / 2.729 GB, free: 185.7 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0104/6.477, allocations: 6.682 MB / 2.735 GB, free: 182 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003538/6.481, allocations: 339.2 kB / 2.736 GB, free: 182 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002172/6.481, allocations: 76.91 kB / 2.736 GB, free: 182 MB / 0.9792 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.000504/6.481, allocations: 141.7 kB / 2.736 GB, free: 181.8 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004232/6.482, allocations: 222.2 kB / 2.736 GB, free: 181.8 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004236/6.486, allocations: 1.919 MB / 2.738 GB, free: 181.7 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.632e-05/6.486, allocations: 15.12 kB / 2.738 GB, free: 181.7 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/6.486, allocations: 0 / 2.738 GB, free: 181.7 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002477/6.489, allocations: 1.676 MB / 2.74 GB, free: 181.3 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007207/6.496, allocations: 4.009 MB / 2.744 GB, free: 180.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/6.496, allocations: 2.062 kB / 2.744 GB, free: 180.8 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001438/6.497, allocations: 312.1 kB / 2.744 GB, free: 180.8 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00134/6.499, allocations: 410.4 kB / 2.744 GB, free: 180.8 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.54e-05/6.499, allocations: 21.52 kB / 2.744 GB, free: 180.8 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001152/6.5, allocations: 1.546 MB / 2.746 GB, free: 179.8 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.626e-06/6.5, allocations: 3.5 kB / 2.746 GB, free: 179.8 MB / 0.9792 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004066/6.504, allocations: 2.551 MB / 2.748 GB, free: 179.4 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001252/6.505, allocations: 0.5004 MB / 2.749 GB, free: 179.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003323/6.506, allocations: 0 / 2.749 GB, free: 179.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002218/6.508, allocations: 331 kB / 2.749 GB, free: 179.2 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001346/6.508, allocations: 75.7 kB / 2.749 GB, free: 179.2 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001151/6.508, allocations: 46.67 kB / 2.749 GB, free: 179.2 MB / 0.9792 GB Notification: Performance of sort global known variables: time 0.001885/6.51, allocations: 1.164 MB / 2.75 GB, free: 179 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.005245/6.515, allocations: 1.238 MB / 2.752 GB, free: 179 MB / 0.9792 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.001856/6.517, allocations: 1.15 MB / 2.753 GB, free: 178.8 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.004445/6.522, allocations: 2.787 MB / 2.755 GB, free: 178.3 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/6.522, allocations: 0 / 2.755 GB, free: 178.3 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001036/6.523, allocations: 0.6755 MB / 2.756 GB, free: 178.3 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004929/6.528, allocations: 1.01 MB / 2.757 GB, free: 178.3 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01558/6.543, allocations: 4.423 MB / 2.761 GB, free: 177.5 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001725/6.545, allocations: 1.889 MB / 2.763 GB, free: 176.7 MB / 0.9792 GB Notification: Performance of SimCode: time 1.683e-06/6.545, allocations: 0 / 2.763 GB, free: 176.7 MB / 0.9792 GB Notification: Performance of Templates: time 0.1005/6.646, allocations: 63.42 MB / 2.825 GB, free: 174.8 MB / 0.9792 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.makefile make -j1 -f Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.makefile b'clang -fPIC -O0 -falign-functions -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_maint_8_0_x_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_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.o Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.c\nBuildings_maint.8.0.x_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:360:16: note: \'read\' declared here\nextern ssize_t read (int __fd, void *__buf, size_t __nbytes) __wur;\n ^\nBuildings_maint.8.0.x_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_maint.8.0.x_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 ^~~~\nBuildings_maint.8.0.x_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_maint.8.0.x_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_maint.8.0.x_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 ^\n1 warning and 5 errors generated.\nmake: *** [: Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.o] Error 1\n'