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.117/4.117, allocations: 403.3 MB / 415.4 MB, free: 12.98 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 5.131e-05/5.145e-05, allocations: 4 kB / 0.4991 GB, free: 13.35 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7346/0.7347, allocations: 92.69 MB / 0.5896 GB, free: 14.38 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2256/0.9604, allocations: 120.3 MB / 0.7071 GB, free: 5.93 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002708/0.9607, allocations: 71.95 kB / 0.7072 GB, free: 5.859 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.004862/0.9656, allocations: 1.108 MB / 0.7083 GB, free: 4.75 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.633e-06/0.9656, allocations: 0 / 0.7083 GB, free: 4.75 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.513e-05/0.9656, allocations: 4 kB / 0.7083 GB, free: 4.746 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.0006208/0.9663, allocations: 370.4 kB / 0.7086 GB, free: 4.34 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/0.9663, allocations: 16.03 kB / 0.7086 GB, free: 4.324 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.974e-05/0.9664, allocations: 38.55 kB / 0.7087 GB, free: 4.277 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.978e-05/0.9664, allocations: 7.953 kB / 0.7087 GB, free: 4.27 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002275/0.9667, allocations: 186.8 kB / 0.7089 GB, free: 4.047 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.9667, allocations: 4 kB / 0.7089 GB, free: 4.043 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.866e-05/0.9667, allocations: 0 / 0.7089 GB, free: 4.043 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001919/0.9669, allocations: 61.67 kB / 0.7089 GB, free: 3.977 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.967, allocations: 4 kB / 0.7089 GB, free: 3.973 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.639e-05/0.967, allocations: 3.984 kB / 0.7089 GB, free: 3.969 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.967, allocations: 0 / 0.7089 GB, free: 3.969 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001298/0.9671, allocations: 47.89 kB / 0.709 GB, free: 3.922 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007767/0.9679, allocations: 332.7 kB / 0.7093 GB, free: 3.547 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001185/0.9681, allocations: 34.58 kB / 0.7093 GB, free: 3.504 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.007e-05/0.9681, allocations: 20.83 kB / 0.7093 GB, free: 3.48 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 4.519e-05/0.9682, allocations: 7.953 kB / 0.7094 GB, free: 3.473 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/0.9682, allocations: 34.64 kB / 0.7094 GB, free: 3.43 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 2.315e-06/0.9683, allocations: 0 / 0.7094 GB, free: 3.43 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0002289/0.9685, allocations: 57.62 kB / 0.7094 GB, free: 3.367 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.25e-05/0.9686, allocations: 59.41 kB / 0.7095 GB, free: 3.297 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.9687, allocations: 108.9 kB / 0.7096 GB, free: 3.184 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.9687, allocations: 25.7 kB / 0.7096 GB, free: 3.152 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.897e-05/0.9688, allocations: 96.03 kB / 0.7097 GB, free: 3.055 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.427e-05/0.9688, allocations: 7.844 kB / 0.7097 GB, free: 3.047 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.292e-06/0.9688, allocations: 0 / 0.7097 GB, free: 3.047 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.969, allocations: 318.8 kB / 0.71 GB, free: 2.727 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.008e-05/0.969, allocations: 12 kB / 0.71 GB, free: 2.715 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.684e-05/0.9691, allocations: 12 kB / 0.7101 GB, free: 2.703 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.752e-05/0.9692, allocations: 15.94 kB / 0.7101 GB, free: 2.688 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.9692, allocations: 0 / 0.7101 GB, free: 2.688 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001617/0.9693, allocations: 61.59 kB / 0.7101 GB, free: 2.621 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.9694, allocations: 11.94 kB / 0.7101 GB, free: 2.609 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.9694, allocations: 0 / 0.7101 GB, free: 2.609 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.9694, allocations: 0 / 0.7101 GB, free: 2.609 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002417/0.9697, allocations: 19.98 kB / 0.7102 GB, free: 2.59 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.9697, allocations: 0 / 0.7102 GB, free: 2.59 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001586/0.9699, allocations: 19.98 kB / 0.7102 GB, free: 2.57 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.402e-05/0.9699, allocations: 0 / 0.7102 GB, free: 2.57 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 7.855e-05/0.97, allocations: 105 kB / 0.7103 GB, free: 2.461 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.754e-05/0.97, allocations: 7.891 kB / 0.7103 GB, free: 2.453 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002257/0.9703, allocations: 77.59 kB / 0.7104 GB, free: 2.363 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.9703, allocations: 0 / 0.7104 GB, free: 2.363 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.9703, allocations: 4 kB / 0.7104 GB, free: 2.359 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.9703, allocations: 0 / 0.7104 GB, free: 2.359 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002602/0.9706, allocations: 181.6 kB / 0.7105 GB, free: 2.133 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.9706, allocations: 0 / 0.7105 GB, free: 2.133 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001864/0.9708, allocations: 23.92 kB / 0.7106 GB, free: 2.109 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.9708, allocations: 0 / 0.7106 GB, free: 2.109 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.9708, allocations: 4 kB / 0.7106 GB, free: 2.105 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.9709, allocations: 3.953 kB / 0.7106 GB, free: 2.102 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.9709, allocations: 4 kB / 0.7106 GB, free: 2.098 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002056/0.9711, allocations: 155.8 kB / 0.7107 GB, free: 1.93 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.612e-05/0.9711, allocations: 81.02 kB / 0.7108 GB, free: 1.832 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.313e-05/0.9712, allocations: 4 kB / 0.7108 GB, free: 1.828 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001994/0.9714, allocations: 15.98 kB / 0.7108 GB, free: 1.812 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.253e-05/0.9715, allocations: 19.88 kB / 0.7108 GB, free: 1.793 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.9715, allocations: 0 / 0.7108 GB, free: 1.793 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 6.648e-05/0.9716, allocations: 87.28 kB / 0.7109 GB, free: 1.707 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.11e-07/0.9716, allocations: 0 / 0.7109 GB, free: 1.707 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003188/0.9719, allocations: 12 kB / 0.7109 GB, free: 1.695 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.0005968/0.9725, allocations: 0.7065 MB / 0.7116 GB, free: 0.9648 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001581/0.9727, allocations: 31.98 kB / 0.7116 GB, free: 0.9336 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.9727, allocations: 0 / 0.7116 GB, free: 0.9336 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.72e-05/0.9728, allocations: 15.94 kB / 0.7117 GB, free: 0.918 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002334/0.973, allocations: 15.89 kB / 0.7117 GB, free: 0.9023 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005526/0.9736, allocations: 130.6 kB / 0.7118 GB, free: 0.7344 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003476/0.974, allocations: 0.6926 MB / 0.7125 GB, free: 16 kB / 0.5886 GB Notification: Performance of simCode: alias equations: time 6.891e-05/0.974, allocations: 8 kB / 0.7125 GB, free: 8 kB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.356e-05/0.9741, allocations: 19.42 kB / 0.7125 GB, free: 15.99 MB / 0.6042 GB Notification: Performance of SimCode: time 1.022e-06/0.9741, allocations: 0 / 0.7125 GB, free: 15.99 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01991/0.9941, allocations: 1.442 MB / 0.7139 GB, free: 14.61 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003164/0.9945, allocations: 147.5 kB / 0.7141 GB, free: 14.39 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.431/3.425, allocations: 0 / 0.7141 GB, free: 14.39 MB / 0.6042 GB