Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.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.StratifiedEnhancedInternalHex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.33/2.33, allocations: 253.1 MB / 260.4 MB, free: 7.629 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.001577/0.001577, allocations: 185.2 kB / 319.6 MB, free: 3.312 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.92/1.92, allocations: 205.4 MB / 0.5704 GB, free: 15.04 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.001267/0.001267, allocations: 91.39 kB / 0.6746 GB, free: 4.406 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.077e-05/1.092e-05, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2113/0.2114, allocations: 106.3 MB / 0.888 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.487/1.699, allocations: 413.1 MB / 1.291 GB, free: 260.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003128/1.699, allocations: 84.31 kB / 1.292 GB, free: 260.5 MB / 0.8698 GB Notification: Performance of FrontEnd: time 21.65/23.35, allocations: 4.48 GB / 5.771 GB, free: 52.23 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.004253/23.36, allocations: 393.8 kB / 5.772 GB, free: 52.18 MB / 0.9948 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.07064/23.43, allocations: 13.27 MB / 5.785 GB, free: 41.61 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/23.43, allocations: 12.02 kB / 5.785 GB, free: 41.6 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01557/23.44, allocations: 1.874 MB / 5.786 GB, free: 39.71 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07273/23.52, allocations: 17.88 MB / 5.804 GB, free: 21.96 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009353/23.52, allocations: 400 kB / 5.804 GB, free: 21.57 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00701/23.53, allocations: 0.7577 MB / 5.805 GB, free: 20.81 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05591/23.58, allocations: 14.87 MB / 5.819 GB, free: 5.918 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6113/24.19, allocations: 16.36 MB / 5.835 GB, free: 123.4 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001038/24.19, allocations: 45.59 kB / 5.835 GB, free: 123.4 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005747/24.2, allocations: 22.53 kB / 5.836 GB, free: 123.4 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004212/24.2, allocations: 355.4 kB / 5.836 GB, free: 123.4 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1821/24.38, allocations: 78.25 MB / 5.912 GB, free: 90.27 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03095/24.41, allocations: 10.73 MB / 5.923 GB, free: 90.09 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0163/24.43, allocations: 5.984 MB / 5.929 GB, free: 90.01 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0848/24.51, allocations: 26.6 MB / 5.955 GB, free: 83.64 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001354/24.51, allocations: 118.7 kB / 5.955 GB, free: 83.6 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=651): time 1.121e-05/24.51, allocations: 0 / 5.955 GB, free: 83.6 MB / 0.9948 GB Notification: Performance of matching and sorting (n=651): time 0.04482/24.56, allocations: 10.95 MB / 5.965 GB, free: 82.68 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.533e-05/24.56, allocations: 123.3 kB / 5.965 GB, free: 82.61 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03647/24.6, allocations: 10.94 MB / 5.976 GB, free: 82 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.002718/24.6, allocations: 30.83 kB / 5.976 GB, free: 81.97 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.009721/24.61, allocations: 5.199 MB / 5.981 GB, free: 79.41 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.008124/24.62, allocations: 2.204 MB / 5.983 GB, free: 77.98 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002754/24.62, allocations: 0 / 5.983 GB, free: 77.98 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.001417/24.62, allocations: 0.7695 MB / 5.984 GB, free: 77.65 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01678/24.64, allocations: 5.603 MB / 5.99 GB, free: 77.62 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02055/24.66, allocations: 9.406 MB / 5.999 GB, free: 73.07 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03881/24.7, allocations: 10.05 MB / 6.009 GB, free: 72.97 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001994/24.7, allocations: 35.47 kB / 6.009 GB, free: 72.97 MB / 0.9948 GB Notification: Performance of matching and sorting (n=1467) (initialization): time 0.07705/24.77, allocations: 19.88 MB / 6.028 GB, free: 72.06 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.02644/24.8, allocations: 66.65 MB / 6.093 GB, free: 66.84 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006113/24.8, allocations: 125.6 kB / 6.093 GB, free: 66.84 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02374/24.83, allocations: 3.976 MB / 6.097 GB, free: 66.7 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01978/24.85, allocations: 2.341 MB / 6.099 GB, free: 66.7 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03588/24.88, allocations: 20.98 MB / 6.12 GB, free: 70.77 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02344/24.9, allocations: 1.503 MB / 6.121 GB, free: 70.09 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003882/24.91, allocations: 0.5425 MB / 6.122 GB, free: 70.09 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/24.91, allocations: 3.188 kB / 6.122 GB, free: 70.09 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06926/24.98, allocations: 18.68 MB / 6.14 GB, free: 69.77 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005552/24.98, allocations: 118.9 kB / 6.14 GB, free: 69.77 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0234/25, allocations: 3.992 MB / 6.144 GB, free: 69.64 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01893/25.02, allocations: 2.317 MB / 6.146 GB, free: 69.64 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6118/25.63, allocations: 19.19 MB / 6.165 GB, free: 198 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02355/25.66, allocations: 1.192 MB / 6.166 GB, free: 198 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004317/25.66, allocations: 0.5359 MB / 6.167 GB, free: 198 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.006062/25.67, allocations: 459.9 kB / 6.167 GB, free: 197.8 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006108/25.67, allocations: 1.081 MB / 6.168 GB, free: 197.8 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05071/25.72, allocations: 12.06 MB / 6.18 GB, free: 197.4 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002039/25.72, allocations: 73.12 kB / 6.18 GB, free: 197.4 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-05/25.72, allocations: 7.344 kB / 6.18 GB, free: 197.4 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03809/25.76, allocations: 10.12 MB / 6.19 GB, free: 196.9 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09489/25.86, allocations: 24.98 MB / 6.215 GB, free: 195.7 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.427e-05/25.86, allocations: 9.281 kB / 6.215 GB, free: 195.7 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01119/25.87, allocations: 1.1 MB / 6.216 GB, free: 195.7 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01426/25.88, allocations: 2.455 MB / 6.218 GB, free: 195.6 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002062/25.89, allocations: 94.75 kB / 6.218 GB, free: 195.6 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02482/25.91, allocations: 18.12 MB / 6.236 GB, free: 183.9 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.967e-05/25.91, allocations: 23.31 kB / 6.236 GB, free: 183.9 MB / 1.073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.05714/25.97, allocations: 21.63 MB / 6.257 GB, free: 178.6 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01368/25.98, allocations: 2.782 MB / 6.26 GB, free: 177.9 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006735/25.99, allocations: 44.83 kB / 6.26 GB, free: 177.9 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01759/26.01, allocations: 0.5823 MB / 6.26 GB, free: 177.9 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002295/26.01, allocations: 385.5 kB / 6.261 GB, free: 177.9 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001963/26.01, allocations: 282.1 kB / 6.261 GB, free: 177.9 MB / 1.073 GB Notification: Performance of sort global known variables: time 0.02576/26.04, allocations: 8.196 MB / 6.269 GB, free: 177.6 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.0524/26.09, allocations: 7.443 MB / 6.276 GB, free: 177 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.0068/26.09, allocations: 2.038 MB / 6.278 GB, free: 176.6 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.06451/26.16, allocations: 21.25 MB / 6.299 GB, free: 175.7 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 3.009e-05/26.16, allocations: 7.438 kB / 6.299 GB, free: 175.7 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.01522/26.17, allocations: 5.095 MB / 6.304 GB, free: 175.3 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04736/26.22, allocations: 5.098 MB / 6.309 GB, free: 175.3 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1246/26.35, allocations: 27.69 MB / 6.336 GB, free: 170.5 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03412/26.38, allocations: 11.12 MB / 6.347 GB, free: 169.4 MB / 1.073 GB Notification: Performance of SimCode: time 1.773e-06/26.38, allocations: 0.8438 kB / 6.347 GB, free: 169.4 MB / 1.073 GB Notification: Performance of Templates: time 1.374/27.75, allocations: 301.6 MB / 6.641 GB, free: 189.1 MB / 1.073 GB