Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.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.Plant_T_ClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop") translateModel(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop") [: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.327/2.327, allocations: 284.9 MB / 292.2 MB, free: 10.75 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.001634/0.001633, allocations: 181.2 kB / 360.4 MB, free: 7.504 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.751/1.751, allocations: 205.2 MB / 0.6188 GB, free: 12.41 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.001281/0.00128, allocations: 87.55 kB / 0.7318 GB, free: 44.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.285e-06/8.486e-06, allocations: 0 / 0.8502 GB, free: 3.863 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7022/0.7023, allocations: 115.2 MB / 0.9628 GB, free: 9.875 MB / 0.6823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.151/1.854, allocations: 449.5 MB / 1.402 GB, free: 231.9 MB / 1.01 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000301/1.854, allocations: 95.12 kB / 1.402 GB, free: 231.9 MB / 1.01 GB Notification: Performance of FrontEnd: time 4.228/6.082, allocations: 0.9868 GB / 2.389 GB, free: 174.9 MB / 1.104 GB Notification: Performance of Transformations before backend: time 0.0004186/6.082, allocations: 58.42 kB / 2.389 GB, free: 174.9 MB / 1.104 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 0.008233/6.09, allocations: 2.152 MB / 2.391 GB, free: 173.3 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/6.09, allocations: 12.97 kB / 2.391 GB, free: 173.3 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007931/6.098, allocations: 0.8012 MB / 2.392 GB, free: 173 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03544/6.134, allocations: 9.01 MB / 2.4 GB, free: 167.6 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001285/6.134, allocations: 38.72 kB / 2.4 GB, free: 167.6 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005576/6.135, allocations: 76.88 kB / 2.4 GB, free: 167.6 MB / 1.104 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003761/6.138, allocations: 0.935 MB / 2.401 GB, free: 167.1 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003766/6.142, allocations: 1.228 MB / 2.403 GB, free: 166.3 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.931e-05/6.142, allocations: 6.281 kB / 2.403 GB, free: 166.3 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002019/6.143, allocations: 3.031 kB / 2.403 GB, free: 166.3 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.226e-05/6.143, allocations: 38 kB / 2.403 GB, free: 166.3 MB / 1.104 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01948/6.162, allocations: 8.272 MB / 2.411 GB, free: 158.9 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002745/6.165, allocations: 0.6649 MB / 2.411 GB, free: 158.6 MB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001664/6.167, allocations: 376 kB / 2.412 GB, free: 158.4 MB / 1.104 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008986/6.176, allocations: 2.902 MB / 2.415 GB, free: 155.4 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009484/6.177, allocations: 407 kB / 2.415 GB, free: 155 MB / 1.104 GB Notification: Performance of pre-optimization done (n=66): time 5.801e-06/6.177, allocations: 0 / 2.415 GB, free: 155 MB / 1.104 GB Notification: Performance of matching and sorting (n=66): time 0.003527/6.18, allocations: 0.857 MB / 2.416 GB, free: 154.1 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.536e-05/6.18, allocations: 111.5 kB / 2.416 GB, free: 154 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002518/6.183, allocations: 1.184 MB / 2.417 GB, free: 152.8 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 0.0002317/6.183, allocations: 32.58 kB / 2.417 GB, free: 152.8 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005698/6.184, allocations: 0.5987 MB / 2.418 GB, free: 152.2 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003164/6.184, allocations: 228.6 kB / 2.418 GB, free: 151.9 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.199e-05/6.184, allocations: 0 / 2.418 GB, free: 151.9 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 0.0001017/6.184, allocations: 354 kB / 2.418 GB, free: 151.6 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009092/6.185, allocations: 330.5 kB / 2.419 GB, free: 151.2 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001139/6.186, allocations: 0.7784 MB / 2.419 GB, free: 150.3 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002221/6.189, allocations: 0.5144 MB / 2.42 GB, free: 149.8 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.588e-06/6.189, allocations: 0 / 2.42 GB, free: 149.8 MB / 1.104 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.004327/6.193, allocations: 1.237 MB / 2.421 GB, free: 148.5 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 0.001019/6.194, allocations: 4.963 MB / 2.426 GB, free: 143.2 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.356e-05/6.194, allocations: 16 kB / 2.426 GB, free: 143.2 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.822e-05/6.194, allocations: 20 kB / 2.426 GB, free: 143.2 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002614/6.197, allocations: 298.8 kB / 2.426 GB, free: 142.9 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.331e-05/6.197, allocations: 23.92 kB / 2.426 GB, free: 142.9 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003034/6.2, allocations: 204.1 kB / 2.426 GB, free: 142.7 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002153/6.2, allocations: 63.97 kB / 2.426 GB, free: 142.6 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/6.2, allocations: 4 kB / 2.426 GB, free: 142.6 MB / 1.104 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003609/6.204, allocations: 1.011 MB / 2.427 GB, free: 141.6 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.995e-05/6.204, allocations: 12 kB / 2.427 GB, free: 141.6 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.547e-05/6.204, allocations: 23.47 kB / 2.427 GB, free: 141.6 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002407/6.206, allocations: 290.6 kB / 2.428 GB, free: 141.3 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.297e-05/6.206, allocations: 31.86 kB / 2.428 GB, free: 141.2 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002876/6.209, allocations: 180.6 kB / 2.428 GB, free: 141.1 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002009/6.209, allocations: 63.97 kB / 2.428 GB, free: 141 MB / 1.104 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,EHea.local_reset,ECoo.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (131): * Single equations (assignments): 127 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003834/6.21, allocations: 144.5 kB / 2.428 GB, free: 140.9 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004308/6.21, allocations: 161.9 kB / 2.428 GB, free: 140.7 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004323/6.215, allocations: 1.174 MB / 2.429 GB, free: 139.6 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.119e-05/6.215, allocations: 15.98 kB / 2.429 GB, free: 139.6 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/6.215, allocations: 3.812 kB / 2.429 GB, free: 139.6 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002399/6.217, allocations: 0.9795 MB / 2.43 GB, free: 138.5 MB / 1.104 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008364/6.225, allocations: 2.278 MB / 2.433 GB, free: 136.2 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.446e-05/6.226, allocations: 4 kB / 2.433 GB, free: 136.2 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002065/6.228, allocations: 187.6 kB / 2.433 GB, free: 136 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.028e-05/6.228, allocations: 0 / 2.433 GB, free: 136 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001636/6.228, allocations: 23.97 kB / 2.433 GB, free: 136 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.504e-06/6.228, allocations: 0 / 2.433 GB, free: 136 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.642e-06/6.228, allocations: 4 kB / 2.433 GB, free: 136 MB / 1.104 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004448/6.232, allocations: 1.533 MB / 2.434 GB, free: 134.4 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001546/6.234, allocations: 346.7 kB / 2.435 GB, free: 134.1 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006347/6.235, allocations: 7.812 kB / 2.435 GB, free: 134.1 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002663/6.237, allocations: 123.6 kB / 2.435 GB, free: 134 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002002/6.238, allocations: 48.56 kB / 2.435 GB, free: 133.9 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001503/6.238, allocations: 39.97 kB / 2.435 GB, free: 133.9 MB / 1.104 GB Notification: Performance of sort global known variables: time 0.001906/6.24, allocations: 0.8801 MB / 2.436 GB, free: 133 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.006093/6.246, allocations: 1.048 MB / 2.437 GB, free: 132 MB / 1.104 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (pla.coo.outCon.T,pla.hea.outCon.T,vol.dynBal.U,pum.filter.x[1],pum.filter.x[2],ECoo.y,EHea.y) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003028/6.249, allocations: 1.163 MB / 2.438 GB, free: 131 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.004173/6.253, allocations: 1.562 MB / 2.439 GB, free: 129.4 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 8.195e-06/6.253, allocations: 0 / 2.439 GB, free: 129.4 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.001021/6.254, allocations: 414.3 kB / 2.44 GB, free: 129 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005869/6.26, allocations: 0.692 MB / 2.441 GB, free: 128.4 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01271/6.273, allocations: 2.774 MB / 2.443 GB, free: 125.8 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002123/6.275, allocations: 1.588 MB / 2.445 GB, free: 124.2 MB / 1.104 GB Notification: Performance of SimCode: time 3.046e-06/6.275, allocations: 0 / 2.445 GB, free: 124.2 MB / 1.104 GB Notification: Performance of Templates: time 0.1051/6.38, allocations: 41.17 MB / 2.485 GB, free: 84.35 MB / 1.104 GB make -j1 -f Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.makefile (rm -f Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe ; mkfifo Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe >> ../files/Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.sim & ./Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe 2>&1)