Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Storage.Examples.Stratified.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.Storage.Examples.Stratified,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Storage.Examples.Stratified") translateModel(Buildings.Fluid.Storage.Examples.Stratified,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Storage.Examples.Stratified") [: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.313/2.313, allocations: 284.9 MB / 292.2 MB, free: 10.75 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.002152/0.002151, allocations: 185.2 kB / 360.4 MB, free: 7.535 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.691/1.691, allocations: 205.1 MB / 0.6188 GB, free: 12.44 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.001256/0.001256, allocations: 78.77 kB / 0.7318 GB, free: 45.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.197e-06/9.387e-06, allocations: 0 / 0.8502 GB, free: 3.898 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6185/0.6186, allocations: 115.2 MB / 0.9628 GB, free: 78.09 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.013/1.632, allocations: 410.5 MB / 1.364 GB, free: 157.5 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003005/1.632, allocations: 87.14 kB / 1.364 GB, free: 157.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 13.38/15.02, allocations: 2.917 GB / 4.281 GB, free: 133 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.00177/15.02, allocations: 257 kB / 4.281 GB, free: 132.9 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2145 * Number of variables: 2145 Notification: Performance of Generate backend data structure: time 0.03555/15.05, allocations: 8.177 MB / 4.289 GB, free: 129.9 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/15.05, allocations: 12.88 kB / 4.289 GB, free: 129.9 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00907/15.06, allocations: 1.171 MB / 4.29 GB, free: 129.4 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03941/15.1, allocations: 10.89 MB / 4.301 GB, free: 128.3 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006061/15.1, allocations: 268.4 kB / 4.301 GB, free: 128.3 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004141/15.11, allocations: 485.2 kB / 4.302 GB, free: 128.3 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03535/15.14, allocations: 9.172 MB / 4.311 GB, free: 128.2 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04399/15.19, allocations: 10.56 MB / 4.321 GB, free: 127.1 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005493/15.19, allocations: 30.28 kB / 4.321 GB, free: 127.1 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003532/15.19, allocations: 14.22 kB / 4.321 GB, free: 127.1 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003018/15.19, allocations: 258.8 kB / 4.321 GB, free: 127.1 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1109/15.3, allocations: 46.16 MB / 4.366 GB, free: 99.93 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01553/15.32, allocations: 5.756 MB / 4.372 GB, free: 98.06 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01177/15.33, allocations: 4.78 MB / 4.377 GB, free: 96.54 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001986/15.33, allocations: 0.8281 MB / 4.377 GB, free: 95.77 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01011/15.34, allocations: 3.27 MB / 4.381 GB, free: 94.63 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=449): time 1.113e-05/15.34, allocations: 3.797 kB / 4.381 GB, free: 94.63 MB / 0.9636 GB Notification: Performance of matching and sorting (n=449): time 0.02215/15.36, allocations: 6.349 MB / 4.387 GB, free: 92.52 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001142/15.36, allocations: 155.2 kB / 4.387 GB, free: 92.39 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01831/15.38, allocations: 5.968 MB / 4.393 GB, free: 89.1 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.001579/15.38, allocations: 33.7 kB / 4.393 GB, free: 89.06 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.006662/15.39, allocations: 3.212 MB / 4.396 GB, free: 86.26 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.005558/15.4, allocations: 1.5 MB / 4.397 GB, free: 84.88 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007323/15.4, allocations: 7.609 kB / 4.397 GB, free: 84.88 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0005441/15.4, allocations: 0.5441 MB / 4.398 GB, free: 84.4 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007463/15.41, allocations: 2.912 MB / 4.401 GB, free: 81.86 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008876/15.41, allocations: 4.755 MB / 4.405 GB, free: 76.78 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01227/15.43, allocations: 4.289 MB / 4.41 GB, free: 73.37 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.113e-05/15.43, allocations: 23.59 kB / 4.41 GB, free: 73.35 MB / 0.9636 GB Notification: Performance of matching and sorting (n=754) (initialization): time 0.02661/15.45, allocations: 8.477 MB / 4.418 GB, free: 66.1 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.006482/15.46, allocations: 27.83 MB / 4.445 GB, free: 36.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002668/15.46, allocations: 61.69 kB / 4.445 GB, free: 36.34 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001633/15.46, allocations: 96 kB / 4.445 GB, free: 36.25 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0126/15.47, allocations: 1.421 MB / 4.447 GB, free: 35.02 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00016/15.47, allocations: 130.4 kB / 4.447 GB, free: 34.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01305/15.49, allocations: 0.7932 MB / 4.448 GB, free: 34.21 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001899/15.49, allocations: 283.8 kB / 4.448 GB, free: 33.95 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/15.49, allocations: 4 kB / 4.448 GB, free: 33.94 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02403/15.51, allocations: 7.809 MB / 4.455 GB, free: 27.32 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001912/15.51, allocations: 61.45 kB / 4.456 GB, free: 27.26 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001239/15.51, allocations: 96 kB / 4.456 GB, free: 27.17 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01268/15.53, allocations: 1.415 MB / 4.457 GB, free: 25.94 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001751/15.53, allocations: 127.9 kB / 4.457 GB, free: 25.83 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01254/15.54, allocations: 0.673 MB / 4.458 GB, free: 25.21 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002146/15.54, allocations: 280 kB / 4.458 GB, free: 24.93 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 264 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,$whenCondition2,TWat.a,TWat.b,TWat.last,$PRE.TWat.nextEvent,TWat.nextEvent,TWat.nextEventScaled,P.a,P.b,P.last,$PRE.P.nextEvent,P.nextEvent,P.nextEventScaled,dH.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (744): * Single equations (assignments): 742 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002396/15.54, allocations: 358 kB / 4.458 GB, free: 24.56 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002909/15.55, allocations: 0.633 MB / 4.459 GB, free: 23.92 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02361/15.57, allocations: 7.074 MB / 4.466 GB, free: 16.86 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.403e-05/15.57, allocations: 43.98 kB / 4.466 GB, free: 16.82 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.691e-05/15.57, allocations: 0 / 4.466 GB, free: 16.82 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0181/15.59, allocations: 5.858 MB / 4.472 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05824/15.65, allocations: 15.85 MB / 4.487 GB, free: 11.08 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.779e-05/15.65, allocations: 4 kB / 4.487 GB, free: 11.08 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01021/15.66, allocations: 0.8778 MB / 4.488 GB, free: 10.2 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.222e-05/15.66, allocations: 19.91 kB / 4.488 GB, free: 10.18 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001337/15.66, allocations: 63.94 kB / 4.488 GB, free: 10.12 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.038e-05/15.66, allocations: 19.94 kB / 4.488 GB, free: 10.1 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/15.66, allocations: 0 / 4.488 GB, free: 10.1 MB / 0.9792 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.4596/16.12, allocations: 10.9 MB / 4.499 GB, free: 229.5 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008463/16.13, allocations: 1.755 MB / 4.5 GB, free: 229.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003869/16.13, allocations: 27.55 kB / 4.5 GB, free: 229.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01163/16.14, allocations: 446.4 kB / 4.501 GB, free: 229.4 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00144/16.14, allocations: 225.5 kB / 4.501 GB, free: 229.4 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009706/16.14, allocations: 207.7 kB / 4.501 GB, free: 229.4 MB / 0.9792 GB Notification: Performance of sort global known variables: time 0.01243/16.16, allocations: 4.562 MB / 4.506 GB, free: 229.2 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.02374/16.18, allocations: 4.762 MB / 4.51 GB, free: 229.2 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 21 (tanSim.vol[1].dynBal.U,tanSim.vol[2].dynBal.U,tanSim.vol[3].dynBal.U,tanSim.vol[4].dynBal.U,tanSim.vol[5].dynBal.U,tanSim.vol[6].dynBal.U,tanSim.vol[7].dynBal.U,tanSim.vol[8].dynBal.U,tanSim.vol[9].dynBal.U,tanSim.vol[10].dynBal.U,tanEnh.vol[1].dynBal.U,tanEnh.vol[2].dynBal.U,tanEnh.vol[3].dynBal.U,tanEnh.vol[4].dynBal.U,tanEnh.vol[5].dynBal.U,tanEnh.vol[6].dynBal.U,tanEnh.vol[7].dynBal.U,tanEnh.vol[8].dynBal.U,tanEnh.vol[9].dynBal.U,tanEnh.vol[10].dynBal.U,dH.y) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,TWat.a,TWat.b,TWat.last,TWat.nextEvent,TWat.nextEventScaled,P.a,P.b,P.last,P.nextEvent,P.nextEventScaled) * Number of discrete states: 12 (P.nextEvent,P.last,P.nextEventScaled,P.b,P.a,$whenCondition2,TWat.nextEvent,TWat.last,TWat.nextEventScaled,TWat.b,TWat.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (445): * Single equations (assignments): 441 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00347/16.18, allocations: 0.8637 MB / 4.511 GB, free: 229.1 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.02827/16.21, allocations: 11.16 MB / 4.522 GB, free: 228.9 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.697e-05/16.21, allocations: 6.562 kB / 4.522 GB, free: 228.9 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.007945/16.22, allocations: 3.137 MB / 4.525 GB, free: 228.8 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03072/16.25, allocations: 3.31 MB / 4.528 GB, free: 228.7 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05388/16.3, allocations: 16.72 MB / 4.545 GB, free: 226.1 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01837/16.32, allocations: 6.92 MB / 4.552 GB, free: 225.2 MB / 0.9792 GB Notification: Performance of SimCode: time 1.553e-06/16.32, allocations: 0 / 4.552 GB, free: 225.2 MB / 0.9792 GB Notification: Performance of Templates: time 0.414/16.74, allocations: 166.7 MB / 4.714 GB, free: 206.2 MB / 0.9792 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Storage.Examples.Stratified.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Storage.Examples.Stratified.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Storage.Examples.Stratified.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Storage.Examples.Stratified.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Storage.Examples.Stratified.sim & ./Buildings_8.0.0_Buildings.Fluid.Storage.Examples.Stratified -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Storage.Examples.Stratified.pipe 2>&1)