Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Average,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Examples_Average",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.476/4.476, allocations: 460.4 MB / 472.6 MB, free: 5.398 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.087e-05/4.12e-05, allocations: 4 kB / 0.5682 GB, free: 10.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2373/0.2374, allocations: 106.2 MB / 0.6719 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8252/1.063, allocations: 131.6 MB / 0.8004 GB, free: 12.78 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002552/1.063, allocations: 74.16 kB / 0.8005 GB, free: 12.78 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004651/1.068, allocations: 1.123 MB / 0.8016 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.276e-06/1.068, allocations: 0 / 0.8016 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.119e-05/1.068, allocations: 6.438 kB / 0.8016 GB, free: 12.41 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005206/1.068, allocations: 377.3 kB / 0.8019 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/1.068, allocations: 11.69 kB / 0.802 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.932e-05/1.068, allocations: 39.52 kB / 0.802 GB, free: 12 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.25e-05/1.068, allocations: 7.859 kB / 0.802 GB, free: 12 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001811/1.069, allocations: 203.3 kB / 0.8022 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/1.069, allocations: 4 kB / 0.8022 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.89e-05/1.069, allocations: 3.812 kB / 0.8022 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001634/1.069, allocations: 59.7 kB / 0.8023 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/1.069, allocations: 0 / 0.8023 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/1.069, allocations: 3.875 kB / 0.8023 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/1.069, allocations: 0 / 0.8023 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001103/1.069, allocations: 36.42 kB / 0.8023 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000691/1.07, allocations: 331.9 kB / 0.8026 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001049/1.07, allocations: 33.77 kB / 0.8026 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.304e-05/1.07, allocations: 21.92 kB / 0.8027 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.613e-05/1.07, allocations: 7.906 kB / 0.8027 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.949e-05/1.07, allocations: 38.39 kB / 0.8027 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.874e-06/1.07, allocations: 0 / 0.8027 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002074/1.07, allocations: 56.47 kB / 0.8028 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.678e-05/1.07, allocations: 55.28 kB / 0.8028 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.139e-05/1.07, allocations: 106.5 kB / 0.8029 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.29e-05/1.07, allocations: 25.7 kB / 0.8029 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.356e-05/1.07, allocations: 97.48 kB / 0.803 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.016e-05/1.07, allocations: 11.84 kB / 0.803 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.683e-06/1.071, allocations: 0 / 0.803 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.077e-05/1.071, allocations: 317.2 kB / 0.8033 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.274e-05/1.071, allocations: 11.66 kB / 0.8034 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.985e-05/1.071, allocations: 12.03 kB / 0.8034 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.464e-05/1.071, allocations: 13.67 kB / 0.8034 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/1.071, allocations: 0 / 0.8034 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001311/1.071, allocations: 63.09 kB / 0.8034 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/1.071, allocations: 3.844 kB / 0.8034 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/1.071, allocations: 3.844 kB / 0.8034 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/1.071, allocations: 7.953 kB / 0.8035 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002112/1.071, allocations: 21.64 kB / 0.8035 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.467e-06/1.071, allocations: 0 / 0.8035 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001467/1.071, allocations: 20.05 kB / 0.8035 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.353e-05/1.071, allocations: 3.984 kB / 0.8035 GB, free: 10.7 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 5.612e-05/1.071, allocations: 110.3 kB / 0.8036 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.244e-05/1.072, allocations: 3.938 kB / 0.8036 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001871/1.072, allocations: 75.41 kB / 0.8037 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/1.072, allocations: 3.953 kB / 0.8037 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/1.072, allocations: 1.453 kB / 0.8037 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/1.072, allocations: 0 / 0.8037 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000192/1.072, allocations: 174.8 kB / 0.8039 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/1.072, allocations: 1.266 kB / 0.8039 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001763/1.072, allocations: 24.12 kB / 0.8039 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/1.072, allocations: 3.844 kB / 0.8039 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/1.072, allocations: 1.828 kB / 0.8039 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/1.072, allocations: 4 kB / 0.8039 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/1.072, allocations: 3.953 kB / 0.8039 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001568/1.072, allocations: 153.4 kB / 0.804 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.711e-05/1.072, allocations: 86.56 kB / 0.8041 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.03e-05/1.072, allocations: 3.969 kB / 0.8041 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001871/1.073, allocations: 19.48 kB / 0.8041 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.269e-05/1.073, allocations: 6.141 kB / 0.8041 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/1.073, allocations: 5.5 kB / 0.8042 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.521e-05/1.073, allocations: 92.62 kB / 0.8042 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.11e-07/1.073, allocations: 0 / 0.8042 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003179/1.073, allocations: 7.625 kB / 0.8042 GB, free: 10.02 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.0008412/1.074, allocations: 0.6957 MB / 0.8049 GB, free: 25.36 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001496/1.074, allocations: 33.06 kB / 0.805 GB, free: 25.36 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.676e-06/1.074, allocations: 0 / 0.805 GB, free: 25.36 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.733e-05/1.074, allocations: 20 kB / 0.805 GB, free: 25.36 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002276/1.074, allocations: 7.969 kB / 0.805 GB, free: 25.36 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004843/1.075, allocations: 136.3 kB / 0.8051 GB, free: 25.23 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003082/1.075, allocations: 0.6904 MB / 0.8058 GB, free: 24.54 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.653e-05/1.075, allocations: 10.3 kB / 0.8058 GB, free: 24.54 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.077e-05/1.075, allocations: 21.58 kB / 0.8058 GB, free: 24.53 MB / 0.6511 GB Notification: Performance of SimCode: time 7.71e-07/1.075, allocations: 0 / 0.8058 GB, free: 24.53 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01798/1.093, allocations: 1.448 MB / 0.8072 GB, free: 24.31 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001841/1.094, allocations: 148.5 kB / 0.8074 GB, free: 24.09 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.157/3.25, allocations: 0 / 0.8074 GB, free: 24.09 MB / 0.6511 GB