Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.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.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") translateModel(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") [: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.271/2.271, 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.001652/0.001651, allocations: 187.7 kB / 360.4 MB, free: 7.473 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.818/1.818, allocations: 205.2 MB / 0.6188 GB, free: 12.39 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.001272/0.001272, allocations: 99.86 kB / 0.7318 GB, free: 44.96 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.005e-06/8.105e-06, allocations: 0 / 0.8502 GB, free: 3.848 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6087/0.6087, allocations: 115.2 MB / 0.9628 GB, free: 78.48 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9796/1.588, allocations: 426.4 MB / 1.379 GB, free: 142 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002783/1.589, allocations: 89.38 kB / 1.379 GB, free: 141.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 4.455/6.043, allocations: 0.9705 GB / 2.35 GB, free: 212.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0005187/6.044, allocations: 80.94 kB / 2.35 GB, free: 212.7 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.01049/6.054, allocations: 2.658 MB / 2.352 GB, free: 211.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/6.055, allocations: 9.844 kB / 2.352 GB, free: 211.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00256/6.057, allocations: 358.1 kB / 2.353 GB, free: 211.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01106/6.068, allocations: 3.083 MB / 2.356 GB, free: 211.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001696/6.068, allocations: 74.81 kB / 2.356 GB, free: 211.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00101/6.069, allocations: 139.4 kB / 2.356 GB, free: 211.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007943/6.077, allocations: 2.259 MB / 2.358 GB, free: 211.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01021/6.088, allocations: 2.706 MB / 2.361 GB, free: 210.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001048/6.088, allocations: 11.44 kB / 2.361 GB, free: 210.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004819/6.088, allocations: 0 / 2.361 GB, free: 210.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.833e-05/6.088, allocations: 64.88 kB / 2.361 GB, free: 210.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02895/6.117, allocations: 12.94 MB / 2.374 GB, free: 204.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003854/6.121, allocations: 1.507 MB / 2.375 GB, free: 204.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002909/6.124, allocations: 1.125 MB / 2.376 GB, free: 204.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001058/6.125, allocations: 0.7177 MB / 2.377 GB, free: 203.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.012e-05/6.125, allocations: 48.22 kB / 2.377 GB, free: 203.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=126): time 4.108e-06/6.125, allocations: 0 / 2.377 GB, free: 203.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=126): time 0.005846/6.131, allocations: 1.683 MB / 2.379 GB, free: 203.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.935e-05/6.131, allocations: 140.3 kB / 2.379 GB, free: 203.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004615/6.136, allocations: 1.76 MB / 2.38 GB, free: 203 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005062/6.137, allocations: 32.73 kB / 2.38 GB, free: 203 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001439/6.138, allocations: 0.9419 MB / 2.381 GB, free: 202.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001072/6.139, allocations: 422 kB / 2.382 GB, free: 202.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00019/6.139, allocations: 2.875 kB / 2.382 GB, free: 202.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001648/6.14, allocations: 374.1 kB / 2.382 GB, free: 201.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001816/6.141, allocations: 0.6832 MB / 2.383 GB, free: 201.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002306/6.144, allocations: 1.193 MB / 2.384 GB, free: 201.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002854/6.147, allocations: 0.9527 MB / 2.385 GB, free: 201.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.483e-05/6.147, allocations: 7.719 kB / 2.385 GB, free: 201.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.006825/6.154, allocations: 2.218 MB / 2.387 GB, free: 201.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.00131/6.155, allocations: 5.682 MB / 2.393 GB, free: 195.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.915e-05/6.155, allocations: 14.72 kB / 2.393 GB, free: 195.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00303/6.158, allocations: 440.3 kB / 2.393 GB, free: 195.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00296/6.161, allocations: 359.1 kB / 2.393 GB, free: 195.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00486/6.166, allocations: 2.967 MB / 2.396 GB, free: 193.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004176/6.17, allocations: 275 kB / 2.397 GB, free: 193.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005868/6.171, allocations: 77.97 kB / 2.397 GB, free: 193.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/6.171, allocations: 3.062 kB / 2.397 GB, free: 193.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006236/6.177, allocations: 1.97 MB / 2.399 GB, free: 193.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.266e-05/6.177, allocations: 13.06 kB / 2.399 GB, free: 193.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009239/6.178, allocations: 209.8 kB / 2.399 GB, free: 193.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003199/6.181, allocations: 377.7 kB / 2.399 GB, free: 193.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005338/6.187, allocations: 3.686 MB / 2.403 GB, free: 190.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003957/6.191, allocations: 242.2 kB / 2.403 GB, free: 190.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004957/6.191, allocations: 78.88 kB / 2.403 GB, free: 190.5 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.onOffBot.y,onOffBot.y,$PRE.onOffMid.y,onOffMid.y,and2.y,nor.y,$PRE.onOffHea.y,onOffHea.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (182): * Single equations (assignments): 180 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 10} * Non-linear torn systems: 1 {3 19} Notification: Performance of prepare postOptimizeDAE: time 0.0006106/6.192, allocations: 158.2 kB / 2.403 GB, free: 190.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007924/6.193, allocations: 198.1 kB / 2.403 GB, free: 190.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006165/6.199, allocations: 1.959 MB / 2.405 GB, free: 190.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.778e-05/6.199, allocations: 13.81 kB / 2.405 GB, free: 190.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.266e-05/6.199, allocations: 3.562 kB / 2.405 GB, free: 190.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004364/6.203, allocations: 1.546 MB / 2.407 GB, free: 190 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01334/6.217, allocations: 4.258 MB / 2.411 GB, free: 189.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.435e-05/6.217, allocations: 6.562 kB / 2.411 GB, free: 189.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002108/6.219, allocations: 207.1 kB / 2.411 GB, free: 189.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002764/6.222, allocations: 411.9 kB / 2.412 GB, free: 189.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003175/6.222, allocations: 17.77 kB / 2.412 GB, free: 189.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004209/6.226, allocations: 2.895 MB / 2.414 GB, free: 187.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.627e-06/6.226, allocations: 4.938 kB / 2.414 GB, free: 187.7 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007555/6.234, allocations: 2.963 MB / 2.417 GB, free: 187.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003133/6.237, allocations: 0.5358 MB / 2.418 GB, free: 187.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008863/6.238, allocations: 10.66 kB / 2.418 GB, free: 187.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003262/6.241, allocations: 154.6 kB / 2.418 GB, free: 187.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003293/6.242, allocations: 92.58 kB / 2.418 GB, free: 187 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002035/6.242, allocations: 57.52 kB / 2.418 GB, free: 187 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.003044/6.245, allocations: 1.338 MB / 2.419 GB, free: 186.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.007767/6.253, allocations: 1.444 MB / 2.421 GB, free: 186.6 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 5 (tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.vol[5].dynBal.U) * Number of discrete variables: 5 (onOffBot.y,onOffMid.y,and2.y,nor.y,onOffHea.y) * Number of discrete states: 3 (onOffMid.y,onOffBot.y,onOffHea.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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%) 10} * Non-linear torn systems: 1 {3 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.001679/6.255, allocations: 0.5463 MB / 2.421 GB, free: 186.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.008352/6.263, allocations: 3.152 MB / 2.424 GB, free: 186.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.295e-05/6.263, allocations: 3.938 kB / 2.424 GB, free: 186.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002335/6.265, allocations: 0.9158 MB / 2.425 GB, free: 186.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009995/6.275, allocations: 1.037 MB / 2.426 GB, free: 186 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01433/6.29, allocations: 4.32 MB / 2.431 GB, free: 185.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004319/6.294, allocations: 2.386 MB / 2.433 GB, free: 184.4 MB / 0.948 GB Notification: Performance of SimCode: time 1.733e-06/6.294, allocations: 2.438 kB / 2.433 GB, free: 184.4 MB / 0.948 GB Notification: Performance of Templates: time 0.139/6.433, allocations: 52.41 MB / 2.484 GB, free: 182.1 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.sim & ./Buildings_8.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe 2>&1)