Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.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.SpeedControlled_y_pumpCurves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves") [: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.19/2.19, allocations: 253.1 MB / 260.4 MB, free: 7.629 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.002544/0.002544, allocations: 181.3 kB / 319.6 MB, free: 3.324 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.94/1.94, allocations: 205.4 MB / 0.5704 GB, free: 15.02 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.001371/0.00137, allocations: 101.8 kB / 0.6746 GB, free: 4.363 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.418e-06/9.468e-06, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1945/0.1945, allocations: 106.3 MB / 0.888 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.512/1.706, allocations: 435.4 MB / 1.313 GB, free: 251.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003492/1.707, allocations: 87.61 kB / 1.313 GB, free: 251.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 7.035/8.742, allocations: 1.401 GB / 2.715 GB, free: 89.3 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0009032/8.743, allocations: 102.2 kB / 2.715 GB, free: 89.28 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: 529 * Number of variables: 529 Notification: Performance of Generate backend data structure: time 0.01446/8.757, allocations: 3.706 MB / 2.719 GB, free: 87.73 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/8.758, allocations: 15.81 kB / 2.719 GB, free: 87.73 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01237/8.77, allocations: 1.21 MB / 2.72 GB, free: 87.49 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1061/8.876, allocations: 27.89 MB / 2.747 GB, free: 85.81 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002252/8.876, allocations: 72.28 kB / 2.747 GB, free: 85.81 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001232/8.878, allocations: 145.8 kB / 2.747 GB, free: 85.81 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007388/8.885, allocations: 1.92 MB / 2.749 GB, free: 85.79 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008742/8.894, allocations: 2.285 MB / 2.751 GB, free: 85.44 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-05/8.894, allocations: 2.062 kB / 2.751 GB, free: 85.44 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004944/8.894, allocations: 3.406 kB / 2.751 GB, free: 85.44 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.071e-05/8.895, allocations: 54.34 kB / 2.751 GB, free: 85.44 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03128/8.926, allocations: 12.05 MB / 2.763 GB, free: 79.43 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005271/8.931, allocations: 1.951 MB / 2.765 GB, free: 79.39 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002214/8.933, allocations: 0.8399 MB / 2.766 GB, free: 79.39 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01238/8.946, allocations: 3.961 MB / 2.77 GB, free: 77.51 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.221e-05/8.946, allocations: 46.25 kB / 2.77 GB, free: 77.47 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=119): time 4.478e-06/8.946, allocations: 0 / 2.77 GB, free: 77.47 MB / 0.9167 GB Notification: Performance of matching and sorting (n=119): time 0.01417/8.96, allocations: 2.808 MB / 2.772 GB, free: 77.16 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.119e-05/8.96, allocations: 66.22 kB / 2.773 GB, free: 77.09 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007818/8.968, allocations: 2.601 MB / 2.775 GB, free: 76.8 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0007225/8.969, allocations: 33.11 kB / 2.775 GB, free: 76.77 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001491/8.97, allocations: 1.043 MB / 2.776 GB, free: 76.26 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001015/8.971, allocations: 397.3 kB / 2.777 GB, free: 76 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003479/8.972, allocations: 0 / 2.777 GB, free: 76 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002098/8.972, allocations: 380.4 kB / 2.777 GB, free: 75.7 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002532/8.975, allocations: 0.8456 MB / 2.778 GB, free: 75.69 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003154/8.978, allocations: 1.62 MB / 2.779 GB, free: 74.74 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006383/8.984, allocations: 1.277 MB / 2.781 GB, free: 74.72 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.954e-05/8.984, allocations: 3.938 kB / 2.781 GB, free: 74.72 MB / 0.9167 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.01465/8.999, allocations: 3.37 MB / 2.784 GB, free: 74.4 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.002112/9.001, allocations: 8.055 MB / 2.792 GB, free: 66.06 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001/9.001, allocations: 19.95 kB / 2.792 GB, free: 66.06 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00373/9.005, allocations: 0.8668 MB / 2.793 GB, free: 66 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003564/9.009, allocations: 400.4 kB / 2.793 GB, free: 66 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007864/9.016, allocations: 5.94 MB / 2.799 GB, free: 61.84 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005701/9.022, allocations: 310.9 kB / 2.799 GB, free: 61.73 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009004/9.023, allocations: 186.7 kB / 2.799 GB, free: 61.73 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/9.023, allocations: 3.156 kB / 2.799 GB, free: 61.73 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01324/9.036, allocations: 2.83 MB / 2.802 GB, free: 61.62 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.707e-05/9.037, allocations: 20.91 kB / 2.802 GB, free: 61.62 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004926/9.041, allocations: 1.019 MB / 2.803 GB, free: 61.55 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003035/9.045, allocations: 375.1 kB / 2.803 GB, free: 61.55 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0304/9.075, allocations: 13.89 MB / 2.817 GB, free: 53.87 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005224/9.08, allocations: 251.9 kB / 2.817 GB, free: 53.8 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008286/9.081, allocations: 154.4 kB / 2.817 GB, free: 53.8 MB / 0.9167 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum3.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: pum2.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: pum1.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: pum.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: 81 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (191): * Single equations (assignments): 179 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 4,1 5,1 4,1 5,1 4,1 5,1 4,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.001085/9.082, allocations: 171.8 kB / 2.817 GB, free: 53.68 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001299/9.084, allocations: 344.1 kB / 2.818 GB, free: 53.5 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01347/9.097, allocations: 2.958 MB / 2.821 GB, free: 53.29 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.706e-05/9.097, allocations: 21.45 kB / 2.821 GB, free: 53.29 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/9.097, allocations: 0 / 2.821 GB, free: 53.29 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-05/9.097, allocations: 6.094 kB / 2.821 GB, free: 53.29 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02068/9.118, allocations: 4.832 MB / 2.825 GB, free: 52.76 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.459e-05/9.118, allocations: 0 / 2.825 GB, free: 52.76 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002377/9.12, allocations: 223.6 kB / 2.826 GB, free: 52.76 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002184/9.123, allocations: 0.5547 MB / 2.826 GB, free: 52.7 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003509/9.123, allocations: 34.31 kB / 2.826 GB, free: 52.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005399/9.128, allocations: 5.188 MB / 2.831 GB, free: 48.54 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.087e-06/9.129, allocations: 6.781 kB / 2.831 GB, free: 48.54 MB / 0.9167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01094/9.139, allocations: 2.677 MB / 2.834 GB, free: 47.9 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002647/9.142, allocations: 0.6082 MB / 2.835 GB, free: 47.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001352/9.144, allocations: 3.688 kB / 2.835 GB, free: 47.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004808/9.148, allocations: 187.9 kB / 2.835 GB, free: 47.59 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004104/9.149, allocations: 85.41 kB / 2.835 GB, free: 47.58 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003202/9.149, allocations: 83.98 kB / 2.835 GB, free: 47.58 MB / 0.9167 GB Notification: Performance of sort global known variables: time 0.005469/9.155, allocations: 1.944 MB / 2.837 GB, free: 47.4 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.01123/9.166, allocations: 1.868 MB / 2.839 GB, free: 47.11 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 4,1 4,1 4,1 4,1 6,1 6,1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.005234/9.171, allocations: 2.28 MB / 2.841 GB, free: 46.48 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.01164/9.183, allocations: 3.909 MB / 2.845 GB, free: 46.01 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.06e-05/9.183, allocations: 3.875 kB / 2.845 GB, free: 46.01 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.002977/9.186, allocations: 0.8517 MB / 2.845 GB, free: 46 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0138/9.2, allocations: 1.519 MB / 2.847 GB, free: 45.97 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01932/9.219, allocations: 4.716 MB / 2.852 GB, free: 44.79 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005546/9.225, allocations: 2.611 MB / 2.854 GB, free: 44.02 MB / 0.9167 GB Notification: Performance of SimCode: time 1.502e-06/9.225, allocations: 0 / 2.854 GB, free: 44.02 MB / 0.9167 GB Notification: Performance of Templates: time 0.2639/9.489, allocations: 90.87 MB / 2.943 GB, free: 1.754 MB / 0.9167 GB