Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Average,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_Average",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.335/4.335, allocations: 464.6 MB / 476.8 MB, free: 2.211 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.616e-05/3.616e-05, allocations: 4 kB / 0.5732 GB, free: 5.645 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2234/0.2234, allocations: 107.1 MB / 0.6778 GB, free: 10.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8811/1.105, allocations: 132 MB / 0.8067 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002351/1.105, allocations: 68.42 kB / 0.8068 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004433/1.109, allocations: 1.127 MB / 0.8079 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.114e-06/1.109, allocations: 3 kB / 0.8079 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.217e-05/1.109, allocations: 4 kB / 0.8079 GB, free: 11.7 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.0005187/1.11, allocations: 373.8 kB / 0.8082 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/1.11, allocations: 11.38 kB / 0.8082 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.849e-05/1.11, allocations: 33.88 kB / 0.8083 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.227e-05/1.11, allocations: 7.625 kB / 0.8083 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001838/1.11, allocations: 200.8 kB / 0.8085 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/1.11, allocations: 3.781 kB / 0.8085 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.738e-05/1.11, allocations: 0 / 0.8085 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/1.111, allocations: 65 kB / 0.8085 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/1.111, allocations: 3.984 kB / 0.8085 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/1.111, allocations: 3.438 kB / 0.8086 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/1.111, allocations: 0 / 0.8086 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001095/1.111, allocations: 32.41 kB / 0.8086 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007055/1.111, allocations: 342.1 kB / 0.8089 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/1.112, allocations: 33.02 kB / 0.8089 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.438e-05/1.112, allocations: 19.12 kB / 0.809 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.505e-05/1.112, allocations: 0 / 0.809 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/1.112, allocations: 49.84 kB / 0.809 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.844e-06/1.112, allocations: 0 / 0.809 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002082/1.112, allocations: 51.22 kB / 0.8091 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.674e-05/1.112, allocations: 55.36 kB / 0.8091 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.134e-05/1.112, allocations: 106 kB / 0.8092 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/1.112, allocations: 25.7 kB / 0.8092 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.402e-05/1.112, allocations: 93.08 kB / 0.8093 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/1.112, allocations: 15.06 kB / 0.8093 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.562e-06/1.112, allocations: 4 kB / 0.8093 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.834e-05/1.112, allocations: 317.2 kB / 0.8096 GB, free: 10.06 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.403e-05/1.112, allocations: 11.19 kB / 0.8097 GB, free: 10.06 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.016e-05/1.112, allocations: 9.906 kB / 0.8097 GB, free: 10.06 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.489e-05/1.112, allocations: 11.28 kB / 0.8097 GB, free: 10.06 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/1.112, allocations: 0 / 0.8097 GB, free: 10.06 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001371/1.113, allocations: 64.5 kB / 0.8097 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/1.113, allocations: 6.938 kB / 0.8097 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/1.113, allocations: 0 / 0.8097 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/1.113, allocations: 0 / 0.8097 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002272/1.113, allocations: 24.73 kB / 0.8098 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/1.113, allocations: 7.812 kB / 0.8098 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001519/1.113, allocations: 24.88 kB / 0.8098 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.372e-05/1.113, allocations: 0 / 0.8098 GB, free: 10.01 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.319e-05/1.113, allocations: 105 kB / 0.8099 GB, free: 9.898 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.399e-05/1.113, allocations: 4.688 kB / 0.8099 GB, free: 9.898 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001873/1.113, allocations: 69.88 kB / 0.81 GB, free: 9.855 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/1.113, allocations: 7.844 kB / 0.81 GB, free: 9.852 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/1.113, allocations: 0 / 0.81 GB, free: 9.852 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/1.113, allocations: 0 / 0.81 GB, free: 9.852 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001961/1.114, allocations: 182.5 kB / 0.8101 GB, free: 9.656 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/1.114, allocations: 0 / 0.8101 GB, free: 9.656 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000181/1.114, allocations: 25.08 kB / 0.8102 GB, free: 9.652 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/1.114, allocations: 0 / 0.8102 GB, free: 9.652 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/1.114, allocations: 7.344 kB / 0.8102 GB, free: 9.652 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/1.114, allocations: 0 / 0.8102 GB, free: 9.652 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/1.114, allocations: 0 / 0.8102 GB, free: 9.652 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001632/1.114, allocations: 155.9 kB / 0.8103 GB, free: 9.516 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.833e-05/1.114, allocations: 81.02 kB / 0.8104 GB, free: 9.418 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.021e-05/1.114, allocations: 0 / 0.8104 GB, free: 9.418 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001946/1.114, allocations: 24.55 kB / 0.8104 GB, free: 9.414 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.335e-05/1.114, allocations: 6.562 kB / 0.8104 GB, free: 9.414 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/1.115, allocations: 0 / 0.8104 GB, free: 9.414 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.859e-05/1.115, allocations: 90.06 kB / 0.8105 GB, free: 9.34 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.21e-07/1.115, allocations: 3.938 kB / 0.8105 GB, free: 9.336 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003019/1.115, allocations: 10.58 kB / 0.8105 GB, free: 9.336 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.0007762/1.116, allocations: 0.7088 MB / 0.8112 GB, free: 24.66 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001528/1.116, allocations: 28.8 kB / 0.8113 GB, free: 24.66 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/1.116, allocations: 0 / 0.8113 GB, free: 24.66 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 6.063e-05/1.116, allocations: 22.41 kB / 0.8113 GB, free: 24.66 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002288/1.116, allocations: 6.766 kB / 0.8113 GB, free: 24.66 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004952/1.117, allocations: 139.4 kB / 0.8114 GB, free: 24.53 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000273/1.117, allocations: 0.6947 MB / 0.8121 GB, free: 23.83 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 7.055e-05/1.117, allocations: 3.938 kB / 0.8121 GB, free: 23.83 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.016e-05/1.117, allocations: 21.45 kB / 0.8121 GB, free: 23.82 MB / 0.6511 GB Notification: Performance of SimCode: time 1.052e-06/1.117, allocations: 0 / 0.8121 GB, free: 23.82 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02167/1.139, allocations: 1.445 MB / 0.8135 GB, free: 23.61 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002328/1.139, allocations: 146.3 kB / 0.8137 GB, free: 23.39 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.217/3.356, allocations: 4 kB / 0.8137 GB, free: 23.38 MB / 0.6511 GB