Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6.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.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.226/2.226, allocations: 253.1 MB / 260.4 MB, free: 7.566 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.001629/0.001628, allocations: 189 kB / 319.6 MB, free: 3.32 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.784/1.784, allocations: 205.4 MB / 0.5704 GB, free: 14.96 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.003018/0.003017, allocations: 95.12 kB / 0.6746 GB, free: 4.332 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.103e-05/1.132e-05, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2215/0.2215, allocations: 106.3 MB / 0.888 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.554/1.775, allocations: 458.6 MB / 1.336 GB, free: 246.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003511/1.776, allocations: 92.8 kB / 1.336 GB, free: 246.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 52.77/54.55, allocations: 10.21 GB / 11.55 GB, free: 64.93 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.003595/54.55, allocations: 351.8 kB / 11.55 GB, free: 64.87 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.05633/54.61, allocations: 11.53 MB / 11.56 GB, free: 59.92 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/54.61, allocations: 10.09 kB / 11.56 GB, free: 59.92 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01768/54.63, allocations: 2.146 MB / 11.56 GB, free: 59.13 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08483/54.71, allocations: 18.62 MB / 11.58 GB, free: 57.03 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005058/54.71, allocations: 197.4 kB / 11.58 GB, free: 57.03 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003345/54.71, allocations: 436.4 kB / 11.58 GB, free: 57.03 MB / 1.135 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02337/54.74, allocations: 6.967 MB / 11.59 GB, free: 57 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02685/54.76, allocations: 7.492 MB / 11.6 GB, free: 55.95 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003418/54.77, allocations: 20.19 kB / 11.6 GB, free: 55.95 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002349/54.77, allocations: 16.44 kB / 11.6 GB, free: 55.94 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001725/54.77, allocations: 158.1 kB / 11.6 GB, free: 55.94 MB / 1.135 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1097/54.88, allocations: 50.06 MB / 11.65 GB, free: 28.39 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00879/54.89, allocations: 3.452 MB / 11.65 GB, free: 28.33 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0101/54.9, allocations: 3.977 MB / 11.65 GB, free: 28.25 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04756/54.94, allocations: 12.87 MB / 11.67 GB, free: 25.12 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009293/54.95, allocations: 3.151 MB / 11.67 GB, free: 25.02 MB / 1.135 GB Notification: Performance of pre-optimization done (n=326): time 8.707e-06/54.95, allocations: 0 / 11.67 GB, free: 25.02 MB / 1.135 GB Notification: Performance of matching and sorting (n=328): time 0.08963/55.04, allocations: 17.5 MB / 11.69 GB, free: 22.05 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.241e-05/55.04, allocations: 86.52 kB / 11.69 GB, free: 21.98 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03718/55.08, allocations: 11.58 MB / 11.7 GB, free: 21.25 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 0.001929/55.08, allocations: 42.3 kB / 11.7 GB, free: 21.22 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.006434/55.09, allocations: 3.263 MB / 11.7 GB, free: 19.75 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.003466/55.09, allocations: 1.082 MB / 11.7 GB, free: 19.04 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001716/55.09, allocations: 0 / 11.7 GB, free: 19.04 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 0.0006353/55.09, allocations: 0.5307 MB / 11.7 GB, free: 18.72 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009345/55.1, allocations: 3.228 MB / 11.71 GB, free: 18.7 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01178/55.12, allocations: 5.98 MB / 11.71 GB, free: 15.29 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01549/55.13, allocations: 4.225 MB / 11.72 GB, free: 15.12 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000108/55.13, allocations: 17.94 kB / 11.72 GB, free: 15.12 MB / 1.135 GB Notification: Performance of matching and sorting (n=771) (initialization): time 0.04901/55.18, allocations: 11.82 MB / 11.73 GB, free: 14.07 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.01324/55.19, allocations: 38.27 MB / 11.76 GB, free: 6.051 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002894/55.19, allocations: 61.72 kB / 11.76 GB, free: 6.051 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02233/55.22, allocations: 3.048 MB / 11.77 GB, free: 5.887 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01622/55.23, allocations: 1.381 MB / 11.77 GB, free: 5.797 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7927/56.03, allocations: 11.6 MB / 11.78 GB, free: 161.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02209/56.05, allocations: 0.7106 MB / 11.78 GB, free: 161.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00279/56.05, allocations: 456.8 kB / 11.78 GB, free: 161.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/56.05, allocations: 3.938 kB / 11.78 GB, free: 161.2 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0367/56.09, allocations: 9.41 MB / 11.79 GB, free: 161 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002677/56.09, allocations: 59.06 kB / 11.79 GB, free: 161 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02312/56.11, allocations: 3.094 MB / 11.79 GB, free: 161 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01228/56.12, allocations: 1.368 MB / 11.79 GB, free: 161 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04054/56.16, allocations: 13.38 MB / 11.81 GB, free: 157.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02027/56.18, allocations: 0.6831 MB / 11.81 GB, free: 157.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002882/56.19, allocations: 420.2 kB / 11.81 GB, free: 157.6 MB / 1.167 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.004129/56.19, allocations: 315.4 kB / 11.81 GB, free: 157.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005256/56.2, allocations: 1.132 MB / 11.81 GB, free: 157.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05018/56.25, allocations: 8.745 MB / 11.82 GB, free: 157.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001437/56.25, allocations: 37.59 kB / 11.82 GB, free: 157.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-05/56.25, allocations: 0 / 11.82 GB, free: 157.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02822/56.28, allocations: 6.186 MB / 11.82 GB, free: 156.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06076/56.34, allocations: 15.95 MB / 11.84 GB, free: 156 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.834e-05/56.34, allocations: 3.938 kB / 11.84 GB, free: 156 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007069/56.34, allocations: 0.6326 MB / 11.84 GB, free: 156 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01044/56.35, allocations: 1.84 MB / 11.84 GB, free: 155.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001141/56.36, allocations: 64.66 kB / 11.84 GB, free: 155.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01348/56.37, allocations: 9.029 MB / 11.85 GB, free: 150.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.154e-05/56.37, allocations: 3.594 kB / 11.85 GB, free: 150.4 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04328/56.41, allocations: 10.95 MB / 11.86 GB, free: 149.6 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01036/56.42, allocations: 2.124 MB / 11.86 GB, free: 148.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005695/56.43, allocations: 3.344 kB / 11.86 GB, free: 148.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01642/56.44, allocations: 0.5867 MB / 11.86 GB, free: 148.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001347/56.45, allocations: 234.7 kB / 11.86 GB, free: 148.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006931/56.45, allocations: 177.4 kB / 11.87 GB, free: 148.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.0254/56.47, allocations: 8.651 MB / 11.87 GB, free: 148.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.04312/56.52, allocations: 4.974 MB / 11.88 GB, free: 148.5 MB / 1.167 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.01084/56.53, allocations: 4.742 MB / 11.88 GB, free: 146.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.04406/56.57, allocations: 12.56 MB / 11.9 GB, free: 146.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.146e-05/56.57, allocations: 3.625 kB / 11.9 GB, free: 146.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.01046/56.58, allocations: 2.862 MB / 11.9 GB, free: 146.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0505/56.63, allocations: 5.56 MB / 11.9 GB, free: 146.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0681/56.7, allocations: 17.38 MB / 11.92 GB, free: 142.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02313/56.72, allocations: 7.682 MB / 11.93 GB, free: 141.6 MB / 1.167 GB Notification: Performance of SimCode: time 1.843e-06/56.72, allocations: 1.781 kB / 11.93 GB, free: 141.6 MB / 1.167 GB Notification: Performance of Templates: time 0.7328/57.46, allocations: 282.8 MB / 12.2 GB, free: 58.29 MB / 1.167 GB