Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5.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.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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 7.0.1/package.mo): time 2.078/2.078, allocations: 253.1 MB / 260.4 MB, free: 0.5742 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.001591/0.001591, allocations: 192.9 kB / 319.6 MB, free: 7.68 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 2.097/2.097, allocations: 205.4 MB / 0.5704 GB, free: 25.66 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.00132/0.00132, allocations: 94.31 kB / 0.6746 GB, free: 3.09 MB / 0.4949 GB Notification: Performance of FrontEnd - loaded program: time 1.021e-05/1.036e-05, allocations: 0 / 0.7843 GB, free: 2.719 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5491/0.5492, allocations: 106.2 MB / 0.888 GB, free: 77.14 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.032/1.581, allocations: 456.9 MB / 1.334 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003467/1.581, allocations: 91.03 kB / 1.334 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of FrontEnd: time 50.98/52.56, allocations: 9.986 GB / 11.32 GB, free: 71.45 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.003508/52.56, allocations: 348.5 kB / 11.32 GB, free: 71.39 MB / 1.135 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.08463/52.65, allocations: 12.11 MB / 11.33 GB, free: 66.44 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 5.897e-05/52.65, allocations: 7 kB / 11.33 GB, free: 66.44 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02956/52.68, allocations: 2.323 MB / 11.34 GB, free: 65.66 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1302/52.81, allocations: 22.27 MB / 11.36 GB, free: 63.34 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005379/52.81, allocations: 195.3 kB / 11.36 GB, free: 63.34 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005015/52.81, allocations: 434.9 kB / 11.36 GB, free: 63.34 MB / 1.135 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05107/52.86, allocations: 18.04 MB / 11.38 GB, free: 63.32 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04662/52.91, allocations: 12.26 MB / 11.39 GB, free: 62.71 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004378/52.91, allocations: 12.64 kB / 11.39 GB, free: 62.71 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004038/52.91, allocations: 3.781 kB / 11.39 GB, free: 62.71 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002084/52.91, allocations: 152.6 kB / 11.39 GB, free: 62.71 MB / 1.135 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1908/53.1, allocations: 73.49 MB / 11.46 GB, free: 29.79 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02054/53.13, allocations: 8.302 MB / 11.47 GB, free: 29.71 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02139/53.15, allocations: 8.832 MB / 11.48 GB, free: 29.6 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09975/53.25, allocations: 31.74 MB / 11.51 GB, free: 17.91 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02136/53.27, allocations: 8.028 MB / 11.51 GB, free: 15.04 MB / 1.135 GB Notification: Performance of pre-optimization done (n=393): time 9.077e-06/53.27, allocations: 0 / 11.51 GB, free: 15.04 MB / 1.135 GB Notification: Performance of matching and sorting (n=395): time 0.1702/53.44, allocations: 38.49 MB / 11.55 GB, free: 1.426 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.186e-05/53.44, allocations: 97.72 kB / 11.55 GB, free: 1.32 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.7383/54.18, allocations: 11.46 MB / 11.56 GB, free: 144.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.003221/54.18, allocations: 39.86 kB / 11.56 GB, free: 144.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.005761/54.19, allocations: 3.054 MB / 11.57 GB, free: 144.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.004897/54.19, allocations: 1.291 MB / 11.57 GB, free: 144.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002627/54.19, allocations: 0 / 11.57 GB, free: 144.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0005964/54.19, allocations: 0.5421 MB / 11.57 GB, free: 143.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01819/54.21, allocations: 7.101 MB / 11.58 GB, free: 143.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02384/54.24, allocations: 9.529 MB / 11.58 GB, free: 140.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02413/54.26, allocations: 8.193 MB / 11.59 GB, free: 140.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-05/54.26, allocations: 11.81 kB / 11.59 GB, free: 140.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=776) (initialization): time 0.0942/54.35, allocations: 23.85 MB / 11.62 GB, free: 140.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.005596/54.36, allocations: 29.46 MB / 11.64 GB, free: 109.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000205/54.36, allocations: 48.12 kB / 11.64 GB, free: 109.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741/56.1, allocations: 188.5 MB / 11.83 GB, free: 94.58 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01996/56.12, allocations: 1.263 MB / 11.83 GB, free: 94.57 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1166/56.24, allocations: 27.64 MB / 11.86 GB, free: 90.19 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02731/56.27, allocations: 0.7481 MB / 11.86 GB, free: 90.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004375/56.27, allocations: 0.7293 MB / 11.86 GB, free: 90.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/56.27, allocations: 4.688 kB / 11.86 GB, free: 90.1 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07687/56.35, allocations: 21.72 MB / 11.88 GB, free: 89.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002246/56.35, allocations: 46.62 kB / 11.88 GB, free: 89.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.425/58.77, allocations: 188.6 MB / 12.06 GB, free: 138.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01172/58.78, allocations: 1.242 MB / 12.07 GB, free: 138.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1349/58.92, allocations: 29.49 MB / 12.09 GB, free: 136.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02692/58.95, allocations: 0.7265 MB / 12.09 GB, free: 136.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004146/58.95, allocations: 0.6933 MB / 12.1 GB, free: 136.5 MB / 1.151 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.00615/58.96, allocations: 287.1 kB / 12.1 GB, free: 136.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006216/58.96, allocations: 1.135 MB / 12.1 GB, free: 136.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08306/59.05, allocations: 18.59 MB / 12.11 GB, free: 136.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001413/59.05, allocations: 51.98 kB / 12.11 GB, free: 136.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.185e-05/59.05, allocations: 0 / 12.11 GB, free: 136.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04003/59.09, allocations: 12.82 MB / 12.13 GB, free: 135.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2077/59.29, allocations: 42.64 MB / 12.17 GB, free: 130.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.327e-05/59.29, allocations: 1.812 kB / 12.17 GB, free: 130.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007703/59.3, allocations: 0.6774 MB / 12.17 GB, free: 130.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.482/59.78, allocations: 78.66 MB / 12.25 GB, free: 114.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002065/59.79, allocations: 70.22 kB / 12.25 GB, free: 114.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04767/59.83, allocations: 14.61 MB / 12.26 GB, free: 110.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.247e-06/59.83, allocations: 1.812 kB / 12.26 GB, free: 110.3 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.06655/59.9, allocations: 21.94 MB / 12.28 GB, free: 109.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01235/59.91, allocations: 2.516 MB / 12.28 GB, free: 108.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006878/59.92, allocations: 5.594 kB / 12.28 GB, free: 108.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02029/59.94, allocations: 0.5968 MB / 12.29 GB, free: 108.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002468/59.94, allocations: 281.1 kB / 12.29 GB, free: 108.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002031/59.94, allocations: 194.5 kB / 12.29 GB, free: 108.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.02802/59.97, allocations: 8.542 MB / 12.29 GB, free: 108 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.05236/60.02, allocations: 5.516 MB / 12.3 GB, free: 108 MB / 1.151 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.01154/60.04, allocations: 4.713 MB / 12.3 GB, free: 105.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.1185/60.15, allocations: 29.11 MB / 12.33 GB, free: 105 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.624e-05/60.15, allocations: 1.656 kB / 12.33 GB, free: 105 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.02944/60.18, allocations: 7.906 MB / 12.34 GB, free: 104.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05553/60.24, allocations: 5.845 MB / 12.35 GB, free: 104.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08164/60.32, allocations: 19.21 MB / 12.36 GB, free: 100.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02244/60.34, allocations: 7.766 MB / 12.37 GB, free: 97.5 MB / 1.151 GB Notification: Performance of SimCode: time 3.076e-06/60.34, allocations: 0 / 12.37 GB, free: 97.5 MB / 1.151 GB Notification: Performance of Templates: time 1.716/62.06, allocations: 409 MB / 12.77 GB, free: 123.4 MB / 1.151 GB