Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System1.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.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System1") translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System1") [: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.102/2.102, allocations: 284.9 MB / 292.2 MB, free: 10.74 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.001591/0.001591, allocations: 181.2 kB / 360.4 MB, free: 7.523 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.622/1.622, allocations: 205.1 MB / 0.6188 GB, free: 12.43 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.001254/0.001253, allocations: 84.27 kB / 0.7318 GB, free: 45.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.288e-06/9.377e-06, allocations: 4 kB / 0.8502 GB, free: 3.902 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.52/0.5201, allocations: 115.2 MB / 0.9628 GB, free: 78.12 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.232/4.753, allocations: 2.071 GB / 3.034 GB, free: 272.9 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002695/4.753, allocations: 88.66 kB / 3.034 GB, free: 272.9 MB / 0.9323 GB Notification: Performance of FrontEnd: time 0.4975/5.25, allocations: 169.4 MB / 3.2 GB, free: 159.8 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.445e-05/5.25, allocations: 20.06 kB / 3.2 GB, free: 159.8 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001272/5.252, allocations: 0.7251 MB / 3.2 GB, free: 159 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/5.252, allocations: 12.53 kB / 3.2 GB, free: 159 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001416/5.253, allocations: 159.2 kB / 3.2 GB, free: 158.9 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001171/5.254, allocations: 0.5169 MB / 3.201 GB, free: 158.3 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/5.254, allocations: 8 kB / 3.201 GB, free: 158.3 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.427e-05/5.255, allocations: 16 kB / 3.201 GB, free: 158.3 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005272/5.255, allocations: 209.2 kB / 3.201 GB, free: 158.1 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006035/5.256, allocations: 275.8 kB / 3.201 GB, free: 157.8 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/5.256, allocations: 3.906 kB / 3.201 GB, free: 157.8 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.389e-05/5.256, allocations: 0 / 3.201 GB, free: 157.8 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.329e-05/5.256, allocations: 8.656 kB / 3.201 GB, free: 157.8 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002219/5.258, allocations: 1.404 MB / 3.203 GB, free: 156.3 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003457/5.258, allocations: 149.2 kB / 3.203 GB, free: 156.1 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002214/5.259, allocations: 100.9 kB / 3.203 GB, free: 156 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 2.496e-05/5.259, allocations: 4 kB / 3.203 GB, free: 156 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002798/5.259, allocations: 157 kB / 3.203 GB, free: 155.8 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=26): time 1.913e-06/5.259, allocations: 0 / 3.203 GB, free: 155.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=30): time 0.003919/5.263, allocations: 1.006 MB / 3.204 GB, free: 154.8 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.306e-05/5.263, allocations: 55.41 kB / 3.204 GB, free: 154.7 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005831/5.264, allocations: 385.1 kB / 3.205 GB, free: 154.3 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 4.945e-05/5.264, allocations: 25.7 kB / 3.205 GB, free: 154.3 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 9.857e-05/5.264, allocations: 180.2 kB / 3.205 GB, free: 154.1 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/5.264, allocations: 106.5 kB / 3.205 GB, free: 154 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.112e-05/5.264, allocations: 0 / 3.205 GB, free: 154 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.904e-05/5.264, allocations: 358.7 kB / 3.205 GB, free: 153.6 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003231/5.264, allocations: 136.8 kB / 3.205 GB, free: 153.5 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003555/5.265, allocations: 182.5 kB / 3.206 GB, free: 153.3 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005103/5.265, allocations: 167.5 kB / 3.206 GB, free: 153.2 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/5.265, allocations: 4.031 kB / 3.206 GB, free: 153.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001506/5.267, allocations: 489.1 kB / 3.206 GB, free: 152.7 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/5.267, allocations: 4 kB / 3.206 GB, free: 152.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/5.267, allocations: 4.156 kB / 3.206 GB, free: 152.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000527/5.267, allocations: 84.8 kB / 3.206 GB, free: 152.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005229/5.268, allocations: 71.91 kB / 3.206 GB, free: 152.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002422/5.27, allocations: 1.689 MB / 3.208 GB, free: 150.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006306/5.271, allocations: 15.97 kB / 3.208 GB, free: 150.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.569e-05/5.271, allocations: 20.05 kB / 3.208 GB, free: 150.7 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.timTab.tab.nextTimeEvent,timTab.tab.nextTimeEvent,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * 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: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001232/5.271, allocations: 113 kB / 3.208 GB, free: 150.5 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.955e-05/5.271, allocations: 47.44 kB / 3.208 GB, free: 150.5 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001319/5.273, allocations: 387.2 kB / 3.209 GB, free: 150.1 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/5.273, allocations: 4 kB / 3.209 GB, free: 150.1 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/5.273, allocations: 128 / 3.209 GB, free: 150.1 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/5.273, allocations: 4 kB / 3.209 GB, free: 150.1 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002102/5.275, allocations: 0.9495 MB / 3.21 GB, free: 149.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/5.275, allocations: 0 / 3.21 GB, free: 149.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005361/5.275, allocations: 59.97 kB / 3.21 GB, free: 149 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008795/5.276, allocations: 112.7 kB / 3.21 GB, free: 148.9 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.321e-05/5.276, allocations: 4 kB / 3.21 GB, free: 148.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002156/5.278, allocations: 1.653 MB / 3.211 GB, free: 147.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/5.278, allocations: 8.062 kB / 3.211 GB, free: 147.1 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001364/5.28, allocations: 0.5815 MB / 3.212 GB, free: 146.5 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002462/5.28, allocations: 160.6 kB / 3.212 GB, free: 146.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/5.28, allocations: 8 kB / 3.212 GB, free: 146.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006471/5.281, allocations: 19.86 kB / 3.212 GB, free: 146.3 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.339e-05/5.281, allocations: 19.88 kB / 3.212 GB, free: 146.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.758e-05/5.281, allocations: 12 kB / 3.212 GB, free: 146.3 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.0003958/5.281, allocations: 279.2 kB / 3.212 GB, free: 146 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0009418/5.282, allocations: 176 kB / 3.213 GB, free: 145.9 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (vol.hOut_internal,vol.dynBal.medium.Xi[1],vol.dynBal.m) * Number of discrete variables: 3 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of discrete states: 2 (timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001654/5.284, allocations: 1.032 MB / 3.214 GB, free: 144.9 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001166/5.285, allocations: 426 kB / 3.214 GB, free: 144.5 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/5.285, allocations: 0 / 3.214 GB, free: 144.5 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0006623/5.286, allocations: 250.1 kB / 3.214 GB, free: 144.2 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001653/5.288, allocations: 210.6 kB / 3.214 GB, free: 144 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00183/5.289, allocations: 0.7412 MB / 3.215 GB, free: 143.3 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004819/5.29, allocations: 0.9079 MB / 3.216 GB, free: 142.3 MB / 0.9323 GB Notification: Performance of SimCode: time 7.62e-07/5.29, allocations: 0 / 3.216 GB, free: 142.3 MB / 0.9323 GB Notification: Performance of Templates: time 0.02757/5.317, allocations: 12.03 MB / 3.228 GB, free: 130.4 MB / 0.9323 GB make -j1 -f Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System1.makefile (rm -f Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System1.sim & ./Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1)