Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.059/4.059, allocations: 432.7 MB / 444.9 MB, free: 15.68 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.09e-05/4.097e-05, allocations: 4.062 kB / 0.5338 GB, free: 12.2 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2339/0.2339, allocations: 98.73 MB / 0.6302 GB, free: 6.082 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.232/0.466, allocations: 125 MB / 0.7523 GB, free: 8.875 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003362/0.4664, allocations: 91.92 kB / 0.7524 GB, free: 8.785 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004744/0.4712, allocations: 1.087 MB / 0.7535 GB, free: 7.695 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.194e-06/0.4712, allocations: 0 / 0.7535 GB, free: 7.695 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.146e-06/0.4712, allocations: 0 / 0.7535 GB, free: 7.695 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004903/0.4718, allocations: 358.5 kB / 0.7538 GB, free: 7.301 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/0.4718, allocations: 8.031 kB / 0.7538 GB, free: 7.293 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.394e-05/0.4719, allocations: 38.5 kB / 0.7539 GB, free: 7.246 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.643e-05/0.4719, allocations: 7.859 kB / 0.7539 GB, free: 7.238 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/0.4721, allocations: 167 kB / 0.754 GB, free: 7.035 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.4721, allocations: 0 / 0.754 GB, free: 7.035 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.673e-05/0.4721, allocations: 4 kB / 0.754 GB, free: 7.031 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.4723, allocations: 49.69 kB / 0.7541 GB, free: 6.977 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.4723, allocations: 0 / 0.7541 GB, free: 6.977 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.4723, allocations: 0 / 0.7541 GB, free: 6.977 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.238e-06/0.4723, allocations: 7.969 kB / 0.7541 GB, free: 6.969 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.809e-05/0.4724, allocations: 20 kB / 0.7541 GB, free: 6.949 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004662/0.4729, allocations: 272.8 kB / 0.7544 GB, free: 6.633 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.473, allocations: 38.58 kB / 0.7544 GB, free: 6.586 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.041e-05/0.4731, allocations: 12.86 kB / 0.7544 GB, free: 6.57 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/0.4731, allocations: 0 / 0.7544 GB, free: 6.57 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.4732, allocations: 34.56 kB / 0.7545 GB, free: 6.527 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.502e-06/0.4732, allocations: 0 / 0.7545 GB, free: 6.527 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002155/0.4734, allocations: 53.73 kB / 0.7545 GB, free: 6.469 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/0.4735, allocations: 55.34 kB / 0.7546 GB, free: 6.402 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.4736, allocations: 120.9 kB / 0.7547 GB, free: 6.277 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.4736, allocations: 25.7 kB / 0.7547 GB, free: 6.246 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.779e-05/0.4737, allocations: 95.98 kB / 0.7548 GB, free: 6.148 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.445e-05/0.4737, allocations: 15.83 kB / 0.7548 GB, free: 6.133 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.051e-06/0.4737, allocations: 0 / 0.7548 GB, free: 6.133 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.4739, allocations: 314.8 kB / 0.7551 GB, free: 5.816 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.837e-05/0.4739, allocations: 4 kB / 0.7551 GB, free: 5.812 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.597e-05/0.474, allocations: 12 kB / 0.7551 GB, free: 5.801 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.796e-05/0.474, allocations: 11.98 kB / 0.7551 GB, free: 5.789 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.474, allocations: 4 kB / 0.7551 GB, free: 5.785 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001423/0.4742, allocations: 57.59 kB / 0.7552 GB, free: 5.723 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.4742, allocations: 4.938 kB / 0.7552 GB, free: 5.719 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.4742, allocations: 0 / 0.7552 GB, free: 5.719 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.4743, allocations: 0 / 0.7552 GB, free: 5.719 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001737/0.4745, allocations: 15.98 kB / 0.7552 GB, free: 5.703 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.498e-05/0.4745, allocations: 7.891 kB / 0.7552 GB, free: 5.695 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.329e-05/0.4746, allocations: 4 kB / 0.7552 GB, free: 5.691 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.4746, allocations: 0 / 0.7552 GB, free: 5.691 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 7.641e-05/0.4747, allocations: 109 kB / 0.7553 GB, free: 5.578 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.295e-05/0.4747, allocations: 0 / 0.7553 GB, free: 5.578 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.977e-05/0.4748, allocations: 16.02 kB / 0.7553 GB, free: 5.562 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.4748, allocations: 0 / 0.7553 GB, free: 5.562 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.4748, allocations: 0 / 0.7553 GB, free: 5.562 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.4748, allocations: 3.953 kB / 0.7553 GB, free: 5.559 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002216/0.4751, allocations: 169.6 kB / 0.7555 GB, free: 5.344 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.4751, allocations: 0 / 0.7555 GB, free: 5.344 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001567/0.4752, allocations: 15.98 kB / 0.7555 GB, free: 5.328 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.133e-06/0.4753, allocations: 4 kB / 0.7555 GB, free: 5.324 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.4753, allocations: 0 / 0.7555 GB, free: 5.324 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.4753, allocations: 0 / 0.7555 GB, free: 5.324 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.4753, allocations: 4 kB / 0.7555 GB, free: 5.32 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001895/0.4755, allocations: 155.4 kB / 0.7557 GB, free: 5.152 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.892e-05/0.4756, allocations: 81.25 kB / 0.7558 GB, free: 5.055 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.041e-05/0.4756, allocations: 7.938 kB / 0.7558 GB, free: 5.047 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/0.4757, allocations: 8 kB / 0.7558 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.839e-05/0.4758, allocations: 15.91 kB / 0.7558 GB, free: 5.023 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.969e-06/0.4758, allocations: 4 kB / 0.7558 GB, free: 5.02 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.882e-05/0.4759, allocations: 87.28 kB / 0.7559 GB, free: 4.934 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.31e-07/0.4759, allocations: 0 / 0.7559 GB, free: 4.934 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003094/0.4762, allocations: 8 kB / 0.7559 GB, free: 4.926 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0004818/0.4767, allocations: 0.689 MB / 0.7566 GB, free: 4.207 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001301/0.4769, allocations: 20 kB / 0.7566 GB, free: 4.188 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.4769, allocations: 3.938 kB / 0.7566 GB, free: 4.184 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.489e-05/0.4769, allocations: 15.98 kB / 0.7566 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001772/0.4771, allocations: 6.188 kB / 0.7566 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004955/0.4776, allocations: 112.7 kB / 0.7567 GB, free: 4.02 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003449/0.478, allocations: 0.6887 MB / 0.7574 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.705e-05/0.4781, allocations: 4 kB / 0.7574 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.777e-05/0.4781, allocations: 15.44 kB / 0.7574 GB, free: 3.285 MB / 0.6355 GB Notification: Performance of SimCode: time 7.81e-07/0.4782, allocations: 0 / 0.7574 GB, free: 3.285 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02217/0.5003, allocations: 1.213 MB / 0.7586 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002673/0.5007, allocations: 174.4 kB / 0.7587 GB, free: 1.926 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.296/2.797, allocations: 4 kB / 0.7587 GB, free: 1.922 MB / 0.6355 GB