Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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 7.0.1/package.mo): time 2.281/2.281, allocations: 253.1 MB / 260.4 MB, free: 7.562 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001586/0.001586, allocations: 169.3 kB / 319.6 MB, free: 3.316 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.791/1.791, allocations: 205.4 MB / 0.5704 GB, free: 15.05 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001367/0.001366, allocations: 93.27 kB / 0.6746 GB, free: 4.414 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.017e-06/9.107e-06, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2261/0.2261, allocations: 106.2 MB / 0.888 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.461/1.687, allocations: 419.8 MB / 1.298 GB, free: 255.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003396/1.688, allocations: 92.08 kB / 1.298 GB, free: 255.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.189/5.876, allocations: 0.9457 GB / 2.244 GB, free: 13.63 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0004687/5.877, allocations: 75.92 kB / 2.244 GB, free: 13.56 MB / 0.8698 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.01011/5.887, allocations: 2.66 MB / 2.246 GB, free: 10.84 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/5.887, allocations: 8.031 kB / 2.246 GB, free: 10.84 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002535/5.89, allocations: 356 kB / 2.247 GB, free: 10.48 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01064/5.9, allocations: 3.071 MB / 2.25 GB, free: 7.359 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001339/5.901, allocations: 76 kB / 2.25 GB, free: 7.285 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008058/5.901, allocations: 139.9 kB / 2.25 GB, free: 7.148 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007243/5.909, allocations: 2.258 MB / 2.252 GB, free: 4.883 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01056/5.919, allocations: 2.668 MB / 2.255 GB, free: 2.082 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002042/5.92, allocations: 11.92 kB / 2.255 GB, free: 2.07 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001136/5.921, allocations: 0 / 2.255 GB, free: 2.07 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001422/5.921, allocations: 71.91 kB / 2.255 GB, free: 2 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3838/6.305, allocations: 12.91 MB / 2.268 GB, free: 262.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003747/6.308, allocations: 1.505 MB / 2.269 GB, free: 262.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002817/6.311, allocations: 1.122 MB / 2.27 GB, free: 262.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001038/6.312, allocations: 0.7176 MB / 2.271 GB, free: 261.3 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.159e-05/6.312, allocations: 46.66 kB / 2.271 GB, free: 261.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=126): time 3.617e-06/6.312, allocations: 2.938 kB / 2.271 GB, free: 261.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=126): time 0.005479/6.318, allocations: 1.674 MB / 2.272 GB, free: 261.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.077e-05/6.318, allocations: 143.7 kB / 2.273 GB, free: 261 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00407/6.322, allocations: 1.762 MB / 2.274 GB, free: 260.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004658/6.323, allocations: 31.73 kB / 2.274 GB, free: 260.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001314/6.324, allocations: 0.9343 MB / 2.275 GB, free: 260.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009805/6.325, allocations: 429.2 kB / 2.276 GB, free: 260.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000153/6.325, allocations: 0 / 2.276 GB, free: 260.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001522/6.325, allocations: 374.3 kB / 2.276 GB, free: 259.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001738/6.327, allocations: 0.6794 MB / 2.277 GB, free: 259.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002178/6.329, allocations: 1.199 MB / 2.278 GB, free: 259.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00284/6.332, allocations: 0.9485 MB / 2.279 GB, free: 259.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.216e-05/6.332, allocations: 8.5 kB / 2.279 GB, free: 259.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.006566/6.339, allocations: 2.22 MB / 2.281 GB, free: 259 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.00128/6.34, allocations: 5.68 MB / 2.287 GB, free: 253.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.534e-05/6.34, allocations: 15.41 kB / 2.287 GB, free: 253.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00249/6.343, allocations: 415.4 kB / 2.287 GB, free: 253 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002881/6.346, allocations: 363.2 kB / 2.287 GB, free: 253 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004787/6.351, allocations: 2.953 MB / 2.29 GB, free: 251.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004137/6.355, allocations: 272.1 kB / 2.29 GB, free: 251.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004578/6.355, allocations: 84 kB / 2.29 GB, free: 251.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/6.355, allocations: 3.094 kB / 2.29 GB, free: 251.2 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005909/6.361, allocations: 1.954 MB / 2.292 GB, free: 251.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-05/6.361, allocations: 15.56 kB / 2.292 GB, free: 251.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009295/6.362, allocations: 219.5 kB / 2.293 GB, free: 251.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002992/6.365, allocations: 371.5 kB / 2.293 GB, free: 251.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00526/6.37, allocations: 3.688 MB / 2.297 GB, free: 248.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003844/6.374, allocations: 239.7 kB / 2.297 GB, free: 248.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004248/6.375, allocations: 83.11 kB / 2.297 GB, free: 248.5 MB / 0.8698 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.0005996/6.375, allocations: 159.5 kB / 2.297 GB, free: 248.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007306/6.376, allocations: 201.4 kB / 2.297 GB, free: 248.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005981/6.382, allocations: 1.95 MB / 2.299 GB, free: 248.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.732e-05/6.382, allocations: 18.14 kB / 2.299 GB, free: 248.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/6.382, allocations: 0 / 2.299 GB, free: 248.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004121/6.386, allocations: 1.554 MB / 2.301 GB, free: 248.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01288/6.399, allocations: 4.228 MB / 2.305 GB, free: 247.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.268e-05/6.399, allocations: 7.906 kB / 2.305 GB, free: 247.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001952/6.401, allocations: 213.6 kB / 2.305 GB, free: 247.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002202/6.404, allocations: 378.5 kB / 2.305 GB, free: 247.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002678/6.404, allocations: 20.33 kB / 2.305 GB, free: 247.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005742/6.41, allocations: 2.897 MB / 2.308 GB, free: 245.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.305e-05/6.41, allocations: 10.34 kB / 2.308 GB, free: 245.8 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01134/6.421, allocations: 2.949 MB / 2.311 GB, free: 245.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003005/6.424, allocations: 0.5268 MB / 2.312 GB, free: 245.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001249/6.425, allocations: 12.97 kB / 2.312 GB, free: 245.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005321/6.431, allocations: 155.7 kB / 2.312 GB, free: 245.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006788/6.432, allocations: 90.91 kB / 2.312 GB, free: 245.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003916/6.432, allocations: 57.47 kB / 2.312 GB, free: 245.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.005218/6.437, allocations: 1.337 MB / 2.313 GB, free: 245 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.01126/6.449, allocations: 1.448 MB / 2.315 GB, free: 244.9 MB / 0.8698 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.002331/6.451, allocations: 0.5439 MB / 2.315 GB, free: 244.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01162/6.463, allocations: 3.135 MB / 2.318 GB, free: 244.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.762e-05/6.463, allocations: 6.688 kB / 2.318 GB, free: 244.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.003738/6.466, allocations: 0.9281 MB / 2.319 GB, free: 244.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01369/6.48, allocations: 1.025 MB / 2.32 GB, free: 244.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02191/6.502, allocations: 4.316 MB / 2.324 GB, free: 243.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006629/6.509, allocations: 2.382 MB / 2.327 GB, free: 242.7 MB / 0.8698 GB Notification: Performance of SimCode: time 1.853e-06/6.509, allocations: 0 / 2.327 GB, free: 242.7 MB / 0.8698 GB Notification: Performance of Templates: time 0.1801/6.689, allocations: 51.99 MB / 2.377 GB, free: 241.4 MB / 0.8698 GB