Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex") translateModel(Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.528/1.528, allocations: 289.8 MB / 297.1 MB, free: 6.652 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.001148/0.001148, allocations: 185.2 kB / 366.3 MB, free: 1.961 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.558/1.558, allocations: 205.1 MB / 0.6256 GB, free: 5.824 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.0008856/0.0008858, allocations: 89.67 kB / 0.7395 GB, free: 39.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.975e-06/8.005e-06, allocations: 0 / 0.859 GB, free: 13.35 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7319/0.7319, allocations: 116.3 MB / 0.9726 GB, free: 68.32 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.006/1.738, allocations: 420.8 MB / 1.384 GB, free: 63.71 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002424/1.738, allocations: 94.36 kB / 1.384 GB, free: 63.67 MB / 0.823 GB Notification: Performance of FrontEnd: time 16.96/18.7, allocations: 4.604 GB / 5.987 GB, free: 93.96 MB / 1.073 GB Notification: Performance of Transformations before backend: time 0.002674/18.7, allocations: 401.1 kB / 5.988 GB, free: 93.91 MB / 1.073 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.0535/18.76, allocations: 13.28 MB / 6.001 GB, free: 88.99 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/18.76, allocations: 10.12 kB / 6.001 GB, free: 88.99 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01299/18.77, allocations: 1.882 MB / 6.002 GB, free: 88.09 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04613/18.82, allocations: 17.93 MB / 6.02 GB, free: 86.26 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009025/18.82, allocations: 404 kB / 6.02 GB, free: 86.26 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006451/18.82, allocations: 0.7602 MB / 6.021 GB, free: 86.26 MB / 1.073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03858/18.86, allocations: 14.87 MB / 6.036 GB, free: 86.2 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04918/18.91, allocations: 16.45 MB / 6.052 GB, free: 83.48 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006518/18.91, allocations: 46.5 kB / 6.052 GB, free: 83.46 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00425/18.92, allocations: 26.75 kB / 6.052 GB, free: 83.45 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002912/18.92, allocations: 352 kB / 6.052 GB, free: 83.45 MB / 1.073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1329/19.05, allocations: 78.98 MB / 6.129 GB, free: 27.5 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02079/19.07, allocations: 10.74 MB / 6.14 GB, free: 18.19 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008497/19.08, allocations: 5.988 MB / 6.145 GB, free: 12.84 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05415/19.13, allocations: 26.74 MB / 6.172 GB, free: 2.461 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001321/19.13, allocations: 124.4 kB / 6.172 GB, free: 2.328 MB / 1.089 GB Notification: Performance of pre-optimization done (n=651): time 1.253e-05/19.13, allocations: 0 / 6.172 GB, free: 2.328 MB / 1.089 GB Notification: Performance of matching and sorting (n=651): time 0.5635/19.7, allocations: 10.95 MB / 6.182 GB, free: 199.5 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.669e-05/19.7, allocations: 123.4 kB / 6.182 GB, free: 199.5 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02188/19.72, allocations: 10.94 MB / 6.193 GB, free: 199 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 0.00288/19.72, allocations: 33.33 kB / 6.193 GB, free: 199 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 0.007013/19.73, allocations: 5.196 MB / 6.198 GB, free: 197.4 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 0.006562/19.74, allocations: 2.209 MB / 6.2 GB, free: 196.3 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001438/19.74, allocations: 0 / 6.2 GB, free: 196.3 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 0.0007942/19.74, allocations: 0.7718 MB / 6.201 GB, free: 195.9 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008028/19.75, allocations: 5.603 MB / 6.207 GB, free: 195.9 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009771/19.76, allocations: 9.406 MB / 6.216 GB, free: 191.4 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02241/19.78, allocations: 10.04 MB / 6.226 GB, free: 191.3 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001849/19.78, allocations: 35.94 kB / 6.226 GB, free: 191.3 MB / 1.089 GB Notification: Performance of matching and sorting (n=1467) (initialization): time 0.04724/19.83, allocations: 19.88 MB / 6.245 GB, free: 190.4 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 0.01434/19.84, allocations: 66.65 MB / 6.31 GB, free: 121.2 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005358/19.84, allocations: 120.9 kB / 6.31 GB, free: 121.2 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01451/19.85, allocations: 3.982 MB / 6.314 GB, free: 121 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01206/19.87, allocations: 2.343 MB / 6.316 GB, free: 121 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02317/19.89, allocations: 20.99 MB / 6.337 GB, free: 109.1 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02119/19.91, allocations: 1.502 MB / 6.338 GB, free: 108.4 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004078/19.92, allocations: 0.543 MB / 6.339 GB, free: 108.4 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/19.92, allocations: 3.906 kB / 6.339 GB, free: 108.4 MB / 1.089 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05197/19.97, allocations: 18.67 MB / 6.357 GB, free: 108.1 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000712/19.97, allocations: 123.2 kB / 6.357 GB, free: 108.1 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01391/19.98, allocations: 3.99 MB / 6.361 GB, free: 108 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0116/19.99, allocations: 2.324 MB / 6.364 GB, free: 108 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02088/20.01, allocations: 19.18 MB / 6.382 GB, free: 97.81 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01952/20.03, allocations: 1.191 MB / 6.383 GB, free: 97.35 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00471/20.04, allocations: 0.544 MB / 6.384 GB, free: 97.35 MB / 1.089 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.007398/20.05, allocations: 454.5 kB / 6.384 GB, free: 97.16 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00676/20.05, allocations: 1.086 MB / 6.385 GB, free: 96.59 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03737/20.09, allocations: 12.06 MB / 6.397 GB, free: 96.09 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.751e-05/20.09, allocations: 61.59 kB / 6.397 GB, free: 96.09 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-05/20.09, allocations: 6.281 kB / 6.397 GB, free: 96.09 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02397/20.11, allocations: 10.13 MB / 6.407 GB, free: 95.54 MB / 1.089 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07046/20.19, allocations: 25.1 MB / 6.432 GB, free: 94.15 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.913e-05/20.19, allocations: 20.17 kB / 6.432 GB, free: 94.15 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005863/20.19, allocations: 1.091 MB / 6.433 GB, free: 94.09 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007941/20.2, allocations: 2.448 MB / 6.435 GB, free: 93.96 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001401/20.2, allocations: 95.5 kB / 6.435 GB, free: 93.96 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01479/20.22, allocations: 18.13 MB / 6.453 GB, free: 82.02 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-05/20.22, allocations: 18.45 kB / 6.453 GB, free: 82.02 MB / 1.089 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03449/20.25, allocations: 21.63 MB / 6.474 GB, free: 76.44 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01017/20.26, allocations: 2.831 MB / 6.477 GB, free: 75.66 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00429/20.26, allocations: 55.45 kB / 6.477 GB, free: 75.66 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01051/20.28, allocations: 0.577 MB / 6.477 GB, free: 75.62 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008901/20.28, allocations: 385.1 kB / 6.478 GB, free: 75.6 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009097/20.28, allocations: 293.2 kB / 6.478 GB, free: 75.6 MB / 1.089 GB Notification: Performance of sort global known variables: time 0.01706/20.29, allocations: 8.199 MB / 6.486 GB, free: 75.31 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.04756/20.34, allocations: 7.531 MB / 6.493 GB, free: 74.17 MB / 1.089 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.006575/20.35, allocations: 2.058 MB / 6.495 GB, free: 73.6 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.05024/20.4, allocations: 21.26 MB / 6.516 GB, free: 72.08 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 3.352e-05/20.4, allocations: 6.906 kB / 6.516 GB, free: 72.08 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.008398/20.41, allocations: 5.086 MB / 6.521 GB, free: 71.61 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02787/20.43, allocations: 5.122 MB / 6.526 GB, free: 71.54 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07402/20.51, allocations: 27.75 MB / 6.553 GB, free: 63.18 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02272/20.53, allocations: 11.12 MB / 6.564 GB, free: 59.98 MB / 1.089 GB Notification: Performance of SimCode: time 1.804e-06/20.53, allocations: 4 kB / 6.564 GB, free: 59.98 MB / 1.089 GB Notification: Performance of Templates: time 1.221/21.75, allocations: 303.5 MB / 6.861 GB, free: 174.3 MB / 1.089 GB make -j1 -f Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.makefile (rm -f Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; mkfifo Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe >> ../files/Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.sim & ./Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe 2>&1)