Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Average,fileNamePrefix="Buildings_5_0_1_Buildings_Utilities_Math_Examples_Average",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4/4, allocations: 403.3 MB / 415.4 MB, free: 12.89 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.526e-05/3.552e-05, allocations: 4 kB / 0.4991 GB, free: 13.27 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6307/0.6308, allocations: 92.68 MB / 0.5896 GB, free: 14.45 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2354/0.8663, allocations: 120.3 MB / 0.7071 GB, free: 6.016 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003795/0.8667, allocations: 79.95 kB / 0.7071 GB, free: 5.938 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.006701/0.8735, allocations: 1.104 MB / 0.7082 GB, free: 4.832 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.106e-06/0.8735, allocations: 0 / 0.7082 GB, free: 4.832 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.446e-05/0.8735, allocations: 0 / 0.7082 GB, free: 4.832 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008777/0.8744, allocations: 378.4 kB / 0.7086 GB, free: 4.418 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 6.214e-05/0.8745, allocations: 8.031 kB / 0.7086 GB, free: 4.41 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.138e-05/0.8746, allocations: 38.56 kB / 0.7086 GB, free: 4.363 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.794e-05/0.8747, allocations: 7.938 kB / 0.7086 GB, free: 4.355 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003106/0.875, allocations: 186.9 kB / 0.7088 GB, free: 4.133 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.875, allocations: 4 kB / 0.7088 GB, free: 4.129 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.062e-05/0.8751, allocations: 4 kB / 0.7088 GB, free: 4.125 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002639/0.8754, allocations: 65.61 kB / 0.7089 GB, free: 4.055 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.8754, allocations: 0 / 0.7089 GB, free: 4.055 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.702e-05/0.8754, allocations: 0 / 0.7089 GB, free: 4.055 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.572e-05/0.8755, allocations: 7.984 kB / 0.7089 GB, free: 4.047 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001981/0.8757, allocations: 35.89 kB / 0.7089 GB, free: 4.012 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001122/0.8768, allocations: 340.7 kB / 0.7093 GB, free: 3.629 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001571/0.877, allocations: 34.58 kB / 0.7093 GB, free: 3.586 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.8771, allocations: 20.86 kB / 0.7093 GB, free: 3.562 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 6.027e-05/0.8772, allocations: 7.953 kB / 0.7093 GB, free: 3.555 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.72e-05/0.8773, allocations: 34.69 kB / 0.7093 GB, free: 3.512 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 3.747e-06/0.8773, allocations: 0 / 0.7093 GB, free: 3.512 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0003385/0.8777, allocations: 53.69 kB / 0.7094 GB, free: 3.453 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.364e-05/0.8777, allocations: 55.39 kB / 0.7095 GB, free: 3.387 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001555/0.8779, allocations: 116.9 kB / 0.7096 GB, free: 3.266 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.718e-05/0.878, allocations: 25.7 kB / 0.7096 GB, free: 3.234 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.892e-05/0.8781, allocations: 96.03 kB / 0.7097 GB, free: 3.137 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.997e-05/0.8781, allocations: 15.84 kB / 0.7097 GB, free: 3.121 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.548e-06/0.8782, allocations: 0 / 0.7097 GB, free: 3.121 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.000175/0.8784, allocations: 310.8 kB / 0.71 GB, free: 2.809 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.829e-05/0.8785, allocations: 15.98 kB / 0.71 GB, free: 2.793 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.345e-05/0.8786, allocations: 8 kB / 0.71 GB, free: 2.785 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.721e-05/0.8787, allocations: 12 kB / 0.71 GB, free: 2.773 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.105e-06/0.8787, allocations: 0 / 0.71 GB, free: 2.773 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002756/0.879, allocations: 65.53 kB / 0.7101 GB, free: 2.703 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.092e-05/0.8791, allocations: 11.95 kB / 0.7101 GB, free: 2.691 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.8791, allocations: 3.984 kB / 0.7101 GB, free: 2.688 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.8791, allocations: 0 / 0.7101 GB, free: 2.688 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003618/0.8795, allocations: 23.98 kB / 0.7101 GB, free: 2.664 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.8795, allocations: 0 / 0.7101 GB, free: 2.664 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002441/0.8798, allocations: 15.98 kB / 0.7101 GB, free: 2.648 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.088e-05/0.8799, allocations: 4 kB / 0.7101 GB, free: 2.645 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 0.0001186/0.88, allocations: 109 kB / 0.7102 GB, free: 2.531 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.554e-05/0.8801, allocations: 3.906 kB / 0.7103 GB, free: 2.527 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003185/0.8804, allocations: 77.59 kB / 0.7103 GB, free: 2.438 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.998e-06/0.8805, allocations: 3.984 kB / 0.7103 GB, free: 2.434 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.358e-06/0.8805, allocations: 0 / 0.7103 GB, free: 2.434 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.8805, allocations: 3.938 kB / 0.7103 GB, free: 2.43 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003624/0.8809, allocations: 173.6 kB / 0.7105 GB, free: 2.211 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.8809, allocations: 0 / 0.7105 GB, free: 2.211 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002893/0.8812, allocations: 23.98 kB / 0.7105 GB, free: 2.188 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/0.8812, allocations: 0 / 0.7105 GB, free: 2.188 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.036e-05/0.8813, allocations: 4 kB / 0.7105 GB, free: 2.184 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-05/0.8813, allocations: 3.953 kB / 0.7105 GB, free: 2.18 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.8813, allocations: 0 / 0.7105 GB, free: 2.18 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003191/0.8817, allocations: 159.7 kB / 0.7107 GB, free: 2.008 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.744e-05/0.8818, allocations: 89.05 kB / 0.7108 GB, free: 1.902 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.893e-05/0.8819, allocations: 0 / 0.7108 GB, free: 1.902 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003045/0.8822, allocations: 15.98 kB / 0.7108 GB, free: 1.887 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.648e-05/0.8823, allocations: 11.94 kB / 0.7108 GB, free: 1.875 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.736e-05/0.8823, allocations: 0 / 0.7108 GB, free: 1.875 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001012/0.8824, allocations: 87.28 kB / 0.7109 GB, free: 1.789 MB / 0.5886 GB Notification: Performance of sort global known variables: time 9.82e-07/0.8824, allocations: 0 / 0.7109 GB, free: 1.789 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0005204/0.883, allocations: 20 kB / 0.7109 GB, free: 1.77 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.0007874/0.8838, allocations: 0.6888 MB / 0.7116 GB, free: 1.055 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002263/0.8841, allocations: 31.94 kB / 0.7116 GB, free: 1.023 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.8841, allocations: 3.938 kB / 0.7116 GB, free: 1.02 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001158/0.8842, allocations: 23.98 kB / 0.7116 GB, free: 0.9961 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003321/0.8846, allocations: 11.89 kB / 0.7116 GB, free: 0.9844 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000804/0.8854, allocations: 132.3 kB / 0.7118 GB, free: 0.8164 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004494/0.8859, allocations: 0.6887 MB / 0.7124 GB, free: 104 kB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001107/0.886, allocations: 7.984 kB / 0.7124 GB, free: 96 kB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.448e-05/0.8861, allocations: 23.42 kB / 0.7125 GB, free: 72 kB / 0.5886 GB Notification: Performance of SimCode: time 1.753e-06/0.8861, allocations: 4 kB / 0.7125 GB, free: 68 kB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02189/0.908, allocations: 1.459 MB / 0.7139 GB, free: 14.68 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002993/0.9084, allocations: 151.3 kB / 0.714 GB, free: 14.45 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.369/3.277, allocations: 0 / 0.714 GB, free: 14.45 MB / 0.6042 GB