Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.366/4.366, allocations: 460.4 MB / 472.6 MB, free: 5.391 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.466e-05/3.477e-05, allocations: 4 kB / 0.5682 GB, free: 10.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2414/0.2415, allocations: 106.2 MB / 0.6719 GB, free: 15.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.04/1.281, allocations: 132.1 MB / 0.8009 GB, free: 13.1 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003709/1.282, allocations: 86.48 kB / 0.801 GB, free: 13.1 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.005959/1.288, allocations: 1.154 MB / 0.8021 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.024e-06/1.288, allocations: 0 / 0.8021 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.506e-06/1.288, allocations: 0 / 0.8021 GB, free: 12.71 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.0004928/1.288, allocations: 349.3 kB / 0.8024 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.228e-05/1.288, allocations: 7.656 kB / 0.8024 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.191e-05/1.288, allocations: 34.44 kB / 0.8025 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.863e-05/1.288, allocations: 12.98 kB / 0.8025 GB, free: 12.31 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/1.288, allocations: 175.7 kB / 0.8026 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/1.288, allocations: 3.75 kB / 0.8026 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.98e-05/1.289, allocations: 0 / 0.8026 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/1.289, allocations: 47.86 kB / 0.8027 GB, free: 12.08 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/1.289, allocations: 0 / 0.8027 GB, free: 12.08 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/1.289, allocations: 3.875 kB / 0.8027 GB, free: 12.08 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/1.289, allocations: 1.406 kB / 0.8027 GB, free: 12.08 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/1.289, allocations: 16 kB / 0.8027 GB, free: 12.08 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000496/1.289, allocations: 281.7 kB / 0.803 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001105/1.29, allocations: 26.08 kB / 0.803 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.471e-05/1.29, allocations: 17.77 kB / 0.803 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/1.29, allocations: 3.25 kB / 0.803 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.815e-05/1.29, allocations: 34.5 kB / 0.8031 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.214e-06/1.29, allocations: 4 kB / 0.8031 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.000248/1.29, allocations: 56.92 kB / 0.8031 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.661e-05/1.29, allocations: 51.41 kB / 0.8032 GB, free: 11.63 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/1.29, allocations: 110.4 kB / 0.8033 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/1.29, allocations: 29.52 kB / 0.8033 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.603e-05/1.29, allocations: 88.69 kB / 0.8034 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.44e-05/1.29, allocations: 7.812 kB / 0.8034 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.625e-06/1.29, allocations: 0 / 0.8034 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.466e-05/1.29, allocations: 321.6 kB / 0.8037 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.191e-05/1.29, allocations: 11.06 kB / 0.8037 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.686e-05/1.29, allocations: 8.844 kB / 0.8037 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.744e-05/1.291, allocations: 3.875 kB / 0.8037 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/1.291, allocations: 0 / 0.8037 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001798/1.291, allocations: 56.69 kB / 0.8038 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/1.291, allocations: 7.375 kB / 0.8038 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/1.291, allocations: 3.938 kB / 0.8038 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/1.291, allocations: 2.25 kB / 0.8038 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001932/1.291, allocations: 12.81 kB / 0.8038 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/1.291, allocations: 10.27 kB / 0.8038 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001226/1.291, allocations: 13.14 kB / 0.8038 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/1.291, allocations: 0 / 0.8038 GB, free: 11.04 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 6.833e-05/1.291, allocations: 104.1 kB / 0.8039 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.448e-05/1.291, allocations: 9.422 kB / 0.8039 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.46e-05/1.291, allocations: 7.969 kB / 0.8039 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/1.291, allocations: 0 / 0.8039 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/1.291, allocations: 7.844 kB / 0.8039 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/1.292, allocations: 5.359 kB / 0.8039 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002613/1.292, allocations: 174.2 kB / 0.8041 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/1.292, allocations: 0 / 0.8041 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001524/1.292, allocations: 11.53 kB / 0.8041 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/1.292, allocations: 0 / 0.8041 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/1.292, allocations: 3.875 kB / 0.8041 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/1.292, allocations: 3.938 kB / 0.8041 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.292, allocations: 0 / 0.8041 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002033/1.292, allocations: 159.2 kB / 0.8043 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.246e-05/1.292, allocations: 80.92 kB / 0.8044 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.668e-05/1.292, allocations: 0 / 0.8044 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001968/1.293, allocations: 5.188 kB / 0.8044 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.146e-05/1.293, allocations: 2.859 kB / 0.8044 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/1.293, allocations: 3.812 kB / 0.8044 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.428e-05/1.293, allocations: 88.17 kB / 0.8045 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.91e-07/1.293, allocations: 4 kB / 0.8045 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005292/1.293, allocations: 14.94 kB / 0.8045 GB, free: 10.41 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.000449/1.294, allocations: 0.6867 MB / 0.8051 GB, free: 9.746 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001616/1.294, allocations: 20.05 kB / 0.8052 GB, free: 9.746 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/1.294, allocations: 0 / 0.8052 GB, free: 9.746 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.334e-05/1.294, allocations: 17.08 kB / 0.8052 GB, free: 9.742 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002872/1.294, allocations: 8.906 kB / 0.8052 GB, free: 9.742 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005053/1.295, allocations: 109.2 kB / 0.8053 GB, free: 9.633 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006928/1.296, allocations: 0.6838 MB / 0.806 GB, free: 24.94 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.497e-05/1.296, allocations: 5.422 kB / 0.806 GB, free: 24.94 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.924e-05/1.296, allocations: 11.88 kB / 0.806 GB, free: 24.93 MB / 0.6511 GB Notification: Performance of SimCode: time 9.72e-07/1.296, allocations: 3.938 kB / 0.806 GB, free: 24.93 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02285/1.319, allocations: 1.218 MB / 0.8072 GB, free: 24.7 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002376/1.319, allocations: 179.5 kB / 0.8073 GB, free: 24.48 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.235/3.554, allocations: 0 / 0.8073 GB, free: 24.48 MB / 0.6511 GB