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_Heating.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_Heating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.201/2.201, allocations: 284.9 MB / 292.2 MB, free: 10.71 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.001665/0.001665, allocations: 189.2 kB / 360.4 MB, free: 7.535 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.758/1.758, allocations: 205.2 MB / 0.6188 GB, free: 13.2 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.001363/0.001362, allocations: 90.27 kB / 0.7318 GB, free: 45.08 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.537e-06/9.668e-06, allocations: 0 / 0.8502 GB, free: 3.961 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6069/0.6069, allocations: 115.2 MB / 0.9628 GB, free: 78.45 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9964/1.603, allocations: 445.7 MB / 1.398 GB, free: 123.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003239/1.604, allocations: 90.56 kB / 1.398 GB, free: 123.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 5.669/7.272, allocations: 1.279 GB / 2.677 GB, free: 3.547 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0006582/7.273, allocations: 83.84 kB / 2.677 GB, free: 3.465 MB / 0.9636 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.01137/7.284, allocations: 2.783 MB / 2.68 GB, free: 0.6289 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.48e-05/7.285, allocations: 8.531 kB / 2.68 GB, free: 0.6211 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0137/7.298, allocations: 1.112 MB / 2.681 GB, free: 15.5 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01868/7.317, allocations: 2.942 MB / 2.684 GB, free: 12.49 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002226/7.317, allocations: 56 kB / 2.684 GB, free: 12.44 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001132/7.318, allocations: 120 kB / 2.684 GB, free: 12.32 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01007/7.329, allocations: 1.569 MB / 2.686 GB, free: 10.75 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01108/7.34, allocations: 1.87 MB / 2.688 GB, free: 8.793 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001149/7.34, allocations: 11.84 kB / 2.688 GB, free: 8.781 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000568/7.34, allocations: 0 / 2.688 GB, free: 8.781 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001195/7.341, allocations: 52 kB / 2.688 GB, free: 8.73 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4576/7.798, allocations: 12.29 MB / 2.7 GB, free: 188.3 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006746/7.805, allocations: 1.164 MB / 2.701 GB, free: 188.2 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002102/7.807, allocations: 0.6672 MB / 2.701 GB, free: 188.2 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001484/7.809, allocations: 1.368 MB / 2.703 GB, free: 186.7 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.062e-05/7.809, allocations: 46.81 kB / 2.703 GB, free: 186.7 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=105): time 3.566e-06/7.809, allocations: 0 / 2.703 GB, free: 186.7 MB / 0.9792 GB Notification: Performance of matching and sorting (n=111): time 0.01572/7.824, allocations: 3.486 MB / 2.706 GB, free: 186.1 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.097e-05/7.825, allocations: 173.4 kB / 2.706 GB, free: 185.9 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004052/7.829, allocations: 1.551 MB / 2.708 GB, free: 185.7 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0004911/7.829, allocations: 33.61 kB / 2.708 GB, free: 185.7 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008526/7.83, allocations: 0.8032 MB / 2.709 GB, free: 185.4 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007242/7.831, allocations: 374.9 kB / 2.709 GB, free: 185.2 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001765/7.831, allocations: 0 / 2.709 GB, free: 185.2 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001267/7.831, allocations: 356.5 kB / 2.709 GB, free: 184.9 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001709/7.833, allocations: 0.5432 MB / 2.71 GB, free: 184.9 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002056/7.835, allocations: 1.006 MB / 2.711 GB, free: 184.4 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002881/7.838, allocations: 0.7282 MB / 2.712 GB, free: 184.4 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.255e-05/7.838, allocations: 7.812 kB / 2.712 GB, free: 184.4 MB / 0.9792 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.01435/7.852, allocations: 2.43 MB / 2.714 GB, free: 184.2 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008336/7.853, allocations: 3.704 MB / 2.718 GB, free: 180.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.036e-05/7.853, allocations: 7.375 kB / 2.718 GB, free: 180.2 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006579/7.86, allocations: 0.8773 MB / 2.718 GB, free: 180.2 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003297/7.863, allocations: 378.3 kB / 2.719 GB, free: 180.2 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01638/7.88, allocations: 5.143 MB / 2.724 GB, free: 177.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006199/7.886, allocations: 404.1 kB / 2.724 GB, free: 177.9 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005459/7.886, allocations: 73.73 kB / 2.724 GB, free: 177.9 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/7.886, allocations: 3.5 kB / 2.724 GB, free: 177.9 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01283/7.899, allocations: 2.063 MB / 2.726 GB, free: 177.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.246e-05/7.899, allocations: 6.906 kB / 2.726 GB, free: 177.8 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004631/7.904, allocations: 0.592 MB / 2.727 GB, free: 177.8 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003712/7.908, allocations: 412.6 kB / 2.727 GB, free: 177.8 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01832/7.926, allocations: 6.681 MB / 2.734 GB, free: 174 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005618/7.932, allocations: 352.5 kB / 2.734 GB, free: 174 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005019/7.932, allocations: 71.94 kB / 2.734 GB, free: 174 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.0006085/7.933, allocations: 137.1 kB / 2.734 GB, free: 173.8 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007994/7.934, allocations: 219.4 kB / 2.735 GB, free: 173.7 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007376/7.941, allocations: 1.922 MB / 2.736 GB, free: 173.6 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.24e-05/7.941, allocations: 15.94 kB / 2.736 GB, free: 173.6 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/7.941, allocations: 0 / 2.736 GB, free: 173.6 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004804/7.946, allocations: 1.677 MB / 2.738 GB, free: 173.1 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01276/7.959, allocations: 4.008 MB / 2.742 GB, free: 172.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.557e-05/7.959, allocations: 2.062 kB / 2.742 GB, free: 172.7 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003032/7.962, allocations: 313.3 kB / 2.742 GB, free: 172.7 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002672/7.965, allocations: 410.3 kB / 2.743 GB, free: 172.7 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000317/7.965, allocations: 22 kB / 2.743 GB, free: 172.7 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002056/7.967, allocations: 1.558 MB / 2.744 GB, free: 171.6 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.336e-06/7.967, allocations: 6.969 kB / 2.744 GB, free: 171.6 MB / 0.9792 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007758/7.975, allocations: 2.547 MB / 2.747 GB, free: 171.2 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002148/7.977, allocations: 0.5002 MB / 2.747 GB, free: 171 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009309/7.978, allocations: 3.844 kB / 2.747 GB, free: 171 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005049/7.983, allocations: 332.2 kB / 2.748 GB, free: 171 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003594/7.984, allocations: 60.91 kB / 2.748 GB, free: 171 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002487/7.984, allocations: 53.28 kB / 2.748 GB, free: 171 MB / 0.9792 GB Notification: Performance of sort global known variables: time 0.003324/7.987, allocations: 1.162 MB / 2.749 GB, free: 170.8 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.01008/7.997, allocations: 1.248 MB / 2.75 GB, free: 170.8 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.002807/8, allocations: 1.137 MB / 2.751 GB, free: 170.6 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.00855/8.009, allocations: 2.788 MB / 2.754 GB, free: 170.2 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 9.809e-06/8.009, allocations: 0 / 2.754 GB, free: 170.2 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.002128/8.011, allocations: 0.6776 MB / 2.754 GB, free: 170.2 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00966/8.021, allocations: 1.001 MB / 2.755 GB, free: 170.1 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02795/8.049, allocations: 4.419 MB / 2.76 GB, free: 169.3 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003665/8.053, allocations: 1.888 MB / 2.762 GB, free: 168.5 MB / 0.9792 GB Notification: Performance of SimCode: time 1.493e-06/8.053, allocations: 0 / 2.762 GB, free: 168.5 MB / 0.9792 GB Notification: Performance of Templates: time 0.1532/8.206, allocations: 63.44 MB / 2.824 GB, free: 166.7 MB / 0.9792 GB make -j1 -f Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.makefile make -j1 -f Buildings_8.0.0_Buildings.Obsolete.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_8_0_0_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_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.o Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.c\nBuildings_8.0.0_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: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_Heating.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_Heating.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_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_8.0.0_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 ^\nBuildings_8.0.0_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 ^~~~\n1 warning and 5 errors generated.\n: recipe for target \'Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.o\' failed\nmake: *** [Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.o] Error 1\n'