Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.Boiler.System2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System2") translateModel(Buildings.Examples.Tutorial.Boiler.System2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.294/1.294, allocations: 285.5 MB / 292.8 MB, free: 10.46 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000894/0.0008942, allocations: 181.2 kB / 361.1 MB, free: 7.094 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9841/0.9841, allocations: 205.1 MB / 0.6195 GB, free: 11.93 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007902/0.0007902, allocations: 97.58 kB / 0.7326 GB, free: 44.47 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.969e-06/5.059e-06, allocations: 0 / 0.8511 GB, free: 3.238 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4184/0.4184, allocations: 115.3 MB / 0.9636 GB, free: 77.93 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.167/3.585, allocations: 2.375 GB / 3.339 GB, free: 142.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002196/3.585, allocations: 90.2 kB / 3.339 GB, free: 142.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.385/6.971, allocations: 1.327 GB / 4.666 GB, free: 120.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000383/6.971, allocations: 98.41 kB / 4.666 GB, free: 120.1 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.006606/6.978, allocations: 3.362 MB / 4.669 GB, free: 118.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/6.978, allocations: 11.06 kB / 4.669 GB, free: 118.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003125/6.981, allocations: 0.5959 MB / 4.67 GB, free: 118.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008123/6.989, allocations: 4.765 MB / 4.675 GB, free: 118.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.803e-05/6.989, allocations: 78.45 kB / 4.675 GB, free: 118.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002932/6.989, allocations: 145.9 kB / 4.675 GB, free: 118.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003331/6.993, allocations: 2.455 MB / 4.677 GB, free: 118 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00344/6.996, allocations: 2.789 MB / 4.68 GB, free: 117.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.418e-05/6.996, allocations: 14.47 kB / 4.68 GB, free: 117.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002093/6.996, allocations: 5.031 kB / 4.68 GB, free: 117.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.918e-05/6.996, allocations: 105.3 kB / 4.68 GB, free: 117.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01269/7.009, allocations: 12.95 MB / 4.693 GB, free: 112.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002132/7.011, allocations: 1.85 MB / 4.694 GB, free: 112.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001217/7.012, allocations: 1.075 MB / 4.695 GB, free: 112.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005102/7.018, allocations: 4.132 MB / 4.7 GB, free: 110.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001148/7.019, allocations: 0.9684 MB / 4.7 GB, free: 110.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=143): time 2.495e-06/7.019, allocations: 3.469 kB / 4.7 GB, free: 110.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=147): time 0.009786/7.029, allocations: 4.9 MB / 4.705 GB, free: 109.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.158e-05/7.029, allocations: 121.9 kB / 4.705 GB, free: 109.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002465/7.031, allocations: 2.432 MB / 4.708 GB, free: 109.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.00013/7.031, allocations: 28.77 kB / 4.708 GB, free: 109.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005886/7.032, allocations: 1.012 MB / 4.709 GB, free: 108.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004882/7.032, allocations: 0.4969 MB / 4.709 GB, free: 108.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001206/7.032, allocations: 0 / 4.709 GB, free: 108.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.955e-05/7.033, allocations: 389.4 kB / 4.71 GB, free: 108.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001154/7.034, allocations: 0.9379 MB / 4.711 GB, free: 108.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001346/7.035, allocations: 1.557 MB / 4.712 GB, free: 107.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002362/7.037, allocations: 1.331 MB / 4.713 GB, free: 107.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/7.037, allocations: 3 kB / 4.713 GB, free: 107.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=273) (initialization): time 0.005009/7.042, allocations: 3.023 MB / 4.716 GB, free: 107.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008577/7.043, allocations: 7.066 MB / 4.723 GB, free: 99.73 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.479e-05/7.043, allocations: 18.19 kB / 4.723 GB, free: 99.73 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001052/7.044, allocations: 286.5 kB / 4.724 GB, free: 99.71 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001904/7.046, allocations: 493.6 kB / 4.724 GB, free: 99.71 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002479/7.049, allocations: 2.585 MB / 4.727 GB, free: 97.91 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002152/7.051, allocations: 160.5 kB / 4.727 GB, free: 97.89 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001936/7.051, allocations: 115.4 kB / 4.727 GB, free: 97.89 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.318e-06/7.051, allocations: 6.812 kB / 4.727 GB, free: 97.89 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004103/7.055, allocations: 2.557 MB / 4.729 GB, free: 97.82 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.104e-05/7.055, allocations: 22.02 kB / 4.729 GB, free: 97.82 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001014/7.056, allocations: 295.3 kB / 4.73 GB, free: 97.81 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001716/7.058, allocations: 479.6 kB / 4.73 GB, free: 97.81 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002395/7.06, allocations: 2.583 MB / 4.733 GB, free: 96.01 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00179/7.062, allocations: 145.4 kB / 4.733 GB, free: 95.99 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001684/7.062, allocations: 109.2 kB / 4.733 GB, free: 95.99 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.0003158/7.063, allocations: 163.5 kB / 4.733 GB, free: 95.88 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000425/7.063, allocations: 294.2 kB / 4.733 GB, free: 95.73 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004118/7.067, allocations: 2.5 MB / 4.736 GB, free: 95.55 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.404e-05/7.067, allocations: 15.98 kB / 4.736 GB, free: 95.55 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/7.067, allocations: 3.938 kB / 4.736 GB, free: 95.55 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002961/7.07, allocations: 2.12 MB / 4.738 GB, free: 95.11 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006808/7.077, allocations: 5.031 MB / 4.743 GB, free: 94.68 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/7.077, allocations: 3.906 kB / 4.743 GB, free: 94.68 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001296/7.078, allocations: 277.7 kB / 4.743 GB, free: 94.68 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009648/7.079, allocations: 317 kB / 4.743 GB, free: 94.63 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001097/7.08, allocations: 36.25 kB / 4.743 GB, free: 94.63 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004496/7.084, allocations: 8.59 MB / 4.752 GB, free: 87.39 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/7.084, allocations: 5.109 kB / 4.752 GB, free: 87.39 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004471/7.089, allocations: 3.57 MB / 4.755 GB, free: 86.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009332/7.09, allocations: 0.649 MB / 4.756 GB, free: 86.55 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004149/7.09, allocations: 18.06 kB / 4.756 GB, free: 86.55 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001588/7.092, allocations: 107.1 kB / 4.756 GB, free: 86.55 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001708/7.092, allocations: 95.89 kB / 4.756 GB, free: 86.54 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001381/7.092, allocations: 74.11 kB / 4.756 GB, free: 86.54 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001815/7.094, allocations: 1.808 MB / 4.758 GB, free: 86.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004174/7.098, allocations: 1.686 MB / 4.759 GB, free: 86.31 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.002348/7.1, allocations: 2.126 MB / 4.762 GB, free: 85.75 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.005078/7.105, allocations: 3.933 MB / 4.765 GB, free: 85.43 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/7.105, allocations: 2.75 kB / 4.765 GB, free: 85.43 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00171/7.107, allocations: 1.601 MB / 4.767 GB, free: 84.83 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004999/7.112, allocations: 1.381 MB / 4.768 GB, free: 84.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008436/7.12, allocations: 5.509 MB / 4.774 GB, free: 83.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002549/7.123, allocations: 2.717 MB / 4.776 GB, free: 82.93 MB / 0.948 GB Notification: Performance of SimCode: time 4.31e-07/7.123, allocations: 0 / 4.776 GB, free: 82.93 MB / 0.948 GB Notification: Performance of Templates: time 0.09675/7.22, allocations: 78.91 MB / 4.853 GB, free: 68.77 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System2.makefile (rm -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System2.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System2.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System2.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System2.sim & ./Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System2.pipe 2>&1)