Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.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.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4") [: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.549/1.549, allocations: 285.5 MB / 292.8 MB, free: 10.5 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.001344/0.001344, allocations: 187.2 kB / 361.1 MB, free: 7.125 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.693/1.693, allocations: 205.1 MB / 0.6195 GB, free: 10.31 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.0009068/0.0009068, allocations: 85.3 kB / 0.7326 GB, free: 44.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.865e-06/7.885e-06, allocations: 0 / 0.8511 GB, free: 3.012 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7629/0.763, allocations: 115.3 MB / 0.9637 GB, free: 78.26 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.083/1.846, allocations: 464.1 MB / 1.417 GB, free: 103.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002506/1.847, allocations: 91.22 kB / 1.417 GB, free: 103.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 40.44/42.28, allocations: 10.33 GB / 11.75 GB, free: 14.24 MB / 1.229 GB Notification: Performance of Transformations before backend: time 0.003159/42.29, allocations: 383.5 kB / 11.75 GB, free: 13.87 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: 1775 * Number of variables: 1775 Notification: Performance of Generate backend data structure: time 0.0527/42.34, allocations: 13.08 MB / 11.76 GB, free: 0.6758 MB / 1.229 GB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/42.34, allocations: 12.03 kB / 11.76 GB, free: 0.6641 MB / 1.229 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.8475/43.19, allocations: 2.249 MB / 11.77 GB, free: 160.4 MB / 1.229 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07427/43.26, allocations: 23.69 MB / 11.79 GB, free: 158.9 MB / 1.229 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005715/43.26, allocations: 226.7 kB / 11.79 GB, free: 158.9 MB / 1.229 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004408/43.27, allocations: 493.2 kB / 11.79 GB, free: 158.9 MB / 1.229 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03476/43.3, allocations: 18.59 MB / 11.81 GB, free: 158.9 MB / 1.229 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03946/43.34, allocations: 13.1 MB / 11.82 GB, free: 158.1 MB / 1.229 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006149/43.34, allocations: 16.28 kB / 11.82 GB, free: 158.1 MB / 1.229 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004026/43.34, allocations: 9.812 kB / 11.82 GB, free: 158.1 MB / 1.229 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002113/43.34, allocations: 187.2 kB / 11.82 GB, free: 158.1 MB / 1.229 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.151/43.5, allocations: 78.4 MB / 11.9 GB, free: 124 MB / 1.229 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01323/43.51, allocations: 8.385 MB / 11.91 GB, free: 123.9 MB / 1.229 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01375/43.52, allocations: 8.908 MB / 11.92 GB, free: 123.9 MB / 1.229 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07971/43.6, allocations: 32.67 MB / 11.95 GB, free: 115.5 MB / 1.229 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01543/43.62, allocations: 8.072 MB / 11.95 GB, free: 115.3 MB / 1.229 GB Notification: Performance of pre-optimization done (n=427): time 1.385e-05/43.62, allocations: 0 / 11.95 GB, free: 115.3 MB / 1.229 GB Notification: Performance of matching and sorting (n=429): time 0.1042/43.72, allocations: 38.31 MB / 11.99 GB, free: 112.2 MB / 1.229 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.773e-05/43.72, allocations: 104.9 kB / 11.99 GB, free: 112.2 MB / 1.229 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0372/43.76, allocations: 12.11 MB / 12 GB, free: 111.5 MB / 1.229 GB Notification: Performance of collectPreVariables (initialization): time 0.003651/43.76, allocations: 37.67 kB / 12 GB, free: 111.4 MB / 1.229 GB Notification: Performance of collectInitialEqns (initialization): time 0.007776/43.77, allocations: 3.454 MB / 12.01 GB, free: 109.9 MB / 1.229 GB Notification: Performance of collectInitialBindings (initialization): time 0.00578/43.78, allocations: 1.415 MB / 12.01 GB, free: 108.9 MB / 1.229 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001803/43.78, allocations: 1 kB / 12.01 GB, free: 108.9 MB / 1.229 GB Notification: Performance of setup shared object (initialization): time 0.0005055/43.78, allocations: 0.5608 MB / 12.01 GB, free: 108.6 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0108/43.79, allocations: 7.149 MB / 12.02 GB, free: 108.6 MB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01553/43.81, allocations: 9.769 MB / 12.03 GB, free: 105.5 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01702/43.82, allocations: 8.321 MB / 12.03 GB, free: 105.4 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001375/43.82, allocations: 17.78 kB / 12.03 GB, free: 105.4 MB / 1.229 GB Notification: Performance of matching and sorting (n=851) (initialization): time 0.0666/43.89, allocations: 23.62 MB / 12.06 GB, free: 104.5 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 0.008248/43.9, allocations: 34.57 MB / 12.09 GB, free: 68.46 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003173/43.9, allocations: 52.06 kB / 12.09 GB, free: 68.46 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6698/44.57, allocations: 161.3 MB / 12.25 GB, free: 28.03 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009543/44.58, allocations: 1.473 MB / 12.25 GB, free: 26.96 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04004/44.62, allocations: 24.84 MB / 12.27 GB, free: 12.22 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02138/44.64, allocations: 0.8209 MB / 12.28 GB, free: 11.62 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00533/44.64, allocations: 0.7399 MB / 12.28 GB, free: 11.19 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/44.64, allocations: 4 kB / 12.28 GB, free: 11.18 MB / 1.229 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.292/45.94, allocations: 113.8 MB / 12.39 GB, free: 143.2 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002239/45.94, allocations: 50.5 kB / 12.39 GB, free: 143.2 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6694/46.61, allocations: 161.4 MB / 12.54 GB, free: 127.7 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008674/46.61, allocations: 1.457 MB / 12.55 GB, free: 127.7 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04909/46.66, allocations: 26.46 MB / 12.57 GB, free: 125.6 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01926/46.68, allocations: 0.7911 MB / 12.57 GB, free: 125.6 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004219/46.69, allocations: 0.7023 MB / 12.57 GB, free: 125.6 MB / 1.229 GB 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 pmpNorth.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: 237 * 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 (661): * Single equations (assignments): 649 * 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 {32 38,5 80} Notification: Performance of prepare postOptimizeDAE: time 0.006276/46.69, allocations: 299.5 kB / 12.57 GB, free: 125.5 MB / 1.229 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006593/46.7, allocations: 1.222 MB / 12.57 GB, free: 125.5 MB / 1.229 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05291/46.75, allocations: 18.3 MB / 12.59 GB, free: 124.6 MB / 1.229 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001057/46.75, allocations: 60.12 kB / 12.59 GB, free: 124.6 MB / 1.229 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.336e-05/46.75, allocations: 0 / 12.59 GB, free: 124.6 MB / 1.229 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0251/46.78, allocations: 12.51 MB / 12.61 GB, free: 124.3 MB / 1.229 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2317/47.01, allocations: 65.78 MB / 12.67 GB, free: 98.96 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.176e-05/47.01, allocations: 1.875 kB / 12.67 GB, free: 98.96 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005111/47.02, allocations: 0.7993 MB / 12.67 GB, free: 98.36 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.966/47.98, allocations: 70.56 MB / 12.74 GB, free: 148.6 MB / 1.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001749/47.98, allocations: 75.98 kB / 12.74 GB, free: 148.6 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01966/48, allocations: 12.75 MB / 12.75 GB, free: 144.6 MB / 1.229 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.018e-05/48, allocations: 3.25 kB / 12.75 GB, free: 144.6 MB / 1.229 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1866/48.19, allocations: 58.42 MB / 12.81 GB, free: 138.5 MB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01192/48.2, allocations: 2.691 MB / 12.81 GB, free: 138.4 MB / 1.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006334/48.21, allocations: 9.156 kB / 12.81 GB, free: 138.4 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01483/48.22, allocations: 0.6428 MB / 12.81 GB, free: 138.4 MB / 1.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001936/48.22, allocations: 290.2 kB / 12.81 GB, free: 138.4 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009498/48.23, allocations: 217.2 kB / 12.81 GB, free: 138.4 MB / 1.229 GB Notification: Performance of sort global known variables: time 0.02255/48.25, allocations: 9.064 MB / 12.82 GB, free: 138 MB / 1.229 GB Notification: Performance of remove unused functions: time 0.04944/48.3, allocations: 6.133 MB / 12.83 GB, free: 138 MB / 1.229 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U) * 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 (372): * Single equations (assignments): 352 * 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 {32 38,5 80} Notification: Performance of Backend phase and start with SimCode phase: time 0.009587/48.31, allocations: 5.261 MB / 12.83 GB, free: 135.7 MB / 1.229 GB Notification: Performance of simCode: created initialization part: time 0.06445/48.37, allocations: 28.24 MB / 12.86 GB, free: 135 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 1.326e-05/48.37, allocations: 6.312 kB / 12.86 GB, free: 135 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.01511/48.39, allocations: 7.409 MB / 12.87 GB, free: 134.9 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04082/48.43, allocations: 6.366 MB / 12.87 GB, free: 134.6 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07076/48.5, allocations: 20.83 MB / 12.89 GB, free: 130.3 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02043/48.52, allocations: 8.373 MB / 12.9 GB, free: 129.1 MB / 1.229 GB Notification: Performance of SimCode: time 1.142e-06/48.52, allocations: 0 / 12.9 GB, free: 129.1 MB / 1.229 GB Notification: Performance of Templates: time 2.113/50.63, allocations: 427 MB / 13.32 GB, free: 132.8 MB / 1.229 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe 2>&1)