Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Experimental.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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.215/2.215, allocations: 253.1 MB / 260.4 MB, free: 7.516 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002179/0.002179, allocations: 185.2 kB / 319.6 MB, free: 3.293 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.749/1.749, allocations: 205.4 MB / 0.5704 GB, free: 15.01 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001315/0.001315, allocations: 102.2 kB / 0.6746 GB, free: 4.395 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.045e-06/8.145e-06, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1981/0.1981, allocations: 106.2 MB / 0.888 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.417/1.615, allocations: 439.1 MB / 1.317 GB, free: 250.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000288/1.615, allocations: 93.06 kB / 1.317 GB, free: 250.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 5.312/6.927, allocations: 1.243 GB / 2.56 GB, free: 27.18 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0005287/6.927, allocations: 76.16 kB / 2.56 GB, free: 27.11 MB / 0.8855 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.009367/6.937, allocations: 2.779 MB / 2.562 GB, free: 24.3 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/6.937, allocations: 8.031 kB / 2.562 GB, free: 24.29 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009983/6.947, allocations: 1.118 MB / 2.563 GB, free: 23.18 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01064/6.957, allocations: 2.948 MB / 2.566 GB, free: 20.23 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.311e-05/6.958, allocations: 56 kB / 2.566 GB, free: 20.18 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005796/6.958, allocations: 123.9 kB / 2.566 GB, free: 20.05 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005719/6.964, allocations: 1.562 MB / 2.568 GB, free: 18.49 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005501/6.969, allocations: 1.857 MB / 2.57 GB, free: 16.55 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-05/6.97, allocations: 11.92 kB / 2.57 GB, free: 16.54 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002916/6.97, allocations: 4 kB / 2.57 GB, free: 16.53 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.195e-05/6.97, allocations: 48 kB / 2.57 GB, free: 16.48 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03006/7, allocations: 12.27 MB / 2.582 GB, free: 3.539 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006375/7.006, allocations: 1.155 MB / 2.583 GB, free: 2.375 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001969/7.008, allocations: 0.655 MB / 2.584 GB, free: 1.719 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001441/7.01, allocations: 1.371 MB / 2.585 GB, free: 64 kB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.916e-05/7.01, allocations: 51.45 kB / 2.585 GB, free: 0 / 0.8855 GB Notification: Performance of pre-optimization done (n=105): time 4.689e-06/7.01, allocations: 0 / 2.585 GB, free: 0 / 0.8855 GB Notification: Performance of matching and sorting (n=111): time 0.0171/7.027, allocations: 3.479 MB / 2.588 GB, free: 12.46 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001606/7.027, allocations: 171.1 kB / 2.589 GB, free: 12.25 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004434/7.032, allocations: 1.555 MB / 2.59 GB, free: 10.66 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0004727/7.032, allocations: 25.7 kB / 2.59 GB, free: 10.63 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009889/7.033, allocations: 0.8123 MB / 2.591 GB, free: 9.809 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007969/7.034, allocations: 370.5 kB / 2.591 GB, free: 9.441 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001642/7.034, allocations: 0 / 2.591 GB, free: 9.441 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002884/7.035, allocations: 353.9 kB / 2.592 GB, free: 9.09 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001895/7.036, allocations: 0.5429 MB / 2.592 GB, free: 8.547 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002602/7.039, allocations: 0.9998 MB / 2.593 GB, free: 7.348 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0034/7.043, allocations: 0.7303 MB / 2.594 GB, free: 6.621 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-05/7.043, allocations: 8 kB / 2.594 GB, free: 6.613 MB / 0.9011 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.01588/7.059, allocations: 2.423 MB / 2.596 GB, free: 4.18 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.001901/7.06, allocations: 3.698 MB / 2.6 GB, free: 104 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.744e-05/7.061, allocations: 12 kB / 2.6 GB, free: 92 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4151/7.476, allocations: 0.8569 MB / 2.601 GB, free: 163.8 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003349/7.479, allocations: 384.3 kB / 2.601 GB, free: 163.8 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0161/7.495, allocations: 5.133 MB / 2.606 GB, free: 161.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006082/7.501, allocations: 408.2 kB / 2.606 GB, free: 161.5 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005663/7.502, allocations: 76.3 kB / 2.606 GB, free: 161.5 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/7.502, allocations: 3.281 kB / 2.606 GB, free: 161.5 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01294/7.515, allocations: 2.051 MB / 2.608 GB, free: 161.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.995e-05/7.515, allocations: 10.44 kB / 2.608 GB, free: 161.5 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004554/7.52, allocations: 0.5879 MB / 2.609 GB, free: 161.5 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003731/7.523, allocations: 410.3 kB / 2.609 GB, free: 161.5 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01926/7.543, allocations: 6.683 MB / 2.616 GB, free: 157.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005484/7.548, allocations: 344.8 kB / 2.616 GB, free: 157.8 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004786/7.549, allocations: 78.09 kB / 2.616 GB, free: 157.8 MB / 0.9011 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.0005929/7.549, allocations: 144.6 kB / 2.617 GB, free: 157.7 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007557/7.55, allocations: 217.9 kB / 2.617 GB, free: 157.7 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007244/7.557, allocations: 1.917 MB / 2.619 GB, free: 157.6 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.843e-05/7.557, allocations: 14.09 kB / 2.619 GB, free: 157.6 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/7.557, allocations: 0 / 2.619 GB, free: 157.6 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004599/7.562, allocations: 1.668 MB / 2.62 GB, free: 157.1 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01214/7.574, allocations: 3.986 MB / 2.624 GB, free: 156.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.167e-05/7.574, allocations: 0 / 2.624 GB, free: 156.7 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002887/7.577, allocations: 315.3 kB / 2.624 GB, free: 156.7 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002155/7.579, allocations: 397.4 kB / 2.625 GB, free: 156.7 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002781/7.58, allocations: 25.2 kB / 2.625 GB, free: 156.7 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001963/7.582, allocations: 1.539 MB / 2.626 GB, free: 155.6 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/7.582, allocations: 3.281 kB / 2.626 GB, free: 155.6 MB / 0.9011 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007635/7.589, allocations: 2.539 MB / 2.629 GB, free: 155.3 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001988/7.591, allocations: 0.4942 MB / 2.629 GB, free: 155.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008383/7.592, allocations: 6.562 kB / 2.629 GB, free: 155 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004905/7.597, allocations: 325.2 kB / 2.63 GB, free: 155 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002988/7.598, allocations: 72.02 kB / 2.63 GB, free: 155 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002318/7.598, allocations: 46.33 kB / 2.63 GB, free: 155 MB / 0.9011 GB Notification: Performance of sort global known variables: time 0.003005/7.601, allocations: 1.169 MB / 2.631 GB, free: 154.9 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.009674/7.611, allocations: 1.232 MB / 2.632 GB, free: 154.9 MB / 0.9011 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.002671/7.613, allocations: 1.141 MB / 2.633 GB, free: 154.7 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.008242/7.622, allocations: 2.779 MB / 2.636 GB, free: 154.2 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 8.797e-06/7.622, allocations: 0 / 2.636 GB, free: 154.2 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.002059/7.624, allocations: 0.6786 MB / 2.637 GB, free: 154.2 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009735/7.633, allocations: 1.01 MB / 2.638 GB, free: 154.2 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02711/7.661, allocations: 4.427 MB / 2.642 GB, free: 153.3 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003179/7.664, allocations: 1.885 MB / 2.644 GB, free: 152.6 MB / 0.9011 GB Notification: Performance of SimCode: time 1.282e-06/7.664, allocations: 1.688 kB / 2.644 GB, free: 152.6 MB / 0.9011 GB Notification: Performance of Templates: time 0.1654/7.829, allocations: 63.19 MB / 2.705 GB, free: 150.6 MB / 0.9011 GB make -j1 -f Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.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_7_0_0_Buildings_Experimental_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_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.o Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.c\nBuildings_7.0.0_Buildings.Experimental.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:363:16: note: \'read\' declared here\nextern ssize_t read (int __fd, void *__buf, size_t __nbytes) __wur;\n ^\nBuildings_7.0.0_Buildings.Experimental.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_7.0.0_Buildings.Experimental.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_7.0.0_Buildings.Experimental.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_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.c:374:306: error: use of undeclared identifier \'tmp21\'\n data->localData[0]->realVars[46] /* hex._TWarIn._y variable */ = omc_Buildings_Experimental_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_7.0.0_Buildings.Experimental.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 ^~~~\n1 warning and 5 errors generated.\n: recipe for target \'Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.o\' failed\nmake: *** [Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.o] Error 1\n'