Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.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.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") [: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.169/2.169, allocations: 253.1 MB / 260.4 MB, free: 7.465 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.001681/0.001681, allocations: 185.2 kB / 319.6 MB, free: 3.301 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.996/1.996, allocations: 205.4 MB / 0.5704 GB, free: 15.06 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.001259/0.001259, allocations: 91.22 kB / 0.6746 GB, free: 4.418 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.397e-06/9.558e-06, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2009/0.2009, allocations: 106.2 MB / 0.888 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.505/1.706, allocations: 397.1 MB / 1.276 GB, free: 258.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003877/1.707, allocations: 82.8 kB / 1.276 GB, free: 258.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 10.16/11.87, allocations: 2.017 GB / 3.293 GB, free: 123.4 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.001145/11.87, allocations: 171.2 kB / 3.293 GB, free: 123.4 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1414 * Number of variables: 1414 Notification: Performance of Generate backend data structure: time 0.0234/11.89, allocations: 5.416 MB / 3.299 GB, free: 121.8 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/11.89, allocations: 11.38 kB / 3.299 GB, free: 121.8 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00629/11.9, allocations: 0.7779 MB / 3.299 GB, free: 121.5 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02719/11.92, allocations: 7.339 MB / 3.307 GB, free: 120.7 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004198/11.92, allocations: 175.1 kB / 3.307 GB, free: 120.7 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002624/11.93, allocations: 334.9 kB / 3.307 GB, free: 120.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03052/11.96, allocations: 5.719 MB / 3.313 GB, free: 120.7 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03722/12, allocations: 6.635 MB / 3.319 GB, free: 120 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005432/12, allocations: 19.94 kB / 3.319 GB, free: 120 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00307/12, allocations: 6.969 kB / 3.319 GB, free: 120 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003304/12, allocations: 166.6 kB / 3.319 GB, free: 120 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08372/12.08, allocations: 28.78 MB / 3.347 GB, free: 107.9 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009446/12.09, allocations: 3.444 MB / 3.351 GB, free: 107.9 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006861/12.1, allocations: 2.705 MB / 3.353 GB, free: 107.9 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001355/12.1, allocations: 0.8376 MB / 3.354 GB, free: 107 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.854e-05/12.1, allocations: 67.83 kB / 3.354 GB, free: 107 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=275): time 5.64e-06/12.1, allocations: 0 / 3.354 GB, free: 107 MB / 0.8855 GB Notification: Performance of matching and sorting (n=275): time 0.01302/12.11, allocations: 3.735 MB / 3.358 GB, free: 106.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.671e-05/12.11, allocations: 76.27 kB / 3.358 GB, free: 106.5 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01203/12.13, allocations: 4.003 MB / 3.362 GB, free: 106.2 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0009273/12.13, allocations: 29.27 kB / 3.362 GB, free: 106.2 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.003237/12.13, allocations: 2.131 MB / 3.364 GB, free: 105 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.002919/12.13, allocations: 0.9348 MB / 3.365 GB, free: 104.4 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006059/12.13, allocations: 0 / 3.365 GB, free: 104.4 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0004511/12.13, allocations: 464.3 kB / 3.365 GB, free: 104.1 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004867/12.14, allocations: 1.635 MB / 3.367 GB, free: 104 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00601/12.15, allocations: 2.822 MB / 3.37 GB, free: 102.6 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007596/12.15, allocations: 2.411 MB / 3.372 GB, free: 102.6 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.403e-05/12.15, allocations: 10.62 kB / 3.372 GB, free: 102.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=483) (initialization): time 0.01804/12.17, allocations: 5.161 MB / 3.377 GB, free: 102.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.549e-05/12.17, allocations: 10.5 kB / 3.377 GB, free: 102.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-05/12.17, allocations: 34.5 kB / 3.377 GB, free: 102.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001585/12.17, allocations: 427.9 kB / 3.378 GB, free: 102.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007107/12.18, allocations: 0.8571 MB / 3.378 GB, free: 102.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008724/12.19, allocations: 4.982 MB / 3.383 GB, free: 99.61 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008494/12.2, allocations: 0.4944 MB / 3.384 GB, free: 99.39 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001281/12.2, allocations: 186.8 kB / 3.384 GB, free: 99.39 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 173 * Number of states: 0 () * Number of discrete variables: 2 (dHTan.local_reset,dHTanEnh.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (455): * Single equations (assignments): 453 * 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: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001539/12.2, allocations: 213.7 kB / 3.384 GB, free: 99.26 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001913/12.2, allocations: 420.7 kB / 3.385 GB, free: 99.05 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01468/12.22, allocations: 4.143 MB / 3.389 GB, free: 98.84 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.052e-05/12.22, allocations: 23.75 kB / 3.389 GB, free: 98.84 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.745e-05/12.22, allocations: 7.688 kB / 3.389 GB, free: 98.84 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01092/12.23, allocations: 3.655 MB / 3.392 GB, free: 98.38 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03395/12.26, allocations: 9.87 MB / 3.402 GB, free: 97.41 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.949e-05/12.26, allocations: 7.5 kB / 3.402 GB, free: 97.41 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0051/12.27, allocations: 0.4971 MB / 3.402 GB, free: 97.41 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001499/12.27, allocations: 374.7 kB / 3.403 GB, free: 97.39 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006881/12.27, allocations: 52.69 kB / 3.403 GB, free: 97.39 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007967/12.28, allocations: 4.914 MB / 3.408 GB, free: 94.77 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.036e-05/12.28, allocations: 6.938 kB / 3.408 GB, free: 94.77 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01708/12.29, allocations: 6.905 MB / 3.414 GB, free: 93.29 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004804/12.3, allocations: 1.105 MB / 3.415 GB, free: 92.94 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001975/12.3, allocations: 24.41 kB / 3.415 GB, free: 92.94 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006778/12.31, allocations: 230.2 kB / 3.416 GB, free: 92.92 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000825/12.31, allocations: 146.2 kB / 3.416 GB, free: 92.91 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005119/12.31, allocations: 129.4 kB / 3.416 GB, free: 92.91 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.008376/12.32, allocations: 3.059 MB / 3.419 GB, free: 92.73 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01109/12.33, allocations: 1.839 MB / 3.421 GB, free: 92.41 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 20 (heaTan.vol[1].dynBal.U,heaTan.vol[2].dynBal.U,heaTan.vol[3].dynBal.U,heaTan.vol[4].dynBal.U,heaTan.vol[5].dynBal.U,heaTan.vol[6].dynBal.U,heaTan.vol[7].dynBal.U,cooTan.vol[1].dynBal.U,cooTan.vol[2].dynBal.U,cooTan.vol[3].dynBal.U,cooTan.vol[4].dynBal.U,cooTan.vol[5].dynBal.U,cooTan.vol[6].dynBal.U,cooTan.vol[7].dynBal.U,HIn_flow.h_out,HOut_flow.h_out,HInEnh_flow.h_out,HOutEnh_flow.h_out,dHTanEnh.y,dHTan.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (250): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002482/12.33, allocations: 0.7003 MB / 3.421 GB, free: 92.25 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01078/12.34, allocations: 4.074 MB / 3.425 GB, free: 91.98 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.37e-05/12.34, allocations: 3.75 kB / 3.425 GB, free: 91.98 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.004939/12.35, allocations: 1.948 MB / 3.427 GB, free: 91.77 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02139/12.37, allocations: 2.236 MB / 3.429 GB, free: 91.72 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04434/12.41, allocations: 10.74 MB / 3.44 GB, free: 89.75 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01799/12.43, allocations: 4.775 MB / 3.445 GB, free: 88.94 MB / 0.8855 GB Notification: Performance of SimCode: time 2.074e-06/12.43, allocations: 0 / 3.445 GB, free: 88.94 MB / 0.8855 GB Notification: Performance of Templates: time 0.2579/12.69, allocations: 85.23 MB / 3.528 GB, free: 68.34 MB / 0.8855 GB