Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6.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.Examples.FlowSystem.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6") [: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.277/2.277, 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.001601/0.001601, allocations: 177.3 kB / 360.4 MB, free: 7.492 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.886/1.886, 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.001219/0.001218, allocations: 91.34 kB / 0.7318 GB, free: 44.97 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.367e-06/9.578e-06, allocations: 0 / 0.8502 GB, free: 3.859 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6869/0.6869, allocations: 115.2 MB / 0.9628 GB, free: 78.45 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.099/1.786, allocations: 465.2 MB / 1.417 GB, free: 99.64 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003115/1.786, allocations: 98.52 kB / 1.417 GB, free: 99.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 52.05/53.84, allocations: 10.51 GB / 11.93 GB, free: 78.6 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.003593/53.84, allocations: 352.7 kB / 11.93 GB, free: 78.53 MB / 1.198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1521 * Number of variables: 1521 Notification: Performance of Generate backend data structure: time 0.06407/53.91, allocations: 11.53 MB / 11.94 GB, free: 73.54 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/53.91, allocations: 7.656 kB / 11.94 GB, free: 73.54 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01887/53.93, allocations: 2.158 MB / 11.94 GB, free: 72.75 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08582/54.01, allocations: 18.64 MB / 11.96 GB, free: 70.48 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000562/54.01, allocations: 194.8 kB / 11.96 GB, free: 70.48 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003614/54.02, allocations: 437.1 kB / 11.96 GB, free: 70.48 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02535/54.04, allocations: 7.037 MB / 11.96 GB, free: 70.45 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03052/54.07, allocations: 7.539 MB / 11.97 GB, free: 69.36 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004349/54.07, allocations: 17.81 kB / 11.97 GB, free: 69.35 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002957/54.07, allocations: 15.03 kB / 11.97 GB, free: 69.35 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002421/54.07, allocations: 154.6 kB / 11.97 GB, free: 69.35 MB / 1.198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1321/54.21, allocations: 50.33 MB / 12.02 GB, free: 41.21 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01124/54.22, allocations: 3.518 MB / 12.03 GB, free: 41.14 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01352/54.23, allocations: 4.02 MB / 12.03 GB, free: 41.03 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06207/54.29, allocations: 12.96 MB / 12.04 GB, free: 37.85 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00999/54.3, allocations: 3.202 MB / 12.04 GB, free: 37.75 MB / 1.198 GB Notification: Performance of pre-optimization done (n=326): time 8.777e-06/54.3, allocations: 0 / 12.04 GB, free: 37.75 MB / 1.198 GB Notification: Performance of matching and sorting (n=328): time 0.09092/54.4, allocations: 17.62 MB / 12.06 GB, free: 33.41 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.031e-05/54.4, allocations: 89.19 kB / 12.06 GB, free: 33.35 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04095/54.44, allocations: 11.59 MB / 12.07 GB, free: 29.23 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.002071/54.44, allocations: 40.27 kB / 12.07 GB, free: 29.2 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.006821/54.45, allocations: 3.262 MB / 12.08 GB, free: 27.11 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.004076/54.45, allocations: 1.084 MB / 12.08 GB, free: 26.26 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001792/54.45, allocations: 0 / 12.08 GB, free: 26.26 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0006863/54.45, allocations: 0.5333 MB / 12.08 GB, free: 25.85 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009782/54.46, allocations: 3.258 MB / 12.08 GB, free: 24.73 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01404/54.48, allocations: 6.016 MB / 12.09 GB, free: 20 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01532/54.49, allocations: 4.264 MB / 12.09 GB, free: 17.69 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.932e-05/54.49, allocations: 20 kB / 12.09 GB, free: 17.67 MB / 1.198 GB Notification: Performance of matching and sorting (n=771) (initialization): time 0.0476/54.54, allocations: 11.89 MB / 12.1 GB, free: 7.699 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.7325/55.27, allocations: 38.27 MB / 12.14 GB, free: 173.6 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004149/55.27, allocations: 58.41 kB / 12.14 GB, free: 173.6 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03281/55.3, allocations: 3.053 MB / 12.14 GB, free: 173.6 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02406/55.33, allocations: 1.388 MB / 12.14 GB, free: 173.6 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02687/55.36, allocations: 11.6 MB / 12.16 GB, free: 168.1 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02141/55.38, allocations: 0.717 MB / 12.16 GB, free: 168.1 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002425/55.38, allocations: 459.7 kB / 12.16 GB, free: 168.1 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/55.38, allocations: 3.906 kB / 12.16 GB, free: 168.1 MB / 1.214 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03499/55.41, allocations: 9.452 MB / 12.17 GB, free: 167.9 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002264/55.42, allocations: 58.75 kB / 12.17 GB, free: 167.9 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02332/55.44, allocations: 3.105 MB / 12.17 GB, free: 167.9 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01236/55.45, allocations: 1.371 MB / 12.17 GB, free: 167.9 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04034/55.49, allocations: 13.37 MB / 12.18 GB, free: 164.5 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02039/55.51, allocations: 0.6819 MB / 12.18 GB, free: 164.5 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00241/55.51, allocations: 414.2 kB / 12.18 GB, free: 164.5 MB / 1.214 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pmpNorth.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pmpSouth.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: spl3.port_internal.h_outflow:VARIABLE(min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 protected = true ) "Specific thermodynamic enthalpy close to the connection point if m_flow < 0" type: Real pumpCoo.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pumpHea.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 269 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,booleanToInteger.u,booleanToInteger.y,$PRE.stepPump.pulseStart,stepPump.pulseStart,$PRE.stepValve.T_start,stepValve.T_start,$PRE.stepValve.count,stepValve.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (624): * Single equations (assignments): 609 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {1 2,9 12,1 2,1 2,7 78} Notification: Performance of prepare postOptimizeDAE: time 0.004093/55.52, allocations: 328.4 kB / 12.19 GB, free: 164.4 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00508/55.52, allocations: 1.136 MB / 12.19 GB, free: 164.4 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04367/55.57, allocations: 8.827 MB / 12.2 GB, free: 164.1 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001581/55.57, allocations: 44.84 kB / 12.2 GB, free: 164.1 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.847e-05/55.57, allocations: 2.031 kB / 12.2 GB, free: 164.1 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03175/55.6, allocations: 6.258 MB / 12.2 GB, free: 163.7 MB / 1.214 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07158/55.67, allocations: 16.09 MB / 12.22 GB, free: 162.9 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-05/55.67, allocations: 9.766 kB / 12.22 GB, free: 162.9 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007312/55.68, allocations: 0.6321 MB / 12.22 GB, free: 162.9 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01049/55.69, allocations: 1.835 MB / 12.22 GB, free: 162.8 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009831/55.69, allocations: 64.62 kB / 12.22 GB, free: 162.8 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01308/55.7, allocations: 9.032 MB / 12.23 GB, free: 157.3 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.015e-06/55.7, allocations: 3.562 kB / 12.23 GB, free: 157.3 MB / 1.214 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03524/55.74, allocations: 11.08 MB / 12.24 GB, free: 156.2 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01018/55.75, allocations: 2.131 MB / 12.24 GB, free: 155.5 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005291/55.75, allocations: 6.125 kB / 12.24 GB, free: 155.5 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01628/55.77, allocations: 0.5899 MB / 12.24 GB, free: 155.5 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001271/55.77, allocations: 229.8 kB / 12.24 GB, free: 155.5 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007457/55.77, allocations: 178.4 kB / 12.24 GB, free: 155.5 MB / 1.214 GB Notification: Performance of sort global known variables: time 0.02486/55.8, allocations: 8.653 MB / 12.25 GB, free: 155.1 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.0417/55.84, allocations: 5.023 MB / 12.26 GB, free: 155.1 MB / 1.214 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,heater.outCon.T) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,booleanToInteger.u,booleanToInteger.y,stepPump.pulseStart,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (292): * Single equations (assignments): 269 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {1 2,9 12,1 2,1 2,5 80} Notification: Performance of Backend phase and start with SimCode phase: time 0.01392/55.85, allocations: 4.748 MB / 12.26 GB, free: 153.3 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.04563/55.9, allocations: 12.67 MB / 12.27 GB, free: 152.9 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 1.195e-05/55.9, allocations: 4.625 kB / 12.27 GB, free: 152.9 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.01085/55.91, allocations: 2.886 MB / 12.28 GB, free: 152.9 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06145/55.97, allocations: 5.563 MB / 12.28 GB, free: 152.9 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0706/56.04, allocations: 17.43 MB / 12.3 GB, free: 149.2 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02145/56.06, allocations: 7.695 MB / 12.31 GB, free: 148.3 MB / 1.214 GB Notification: Performance of SimCode: time 1.773e-06/56.06, allocations: 2.344 kB / 12.31 GB, free: 148.3 MB / 1.214 GB Notification: Performance of Templates: time 0.7414/56.8, allocations: 284 MB / 12.58 GB, free: 42.41 MB / 1.214 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6.sim & ./Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe 2>&1)