Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.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.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop") translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop") [: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.494/2.494, 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.001702/0.001701, allocations: 187.9 kB / 360.4 MB, free: 7.48 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 2.063/2.063, allocations: 205.1 MB / 0.6188 GB, free: 12.43 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.001218/0.001218, allocations: 97.88 kB / 0.7318 GB, free: 44.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.142e-05/1.158e-05, allocations: 0 / 0.8502 GB, free: 3.785 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6214/0.6215, allocations: 115.2 MB / 0.9628 GB, free: 78.38 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.103/1.725, allocations: 473.7 MB / 1.425 GB, free: 91.64 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003248/1.725, allocations: 94.84 kB / 1.425 GB, free: 91.59 MB / 0.8542 GB Notification: Performance of FrontEnd: time 5.119/6.844, allocations: 1.002 GB / 2.428 GB, free: 120.9 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0006495/6.844, allocations: 63.39 kB / 2.428 GB, free: 120.8 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 384 * Number of variables: 384 Notification: Performance of Generate backend data structure: time 0.01335/6.858, allocations: 2.833 MB / 2.431 GB, free: 119.6 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.521e-05/6.858, allocations: 11.06 kB / 2.431 GB, free: 119.6 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008766/6.867, allocations: 0.7025 MB / 2.431 GB, free: 119.5 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01763/6.884, allocations: 3.077 MB / 2.434 GB, free: 119 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00222/6.887, allocations: 284.5 kB / 2.435 GB, free: 118.9 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0014/6.888, allocations: 118.2 kB / 2.435 GB, free: 118.9 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007874/6.896, allocations: 1.457 MB / 2.436 GB, free: 118.9 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008185/6.904, allocations: 1.668 MB / 2.438 GB, free: 118.6 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.319e-05/6.904, allocations: 6 kB / 2.438 GB, free: 118.6 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003007/6.905, allocations: 5.828 kB / 2.438 GB, free: 118.6 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.253e-05/6.905, allocations: 41.66 kB / 2.438 GB, free: 118.6 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02364/6.928, allocations: 9.682 MB / 2.447 GB, free: 114.1 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003016/6.931, allocations: 0.7147 MB / 2.448 GB, free: 114.1 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002561/6.934, allocations: 0.583 MB / 2.449 GB, free: 114 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0131/6.947, allocations: 4.039 MB / 2.452 GB, free: 112.3 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001708/6.949, allocations: 0.7072 MB / 2.453 GB, free: 112.2 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=92): time 4.248e-06/6.949, allocations: 0 / 2.453 GB, free: 112.2 MB / 0.9792 GB Notification: Performance of matching and sorting (n=92): time 0.005344/6.954, allocations: 1.29 MB / 2.454 GB, free: 112.1 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.952e-05/6.955, allocations: 225.5 kB / 2.455 GB, free: 111.8 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00485/6.959, allocations: 1.84 MB / 2.456 GB, free: 111.6 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0006104/6.96, allocations: 43.73 kB / 2.457 GB, free: 111.6 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001013/6.961, allocations: 0.7458 MB / 2.457 GB, free: 111.2 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007243/6.962, allocations: 297.4 kB / 2.458 GB, free: 111 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002066/6.962, allocations: 7.594 kB / 2.458 GB, free: 111 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001264/6.962, allocations: 355.5 kB / 2.458 GB, free: 110.7 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001857/6.964, allocations: 0.6165 MB / 2.458 GB, free: 110.7 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002258/6.966, allocations: 1.123 MB / 2.46 GB, free: 110.1 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004114/6.97, allocations: 0.8369 MB / 2.46 GB, free: 110 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.473e-05/6.971, allocations: 3.688 kB / 2.46 GB, free: 110 MB / 0.9792 GB Notification: Performance of matching and sorting (n=171) (initialization): time 0.00819/6.979, allocations: 1.967 MB / 2.462 GB, free: 109.9 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.001201/6.98, allocations: 5.038 MB / 2.467 GB, free: 104.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.291e-05/6.98, allocations: 14.62 kB / 2.467 GB, free: 104.5 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.65e-05/6.98, allocations: 24.52 kB / 2.467 GB, free: 104.5 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003435/6.984, allocations: 360.1 kB / 2.468 GB, free: 104.5 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.94e-05/6.984, allocations: 25.38 kB / 2.468 GB, free: 104.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005804/6.99, allocations: 444.5 kB / 2.468 GB, free: 104.5 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006818/6.99, allocations: 89.2 kB / 2.468 GB, free: 104.5 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/6.99, allocations: 3.781 kB / 2.468 GB, free: 104.5 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006996/6.997, allocations: 1.675 MB / 2.47 GB, free: 104.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.538e-05/6.997, allocations: 19.2 kB / 2.47 GB, free: 104.4 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.304e-05/6.997, allocations: 19.44 kB / 2.47 GB, free: 104.4 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003204/7.001, allocations: 361.1 kB / 2.47 GB, free: 104.4 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.922e-05/7.001, allocations: 26.5 kB / 2.47 GB, free: 104.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005278/7.006, allocations: 390.9 kB / 2.471 GB, free: 104.4 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006229/7.007, allocations: 92.14 kB / 2.471 GB, free: 104.4 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,heaPum.uMod,$PRE.uMod.booPul.y,uMod.booPul.y,$PRE.pulse.booPul.y,pulse.booPul.y,$PRE.TSouEnt.booPul.y,TSouEnt.booPul.y,$PRE.TLoaSet.booPul.y,TLoaSet.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (160): * Single equations (assignments): 153 * Array equations: 2 * Algorithm blocks: 4 * 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.0006463/7.007, allocations: 166.1 kB / 2.471 GB, free: 104.3 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008495/7.008, allocations: 239.4 kB / 2.471 GB, free: 104.2 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005605/7.014, allocations: 1.544 MB / 2.473 GB, free: 104.1 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-05/7.014, allocations: 22.23 kB / 2.473 GB, free: 104.1 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/7.014, allocations: 0 / 2.473 GB, free: 104.1 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003475/7.017, allocations: 1.186 MB / 2.474 GB, free: 103.9 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01109/7.029, allocations: 3.403 MB / 2.477 GB, free: 103.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.336e-05/7.029, allocations: 6.391 kB / 2.477 GB, free: 103.5 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002455/7.031, allocations: 238.9 kB / 2.477 GB, free: 103.5 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.042e-05/7.031, allocations: 3.469 kB / 2.477 GB, free: 103.5 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001737/7.031, allocations: 18.36 kB / 2.477 GB, free: 103.5 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.718e-06/7.031, allocations: 7.344 kB / 2.477 GB, free: 103.5 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.706e-06/7.031, allocations: 3.562 kB / 2.477 GB, free: 103.5 MB / 0.9792 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006322/7.038, allocations: 2.288 MB / 2.48 GB, free: 103.1 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002212/7.04, allocations: 0.5099 MB / 2.48 GB, free: 102.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008891/7.041, allocations: 7.281 kB / 2.48 GB, free: 102.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003564/7.045, allocations: 159.3 kB / 2.48 GB, free: 102.9 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003652/7.045, allocations: 68.42 kB / 2.48 GB, free: 102.9 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000235/7.045, allocations: 46.95 kB / 2.48 GB, free: 102.9 MB / 0.9792 GB Notification: Performance of sort global known variables: time 0.003714/7.049, allocations: 1.377 MB / 2.482 GB, free: 102.7 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.008375/7.057, allocations: 1.461 MB / 2.483 GB, free: 102.5 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (pum.vol.dynBal.U,pum.filter.x[1],pum.filter.x[2],vol.dynBal.U) * Number of discrete variables: 13 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,heaPum.uMod,uMod.booPul.y,pulse.booPul.y,TSouEnt.booPul.y,TLoaSet.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 4 * 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.003889/7.061, allocations: 1.481 MB / 2.485 GB, free: 102.1 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.008286/7.07, allocations: 2.689 MB / 2.487 GB, free: 101.8 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.33e-05/7.07, allocations: 7.156 kB / 2.487 GB, free: 101.8 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001797/7.072, allocations: 0.6153 MB / 2.488 GB, free: 101.8 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00916/7.081, allocations: 0.9349 MB / 2.489 GB, free: 101.8 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01368/7.095, allocations: 3.289 MB / 2.492 GB, free: 101 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004711/7.099, allocations: 1.927 MB / 2.494 GB, free: 100.2 MB / 0.9792 GB Notification: Performance of SimCode: time 2.384e-06/7.099, allocations: 3.344 kB / 2.494 GB, free: 100.2 MB / 0.9792 GB Notification: Performance of Templates: time 0.1976/7.297, allocations: 60.47 MB / 2.553 GB, free: 97.03 MB / 0.9792 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.pipe 2>&1)