Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Storage_Examples_StratifiedEnhancedInternalHex",fmuType="me",version="2.0",platforms={"dynamic"}) [: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 loadModel(Buildings): time 4.227/4.227, allocations: 404 MB / 410.9 MB, free: 4.918 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2677/4.495, allocations: 95 MB / 0.4941 GB, free: 7.316 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5349/5.03, allocations: 92.67 MB / 0.5846 GB, free: 3.359 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9623/5.992, allocations: 394.1 MB / 0.9694 GB, free: 38 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003317/5.993, allocations: 87.52 kB / 0.9695 GB, free: 37.96 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3254 * Number of variables: 3254 Notification: Performance of Generate backend data structure: time 23.49/29.49, allocations: 4.352 GB / 5.322 GB, free: 73.2 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/29.49, allocations: 7.188 kB / 5.322 GB, free: 73.2 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01582/29.5, allocations: 1.881 MB / 5.323 GB, free: 72.3 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08158/29.58, allocations: 18.94 MB / 5.342 GB, free: 70.17 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00099/29.59, allocations: 408.3 kB / 5.342 GB, free: 70.17 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008226/29.59, allocations: 0.7691 MB / 5.343 GB, free: 70.16 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.07802/29.67, allocations: 14.9 MB / 5.358 GB, free: 70.11 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07657/29.75, allocations: 16.59 MB / 5.374 GB, free: 67.53 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001164/29.75, allocations: 51.88 kB / 5.374 GB, free: 67.5 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005965/29.76, allocations: 29.47 kB / 5.374 GB, free: 67.5 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000519/29.76, allocations: 365.3 kB / 5.374 GB, free: 67.49 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1994/29.96, allocations: 80.09 MB / 5.452 GB, free: 21.29 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0238/29.98, allocations: 6.741 MB / 5.459 GB, free: 18.11 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01849/30, allocations: 6.231 MB / 5.465 GB, free: 12.53 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07772/30.08, allocations: 22.41 MB / 5.487 GB, free: 9.289 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002424/30.08, allocations: 130.8 kB / 5.487 GB, free: 9.156 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=725): time 1.335e-05/30.08, allocations: 0 / 5.487 GB, free: 9.156 MB / 0.9167 GB Notification: Performance of matching and sorting (n=743): time 1.137/31.21, allocations: 32.25 MB / 5.519 GB, free: 165.7 MB / 0.9168 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001248/31.21, allocations: 260.5 kB / 5.519 GB, free: 165.5 MB / 0.9168 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03489/31.25, allocations: 10.46 MB / 5.529 GB, free: 164.9 MB / 0.9168 GB Notification: Performance of collectPreVariables (initialization): time 0.003024/31.25, allocations: 29.23 kB / 5.529 GB, free: 164.8 MB / 0.9168 GB Notification: Performance of collectInitialEqns (initialization): time 0.007978/31.26, allocations: 5.041 MB / 5.534 GB, free: 162.4 MB / 0.9168 GB Notification: Performance of collectInitialBindings (initialization): time 0.008833/31.27, allocations: 2.494 MB / 5.536 GB, free: 160.7 MB / 0.9168 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002941/31.27, allocations: 0 / 5.536 GB, free: 160.7 MB / 0.9168 GB Notification: Performance of setup shared object (initialization): time 0.001373/31.27, allocations: 0.7905 MB / 5.537 GB, free: 160.4 MB / 0.9168 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01949/31.29, allocations: 5.905 MB / 5.543 GB, free: 160.4 MB / 0.9168 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02371/31.32, allocations: 9.522 MB / 5.552 GB, free: 156.1 MB / 0.9168 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04635/31.36, allocations: 10.34 MB / 5.562 GB, free: 156 MB / 0.9168 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002063/31.36, allocations: 33.28 kB / 5.562 GB, free: 156 MB / 0.9168 GB Notification: Performance of matching and sorting (n=1507) (initialization): time 0.09718/31.46, allocations: 20.57 MB / 5.582 GB, free: 155.1 MB / 0.9168 GB Notification: Performance of prepare postOptimizeDAE: time 0.01445/31.47, allocations: 62.09 MB / 5.643 GB, free: 90.56 MB / 0.9168 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006389/31.48, allocations: 109.8 kB / 5.643 GB, free: 90.56 MB / 0.9168 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0302/31.51, allocations: 3.942 MB / 5.647 GB, free: 90.43 MB / 0.9168 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03055/31.54, allocations: 2.602 MB / 5.65 GB, free: 90.43 MB / 0.9168 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04708/31.58, allocations: 21.2 MB / 5.67 GB, free: 78.53 MB / 0.9168 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03543/31.62, allocations: 0.7419 MB / 5.671 GB, free: 78.45 MB / 0.9168 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005281/31.62, allocations: 0.5455 MB / 5.672 GB, free: 78.45 MB / 0.9168 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/31.62, allocations: 4.25 kB / 5.672 GB, free: 78.45 MB / 0.9168 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1182/31.74, allocations: 19.34 MB / 5.69 GB, free: 77.74 MB / 0.9168 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005541/31.74, allocations: 116.7 kB / 5.691 GB, free: 77.74 MB / 0.9168 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02931/31.77, allocations: 3.954 MB / 5.694 GB, free: 77.6 MB / 0.9168 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0235/31.8, allocations: 2.313 MB / 5.697 GB, free: 77.43 MB / 0.9168 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03996/31.84, allocations: 19.14 MB / 5.715 GB, free: 67.19 MB / 0.9168 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02419/31.86, allocations: 0.6963 MB / 5.716 GB, free: 67.12 MB / 0.9168 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00439/31.86, allocations: 0.5395 MB / 5.717 GB, free: 67.12 MB / 0.9168 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 512 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1273): * Single equations (assignments): 1255 * 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.006695/31.87, allocations: 446.2 kB / 5.717 GB, free: 66.77 MB / 0.9168 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006402/31.88, allocations: 1.082 MB / 5.718 GB, free: 66.19 MB / 0.9168 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06694/31.94, allocations: 14.2 MB / 5.732 GB, free: 65.52 MB / 0.9168 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002687/31.94, allocations: 87.42 kB / 5.732 GB, free: 65.52 MB / 0.9168 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.047e-05/31.95, allocations: 3.344 kB / 5.732 GB, free: 65.52 MB / 0.9168 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05116/32, allocations: 11.91 MB / 5.744 GB, free: 64.79 MB / 0.9168 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1139/32.11, allocations: 28.67 MB / 5.772 GB, free: 62.27 MB / 0.9168 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001605/32.11, allocations: 33.22 kB / 5.772 GB, free: 62.27 MB / 0.9168 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02428/32.13, allocations: 1.513 MB / 5.773 GB, free: 62.2 MB / 0.9168 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02018/32.15, allocations: 3.244 MB / 5.776 GB, free: 61.92 MB / 0.9168 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002291/32.16, allocations: 131.7 kB / 5.776 GB, free: 61.92 MB / 0.9168 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0516/32.21, allocations: 31.93 MB / 5.808 GB, free: 38.62 MB / 0.9168 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.753e-05/32.21, allocations: 43 kB / 5.808 GB, free: 38.61 MB / 0.9168 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.07334/32.28, allocations: 29.45 MB / 5.836 GB, free: 24.13 MB / 0.9168 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.09979/32.38, allocations: 36.99 MB / 5.873 GB, free: 0 / 0.9168 GB Notification: Performance of postOpt removeConstants (simulation): time 0.5519/32.93, allocations: 2.689 MB / 5.875 GB, free: 159.5 MB / 0.9168 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00631/32.94, allocations: 80.28 kB / 5.875 GB, free: 159.5 MB / 0.9168 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02029/32.96, allocations: 0.6222 MB / 5.876 GB, free: 159.5 MB / 0.9168 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002786/32.96, allocations: 0.4989 MB / 5.876 GB, free: 159.5 MB / 0.9168 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00155/32.97, allocations: 318.2 kB / 5.877 GB, free: 159.5 MB / 0.9168 GB Notification: Performance of sort global known variables: time 0.02568/32.99, allocations: 7.846 MB / 5.884 GB, free: 159.2 MB / 0.9168 GB Notification: Performance of remove unused functions: time 0.05647/33.05, allocations: 6.672 MB / 5.891 GB, free: 159.2 MB / 0.9168 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 133 * 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 (641): * Single equations (assignments): 602 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 33 * 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: 30 {1 3,2 16,2 16,2 16,2 16,2 16,2 16,1 3,1 3,1 3,1 5,1 5,1 5,1 5,1 5,1 5,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00758/33.06, allocations: 2.075 MB / 5.893 GB, free: 158.8 MB / 0.9168 GB Notification: Performance of simCode: created initialization part: time 0.08154/33.14, allocations: 22.72 MB / 5.915 GB, free: 157.9 MB / 0.9168 GB Notification: Performance of simCode: created event and clocks part: time 5.128e-05/33.14, allocations: 11.03 kB / 5.915 GB, free: 157.9 MB / 0.9168 GB Notification: Performance of simCode: created simulation system equations: time 0.02927/33.17, allocations: 6.247 MB / 5.921 GB, free: 157.6 MB / 0.9168 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05681/33.22, allocations: 5.225 MB / 5.926 GB, free: 157.5 MB / 0.9168 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.121/33.34, allocations: 29.21 MB / 5.955 GB, free: 152.1 MB / 0.9168 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03997/33.38, allocations: 11.33 MB / 5.966 GB, free: 151 MB / 0.9168 GB Notification: Performance of SimCode: time 3.106e-06/33.38, allocations: 3.062 kB / 5.966 GB, free: 151 MB / 0.9168 GB