Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System2.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.Examples.Tutorial.Boiler.System2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System2") translateModel(Buildings.Examples.Tutorial.Boiler.System2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System2") [: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.117/2.117, allocations: 284.9 MB / 292.2 MB, free: 10.73 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.001569/0.001569, allocations: 187.2 kB / 360.4 MB, free: 7.527 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.603/1.603, allocations: 205.1 MB / 0.6188 GB, free: 12.45 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.001237/0.001236, allocations: 93.22 kB / 0.7318 GB, free: 45.01 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.907e-06/8.927e-06, allocations: 0 / 0.8502 GB, free: 3.883 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5458/0.5458, allocations: 115.2 MB / 0.9628 GB, free: 78.33 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.765/5.31, allocations: 2.375 GB / 3.338 GB, free: 101.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002789/5.311, allocations: 85.58 kB / 3.338 GB, free: 101.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 5.549/10.86, allocations: 1.327 GB / 4.665 GB, free: 132.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0005568/10.86, allocations: 96.38 kB / 4.665 GB, free: 132.4 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: 586 * Number of variables: 586 Notification: Performance of Generate backend data structure: time 0.01097/10.87, allocations: 3.366 MB / 4.668 GB, free: 131 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/10.87, allocations: 11.97 kB / 4.668 GB, free: 131 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005222/10.88, allocations: 0.6032 MB / 4.669 GB, free: 130.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01635/10.89, allocations: 4.76 MB / 4.673 GB, free: 130.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001064/10.89, allocations: 73.84 kB / 4.674 GB, free: 130.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000559/10.89, allocations: 145.5 kB / 4.674 GB, free: 130.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006833/10.9, allocations: 2.458 MB / 4.676 GB, free: 130.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006708/10.91, allocations: 2.796 MB / 4.679 GB, free: 129.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.548e-05/10.91, allocations: 4.75 kB / 4.679 GB, free: 129.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003724/10.91, allocations: 7.109 kB / 4.679 GB, free: 129.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001099/10.91, allocations: 103.7 kB / 4.679 GB, free: 129.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02604/10.93, allocations: 12.96 MB / 4.692 GB, free: 124.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004354/10.94, allocations: 1.856 MB / 4.693 GB, free: 124.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002447/10.94, allocations: 1.089 MB / 4.694 GB, free: 124.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01021/10.95, allocations: 4.111 MB / 4.698 GB, free: 122.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002168/10.95, allocations: 0.9755 MB / 4.699 GB, free: 122.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=143): time 4.057e-06/10.95, allocations: 0 / 4.699 GB, free: 122.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=147): time 0.0187/10.97, allocations: 4.905 MB / 4.704 GB, free: 121.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.333e-05/10.97, allocations: 117.7 kB / 4.704 GB, free: 121.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005023/10.98, allocations: 2.437 MB / 4.707 GB, free: 121.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005191/10.98, allocations: 29.48 kB / 4.707 GB, free: 121.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001125/10.98, allocations: 1.008 MB / 4.708 GB, free: 120.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009952/10.98, allocations: 0.4964 MB / 4.708 GB, free: 120.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001972/10.98, allocations: 0 / 4.708 GB, free: 120.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001545/10.98, allocations: 392.2 kB / 4.709 GB, free: 120.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002372/10.98, allocations: 0.9314 MB / 4.709 GB, free: 120.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002673/10.99, allocations: 1.559 MB / 4.711 GB, free: 119.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004457/10.99, allocations: 1.334 MB / 4.712 GB, free: 119.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.1e-05/10.99, allocations: 3.812 kB / 4.712 GB, free: 119.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=273) (initialization): time 0.01002/11, allocations: 3.018 MB / 4.715 GB, free: 119.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.00132/11, allocations: 7.07 MB / 4.722 GB, free: 111.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.836e-05/11, allocations: 15.5 kB / 4.722 GB, free: 111.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002029/11, allocations: 291.7 kB / 4.722 GB, free: 111.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004365/11.01, allocations: 490.2 kB / 4.723 GB, free: 111.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004622/11.01, allocations: 2.581 MB / 4.725 GB, free: 109.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005083/11.02, allocations: 166.8 kB / 4.726 GB, free: 109.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003725/11.02, allocations: 117.2 kB / 4.726 GB, free: 109.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.368e-06/11.02, allocations: 3.719 kB / 4.726 GB, free: 109.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00861/11.03, allocations: 2.563 MB / 4.728 GB, free: 109.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.426e-05/11.03, allocations: 24.88 kB / 4.728 GB, free: 109.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001911/11.03, allocations: 294 kB / 4.729 GB, free: 109.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003801/11.03, allocations: 479 kB / 4.729 GB, free: 109.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004535/11.04, allocations: 2.592 MB / 4.732 GB, free: 107.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004427/11.04, allocations: 137.7 kB / 4.732 GB, free: 107.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003426/11.04, allocations: 109.7 kB / 4.732 GB, free: 107.8 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.timTab.tab.nextTimeEvent,timTab.tab.nextTimeEvent,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEventScaled,$PRE.hysPum.y,hysPum.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (255): * Single equations (assignments): 250 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 1 {5 6} Notification: Performance of prepare postOptimizeDAE: time 0.0007666/11.04, allocations: 170.6 kB / 4.732 GB, free: 107.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000926/11.04, allocations: 287.2 kB / 4.732 GB, free: 107.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008511/11.05, allocations: 2.489 MB / 4.735 GB, free: 107.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.324e-05/11.05, allocations: 20.02 kB / 4.735 GB, free: 107.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.471e-05/11.05, allocations: 10.69 kB / 4.735 GB, free: 107.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005604/11.06, allocations: 2.118 MB / 4.737 GB, free: 106.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0136/11.07, allocations: 5.031 MB / 4.742 GB, free: 106.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.177e-05/11.07, allocations: 3.969 kB / 4.742 GB, free: 106.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002676/11.07, allocations: 272.7 kB / 4.742 GB, free: 106.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001836/11.08, allocations: 320.8 kB / 4.742 GB, free: 106.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001695/11.08, allocations: 37.11 kB / 4.742 GB, free: 106.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007895/11.08, allocations: 8.59 MB / 4.751 GB, free: 99.14 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.713e-06/11.08, allocations: 3 kB / 4.751 GB, free: 99.14 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009157/11.09, allocations: 3.569 MB / 4.754 GB, free: 98.54 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002242/11.1, allocations: 0.6453 MB / 4.755 GB, free: 98.21 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007221/11.1, allocations: 17.5 kB / 4.755 GB, free: 98.21 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003227/11.1, allocations: 99.34 kB / 4.755 GB, free: 98.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002672/11.1, allocations: 98.64 kB / 4.755 GB, free: 98.19 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002403/11.1, allocations: 72.53 kB / 4.755 GB, free: 98.18 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.003745/11.1, allocations: 1.811 MB / 4.757 GB, free: 97.47 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00812/11.11, allocations: 1.696 MB / 4.758 GB, free: 97.28 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 12 (vol.hOut_internal,vol.dynBal.medium.Xi[1],vol.dynBal.m,rad.vol[1].dynBal.U,rad.vol[2].dynBal.U,rad.vol[3].dynBal.U,rad.vol[4].dynBal.U,rad.vol[5].dynBal.U,temSup.T,pumRad.vol.dynBal.U,pumRad.filter.x[1],pumRad.filter.x[2]) * Number of discrete variables: 4 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled,hysPum.y) * Number of discrete states: 3 (timTab.tab.nextTimeEvent,hysPum.y,timTab.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 4,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004273/11.12, allocations: 2.117 MB / 4.761 GB, free: 96.68 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01032/11.13, allocations: 3.925 MB / 4.764 GB, free: 95.18 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.646e-06/11.13, allocations: 1.594 kB / 4.764 GB, free: 95.18 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00305/11.13, allocations: 1.606 MB / 4.766 GB, free: 94.22 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01147/11.14, allocations: 1.386 MB / 4.767 GB, free: 93.91 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01661/11.16, allocations: 5.499 MB / 4.773 GB, free: 91.77 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004652/11.16, allocations: 2.718 MB / 4.775 GB, free: 90.71 MB / 0.948 GB Notification: Performance of SimCode: time 1.373e-06/11.16, allocations: 0 / 4.775 GB, free: 90.71 MB / 0.948 GB Notification: Performance of Templates: time 0.1835/11.35, allocations: 78.9 MB / 4.852 GB, free: 45.26 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System2.makefile (rm -f Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System2.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System2.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System2.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System2.sim & ./Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System2.pipe 2>&1)