Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Average,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Examples_Average",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.07/4.07, allocations: 432.7 MB / 444.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.737e-05/3.741e-05, allocations: 5.312 kB / 0.5338 GB, free: 12.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.2366, allocations: 98.73 MB / 0.6302 GB, free: 6.148 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2474/0.484, allocations: 124.6 MB / 0.7519 GB, free: 9.348 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002751/0.4843, allocations: 75.97 kB / 0.752 GB, free: 9.273 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004816/0.4892, allocations: 1.094 MB / 0.7531 GB, free: 8.176 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4892, allocations: 0 / 0.7531 GB, free: 8.176 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.145e-05/0.4893, allocations: 8 kB / 0.7531 GB, free: 8.168 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.0006502/0.4899, allocations: 378.3 kB / 0.7534 GB, free: 7.754 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.49, allocations: 8.031 kB / 0.7534 GB, free: 7.746 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.778e-05/0.49, allocations: 38.56 kB / 0.7535 GB, free: 7.699 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.444e-05/0.4901, allocations: 7.906 kB / 0.7535 GB, free: 7.691 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002309/0.4903, allocations: 190.9 kB / 0.7537 GB, free: 7.465 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.4904, allocations: 0 / 0.7537 GB, free: 7.465 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.746e-05/0.4904, allocations: 4 kB / 0.7537 GB, free: 7.461 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000186/0.4906, allocations: 61.67 kB / 0.7537 GB, free: 7.395 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.4906, allocations: 0 / 0.7537 GB, free: 7.395 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.4906, allocations: 0 / 0.7537 GB, free: 7.395 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.4906, allocations: 4 kB / 0.7537 GB, free: 7.391 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001306/0.4908, allocations: 31.98 kB / 0.7538 GB, free: 7.359 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007743/0.4916, allocations: 340.6 kB / 0.7541 GB, free: 6.977 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001202/0.4917, allocations: 34.58 kB / 0.7541 GB, free: 6.934 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.909e-05/0.4918, allocations: 24.94 kB / 0.7541 GB, free: 6.906 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.656e-05/0.4918, allocations: 8.031 kB / 0.7541 GB, free: 6.898 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.4919, allocations: 30.56 kB / 0.7542 GB, free: 6.859 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.583e-06/0.4919, allocations: 0 / 0.7542 GB, free: 6.859 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002279/0.4921, allocations: 57.64 kB / 0.7542 GB, free: 6.797 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/0.4922, allocations: 51.41 kB / 0.7543 GB, free: 6.734 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.4923, allocations: 109 kB / 0.7544 GB, free: 6.621 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.4923, allocations: 25.7 kB / 0.7544 GB, free: 6.59 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.652e-05/0.4924, allocations: 99.98 kB / 0.7545 GB, free: 6.488 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.558e-05/0.4925, allocations: 7.906 kB / 0.7545 GB, free: 6.48 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.923e-06/0.4925, allocations: 0 / 0.7545 GB, free: 6.48 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.4926, allocations: 318.8 kB / 0.7548 GB, free: 6.16 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.213e-05/0.4927, allocations: 12 kB / 0.7548 GB, free: 6.148 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.21e-05/0.4927, allocations: 8 kB / 0.7548 GB, free: 6.141 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.198e-05/0.4928, allocations: 20.11 kB / 0.7549 GB, free: 6.121 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.4928, allocations: 0 / 0.7549 GB, free: 6.121 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001618/0.493, allocations: 61.53 kB / 0.7549 GB, free: 6.055 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.493, allocations: 12 kB / 0.7549 GB, free: 6.043 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.493, allocations: 3.938 kB / 0.7549 GB, free: 6.039 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.4931, allocations: 3.953 kB / 0.7549 GB, free: 6.035 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002241/0.4933, allocations: 19.98 kB / 0.755 GB, free: 6.016 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.4933, allocations: 0 / 0.755 GB, free: 6.016 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001598/0.4935, allocations: 23.97 kB / 0.755 GB, free: 5.992 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.521e-05/0.4935, allocations: 0 / 0.755 GB, free: 5.992 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 8.268e-05/0.4936, allocations: 101 kB / 0.7551 GB, free: 5.887 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.107e-05/0.4937, allocations: 4 kB / 0.7551 GB, free: 5.883 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002126/0.4939, allocations: 73.64 kB / 0.7551 GB, free: 5.801 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.4939, allocations: 4 kB / 0.7551 GB, free: 5.797 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.4939, allocations: 3.953 kB / 0.7552 GB, free: 5.793 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.4939, allocations: 0 / 0.7552 GB, free: 5.793 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002512/0.4942, allocations: 185.5 kB / 0.7553 GB, free: 5.562 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.4942, allocations: 4 kB / 0.7553 GB, free: 5.559 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001908/0.4944, allocations: 19.98 kB / 0.7554 GB, free: 5.539 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.4944, allocations: 0 / 0.7554 GB, free: 5.539 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.4945, allocations: 3.984 kB / 0.7554 GB, free: 5.535 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.4945, allocations: 0 / 0.7554 GB, free: 5.535 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.4945, allocations: 4 kB / 0.7554 GB, free: 5.531 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002012/0.4947, allocations: 151.5 kB / 0.7555 GB, free: 5.367 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.095e-05/0.4947, allocations: 89.02 kB / 0.7556 GB, free: 5.262 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.93e-05/0.4948, allocations: 0 / 0.7556 GB, free: 5.262 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001935/0.495, allocations: 15.98 kB / 0.7556 GB, free: 5.246 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5e-05/0.495, allocations: 3.984 kB / 0.7556 GB, free: 5.242 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.4951, allocations: 4 kB / 0.7556 GB, free: 5.238 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.73e-05/0.4952, allocations: 103.1 kB / 0.7557 GB, free: 5.137 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.51e-07/0.4952, allocations: 4 kB / 0.7557 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003227/0.4955, allocations: 8 kB / 0.7557 GB, free: 5.125 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.0005661/0.4961, allocations: 0.6929 MB / 0.7564 GB, free: 4.406 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001598/0.4963, allocations: 31.98 kB / 0.7564 GB, free: 4.375 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4963, allocations: 0 / 0.7564 GB, free: 4.375 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.503e-05/0.4963, allocations: 19.94 kB / 0.7564 GB, free: 4.355 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002266/0.4966, allocations: 8.766 kB / 0.7565 GB, free: 4.348 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005241/0.4971, allocations: 130.6 kB / 0.7566 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003091/0.4975, allocations: 0.6965 MB / 0.7573 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001008/0.4976, allocations: 7.984 kB / 0.7573 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.332e-05/0.4976, allocations: 15.38 kB / 0.7573 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of SimCode: time 8.51e-07/0.4976, allocations: 4 kB / 0.7573 GB, free: 3.43 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01882/0.5165, allocations: 1.454 MB / 0.7587 GB, free: 2.047 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002516/0.5168, allocations: 147.2 kB / 0.7588 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.374/2.891, allocations: 4 kB / 0.7589 GB, free: 1.816 MB / 0.6355 GB