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.939/3.939, allocations: 403.3 MB / 415.4 MB, free: 12.96 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.988e-05/4.004e-05, allocations: 4 kB / 0.4991 GB, free: 13.33 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7153/0.7154, allocations: 92.68 MB / 0.5897 GB, free: 14.38 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2232/0.9386, allocations: 120.7 MB / 0.7075 GB, free: 5.508 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00034/0.939, allocations: 83.94 kB / 0.7076 GB, free: 5.426 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.004859/0.9439, allocations: 1.089 MB / 0.7087 GB, free: 4.336 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.673e-06/0.944, allocations: 0 / 0.7087 GB, free: 4.336 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.106e-05/0.944, allocations: 0 / 0.7087 GB, free: 4.336 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.0004865/0.9445, allocations: 358.4 kB / 0.709 GB, free: 3.941 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.225e-05/0.9445, allocations: 8.031 kB / 0.709 GB, free: 3.934 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.334e-05/0.9446, allocations: 30.56 kB / 0.7091 GB, free: 3.895 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.588e-05/0.9446, allocations: 11.86 kB / 0.7091 GB, free: 3.883 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001578/0.9448, allocations: 178.9 kB / 0.7092 GB, free: 3.668 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.9448, allocations: 4 kB / 0.7092 GB, free: 3.664 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.037e-05/0.9449, allocations: 4 kB / 0.7092 GB, free: 3.66 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.945, allocations: 45.62 kB / 0.7093 GB, free: 3.609 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.607e-06/0.945, allocations: 4 kB / 0.7093 GB, free: 3.605 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.9451, allocations: 4 kB / 0.7093 GB, free: 3.602 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.9451, allocations: 3.938 kB / 0.7093 GB, free: 3.598 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.857e-05/0.9452, allocations: 23.89 kB / 0.7093 GB, free: 3.574 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005177/0.9457, allocations: 265 kB / 0.7096 GB, free: 3.266 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001108/0.9458, allocations: 34.58 kB / 0.7096 GB, free: 3.223 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.447e-05/0.9459, allocations: 12.95 kB / 0.7096 GB, free: 3.207 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.351e-05/0.9459, allocations: 3.984 kB / 0.7096 GB, free: 3.203 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.946, allocations: 38.56 kB / 0.7097 GB, free: 3.156 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 1.923e-06/0.946, allocations: 0 / 0.7097 GB, free: 3.156 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0002288/0.9462, allocations: 61.47 kB / 0.7097 GB, free: 3.09 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.727e-05/0.9463, allocations: 51.41 kB / 0.7098 GB, free: 3.027 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.9464, allocations: 112.9 kB / 0.7099 GB, free: 2.91 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.26e-05/0.9464, allocations: 29.7 kB / 0.7099 GB, free: 2.875 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.68e-05/0.9465, allocations: 88.12 kB / 0.71 GB, free: 2.785 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.473e-05/0.9465, allocations: 7.906 kB / 0.71 GB, free: 2.777 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.864e-06/0.9466, allocations: 4 kB / 0.71 GB, free: 2.773 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.9467, allocations: 310.8 kB / 0.7103 GB, free: 2.461 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.402e-05/0.9467, allocations: 11.98 kB / 0.7103 GB, free: 2.449 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.029e-05/0.9468, allocations: 12 kB / 0.7103 GB, free: 2.438 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.454e-05/0.9469, allocations: 4 kB / 0.7103 GB, free: 2.434 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.9469, allocations: 0 / 0.7103 GB, free: 2.434 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001506/0.947, allocations: 61.59 kB / 0.7104 GB, free: 2.367 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.9471, allocations: 4 kB / 0.7104 GB, free: 2.363 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.9471, allocations: 3.984 kB / 0.7104 GB, free: 2.359 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.9471, allocations: 7.891 kB / 0.7104 GB, free: 2.352 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000178/0.9473, allocations: 11.98 kB / 0.7104 GB, free: 2.34 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.9473, allocations: 4 kB / 0.7104 GB, free: 2.336 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.147e-05/0.9474, allocations: 4 kB / 0.7104 GB, free: 2.332 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/0.9474, allocations: 3.984 kB / 0.7104 GB, free: 2.328 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 8.287e-05/0.9475, allocations: 112 kB / 0.7105 GB, free: 2.215 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.585e-05/0.9476, allocations: 4 kB / 0.7105 GB, free: 2.211 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.618e-05/0.9476, allocations: 7.969 kB / 0.7105 GB, free: 2.199 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.9476, allocations: 4 kB / 0.7105 GB, free: 2.195 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.9477, allocations: 3.953 kB / 0.7105 GB, free: 2.191 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.9477, allocations: 0 / 0.7105 GB, free: 2.191 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000234/0.9479, allocations: 173.5 kB / 0.7107 GB, free: 1.973 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.9479, allocations: 4 kB / 0.7107 GB, free: 1.969 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001197/0.9481, allocations: 8 kB / 0.7107 GB, free: 1.961 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.9481, allocations: 4 kB / 0.7107 GB, free: 1.957 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.698e-05/0.9481, allocations: 11.98 kB / 0.7107 GB, free: 1.945 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.9481, allocations: 0 / 0.7107 GB, free: 1.945 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.9481, allocations: 0 / 0.7107 GB, free: 1.945 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001967/0.9483, allocations: 151.4 kB / 0.7109 GB, free: 1.781 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.847e-05/0.9484, allocations: 84.95 kB / 0.711 GB, free: 1.68 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.536e-05/0.9484, allocations: 4 kB / 0.711 GB, free: 1.676 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000133/0.9486, allocations: 11.98 kB / 0.711 GB, free: 1.664 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.602e-05/0.9486, allocations: 0 / 0.711 GB, free: 1.664 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.104e-06/0.9486, allocations: 0 / 0.711 GB, free: 1.664 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 7.386e-05/0.9487, allocations: 99.22 kB / 0.7111 GB, free: 1.566 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.91e-07/0.9487, allocations: 0 / 0.7111 GB, free: 1.566 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002938/0.9491, allocations: 8 kB / 0.7111 GB, free: 1.559 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.0005106/0.9496, allocations: 0.685 MB / 0.7118 GB, free: 0.8438 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001437/0.9497, allocations: 27.92 kB / 0.7118 GB, free: 0.8164 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.9498, allocations: 4 kB / 0.7118 GB, free: 0.8125 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.994e-05/0.9498, allocations: 8 kB / 0.7118 GB, free: 0.8047 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001764/0.95, allocations: 4 kB / 0.7118 GB, free: 0.8008 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005249/0.9506, allocations: 118.4 kB / 0.7119 GB, free: 0.6484 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/0.9509, allocations: 0.6892 MB / 0.7126 GB, free: 15.93 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.788e-05/0.9509, allocations: 7.984 kB / 0.7126 GB, free: 15.93 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.033e-05/0.951, allocations: 11.44 kB / 0.7126 GB, free: 15.91 MB / 0.6042 GB Notification: Performance of SimCode: time 1.072e-06/0.951, allocations: 0 / 0.7126 GB, free: 15.91 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02321/0.9742, allocations: 1.216 MB / 0.7138 GB, free: 14.77 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003378/0.9747, allocations: 171.9 kB / 0.714 GB, free: 14.55 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.366/3.34, allocations: 0 / 0.714 GB, free: 14.55 MB / 0.6042 GB