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_Heating.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_Heating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating") translateModel(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating") [: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.5/1.5, allocations: 285.5 MB / 292.8 MB, free: 10.54 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.001208/0.001208, allocations: 177.3 kB / 361.1 MB, free: 7.117 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.642/1.642, allocations: 205.1 MB / 0.6195 GB, free: 10.31 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.0009299/0.0009299, allocations: 86.94 kB / 0.7326 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.023e-06/7.044e-06, allocations: 0 / 0.8511 GB, free: 3.008 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7832/0.7832, allocations: 115.3 MB / 0.9637 GB, free: 78.07 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.095/1.878, allocations: 445.9 MB / 1.399 GB, free: 117.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000307/1.879, allocations: 91.94 kB / 1.399 GB, free: 117.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 4.146/6.025, allocations: 1.279 GB / 2.678 GB, free: 8.59 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0006517/6.025, allocations: 74.64 kB / 2.678 GB, free: 8.523 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.009686/6.035, allocations: 2.778 MB / 2.681 GB, free: 5.691 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/6.035, allocations: 12.53 kB / 2.681 GB, free: 5.68 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006024/6.041, allocations: 1.116 MB / 2.682 GB, free: 4.559 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008684/6.05, allocations: 2.946 MB / 2.685 GB, free: 1.543 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001194/6.05, allocations: 60 kB / 2.685 GB, free: 1.484 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007547/6.051, allocations: 116 kB / 2.685 GB, free: 1.371 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004484/6.055, allocations: 1.577 MB / 2.687 GB, free: 15.79 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005136/6.061, allocations: 1.861 MB / 2.689 GB, free: 13.84 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.341e-05/6.061, allocations: 11.83 kB / 2.689 GB, free: 13.83 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003966/6.061, allocations: 8 kB / 2.689 GB, free: 13.82 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.198e-05/6.061, allocations: 52 kB / 2.689 GB, free: 13.77 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02169/6.083, allocations: 12.3 MB / 2.701 GB, free: 0.6797 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003899/6.087, allocations: 1.163 MB / 2.702 GB, free: 15.51 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001288/6.088, allocations: 0.6528 MB / 2.702 GB, free: 14.85 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001345/6.09, allocations: 1.374 MB / 2.704 GB, free: 13.18 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.055e-05/6.09, allocations: 48.62 kB / 2.704 GB, free: 13.12 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=105): time 3.607e-06/6.09, allocations: 4 kB / 2.704 GB, free: 13.12 MB / 0.9792 GB Notification: Performance of matching and sorting (n=111): time 0.01146/6.101, allocations: 3.491 MB / 2.707 GB, free: 9.566 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001156/6.101, allocations: 167.2 kB / 2.707 GB, free: 9.363 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004396/6.106, allocations: 1.563 MB / 2.709 GB, free: 7.777 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.000269/6.106, allocations: 29.7 kB / 2.709 GB, free: 7.742 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009433/6.107, allocations: 0.7926 MB / 2.71 GB, free: 6.934 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005343/6.107, allocations: 374.4 kB / 2.71 GB, free: 6.562 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001569/6.108, allocations: 3.938 kB / 2.71 GB, free: 6.559 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001996/6.108, allocations: 359.7 kB / 2.71 GB, free: 6.203 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001107/6.109, allocations: 0.5429 MB / 2.711 GB, free: 5.66 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001645/6.111, allocations: 1.003 MB / 2.712 GB, free: 4.461 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002092/6.113, allocations: 0.7348 MB / 2.713 GB, free: 3.73 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.017e-06/6.113, allocations: 4 kB / 2.713 GB, free: 3.727 MB / 0.9792 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.008455/6.121, allocations: 2.421 MB / 2.715 GB, free: 1.285 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.4639/6.585, allocations: 3.705 MB / 2.719 GB, free: 190.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.843e-05/6.585, allocations: 11.31 kB / 2.719 GB, free: 190.6 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003616/6.589, allocations: 0.8701 MB / 2.719 GB, free: 190.5 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001873/6.591, allocations: 383.8 kB / 2.72 GB, free: 190.5 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008867/6.6, allocations: 5.148 MB / 2.725 GB, free: 188.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003828/6.603, allocations: 395.3 kB / 2.725 GB, free: 188.3 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002606/6.604, allocations: 76.98 kB / 2.725 GB, free: 188.3 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 8.716e-06/6.604, allocations: 2.812 kB / 2.725 GB, free: 188.3 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006618/6.61, allocations: 2.061 MB / 2.727 GB, free: 188.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.892e-05/6.61, allocations: 9.438 kB / 2.727 GB, free: 188.3 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002448/6.613, allocations: 0.5926 MB / 2.728 GB, free: 188.2 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00187/6.615, allocations: 411.6 kB / 2.728 GB, free: 188.2 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009954/6.625, allocations: 6.683 MB / 2.735 GB, free: 184.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003606/6.628, allocations: 340.8 kB / 2.735 GB, free: 184.5 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002207/6.629, allocations: 75.11 kB / 2.735 GB, free: 184.5 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.0005549/6.629, allocations: 139.2 kB / 2.735 GB, free: 184.4 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003936/6.63, allocations: 219 kB / 2.736 GB, free: 184.4 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004151/6.634, allocations: 1.912 MB / 2.737 GB, free: 184.3 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-05/6.634, allocations: 18.12 kB / 2.737 GB, free: 184.3 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/6.634, allocations: 3.719 kB / 2.737 GB, free: 184.3 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002446/6.636, allocations: 1.677 MB / 2.739 GB, free: 183.9 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007079/6.643, allocations: 3.999 MB / 2.743 GB, free: 183.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/6.643, allocations: 6.5 kB / 2.743 GB, free: 183.4 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001434/6.645, allocations: 308.4 kB / 2.743 GB, free: 183.4 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001308/6.646, allocations: 418.2 kB / 2.744 GB, free: 183.4 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.447e-05/6.646, allocations: 19.81 kB / 2.744 GB, free: 183.4 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001155/6.647, allocations: 1.545 MB / 2.745 GB, free: 182.4 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/6.647, allocations: 8.766 kB / 2.745 GB, free: 182.4 MB / 0.9792 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004124/6.652, allocations: 2.544 MB / 2.748 GB, free: 182 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001278/6.653, allocations: 0.5068 MB / 2.748 GB, free: 181.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003274/6.653, allocations: 2.625 kB / 2.748 GB, free: 181.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002202/6.655, allocations: 327.3 kB / 2.749 GB, free: 181.8 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001375/6.655, allocations: 65.27 kB / 2.749 GB, free: 181.8 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001188/6.656, allocations: 48.83 kB / 2.749 GB, free: 181.8 MB / 0.9792 GB Notification: Performance of sort global known variables: time 0.001773/6.657, allocations: 1.169 MB / 2.75 GB, free: 181.6 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.005197/6.663, allocations: 1.236 MB / 2.751 GB, free: 181.6 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.001721/6.664, allocations: 1.152 MB / 2.752 GB, free: 181.4 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.004501/6.669, allocations: 2.792 MB / 2.755 GB, free: 181 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 5.199e-06/6.669, allocations: 0 / 2.755 GB, free: 181 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.000981/6.67, allocations: 0.6785 MB / 2.756 GB, free: 180.9 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004871/6.675, allocations: 1.006 MB / 2.757 GB, free: 180.9 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01471/6.689, allocations: 4.413 MB / 2.761 GB, free: 180.1 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001603/6.691, allocations: 1.887 MB / 2.763 GB, free: 179.4 MB / 0.9792 GB Notification: Performance of SimCode: time 9.71e-07/6.691, allocations: 2.438 kB / 2.763 GB, free: 179.4 MB / 0.9792 GB Notification: Performance of Templates: time 0.09809/6.789, allocations: 63.42 MB / 2.825 GB, free: 177.5 MB / 0.9792 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.makefile make -j1 -f Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.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_Heating -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_Heating.o Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.c\nBuildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.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_Heating.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_Heating.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_Heating.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_Heating.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_Heating.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_Heating.o] Error 1\n'