Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example2.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.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example2") [: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 1.991/1.991, allocations: 253.1 MB / 260.4 MB, free: 0.5859 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.001634/0.001634, allocations: 191.3 kB / 319.6 MB, free: 7.676 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.998/1.998, allocations: 205.4 MB / 0.5704 GB, free: 25.63 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.001276/0.001276, allocations: 100.2 kB / 0.6746 GB, free: 3.078 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 9.598e-06/9.789e-06, allocations: 0 / 0.7843 GB, free: 2.703 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5306/0.5306, allocations: 106.2 MB / 0.888 GB, free: 77.11 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9845/1.515, allocations: 397 MB / 1.276 GB, free: 10.29 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002934/1.516, allocations: 86.27 kB / 1.276 GB, free: 10.25 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.463/3.978, allocations: 478 MB / 1.743 GB, free: 174.1 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002544/3.979, allocations: 38.92 kB / 1.743 GB, free: 174.1 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.00483/3.984, allocations: 1.519 MB / 1.744 GB, free: 173.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/3.984, allocations: 7.406 kB / 1.744 GB, free: 173.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002245/3.986, allocations: 244.4 kB / 1.744 GB, free: 173.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007599/3.994, allocations: 1.966 MB / 1.746 GB, free: 173.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.33e-05/3.994, allocations: 24.06 kB / 1.746 GB, free: 173.1 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002773/3.994, allocations: 49.22 kB / 1.746 GB, free: 173.1 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002059/3.996, allocations: 0.6234 MB / 1.747 GB, free: 173.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002083/3.998, allocations: 0.8209 MB / 1.748 GB, free: 172.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.349e-05/3.998, allocations: 3.656 kB / 1.748 GB, free: 172.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001264/3.998, allocations: 3.844 kB / 1.748 GB, free: 172.9 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.343e-05/3.998, allocations: 22.23 kB / 1.748 GB, free: 172.9 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009446/4.008, allocations: 4.566 MB / 1.752 GB, free: 170.5 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001499/4.009, allocations: 0.5412 MB / 1.753 GB, free: 170.4 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007952/4.01, allocations: 298.8 kB / 1.753 GB, free: 170.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004502/4.015, allocations: 1.757 MB / 1.755 GB, free: 169.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000655/4.015, allocations: 293.6 kB / 1.755 GB, free: 169.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=46): time 3.667e-06/4.016, allocations: 0 / 1.755 GB, free: 169.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=46): time 0.003017/4.019, allocations: 0.7294 MB / 1.756 GB, free: 169.3 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/4.019, allocations: 62.84 kB / 1.756 GB, free: 169.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002108/4.021, allocations: 1.01 MB / 1.757 GB, free: 169.1 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.000171/4.021, allocations: 29.08 kB / 1.757 GB, free: 169.1 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004165/4.021, allocations: 427.9 kB / 1.757 GB, free: 168.9 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002185/4.022, allocations: 160.9 kB / 1.757 GB, free: 168.8 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.104e-05/4.022, allocations: 0 / 1.757 GB, free: 168.8 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001121/4.022, allocations: 333.1 kB / 1.758 GB, free: 168.5 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005639/4.022, allocations: 218.1 kB / 1.758 GB, free: 168.5 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007431/4.023, allocations: 0.5394 MB / 1.759 GB, free: 168.1 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00149/4.025, allocations: 361.3 kB / 1.759 GB, free: 168.1 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.906e-06/4.025, allocations: 3.562 kB / 1.759 GB, free: 168.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.003331/4.028, allocations: 0.9578 MB / 1.76 GB, free: 168 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.000639/4.029, allocations: 2.916 MB / 1.763 GB, free: 165 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.987e-05/4.029, allocations: 10.28 kB / 1.763 GB, free: 165 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004707/4.029, allocations: 125.6 kB / 1.763 GB, free: 165 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001267/4.03, allocations: 151.1 kB / 1.763 GB, free: 165 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001252/4.032, allocations: 0.8112 MB / 1.764 GB, free: 164.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001836/4.034, allocations: 102.5 kB / 1.764 GB, free: 164.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001843/4.034, allocations: 45.64 kB / 1.764 GB, free: 164.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/4.034, allocations: 6.656 kB / 1.764 GB, free: 164.4 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002694/4.037, allocations: 0.7968 MB / 1.765 GB, free: 164.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.716e-05/4.037, allocations: 11.88 kB / 1.765 GB, free: 164.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003173/4.037, allocations: 106 kB / 1.765 GB, free: 164.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001049/4.038, allocations: 145.2 kB / 1.765 GB, free: 164.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002651/4.041, allocations: 1.963 MB / 1.767 GB, free: 163 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001648/4.042, allocations: 87.25 kB / 1.767 GB, free: 163 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001099/4.042, allocations: 37.92 kB / 1.767 GB, free: 163 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 70 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of prepare postOptimizeDAE: time 0.0003027/4.043, allocations: 145.6 kB / 1.767 GB, free: 162.9 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002666/4.043, allocations: 127.7 kB / 1.767 GB, free: 162.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003052/4.046, allocations: 0.8657 MB / 1.768 GB, free: 162.7 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.37e-05/4.046, allocations: 3.781 kB / 1.768 GB, free: 162.7 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/4.046, allocations: 0 / 1.768 GB, free: 162.7 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001779/4.048, allocations: 0.8297 MB / 1.769 GB, free: 162.3 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00448/4.052, allocations: 1.653 MB / 1.77 GB, free: 162 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.386e-06/4.053, allocations: 3.781 kB / 1.77 GB, free: 162 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008505/4.053, allocations: 91.58 kB / 1.771 GB, free: 162 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003325/4.054, allocations: 105 kB / 1.771 GB, free: 162 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.626e-05/4.054, allocations: 11.17 kB / 1.771 GB, free: 162 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008957/4.055, allocations: 0.7695 MB / 1.771 GB, free: 161.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/4.055, allocations: 3.875 kB / 1.771 GB, free: 161.5 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002838/4.058, allocations: 1.142 MB / 1.773 GB, free: 161.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008442/4.058, allocations: 268 kB / 1.773 GB, free: 161 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002432/4.059, allocations: 0 / 1.773 GB, free: 161 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001204/4.06, allocations: 66.78 kB / 1.773 GB, free: 161 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001348/4.06, allocations: 33.33 kB / 1.773 GB, free: 161 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.884e-05/4.06, allocations: 24.81 kB / 1.773 GB, free: 161 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.001534/4.062, allocations: 0.7793 MB / 1.774 GB, free: 160.9 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.00323/4.065, allocations: 0.688 MB / 1.774 GB, free: 160.8 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump_dp.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001882/4.067, allocations: 0.7511 MB / 1.775 GB, free: 160.6 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003304/4.07, allocations: 1.159 MB / 1.776 GB, free: 160.4 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/4.07, allocations: 0 / 1.776 GB, free: 160.4 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0009009/4.071, allocations: 298.8 kB / 1.776 GB, free: 160.4 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004134/4.075, allocations: 497.2 kB / 1.777 GB, free: 160.4 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005196/4.081, allocations: 1.746 MB / 1.779 GB, free: 159.9 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001462/4.082, allocations: 1.406 MB / 1.78 GB, free: 159.2 MB / 0.8855 GB Notification: Performance of SimCode: time 1.132e-06/4.082, allocations: 3.344 kB / 1.78 GB, free: 159.2 MB / 0.8855 GB Notification: Performance of Templates: time 0.07261/4.155, allocations: 27.92 MB / 1.807 GB, free: 158.2 MB / 0.8855 GB