Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.832/3.832, allocations: 403.3 MB / 415.4 MB, free: 12.97 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 5.257e-05/5.28e-05, allocations: 11.88 kB / 0.4991 GB, free: 13.34 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6473/0.6474, allocations: 92.68 MB / 0.5896 GB, free: 14.38 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2287/0.8761, allocations: 120.7 MB / 0.7075 GB, free: 5.52 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003381/0.8766, allocations: 95.92 kB / 0.7076 GB, free: 5.426 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.004892/0.8815, allocations: 1.082 MB / 0.7087 GB, free: 4.344 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.583e-06/0.8815, allocations: 0 / 0.7087 GB, free: 4.344 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.8815, allocations: 0 / 0.7087 GB, free: 4.344 MB / 0.5886 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.0004919/0.882, allocations: 350.4 kB / 0.709 GB, free: 3.957 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.276e-05/0.8821, allocations: 8.031 kB / 0.709 GB, free: 3.949 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.014e-05/0.8822, allocations: 38.56 kB / 0.709 GB, free: 3.902 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.386e-05/0.8822, allocations: 11.86 kB / 0.709 GB, free: 3.891 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001567/0.8824, allocations: 174.9 kB / 0.7092 GB, free: 3.68 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.368e-06/0.8824, allocations: 0 / 0.7092 GB, free: 3.68 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/0.8824, allocations: 7.938 kB / 0.7092 GB, free: 3.672 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.8826, allocations: 45.69 kB / 0.7093 GB, free: 3.621 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.8826, allocations: 3.938 kB / 0.7093 GB, free: 3.617 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.776e-05/0.8827, allocations: 3.984 kB / 0.7093 GB, free: 3.613 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.8827, allocations: 0 / 0.7093 GB, free: 3.613 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.763e-05/0.8828, allocations: 19.95 kB / 0.7093 GB, free: 3.594 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004815/0.8833, allocations: 272.9 kB / 0.7095 GB, free: 3.277 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001026/0.8834, allocations: 34.58 kB / 0.7096 GB, free: 3.234 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.605e-05/0.8835, allocations: 16.94 kB / 0.7096 GB, free: 3.215 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.918e-05/0.8835, allocations: 3.984 kB / 0.7096 GB, free: 3.211 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.8835, allocations: 38.56 kB / 0.7096 GB, free: 3.164 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 2.244e-06/0.8835, allocations: 0 / 0.7096 GB, free: 3.164 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0002297/0.8838, allocations: 61.48 kB / 0.7097 GB, free: 3.098 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.745e-05/0.8838, allocations: 51.41 kB / 0.7097 GB, free: 3.035 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.884, allocations: 108.9 kB / 0.7098 GB, free: 2.922 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.884, allocations: 25.7 kB / 0.7099 GB, free: 2.891 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.394e-05/0.8841, allocations: 92.12 kB / 0.71 GB, free: 2.797 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.352e-05/0.8841, allocations: 7.906 kB / 0.71 GB, free: 2.789 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.331e-06/0.8841, allocations: 0 / 0.71 GB, free: 2.789 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.8843, allocations: 322.8 kB / 0.7103 GB, free: 2.465 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.832e-05/0.8843, allocations: 4 kB / 0.7103 GB, free: 2.461 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.232e-05/0.8844, allocations: 12 kB / 0.7103 GB, free: 2.449 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.633e-05/0.8844, allocations: 8 kB / 0.7103 GB, free: 2.441 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.8844, allocations: 0 / 0.7103 GB, free: 2.441 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001634/0.8846, allocations: 57.59 kB / 0.7104 GB, free: 2.379 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.8846, allocations: 7.938 kB / 0.7104 GB, free: 2.371 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.8847, allocations: 0 / 0.7104 GB, free: 2.371 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.8847, allocations: 3.953 kB / 0.7104 GB, free: 2.367 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001843/0.8849, allocations: 19.98 kB / 0.7104 GB, free: 2.348 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.8849, allocations: 0 / 0.7104 GB, free: 2.348 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.807e-05/0.885, allocations: 7.984 kB / 0.7104 GB, free: 2.34 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.885, allocations: 0 / 0.7104 GB, free: 2.34 MB / 0.5886 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 9.067e-05/0.8851, allocations: 105 kB / 0.7105 GB, free: 2.23 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.3e-05/0.8852, allocations: 0 / 0.7105 GB, free: 2.23 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.145e-05/0.8852, allocations: 12.03 kB / 0.7105 GB, free: 2.215 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.8852, allocations: 7.938 kB / 0.7105 GB, free: 2.207 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.196e-06/0.8853, allocations: 3.953 kB / 0.7105 GB, free: 2.203 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.8853, allocations: 0 / 0.7105 GB, free: 2.203 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002559/0.8855, allocations: 177.5 kB / 0.7107 GB, free: 1.98 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.8856, allocations: 0 / 0.7107 GB, free: 1.98 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001196/0.8857, allocations: 8 kB / 0.7107 GB, free: 1.973 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.593e-06/0.8857, allocations: 4 kB / 0.7107 GB, free: 1.969 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.8857, allocations: 7.922 kB / 0.7107 GB, free: 1.961 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.8857, allocations: 0 / 0.7107 GB, free: 1.961 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.8857, allocations: 0 / 0.7107 GB, free: 1.961 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002119/0.886, allocations: 155.6 kB / 0.7109 GB, free: 1.793 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.107e-05/0.886, allocations: 85.06 kB / 0.7109 GB, free: 1.691 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.114e-05/0.8861, allocations: 3.984 kB / 0.7109 GB, free: 1.688 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.8862, allocations: 7.984 kB / 0.7109 GB, free: 1.68 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.829e-05/0.8863, allocations: 4 kB / 0.7109 GB, free: 1.676 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.8863, allocations: 4 kB / 0.711 GB, free: 1.672 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 9.385e-05/0.8864, allocations: 99.66 kB / 0.711 GB, free: 1.574 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.7e-07/0.8864, allocations: 0 / 0.711 GB, free: 1.574 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.00031/0.8867, allocations: 8 kB / 0.7111 GB, free: 1.566 MB / 0.5886 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.0005949/0.8873, allocations: 0.6849 MB / 0.7117 GB, free: 0.8516 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001456/0.8875, allocations: 23.98 kB / 0.7117 GB, free: 0.8281 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.8875, allocations: 4 kB / 0.7118 GB, free: 0.8242 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.438e-05/0.8876, allocations: 12 kB / 0.7118 GB, free: 0.8125 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001756/0.8878, allocations: 4.328 kB / 0.7118 GB, free: 0.8086 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005333/0.8883, allocations: 114.4 kB / 0.7119 GB, free: 0.6602 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003753/0.8887, allocations: 0.6887 MB / 0.7125 GB, free: 15.95 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.303e-05/0.8888, allocations: 0 / 0.7125 GB, free: 15.95 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.234e-05/0.8889, allocations: 19.42 kB / 0.7126 GB, free: 15.93 MB / 0.6042 GB Notification: Performance of SimCode: time 1.072e-06/0.8889, allocations: 7.938 kB / 0.7126 GB, free: 15.92 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01948/0.9084, allocations: 1.227 MB / 0.7138 GB, free: 14.77 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003358/0.9088, allocations: 186.8 kB / 0.714 GB, free: 14.54 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.238/3.147, allocations: 0 / 0.714 GB, free: 14.54 MB / 0.6042 GB