Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.145/2.145, allocations: 253.1 MB / 260.4 MB, free: 7.445 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002702/0.002702, allocations: 177.2 kB / 319.6 MB, free: 3.309 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.852/1.852, allocations: 205.4 MB / 0.5704 GB, free: 15.04 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001897/0.001896, allocations: 90.33 kB / 0.6746 GB, free: 4.402 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.043e-05/1.06e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.218/0.218, allocations: 106.2 MB / 0.888 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.53/1.748, allocations: 457.3 MB / 1.335 GB, free: 246.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003225/1.749, allocations: 94.67 kB / 1.335 GB, free: 246.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 51.17/52.92, allocations: 10.05 GB / 11.38 GB, free: 81 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.00395/52.92, allocations: 389.2 kB / 11.38 GB, free: 80.92 MB / 1.151 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.06813/52.99, allocations: 13.07 MB / 11.4 GB, free: 75.23 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/52.99, allocations: 7.219 kB / 11.4 GB, free: 75.23 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02012/53.01, allocations: 2.254 MB / 11.4 GB, free: 74.32 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1099/53.12, allocations: 23.67 MB / 11.42 GB, free: 71.17 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006379/53.12, allocations: 223.3 kB / 11.42 GB, free: 71.17 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005291/53.13, allocations: 493.2 kB / 11.42 GB, free: 71.17 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05066/53.18, allocations: 18.52 MB / 11.44 GB, free: 71.13 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05045/53.23, allocations: 13.03 MB / 11.45 GB, free: 70.28 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005651/53.23, allocations: 9.188 kB / 11.45 GB, free: 70.27 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004212/53.23, allocations: 6.969 kB / 11.45 GB, free: 70.27 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003357/53.23, allocations: 190.8 kB / 11.45 GB, free: 70.27 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1938/53.43, allocations: 78.26 MB / 11.53 GB, free: 6.348 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02149/53.45, allocations: 8.475 MB / 11.54 GB, free: 15.3 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02309/53.47, allocations: 8.865 MB / 11.55 GB, free: 7.305 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.8448/54.32, allocations: 32.57 MB / 11.58 GB, free: 159.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02055/54.34, allocations: 7.998 MB / 11.59 GB, free: 159.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=427): time 9.117e-06/54.34, allocations: 0.75 kB / 11.59 GB, free: 159.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=429): time 0.1465/54.48, allocations: 38.17 MB / 11.62 GB, free: 157.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.938e-05/54.48, allocations: 98.72 kB / 11.62 GB, free: 157.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03986/54.52, allocations: 12.11 MB / 11.64 GB, free: 157 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.003418/54.53, allocations: 36.08 kB / 11.64 GB, free: 157 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.007491/54.53, allocations: 3.468 MB / 11.64 GB, free: 155.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.006087/54.54, allocations: 1.41 MB / 11.64 GB, free: 155.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003227/54.54, allocations: 0 / 11.64 GB, free: 155.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0008222/54.54, allocations: 0.5592 MB / 11.64 GB, free: 154.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01909/54.56, allocations: 7.114 MB / 11.65 GB, free: 154.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02164/54.59, allocations: 9.738 MB / 11.66 GB, free: 151.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02552/54.61, allocations: 8.289 MB / 11.67 GB, free: 151.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001049/54.61, allocations: 17.03 kB / 11.67 GB, free: 151.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=851) (initialization): time 0.08313/54.69, allocations: 23.54 MB / 11.69 GB, free: 150.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.007367/54.7, allocations: 34.57 MB / 11.72 GB, free: 114.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002913/54.7, allocations: 52.47 kB / 11.72 GB, free: 114.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512/56.21, allocations: 161.3 MB / 11.88 GB, free: 101.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01699/56.23, allocations: 1.469 MB / 11.88 GB, free: 101.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08186/56.31, allocations: 24.85 MB / 11.91 GB, free: 97.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02912/56.34, allocations: 0.8253 MB / 11.91 GB, free: 97.19 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004183/56.35, allocations: 0.7437 MB / 11.91 GB, free: 97.19 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/56.35, allocations: 3.906 kB / 11.91 GB, free: 97.19 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.333/57.68, allocations: 112.5 MB / 12.02 GB, free: 42.62 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000237/57.68, allocations: 52 kB / 12.02 GB, free: 42.57 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.344/60.02, allocations: 161.3 MB / 12.17 GB, free: 150 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01376/60.04, allocations: 1.456 MB / 12.18 GB, free: 150 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1008/60.14, allocations: 26.46 MB / 12.2 GB, free: 148 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02864/60.17, allocations: 0.7897 MB / 12.2 GB, free: 147.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004303/60.17, allocations: 0.7101 MB / 12.2 GB, free: 147.9 MB / 1.167 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.006109/60.18, allocations: 288.5 kB / 12.2 GB, free: 147.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006767/60.18, allocations: 1.22 MB / 12.2 GB, free: 147.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07453/60.26, allocations: 18.24 MB / 12.22 GB, free: 147 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001626/60.26, allocations: 60.31 kB / 12.22 GB, free: 147 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.651e-05/60.26, allocations: 0 / 12.22 GB, free: 147 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03895/60.3, allocations: 12.44 MB / 12.23 GB, free: 146.6 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4576/60.76, allocations: 65.61 MB / 12.3 GB, free: 136.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.876e-05/60.76, allocations: 1.188 kB / 12.3 GB, free: 136.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01273/60.77, allocations: 0.7947 MB / 12.3 GB, free: 136.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5575/61.33, allocations: 66.86 MB / 12.36 GB, free: 123.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001995/61.33, allocations: 78.88 kB / 12.36 GB, free: 123.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03993/61.37, allocations: 12.74 MB / 12.38 GB, free: 119.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.237e-05/61.37, allocations: 4.312 kB / 12.38 GB, free: 119.2 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.3925/61.76, allocations: 58.29 MB / 12.43 GB, free: 81.43 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01968/61.78, allocations: 2.674 MB / 12.44 GB, free: 79.82 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01009/61.79, allocations: 11.28 kB / 12.44 GB, free: 79.81 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03272/61.82, allocations: 0.6313 MB / 12.44 GB, free: 79.39 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004261/61.83, allocations: 301.6 kB / 12.44 GB, free: 79.25 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003057/61.83, allocations: 213.5 kB / 12.44 GB, free: 79.11 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.04/61.87, allocations: 9.064 MB / 12.45 GB, free: 74.21 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.06256/61.93, allocations: 6.102 MB / 12.45 GB, free: 68.64 MB / 1.167 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.01916/61.95, allocations: 5.231 MB / 12.46 GB, free: 64.14 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.1397/62.09, allocations: 28.13 MB / 12.49 GB, free: 49.41 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-05/62.09, allocations: 4 kB / 12.49 GB, free: 49.41 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.02594/62.12, allocations: 7.384 MB / 12.49 GB, free: 45.57 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06054/62.18, allocations: 6.357 MB / 12.5 GB, free: 41.96 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.588/63.77, allocations: 21.37 MB / 12.52 GB, free: 148 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02451/63.79, allocations: 8.374 MB / 12.53 GB, free: 147 MB / 1.167 GB Notification: Performance of SimCode: time 1.673e-06/63.79, allocations: 4.062 kB / 12.53 GB, free: 147 MB / 1.167 GB Notification: Performance of Templates: time 1.985/65.78, allocations: 425.6 MB / 12.94 GB, free: 147.5 MB / 1.167 GB