Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger",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.155/4.155, allocations: 404 MB / 410.9 MB, free: 4.938 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2677/4.422, allocations: 95 MB / 0.4941 GB, free: 7.359 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4997/4.922, allocations: 92.69 MB / 0.5846 GB, free: 3.434 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.08/6.002, allocations: 383.7 MB / 0.9593 GB, free: 48.67 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004343/6.003, allocations: 92.52 kB / 0.9594 GB, free: 48.62 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: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 1.833/7.835, allocations: 389.9 MB / 1.34 GB, free: 47.41 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/7.835, allocations: 12 kB / 1.34 GB, free: 47.39 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002072/7.838, allocations: 237.4 kB / 1.34 GB, free: 47.16 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00889/7.847, allocations: 2.239 MB / 1.343 GB, free: 44.86 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.929e-05/7.847, allocations: 44 kB / 1.343 GB, free: 44.82 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006596/7.847, allocations: 92 kB / 1.343 GB, free: 44.73 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005718/7.853, allocations: 1.673 MB / 1.344 GB, free: 43.05 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006063/7.859, allocations: 1.783 MB / 1.346 GB, free: 41.17 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.337e-05/7.859, allocations: 7.938 kB / 1.346 GB, free: 41.16 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002603/7.86, allocations: 7.906 kB / 1.346 GB, free: 41.16 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.893e-05/7.86, allocations: 51.98 kB / 1.346 GB, free: 41.11 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0234/7.883, allocations: 8.224 MB / 1.354 GB, free: 32.55 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003569/7.887, allocations: 0.9729 MB / 1.355 GB, free: 31.55 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002074/7.889, allocations: 0.6538 MB / 1.356 GB, free: 30.89 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008112/7.897, allocations: 3.359 MB / 1.359 GB, free: 27.3 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.738e-05/7.897, allocations: 43.28 kB / 1.359 GB, free: 27.25 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=95): time 4.698e-06/7.897, allocations: 0 / 1.359 GB, free: 27.25 MB / 0.7605 GB Notification: Performance of matching and sorting (n=98): time 0.01505/7.912, allocations: 3.583 MB / 1.363 GB, free: 23.59 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/7.912, allocations: 115.6 kB / 1.363 GB, free: 23.46 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003063/7.915, allocations: 1.245 MB / 1.364 GB, free: 22.2 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0003645/7.916, allocations: 25.7 kB / 1.364 GB, free: 22.17 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005443/7.916, allocations: 0.6192 MB / 1.365 GB, free: 21.54 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005651/7.917, allocations: 335 kB / 1.365 GB, free: 21.21 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001462/7.917, allocations: 0 / 1.365 GB, free: 21.21 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001584/7.917, allocations: 373.9 kB / 1.365 GB, free: 20.84 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002085/7.919, allocations: 0.7066 MB / 1.366 GB, free: 20.13 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002357/7.922, allocations: 1.092 MB / 1.367 GB, free: 18.88 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005948/7.928, allocations: 1.31 MB / 1.368 GB, free: 17.57 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.128e-05/7.928, allocations: 4 kB / 1.368 GB, free: 17.57 MB / 0.7605 GB Notification: Performance of matching and sorting (n=193) (initialization): time 0.01016/7.938, allocations: 2.355 MB / 1.371 GB, free: 15.2 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.001049/7.939, allocations: 4.264 MB / 1.375 GB, free: 10.61 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.832e-05/7.939, allocations: 15.94 kB / 1.375 GB, free: 10.59 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.623e-05/7.939, allocations: 20 kB / 1.375 GB, free: 10.57 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003575/7.943, allocations: 359.5 kB / 1.375 GB, free: 10.22 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.256e-05/7.943, allocations: 31.86 kB / 1.375 GB, free: 10.19 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003113/7.946, allocations: 91.67 kB / 1.375 GB, free: 10.1 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004862/7.947, allocations: 67.98 kB / 1.375 GB, free: 10.03 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/7.947, allocations: 4 kB / 1.375 GB, free: 10.03 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008322/7.955, allocations: 2.171 MB / 1.377 GB, free: 7.855 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.916e-05/7.955, allocations: 13 kB / 1.377 GB, free: 7.844 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.549e-05/7.955, allocations: 20 kB / 1.377 GB, free: 7.824 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003167/7.958, allocations: 359.5 kB / 1.378 GB, free: 7.473 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.755e-05/7.958, allocations: 23.88 kB / 1.378 GB, free: 7.449 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002661/7.961, allocations: 79.67 kB / 1.378 GB, free: 7.371 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003139/7.961, allocations: 71.98 kB / 1.378 GB, free: 7.301 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (193): * Single equations (assignments): 193 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004766/7.962, allocations: 140.5 kB / 1.378 GB, free: 7.156 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005964/7.962, allocations: 134.3 kB / 1.378 GB, free: 7.023 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006071/7.968, allocations: 1.589 MB / 1.38 GB, free: 5.41 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.567e-05/7.969, allocations: 16 kB / 1.38 GB, free: 5.395 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/7.969, allocations: 0 / 1.38 GB, free: 5.395 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004512/7.973, allocations: 1.624 MB / 1.381 GB, free: 3.676 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3155/8.289, allocations: 4.772 MB / 1.386 GB, free: 254.3 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.458e-05/8.289, allocations: 3.906 kB / 1.386 GB, free: 254.3 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002015/8.291, allocations: 188.7 kB / 1.386 GB, free: 254.3 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006451/8.291, allocations: 138.5 kB / 1.386 GB, free: 254.3 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002492/8.292, allocations: 17.41 kB / 1.386 GB, free: 254.3 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001718/8.293, allocations: 1.79 MB / 1.388 GB, free: 252.7 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.251e-05/8.294, allocations: 6.438 kB / 1.388 GB, free: 252.7 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007136/8.301, allocations: 2.59 MB / 1.391 GB, free: 252.1 MB / 0.7605 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.009236/8.31, allocations: 3.764 MB / 1.394 GB, free: 251.1 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001508/8.312, allocations: 378.1 kB / 1.395 GB, free: 251.1 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005367/8.312, allocations: 21.67 kB / 1.395 GB, free: 251.1 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002056/8.314, allocations: 48.95 kB / 1.395 GB, free: 251.1 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000256/8.314, allocations: 64.88 kB / 1.395 GB, free: 251.1 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001516/8.315, allocations: 45.88 kB / 1.395 GB, free: 251.1 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.00241/8.317, allocations: 0.9361 MB / 1.396 GB, free: 250.9 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.007913/8.325, allocations: 0.888 MB / 1.397 GB, free: 250.9 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 6 (indTanHex.vol[1].dynBal.U,indTanHex.vol[2].dynBal.U,indTanHex.vol[3].dynBal.U,indTanHex.cap[1].T,indTanHex.cap[2].T,indTanHex.cap[3].T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 95 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001605/8.327, allocations: 466.3 kB / 1.397 GB, free: 250.9 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.006793/8.333, allocations: 2.508 MB / 1.4 GB, free: 250.8 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.137e-05/8.334, allocations: 0 / 1.4 GB, free: 250.8 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.00179/8.335, allocations: 0.6079 MB / 1.4 GB, free: 250.8 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006289/8.342, allocations: 0.6172 MB / 1.401 GB, free: 250.8 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0106/8.352, allocations: 3.321 MB / 1.404 GB, free: 250.1 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003162/8.356, allocations: 1.899 MB / 1.406 GB, free: 249.4 MB / 0.7605 GB Notification: Performance of SimCode: time 1.773e-06/8.356, allocations: 0 / 1.406 GB, free: 249.4 MB / 0.7605 GB