Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Movers.Examples.MoverStages.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.Movers.Examples.MoverStages,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Movers.Examples.MoverStages") [: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.082/2.082, allocations: 253.1 MB / 260.4 MB, free: 7.551 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.001656/0.001655, allocations: 185.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.906/1.906, 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.001332/0.001332, allocations: 82.58 kB / 0.6746 GB, free: 4.398 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.908e-06/1.008e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.2535, allocations: 106.2 MB / 0.888 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.623/1.877, allocations: 438.6 MB / 1.316 GB, free: 250.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002757/1.877, allocations: 91 kB / 1.316 GB, free: 250.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 10.94/12.82, allocations: 2.262 GB / 3.579 GB, free: 51.28 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.00111/12.82, allocations: 113.2 kB / 3.579 GB, free: 51.18 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 517 * Number of variables: 517 Notification: Performance of Generate backend data structure: time 0.01562/12.84, allocations: 4.043 MB / 3.583 GB, free: 47.09 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/12.84, allocations: 8.031 kB / 3.583 GB, free: 47.08 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01318/12.85, allocations: 1.278 MB / 3.584 GB, free: 45.8 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1145/12.97, allocations: 30.72 MB / 3.614 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002239/12.97, allocations: 68 kB / 3.614 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001247/12.97, allocations: 151.9 kB / 3.614 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007949/12.98, allocations: 2.29 MB / 3.617 GB, free: 12.78 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00868/12.98, allocations: 2.538 MB / 3.619 GB, free: 10.1 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.601e-05/12.98, allocations: 3.938 kB / 3.619 GB, free: 10.09 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004325/12.98, allocations: 4 kB / 3.619 GB, free: 10.09 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.871e-05/12.98, allocations: 52 kB / 3.619 GB, free: 10.04 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03897/13.02, allocations: 13.05 MB / 3.632 GB, free: 12.51 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00617/13.03, allocations: 2.134 MB / 3.634 GB, free: 10.37 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002692/13.03, allocations: 0.9596 MB / 3.635 GB, free: 9.41 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01616/13.05, allocations: 5.14 MB / 3.64 GB, free: 3.941 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003247/13.05, allocations: 1.133 MB / 3.641 GB, free: 2.797 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=92): time 5.961e-06/13.05, allocations: 0 / 3.641 GB, free: 2.797 MB / 0.9323 GB Notification: Performance of matching and sorting (n=92): time 0.01573/13.07, allocations: 2.873 MB / 3.644 GB, free: 15.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/13.07, allocations: 115.6 kB / 3.644 GB, free: 15.76 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01927/13.09, allocations: 4.847 MB / 3.649 GB, free: 10.92 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008031/13.09, allocations: 25.7 kB / 3.649 GB, free: 10.89 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003/13.09, allocations: 1.179 MB / 3.65 GB, free: 9.688 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001077/13.09, allocations: 303.5 kB / 3.65 GB, free: 9.387 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004878/13.09, allocations: 4 kB / 3.65 GB, free: 9.383 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000447/13.09, allocations: 386 kB / 3.65 GB, free: 9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003432/13.1, allocations: 1.074 MB / 3.652 GB, free: 7.926 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005091/13.1, allocations: 2.123 MB / 3.654 GB, free: 5.297 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007439/13.11, allocations: 1.542 MB / 3.655 GB, free: 3.758 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.312e-05/13.11, allocations: 11.94 kB / 3.655 GB, free: 3.746 MB / 0.948 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.01578/13.13, allocations: 3.714 MB / 3.659 GB, free: 4 kB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.5281/13.65, allocations: 13.55 MB / 3.672 GB, free: 156.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.532e-05/13.65, allocations: 29.94 kB / 3.672 GB, free: 156.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001461/13.66, allocations: 337.3 kB / 3.672 GB, free: 156.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006466/13.66, allocations: 0.5483 MB / 3.673 GB, free: 156.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008182/13.67, allocations: 6.14 MB / 3.679 GB, free: 152.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005836/13.68, allocations: 298.7 kB / 3.679 GB, free: 152.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009904/13.68, allocations: 210.6 kB / 3.679 GB, free: 152.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/13.68, allocations: 3.844 kB / 3.679 GB, free: 152.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01031/13.69, allocations: 2.801 MB / 3.682 GB, free: 152.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001136/13.69, allocations: 31.03 kB / 3.682 GB, free: 152.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001153/13.69, allocations: 332.5 kB / 3.682 GB, free: 152 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004626/13.69, allocations: 0.5942 MB / 3.683 GB, free: 152 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002919/13.7, allocations: 2.606 MB / 3.686 GB, free: 150 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005437/13.7, allocations: 224.9 kB / 3.686 GB, free: 150 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008823/13.7, allocations: 212.7 kB / 3.686 GB, free: 150 MB / 0.948 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump_Nrpm.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: pump_dp.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: pump_y.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: pump_m_flow.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: 131 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.integerTable.combiTimeTable.nextTimeEvent,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (217): * Single equations (assignments): 205 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.000951/13.7, allocations: 205.8 kB / 3.686 GB, free: 149.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001437/13.71, allocations: 415.6 kB / 3.687 GB, free: 149.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0127/13.72, allocations: 2.876 MB / 3.689 GB, free: 149.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.37e-05/13.72, allocations: 17.09 kB / 3.689 GB, free: 149.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.251e-05/13.72, allocations: 2.5 kB / 3.689 GB, free: 149.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.723e-05/13.72, allocations: 7.219 kB / 3.689 GB, free: 149.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02/13.74, allocations: 5.798 MB / 3.695 GB, free: 149.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.977e-05/13.74, allocations: 0 / 3.695 GB, free: 149.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002579/13.74, allocations: 224.9 kB / 3.695 GB, free: 149.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001525/13.74, allocations: 403 kB / 3.696 GB, free: 149.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003266/13.74, allocations: 35.89 kB / 3.696 GB, free: 149.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00486/13.75, allocations: 5.124 MB / 3.701 GB, free: 144.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.437e-06/13.75, allocations: 6.812 kB / 3.701 GB, free: 144.9 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01031/13.76, allocations: 2.59 MB / 3.703 GB, free: 144.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003594/13.76, allocations: 0.9283 MB / 3.704 GB, free: 143.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001779/13.76, allocations: 2.875 kB / 3.704 GB, free: 143.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005014/13.77, allocations: 139.9 kB / 3.704 GB, free: 143.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005071/13.77, allocations: 82.84 kB / 3.704 GB, free: 143.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003187/13.77, allocations: 79.91 kB / 3.704 GB, free: 143.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.01026/13.78, allocations: 3.605 MB / 3.708 GB, free: 143.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01109/13.79, allocations: 1.895 MB / 3.71 GB, free: 143.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {1 4,1 4,1 1,1 4,1 4,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.005671/13.8, allocations: 2.213 MB / 3.712 GB, free: 143.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01456/13.81, allocations: 4.149 MB / 3.716 GB, free: 143.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.237e-05/13.81, allocations: 0.9375 kB / 3.716 GB, free: 143.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00309/13.81, allocations: 0.8771 MB / 3.717 GB, free: 143.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01583/13.83, allocations: 1.853 MB / 3.719 GB, free: 143.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0214/13.85, allocations: 5.849 MB / 3.724 GB, free: 141.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006907/13.86, allocations: 3.102 MB / 3.727 GB, free: 141 MB / 0.948 GB Notification: Performance of SimCode: time 1.473e-06/13.86, allocations: 0 / 3.727 GB, free: 141 MB / 0.948 GB Notification: Performance of Templates: time 0.2799/14.14, allocations: 106.6 MB / 3.832 GB, free: 136.2 MB / 0.948 GB