Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5.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.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5") [: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.407/2.407, allocations: 284.9 MB / 292.2 MB, free: 10.67 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.001669/0.001669, allocations: 180.2 kB / 360.4 MB, free: 7.453 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.801/1.801, allocations: 205.1 MB / 0.6188 GB, free: 12.4 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.001231/0.001231, allocations: 80.8 kB / 0.7318 GB, free: 44.95 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.099e-05/2.104e-05, allocations: 4 kB / 0.8502 GB, free: 3.832 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6285/0.6286, allocations: 115.2 MB / 0.9628 GB, free: 78.35 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.066/1.695, allocations: 464.6 MB / 1.416 GB, free: 104.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000286/1.695, allocations: 92.38 kB / 1.417 GB, free: 104.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 51.52/53.21, allocations: 10.27 GB / 11.69 GB, free: 89.02 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.003461/53.22, allocations: 348.1 kB / 11.69 GB, free: 88.96 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.06234/53.28, allocations: 12.11 MB / 11.7 GB, free: 84.37 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/53.28, allocations: 13.19 kB / 11.7 GB, free: 84.37 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02021/53.3, allocations: 2.319 MB / 11.71 GB, free: 83.58 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1049/53.41, allocations: 22.29 MB / 11.73 GB, free: 81.48 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000561/53.41, allocations: 197.7 kB / 11.73 GB, free: 81.48 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00465/53.41, allocations: 437.8 kB / 11.73 GB, free: 81.47 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04715/53.46, allocations: 18.11 MB / 11.75 GB, free: 81.45 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0523/53.51, allocations: 12.31 MB / 11.76 GB, free: 80.86 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003292/53.51, allocations: 6.844 kB / 11.76 GB, free: 80.86 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003896/53.51, allocations: 3.875 kB / 11.76 GB, free: 80.86 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002337/53.51, allocations: 154.2 kB / 11.76 GB, free: 80.86 MB / 1.198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1935/53.71, allocations: 73.62 MB / 11.83 GB, free: 49 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01876/53.73, allocations: 8.366 MB / 11.84 GB, free: 48.93 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01998/53.75, allocations: 8.856 MB / 11.85 GB, free: 48.86 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1064/53.85, allocations: 31.85 MB / 11.88 GB, free: 40.26 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02704/53.88, allocations: 8.079 MB / 11.88 GB, free: 40.15 MB / 1.198 GB Notification: Performance of pre-optimization done (n=393): time 1.216e-05/53.88, allocations: 0 / 11.88 GB, free: 40.15 MB / 1.198 GB Notification: Performance of matching and sorting (n=395): time 0.1478/54.03, allocations: 38.59 MB / 11.92 GB, free: 37.24 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.039e-05/54.03, allocations: 102.3 kB / 11.92 GB, free: 37.17 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03595/54.06, allocations: 11.39 MB / 11.93 GB, free: 36.46 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.00323/54.07, allocations: 39.61 kB / 11.93 GB, free: 36.43 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.006053/54.07, allocations: 3.064 MB / 11.94 GB, free: 35.1 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.005654/54.08, allocations: 1.29 MB / 11.94 GB, free: 34.23 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002454/54.08, allocations: 3.469 kB / 11.94 GB, free: 34.23 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0006457/54.08, allocations: 0.5362 MB / 11.94 GB, free: 33.91 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0192/54.1, allocations: 7.135 MB / 11.95 GB, free: 33.89 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02134/54.12, allocations: 9.558 MB / 11.95 GB, free: 30.98 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02564/54.15, allocations: 8.233 MB / 11.96 GB, free: 30.78 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-05/54.15, allocations: 14.28 kB / 11.96 GB, free: 30.78 MB / 1.198 GB Notification: Performance of matching and sorting (n=776) (initialization): time 0.08475/54.23, allocations: 23.92 MB / 11.99 GB, free: 29.82 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.006162/54.24, allocations: 29.47 MB / 12.02 GB, free: 15.02 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002327/54.24, allocations: 46.03 kB / 12.02 GB, free: 15.02 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.635/56.88, allocations: 193.5 MB / 12.2 GB, free: 198.5 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01562/56.89, allocations: 1.261 MB / 12.21 GB, free: 198.5 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0992/56.99, allocations: 27.63 MB / 12.23 GB, free: 194.3 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02867/57.02, allocations: 0.7519 MB / 12.23 GB, free: 194.2 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004706/57.02, allocations: 0.7312 MB / 12.23 GB, free: 194.2 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/57.02, allocations: 7.375 kB / 12.23 GB, free: 194.2 MB / 1.229 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07843/57.1, allocations: 21.79 MB / 12.26 GB, free: 193.9 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002496/57.1, allocations: 44.09 kB / 12.26 GB, free: 193.9 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784/58.89, allocations: 188.6 MB / 12.44 GB, free: 156 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01203/58.9, allocations: 1.252 MB / 12.44 GB, free: 155.1 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.114/59.01, allocations: 29.5 MB / 12.47 GB, free: 139.2 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02823/59.04, allocations: 0.7209 MB / 12.47 GB, free: 138.8 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004403/59.05, allocations: 0.691 MB / 12.47 GB, free: 138.4 MB / 1.229 GB 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 spl2.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 pmpNorth.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" 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 pmpSouth.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: 207 * 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 (556): * Single equations (assignments): 544 * 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: 2 * 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: 2 {39 61,5 80} Notification: Performance of prepare postOptimizeDAE: time 0.006492/59.05, allocations: 288 kB / 12.47 GB, free: 138.2 MB / 1.229 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006546/59.06, allocations: 1.136 MB / 12.47 GB, free: 137.7 MB / 1.229 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07645/59.14, allocations: 18.68 MB / 12.49 GB, free: 128.7 MB / 1.229 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001327/59.14, allocations: 48 kB / 12.49 GB, free: 128.7 MB / 1.229 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.704e-05/59.14, allocations: 0 / 12.49 GB, free: 128.7 MB / 1.229 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04027/59.18, allocations: 12.89 MB / 12.5 GB, free: 122.4 MB / 1.229 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2149/59.39, allocations: 42.78 MB / 12.54 GB, free: 96.45 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.455e-05/59.39, allocations: 3.719 kB / 12.54 GB, free: 96.45 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007709/59.4, allocations: 0.6844 MB / 12.55 GB, free: 95.82 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.229/60.63, allocations: 78.66 MB / 12.62 GB, free: 195.2 MB / 1.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00239/60.63, allocations: 72.89 kB / 12.62 GB, free: 195.2 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06183/60.69, allocations: 14.61 MB / 12.64 GB, free: 190.9 MB / 1.229 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-05/60.69, allocations: 7.094 kB / 12.64 GB, free: 190.9 MB / 1.229 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.07102/60.76, allocations: 22.06 MB / 12.66 GB, free: 190.1 MB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01203/60.78, allocations: 2.533 MB / 12.66 GB, free: 190 MB / 1.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006488/60.78, allocations: 3.281 kB / 12.66 GB, free: 190 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02043/60.8, allocations: 0.5942 MB / 12.66 GB, free: 190 MB / 1.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002236/60.8, allocations: 284.9 kB / 12.66 GB, free: 189.9 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001708/60.81, allocations: 197 kB / 12.66 GB, free: 189.9 MB / 1.229 GB Notification: Performance of sort global known variables: time 0.02518/60.83, allocations: 8.538 MB / 12.67 GB, free: 189.6 MB / 1.229 GB Notification: Performance of remove unused functions: time 0.04837/60.88, allocations: 5.558 MB / 12.68 GB, free: 189.6 MB / 1.229 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 (319): * Single equations (assignments): 299 * 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: 2 * 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: 2 {40 60,6 79} Notification: Performance of Backend phase and start with SimCode phase: time 0.01045/60.89, allocations: 4.749 MB / 12.68 GB, free: 187.5 MB / 1.229 GB Notification: Performance of simCode: created initialization part: time 0.1325/61.02, allocations: 29.2 MB / 12.71 GB, free: 186.7 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 1.078e-05/61.02, allocations: 0 / 12.71 GB, free: 186.7 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.02875/61.05, allocations: 7.939 MB / 12.72 GB, free: 186.5 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0554/61.11, allocations: 5.856 MB / 12.72 GB, free: 186.1 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08047/61.19, allocations: 19.25 MB / 12.74 GB, free: 182.4 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02103/61.21, allocations: 7.754 MB / 12.75 GB, free: 181.2 MB / 1.229 GB Notification: Performance of SimCode: time 1.523e-06/61.21, allocations: 3.094 kB / 12.75 GB, free: 181.2 MB / 1.229 GB Notification: Performance of Templates: time 2.47/63.68, allocations: 410.1 MB / 13.15 GB, free: 195.5 MB / 1.229 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5.sim & ./Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe 2>&1)