Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex") translateModel(Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex") [: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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.472/1.472, allocations: 285.5 MB / 292.8 MB, free: 10.47 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001057/0.001057, allocations: 179.9 kB / 361.1 MB, free: 7.121 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.403/1.403, allocations: 205.1 MB / 0.6195 GB, free: 10.33 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001172/0.001172, allocations: 95.55 kB / 0.7326 GB, free: 44.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.626e-06/8.627e-06, allocations: 4 kB / 0.8511 GB, free: 3.008 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6637/0.6637, allocations: 115.3 MB / 0.9637 GB, free: 78.25 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9679/1.632, allocations: 419.9 MB / 1.374 GB, free: 147.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002194/1.632, allocations: 89.95 kB / 1.374 GB, free: 147.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 16.18/17.81, allocations: 4.604 GB / 5.977 GB, free: 83.56 MB / 1.057 GB Notification: Performance of Transformations before backend: time 0.002322/17.82, allocations: 397.9 kB / 5.978 GB, free: 83.51 MB / 1.057 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3221 * Number of variables: 3221 Notification: Performance of Generate backend data structure: time 0.04882/17.86, allocations: 13.27 MB / 5.991 GB, free: 78.42 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/17.86, allocations: 11.16 kB / 5.991 GB, free: 78.42 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01299/17.88, allocations: 1.884 MB / 5.993 GB, free: 77.52 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04968/17.93, allocations: 17.93 MB / 6.01 GB, free: 75.47 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001342/17.93, allocations: 406.5 kB / 6.01 GB, free: 75.46 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008538/17.94, allocations: 0.7622 MB / 6.011 GB, free: 75.46 MB / 1.057 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03963/17.98, allocations: 14.87 MB / 6.026 GB, free: 71.75 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05054/18.03, allocations: 16.46 MB / 6.042 GB, free: 60.66 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009615/18.03, allocations: 48.77 kB / 6.042 GB, free: 60.62 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005644/18.03, allocations: 24 kB / 6.042 GB, free: 60.59 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000384/18.03, allocations: 366 kB / 6.042 GB, free: 60.25 MB / 1.057 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1426/18.18, allocations: 78.97 MB / 6.119 GB, free: 424 kB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.6179/18.79, allocations: 10.75 MB / 6.13 GB, free: 196.3 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008543/18.8, allocations: 5.977 MB / 6.136 GB, free: 196.2 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04884/18.85, allocations: 26.75 MB / 6.162 GB, free: 190.1 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.315e-05/18.85, allocations: 120.1 kB / 6.162 GB, free: 190.1 MB / 1.073 GB Notification: Performance of pre-optimization done (n=651): time 8.276e-06/18.85, allocations: 3.938 kB / 6.162 GB, free: 190.1 MB / 1.073 GB Notification: Performance of matching and sorting (n=651): time 0.02471/18.88, allocations: 10.95 MB / 6.173 GB, free: 189.8 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.814e-05/18.88, allocations: 119.3 kB / 6.173 GB, free: 189.7 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02065/18.9, allocations: 10.94 MB / 6.183 GB, free: 189.2 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.00253/18.9, allocations: 34.67 kB / 6.183 GB, free: 189.2 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.006046/18.91, allocations: 5.199 MB / 6.188 GB, free: 187.3 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.007443/18.91, allocations: 2.199 MB / 6.191 GB, free: 186 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003478/18.92, allocations: 3.938 kB / 6.191 GB, free: 186 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.001845/18.92, allocations: 0.7747 MB / 6.191 GB, free: 185.6 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01045/18.93, allocations: 5.6 MB / 6.197 GB, free: 185.6 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01361/18.94, allocations: 9.409 MB / 6.206 GB, free: 181.1 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02338/18.97, allocations: 10.06 MB / 6.216 GB, free: 181 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002257/18.97, allocations: 33.62 kB / 6.216 GB, free: 181 MB / 1.073 GB Notification: Performance of matching and sorting (n=1467) (initialization): time 0.05417/19.02, allocations: 19.87 MB / 6.235 GB, free: 180.1 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.01446/19.04, allocations: 66.66 MB / 6.3 GB, free: 110.9 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000507/19.04, allocations: 120.1 kB / 6.3 GB, free: 110.9 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01387/19.05, allocations: 3.981 MB / 6.304 GB, free: 110.7 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01133/19.06, allocations: 2.341 MB / 6.307 GB, free: 110.7 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02204/19.08, allocations: 20.98 MB / 6.327 GB, free: 98.79 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02056/19.1, allocations: 1.511 MB / 6.329 GB, free: 98.1 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004128/19.11, allocations: 0.5367 MB / 6.329 GB, free: 98.1 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/19.11, allocations: 7.344 kB / 6.329 GB, free: 98.1 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05362/19.16, allocations: 18.68 MB / 6.347 GB, free: 97.79 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007198/19.16, allocations: 120.9 kB / 6.347 GB, free: 97.79 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01406/19.18, allocations: 3.998 MB / 6.351 GB, free: 97.64 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01259/19.19, allocations: 2.31 MB / 6.354 GB, free: 97.64 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0223/19.21, allocations: 19.18 MB / 6.372 GB, free: 87.48 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01767/19.23, allocations: 1.194 MB / 6.374 GB, free: 87.02 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005099/19.23, allocations: 0.5405 MB / 6.374 GB, free: 87.02 MB / 1.073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 549 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1233): * Single equations (assignments): 1215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 8,(1,100.0%) 8,(1,100.0%) 8} * Non-linear torn systems: 12 {2 16,2 16,2 16,2 16,2 16,2 16,2 17,2 17,2 17,2 17,2 17,2 17} Notification: Performance of prepare postOptimizeDAE: time 0.007172/19.24, allocations: 451.6 kB / 6.375 GB, free: 86.83 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006635/19.25, allocations: 1.097 MB / 6.376 GB, free: 86.25 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03741/19.29, allocations: 12.05 MB / 6.387 GB, free: 85.76 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000111/19.29, allocations: 62.97 kB / 6.387 GB, free: 85.76 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.875e-05/19.29, allocations: 6.625 kB / 6.387 GB, free: 85.76 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02909/19.32, allocations: 10.13 MB / 6.397 GB, free: 85.2 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07376/19.39, allocations: 25.1 MB / 6.422 GB, free: 83.83 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-05/19.39, allocations: 14.16 kB / 6.422 GB, free: 83.83 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006156/19.4, allocations: 1.099 MB / 6.423 GB, free: 83.83 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007868/19.4, allocations: 2.455 MB / 6.425 GB, free: 83.7 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001638/19.4, allocations: 98.28 kB / 6.425 GB, free: 83.7 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01644/19.42, allocations: 18.12 MB / 6.443 GB, free: 71.78 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-05/19.42, allocations: 21.03 kB / 6.443 GB, free: 71.77 MB / 1.073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03492/19.46, allocations: 21.64 MB / 6.464 GB, free: 66.12 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01237/19.47, allocations: 2.822 MB / 6.467 GB, free: 64.57 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005636/19.47, allocations: 51.69 kB / 6.467 GB, free: 64.56 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01479/19.49, allocations: 0.5782 MB / 6.468 GB, free: 64.52 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002509/19.49, allocations: 394.1 kB / 6.468 GB, free: 64.45 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001243/19.49, allocations: 290.7 kB / 6.468 GB, free: 64.39 MB / 1.073 GB Notification: Performance of sort global known variables: time 0.01916/19.51, allocations: 8.195 MB / 6.476 GB, free: 61.37 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.0524/19.56, allocations: 7.531 MB / 6.484 GB, free: 60.08 MB / 1.073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 54 * Number of states: 30 (tanSte.vol[1].dynBal.U,tanSte.vol[2].dynBal.U,tanSte.vol[3].dynBal.U,tanSte.vol[4].dynBal.U,tanDyn.vol[1].dynBal.U,tanDyn.vol[2].dynBal.U,tanDyn.vol[3].dynBal.U,tanDyn.vol[4].dynBal.U,tanDyn.indTanHex.vol[1].dynBal.U,tanDyn.indTanHex.vol[2].dynBal.U,tanDyn.indTanHex.vol[3].dynBal.U,tanDyn.indTanHex.vol[4].dynBal.U,tanDyn.indTanHex.vol[5].dynBal.U,tanDyn.indTanHex.vol[6].dynBal.U,tanDyn.indTanHex.cap[1].T,tanDyn.indTanHex.cap[2].T,tanDyn.indTanHex.cap[3].T,tanDyn.indTanHex.cap[4].T,tanDyn.indTanHex.cap[5].T,tanDyn.indTanHex.cap[6].T,tanDynSol.vol[1].dynBal.U,tanDynSol.vol[2].dynBal.U,tanDynSol.vol[3].dynBal.U,tanDynSol.vol[4].dynBal.U,tanDynSol.indTanHex.cap[1].T,tanDynSol.indTanHex.cap[2].T,tanDynSol.indTanHex.cap[3].T,tanDynSol.indTanHex.cap[4].T,tanDynSol.indTanHex.cap[5].T,tanDynSol.indTanHex.cap[6].T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (561): * Single equations (assignments): 537 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 8,(1,100.0%) 8,(1,100.0%) 8} * Non-linear torn systems: 12 {2 16,2 16,2 16,2 16,2 16,2 16,1 5,1 5,1 5,1 5,1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.006315/19.57, allocations: 2.045 MB / 6.486 GB, free: 59.46 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.04829/19.62, allocations: 21.26 MB / 6.506 GB, free: 50.05 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 3.308e-05/19.62, allocations: 8.781 kB / 6.506 GB, free: 50.04 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.01227/19.63, allocations: 5.085 MB / 6.511 GB, free: 45.52 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03314/19.66, allocations: 5.126 MB / 6.516 GB, free: 42 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07024/19.74, allocations: 27.75 MB / 6.543 GB, free: 18.37 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01986/19.76, allocations: 11.14 MB / 6.554 GB, free: 10.03 MB / 1.073 GB Notification: Performance of SimCode: time 1.492e-06/19.76, allocations: 0 / 6.554 GB, free: 10.03 MB / 1.073 GB Notification: Performance of Templates: time 1.204/20.96, allocations: 303.6 MB / 6.851 GB, free: 124.2 MB / 1.073 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe 2>&1)