Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.679/1.679, allocations: 285.5 MB / 292.8 MB, free: 10.47 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0012/0.001199, allocations: 189.2 kB / 361.1 MB, free: 7.113 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.593/1.593, allocations: 205.1 MB / 0.6195 GB, free: 11.96 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008661/0.0008664, allocations: 92.86 kB / 0.7326 GB, free: 44.5 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.604e-06/7.635e-06, allocations: 0 / 0.8511 GB, free: 3.266 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.796/0.796, allocations: 115.3 MB / 0.9637 GB, free: 77.72 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.031/1.827, allocations: 465.4 MB / 1.418 GB, free: 99.88 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002565/1.827, allocations: 93.89 kB / 1.418 GB, free: 99.84 MB / 0.8542 GB Notification: Performance of FrontEnd: time 41.55/43.38, allocations: 10.51 GB / 11.93 GB, free: 41.33 MB / 1.229 GB Notification: Performance of Transformations before backend: time 0.003966/43.38, allocations: 347.7 kB / 11.93 GB, free: 40.99 MB / 1.229 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.05645/43.44, allocations: 11.53 MB / 11.94 GB, free: 29.36 MB / 1.229 GB Notification: Performance of prepare preOptimizeDAE: time 5.918e-05/43.44, allocations: 15.91 kB / 11.94 GB, free: 29.34 MB / 1.229 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01632/43.46, allocations: 2.16 MB / 11.94 GB, free: 27.16 MB / 1.229 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06515/43.52, allocations: 18.63 MB / 11.96 GB, free: 8.473 MB / 1.229 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005396/43.52, allocations: 196 kB / 11.96 GB, free: 8.281 MB / 1.229 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003686/43.52, allocations: 439.9 kB / 11.96 GB, free: 7.852 MB / 1.229 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01657/43.54, allocations: 7.032 MB / 11.97 GB, free: 0.8164 MB / 1.229 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.8405/44.38, allocations: 7.53 MB / 11.97 GB, free: 156.5 MB / 1.229 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001992/44.38, allocations: 25.77 kB / 11.97 GB, free: 156.5 MB / 1.229 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001149/44.38, allocations: 14.22 kB / 11.97 GB, free: 156.5 MB / 1.229 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000135/44.38, allocations: 148.8 kB / 11.97 GB, free: 156.5 MB / 1.229 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07833/44.46, allocations: 50.34 MB / 12.02 GB, free: 130 MB / 1.229 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009546/44.47, allocations: 3.525 MB / 12.03 GB, free: 129.9 MB / 1.229 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01006/44.48, allocations: 4.014 MB / 12.03 GB, free: 129.9 MB / 1.229 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04637/44.53, allocations: 12.96 MB / 12.04 GB, free: 126.9 MB / 1.229 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005678/44.53, allocations: 3.198 MB / 12.05 GB, free: 126.8 MB / 1.229 GB Notification: Performance of pre-optimization done (n=326): time 7.424e-06/44.53, allocations: 0 / 12.05 GB, free: 126.8 MB / 1.229 GB Notification: Performance of matching and sorting (n=328): time 0.05838/44.59, allocations: 17.64 MB / 12.06 GB, free: 124.1 MB / 1.229 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.981e-05/44.59, allocations: 88.39 kB / 12.06 GB, free: 124 MB / 1.229 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0314/44.62, allocations: 11.58 MB / 12.07 GB, free: 123.3 MB / 1.229 GB Notification: Performance of collectPreVariables (initialization): time 0.002102/44.63, allocations: 41.55 kB / 12.07 GB, free: 123.3 MB / 1.229 GB Notification: Performance of collectInitialEqns (initialization): time 0.00625/44.63, allocations: 3.258 MB / 12.08 GB, free: 122.2 MB / 1.229 GB Notification: Performance of collectInitialBindings (initialization): time 0.003708/44.64, allocations: 1.083 MB / 12.08 GB, free: 121.7 MB / 1.229 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001708/44.64, allocations: 3.375 kB / 12.08 GB, free: 121.7 MB / 1.229 GB Notification: Performance of setup shared object (initialization): time 0.0005821/44.64, allocations: 0.5367 MB / 12.08 GB, free: 121.3 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00623/44.64, allocations: 3.26 MB / 12.08 GB, free: 121.3 MB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008568/44.65, allocations: 6.01 MB / 12.09 GB, free: 118 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01064/44.66, allocations: 4.261 MB / 12.09 GB, free: 117.9 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.96e-05/44.66, allocations: 17.06 kB / 12.09 GB, free: 117.9 MB / 1.229 GB Notification: Performance of matching and sorting (n=771) (initialization): time 0.02811/44.69, allocations: 11.89 MB / 12.1 GB, free: 117.1 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 0.009529/44.7, allocations: 38.27 MB / 12.14 GB, free: 77.31 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001703/44.7, allocations: 58 kB / 12.14 GB, free: 77.31 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0117/44.71, allocations: 3.05 MB / 12.14 GB, free: 77.25 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009444/44.72, allocations: 1.387 MB / 12.15 GB, free: 77.25 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01519/44.74, allocations: 11.6 MB / 12.16 GB, free: 71.65 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01569/44.75, allocations: 0.7123 MB / 12.16 GB, free: 71.62 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002389/44.76, allocations: 459.5 kB / 12.16 GB, free: 71.62 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/44.76, allocations: 3.812 kB / 12.16 GB, free: 71.62 MB / 1.229 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0255/44.78, allocations: 9.457 MB / 12.17 GB, free: 71.45 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002131/44.78, allocations: 59.31 kB / 12.17 GB, free: 71.45 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01211/44.79, allocations: 3.101 MB / 12.17 GB, free: 71.39 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007568/44.8, allocations: 1.366 MB / 12.17 GB, free: 71.39 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02377/44.83, allocations: 13.38 MB / 12.18 GB, free: 67.73 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01545/44.84, allocations: 0.6783 MB / 12.19 GB, free: 67.7 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002146/44.84, allocations: 419.5 kB / 12.19 GB, free: 67.7 MB / 1.229 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.002271/44.85, allocations: 316.1 kB / 12.19 GB, free: 67.59 MB / 1.229 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003719/44.85, allocations: 1.138 MB / 12.19 GB, free: 66.96 MB / 1.229 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02096/44.87, allocations: 8.836 MB / 12.2 GB, free: 66.59 MB / 1.229 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.68e-05/44.87, allocations: 43.84 kB / 12.2 GB, free: 66.59 MB / 1.229 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/44.87, allocations: 7.25 kB / 12.2 GB, free: 66.58 MB / 1.229 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01128/44.88, allocations: 6.245 MB / 12.2 GB, free: 66.15 MB / 1.229 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03877/44.92, allocations: 16.1 MB / 12.22 GB, free: 65.16 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-05/44.92, allocations: 3.688 kB / 12.22 GB, free: 65.16 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003474/44.92, allocations: 0.6348 MB / 12.22 GB, free: 65.16 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005425/44.93, allocations: 1.843 MB / 12.22 GB, free: 65.1 MB / 1.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003886/44.93, allocations: 66.67 kB / 12.22 GB, free: 65.1 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007718/44.94, allocations: 9.024 MB / 12.23 GB, free: 59.51 MB / 1.229 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/44.94, allocations: 3.422 kB / 12.23 GB, free: 59.51 MB / 1.229 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02018/44.96, allocations: 11.07 MB / 12.24 GB, free: 58.04 MB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009703/44.97, allocations: 2.137 MB / 12.24 GB, free: 57.3 MB / 1.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005699/44.97, allocations: 4.812 kB / 12.24 GB, free: 57.3 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01422/44.99, allocations: 0.5925 MB / 12.24 GB, free: 57.29 MB / 1.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001294/44.99, allocations: 227.3 kB / 12.24 GB, free: 57.28 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001123/44.99, allocations: 178.7 kB / 12.24 GB, free: 57.28 MB / 1.229 GB Notification: Performance of sort global known variables: time 0.02597/45.02, allocations: 8.653 MB / 12.25 GB, free: 56.93 MB / 1.229 GB Notification: Performance of remove unused functions: time 0.03767/45.05, allocations: 5.023 MB / 12.26 GB, free: 56.93 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 (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.01005/45.06, allocations: 4.733 MB / 12.26 GB, free: 55.11 MB / 1.229 GB Notification: Performance of simCode: created initialization part: time 0.03089/45.09, allocations: 12.67 MB / 12.27 GB, free: 54.71 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 1.11e-05/45.09, allocations: 2.719 kB / 12.27 GB, free: 54.71 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.007315/45.1, allocations: 2.892 MB / 12.28 GB, free: 54.67 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03303/45.14, allocations: 5.58 MB / 12.28 GB, free: 54.61 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05853/45.19, allocations: 17.42 MB / 12.3 GB, free: 50.98 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01539/45.21, allocations: 7.69 MB / 12.31 GB, free: 50.02 MB / 1.229 GB Notification: Performance of SimCode: time 1.473e-06/45.21, allocations: 3.469 kB / 12.31 GB, free: 50.02 MB / 1.229 GB Notification: Performance of Templates: time 1.869/47.08, allocations: 284.8 MB / 12.58 GB, free: 149.3 MB / 1.229 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe 2>&1)