Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example2.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example2") translateModel(Buildings.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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 8.0.0/package.mo): time 2.5/2.5, allocations: 284.9 MB / 292.2 MB, free: 10.69 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00166/0.00166, allocations: 181.2 kB / 360.4 MB, free: 7.469 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.89/1.89, allocations: 205.1 MB / 0.6188 GB, free: 12.48 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001213/0.001212, allocations: 98.52 kB / 0.7318 GB, free: 44.96 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.146e-05/1.165e-05, allocations: 4 kB / 0.8502 GB, free: 3.84 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6419/0.642, allocations: 115.2 MB / 0.9628 GB, free: 78.39 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.003/1.645, allocations: 403.3 MB / 1.357 GB, free: 159 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000299/1.645, allocations: 90.91 kB / 1.357 GB, free: 159 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.059/3.704, allocations: 478 MB / 1.824 GB, free: 164.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002709/3.704, allocations: 39.44 kB / 1.824 GB, free: 164.3 MB / 0.948 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.004451/3.709, allocations: 1.515 MB / 1.825 GB, free: 162.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/3.709, allocations: 16.47 kB / 1.825 GB, free: 162.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002118/3.711, allocations: 241.9 kB / 1.825 GB, free: 162.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007651/3.719, allocations: 1.958 MB / 1.827 GB, free: 160.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.607e-05/3.719, allocations: 27.98 kB / 1.827 GB, free: 160.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002327/3.719, allocations: 55.91 kB / 1.827 GB, free: 160.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001921/3.721, allocations: 0.6248 MB / 1.828 GB, free: 159.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00197/3.723, allocations: 0.8125 MB / 1.829 GB, free: 158.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.591e-05/3.723, allocations: 3.938 kB / 1.829 GB, free: 158.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001168/3.723, allocations: 8 kB / 1.829 GB, free: 158.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.147e-05/3.723, allocations: 20.8 kB / 1.829 GB, free: 158.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008831/3.732, allocations: 4.562 MB / 1.833 GB, free: 154.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001362/3.733, allocations: 0.5468 MB / 1.834 GB, free: 153.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007032/3.734, allocations: 295.3 kB / 1.834 GB, free: 153.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004235/3.738, allocations: 1.745 MB / 1.836 GB, free: 151.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006318/3.739, allocations: 290.3 kB / 1.836 GB, free: 151.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=46): time 3.557e-06/3.739, allocations: 3.938 kB / 1.836 GB, free: 151.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=46): time 0.002964/3.742, allocations: 0.7371 MB / 1.837 GB, free: 150.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.942e-05/3.742, allocations: 59.39 kB / 1.837 GB, free: 150.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00214/3.744, allocations: 1.011 MB / 1.838 GB, free: 149.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001888/3.745, allocations: 25.7 kB / 1.838 GB, free: 149.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004139/3.745, allocations: 432.1 kB / 1.838 GB, free: 148.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002254/3.745, allocations: 161.7 kB / 1.838 GB, free: 148.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.319e-05/3.745, allocations: 4 kB / 1.838 GB, free: 148.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.566e-05/3.745, allocations: 334 kB / 1.839 GB, free: 148.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005506/3.746, allocations: 217.5 kB / 1.839 GB, free: 148.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006961/3.747, allocations: 0.5391 MB / 1.839 GB, free: 147.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001504/3.748, allocations: 359 kB / 1.84 GB, free: 147 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-05/3.748, allocations: 4 kB / 1.84 GB, free: 147 MB / 0.948 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00364/3.752, allocations: 0.955 MB / 1.841 GB, free: 146.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006608/3.753, allocations: 2.929 MB / 1.844 GB, free: 142.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.678e-05/3.753, allocations: 4 kB / 1.844 GB, free: 142.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005157/3.753, allocations: 120.7 kB / 1.844 GB, free: 142.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001297/3.754, allocations: 152.8 kB / 1.844 GB, free: 142.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001353/3.756, allocations: 0.8169 MB / 1.845 GB, free: 141.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001985/3.758, allocations: 103.2 kB / 1.845 GB, free: 141.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002352/3.758, allocations: 43.98 kB / 1.845 GB, free: 141.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/3.758, allocations: 5.25 kB / 1.845 GB, free: 141.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002895/3.761, allocations: 0.8011 MB / 1.846 GB, free: 140.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.256e-05/3.761, allocations: 8 kB / 1.846 GB, free: 140.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003183/3.762, allocations: 101.7 kB / 1.846 GB, free: 140.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001075/3.763, allocations: 143.9 kB / 1.846 GB, free: 140.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002678/3.765, allocations: 1.971 MB / 1.848 GB, free: 138.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001613/3.767, allocations: 88.02 kB / 1.848 GB, free: 138.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001156/3.767, allocations: 35.98 kB / 1.848 GB, free: 138.4 MB / 0.948 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.0002771/3.767, allocations: 132.7 kB / 1.848 GB, free: 138.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002698/3.768, allocations: 122.5 kB / 1.848 GB, free: 138.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003041/3.771, allocations: 0.8801 MB / 1.849 GB, free: 137.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.66e-05/3.771, allocations: 4 kB / 1.849 GB, free: 137.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/3.771, allocations: 4 kB / 1.849 GB, free: 137.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001955/3.773, allocations: 0.8251 MB / 1.85 GB, free: 136.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005629/3.778, allocations: 1.658 MB / 1.851 GB, free: 134.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.255e-06/3.779, allocations: 0 / 1.851 GB, free: 134.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008566/3.779, allocations: 95.86 kB / 1.851 GB, free: 134.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003391/3.78, allocations: 104.8 kB / 1.852 GB, free: 134.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.743e-05/3.78, allocations: 8.031 kB / 1.852 GB, free: 134.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008751/3.781, allocations: 0.7669 MB / 1.852 GB, free: 133.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/3.781, allocations: 0 / 1.852 GB, free: 133.7 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00277/3.784, allocations: 1.151 MB / 1.853 GB, free: 132.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007807/3.784, allocations: 267.3 kB / 1.854 GB, free: 132.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002425/3.785, allocations: 0 / 1.854 GB, free: 132.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001211/3.786, allocations: 59.84 kB / 1.854 GB, free: 132.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/3.786, allocations: 36.38 kB / 1.854 GB, free: 132.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.123e-05/3.786, allocations: 27.98 kB / 1.854 GB, free: 132.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001468/3.788, allocations: 0.7748 MB / 1.855 GB, free: 131.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00299/3.791, allocations: 0.6901 MB / 1.855 GB, free: 130.6 MB / 0.948 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.001787/3.792, allocations: 0.7433 MB / 1.856 GB, free: 129.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003149/3.796, allocations: 1.161 MB / 1.857 GB, free: 128.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/3.796, allocations: 0 / 1.857 GB, free: 128.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000888/3.797, allocations: 298.3 kB / 1.857 GB, free: 128.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004011/3.801, allocations: 491.8 kB / 1.858 GB, free: 128 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005063/3.806, allocations: 1.743 MB / 1.86 GB, free: 126.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001392/3.807, allocations: 1.399 MB / 1.861 GB, free: 124.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.363e-06/3.807, allocations: 0 / 1.861 GB, free: 124.8 MB / 0.948 GB Notification: Performance of Templates: time 0.07153/3.879, allocations: 27.94 MB / 1.888 GB, free: 97.2 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example2.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example2.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example2.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example2.sim & ./Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example2.pipe 2>&1)