Running command: "" <> buildModelFMU(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T,fileNamePrefix="Buildings_5_0_1_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_Plant_T",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.134/4.134, allocations: 404 MB / 410.9 MB, free: 4.938 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2919/4.426, allocations: 95 MB / 0.4941 GB, free: 7.355 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5403/4.966, allocations: 92.69 MB / 0.5846 GB, free: 3.367 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.005/5.971, allocations: 365.1 MB / 0.9412 GB, free: 66.49 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003644/5.971, allocations: 91.06 kB / 0.9413 GB, free: 66.44 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: 164 * Number of variables: 164 Notification: Performance of Generate backend data structure: time 2.777/8.748, allocations: 0.5334 GB / 1.475 GB, free: 158.7 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/8.748, allocations: 14.05 kB / 1.475 GB, free: 158.7 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006549/8.755, allocations: 0.5482 MB / 1.475 GB, free: 158.6 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02692/8.782, allocations: 6.795 MB / 1.482 GB, free: 158.1 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.001e-05/8.782, allocations: 19.06 kB / 1.482 GB, free: 158.1 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001756/8.782, allocations: 44.84 kB / 1.482 GB, free: 158.1 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001944/8.784, allocations: 0.5106 MB / 1.482 GB, free: 158.1 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001897/8.786, allocations: 0.709 MB / 1.483 GB, free: 157.9 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.45e-05/8.786, allocations: 4.875 kB / 1.483 GB, free: 157.9 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001203/8.786, allocations: 3.875 kB / 1.483 GB, free: 157.9 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.203e-05/8.786, allocations: 21.62 kB / 1.483 GB, free: 157.9 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01096/8.797, allocations: 5.566 MB / 1.489 GB, free: 154.1 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001355/8.799, allocations: 449.9 kB / 1.489 GB, free: 154 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006416/8.799, allocations: 233.9 kB / 1.489 GB, free: 154 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009217/8.8, allocations: 0.6137 MB / 1.49 GB, free: 153.4 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/8.8, allocations: 41.25 kB / 1.49 GB, free: 153.3 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=37): time 4.388e-06/8.8, allocations: 3.797 kB / 1.49 GB, free: 153.3 MB / 0.7605 GB Notification: Performance of matching and sorting (n=37): time 0.00263/8.803, allocations: 0.5179 MB / 1.49 GB, free: 153.2 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/8.803, allocations: 114.5 kB / 1.49 GB, free: 153.1 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001178/8.804, allocations: 0.5583 MB / 1.491 GB, free: 153 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 9.657e-05/8.804, allocations: 27.02 kB / 1.491 GB, free: 152.9 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002388/8.805, allocations: 359.6 kB / 1.491 GB, free: 152.7 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001576/8.805, allocations: 123.5 kB / 1.491 GB, free: 152.6 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.061e-05/8.805, allocations: 7.844 kB / 1.491 GB, free: 152.6 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 8.218e-05/8.805, allocations: 329.6 kB / 1.492 GB, free: 152.3 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006302/8.806, allocations: 194 kB / 1.492 GB, free: 152.3 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008112/8.806, allocations: 452.4 kB / 1.492 GB, free: 152 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00105/8.807, allocations: 254.6 kB / 1.493 GB, free: 152 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/8.807, allocations: 0 / 1.493 GB, free: 152 MB / 0.7605 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002267/8.81, allocations: 0.6572 MB / 1.493 GB, free: 152 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005597/8.81, allocations: 2.61 MB / 1.496 GB, free: 149.2 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.712e-05/8.81, allocations: 11.28 kB / 1.496 GB, free: 149.2 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.711e-05/8.81, allocations: 11.75 kB / 1.496 GB, free: 149.2 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002474/8.813, allocations: 233.1 kB / 1.496 GB, free: 149.2 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.857e-05/8.813, allocations: 14.05 kB / 1.496 GB, free: 149.2 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002602/8.816, allocations: 180.5 kB / 1.496 GB, free: 149.2 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001268/8.816, allocations: 32.2 kB / 1.496 GB, free: 149.2 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/8.816, allocations: 4.719 kB / 1.496 GB, free: 149.2 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002075/8.818, allocations: 0.5311 MB / 1.497 GB, free: 149.2 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/8.818, allocations: 6.625 kB / 1.497 GB, free: 149.2 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.145e-05/8.818, allocations: 13.31 kB / 1.497 GB, free: 149.2 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002294/8.82, allocations: 231.7 kB / 1.497 GB, free: 149.2 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.742e-05/8.82, allocations: 21.72 kB / 1.497 GB, free: 149.2 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002438/8.823, allocations: 161.2 kB / 1.497 GB, free: 149.2 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001198/8.823, allocations: 33.14 kB / 1.497 GB, free: 149.2 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 66 * 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.0002891/8.823, allocations: 130.5 kB / 1.497 GB, free: 149.1 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002765/8.823, allocations: 75.97 kB / 1.497 GB, free: 149 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002798/8.826, allocations: 0.6656 MB / 1.498 GB, free: 149 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.531e-05/8.826, allocations: 7.438 kB / 1.498 GB, free: 149 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/8.826, allocations: 7.875 kB / 1.498 GB, free: 149 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/8.826, allocations: 0 / 1.498 GB, free: 149 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003225/8.83, allocations: 1.109 MB / 1.499 GB, free: 148.6 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/8.83, allocations: 3.938 kB / 1.499 GB, free: 148.6 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002142/8.832, allocations: 180.8 kB / 1.499 GB, free: 148.6 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.105e-05/8.832, allocations: 0 / 1.499 GB, free: 148.6 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.397e-05/8.832, allocations: 8.984 kB / 1.499 GB, free: 148.6 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.995e-06/8.832, allocations: 7.109 kB / 1.499 GB, free: 148.6 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/8.832, allocations: 0 / 1.499 GB, free: 148.6 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002886/8.835, allocations: 1.005 MB / 1.5 GB, free: 148.3 MB / 0.7605 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003899/8.839, allocations: 1.743 MB / 1.502 GB, free: 147.7 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003386/8.839, allocations: 156.2 kB / 1.502 GB, free: 147.6 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002424/8.839, allocations: 3.891 kB / 1.502 GB, free: 147.6 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002195/8.841, allocations: 139.3 kB / 1.502 GB, free: 147.6 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/8.842, allocations: 28.02 kB / 1.502 GB, free: 147.6 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.96e-05/8.842, allocations: 21.69 kB / 1.502 GB, free: 147.6 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.0009557/8.843, allocations: 429.8 kB / 1.503 GB, free: 147.4 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.004827/8.848, allocations: 0.5606 MB / 1.503 GB, free: 147.3 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pla.coo.outCon.T,pla.hea.outCon.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 Backend phase and start with SimCode phase: time 0.001184/8.849, allocations: 495.8 kB / 1.504 GB, free: 147.1 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.002633/8.851, allocations: 0.8263 MB / 1.505 GB, free: 146.8 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/8.851, allocations: 7.219 kB / 1.505 GB, free: 146.8 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0008034/8.852, allocations: 260.7 kB / 1.505 GB, free: 146.7 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003215/8.855, allocations: 314.8 kB / 1.505 GB, free: 146.6 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01347/8.869, allocations: 1.748 MB / 1.507 GB, free: 146.2 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001403/8.87, allocations: 1.103 MB / 1.508 GB, free: 145.4 MB / 0.7605 GB Notification: Performance of SimCode: time 1.222e-06/8.87, allocations: 0 / 1.508 GB, free: 145.4 MB / 0.7605 GB