Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.Average,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Average",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildSysPro): time 3.25/3.25, allocations: 325.3 MB / 337.4 MB, free: 10.1 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.444e-05/7.397e-05, allocations: 5.094 kB / 414.9 MB, free: 6.043 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1849/0.1851, allocations: 74.42 MB / 489.3 MB, free: 11.48 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6921/0.8772, allocations: 102.2 MB / 0.5776 GB, free: 13.11 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000296/0.8776, allocations: 75.89 kB / 0.5777 GB, free: 13.07 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005169/0.8828, allocations: 1.128 MB / 0.5788 GB, free: 12.04 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.8829, allocations: 4 kB / 0.5788 GB, free: 12.04 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.451e-05/0.8829, allocations: 0 / 0.5788 GB, free: 12.04 MB / 474.7 MB 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.0006983/0.8836, allocations: 379.5 kB / 0.5792 GB, free: 11.62 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/0.8837, allocations: 8.031 kB / 0.5792 GB, free: 11.62 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.923e-05/0.8837, allocations: 41.5 kB / 0.5792 GB, free: 11.57 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.744e-05/0.8838, allocations: 3.906 kB / 0.5792 GB, free: 11.57 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002438/0.884, allocations: 186.8 kB / 0.5794 GB, free: 11.35 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.8841, allocations: 3.938 kB / 0.5794 GB, free: 11.35 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.17e-05/0.8841, allocations: 4 kB / 0.5794 GB, free: 11.34 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001981/0.8843, allocations: 65.36 kB / 0.5795 GB, free: 11.29 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.8843, allocations: 3.984 kB / 0.5795 GB, free: 11.28 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.8844, allocations: 0 / 0.5795 GB, free: 11.28 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.8844, allocations: 4 kB / 0.5795 GB, free: 11.28 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001256/0.8845, allocations: 29.67 kB / 0.5795 GB, free: 11.26 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008169/0.8853, allocations: 344.1 kB / 0.5798 GB, free: 10.89 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001141/0.8855, allocations: 36.89 kB / 0.5799 GB, free: 10.86 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.243e-05/0.8856, allocations: 20.88 kB / 0.5799 GB, free: 10.84 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.434e-05/0.8856, allocations: 4 kB / 0.5799 GB, free: 10.83 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/0.8857, allocations: 30.56 kB / 0.5799 GB, free: 10.79 MB / 474.7 MB Notification: Performance of pre-optimization done (n=3): time 2.374e-06/0.8857, allocations: 0 / 0.5799 GB, free: 10.79 MB / 474.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002388/0.8859, allocations: 58.09 kB / 0.58 GB, free: 10.74 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.087e-05/0.886, allocations: 55.23 kB / 0.58 GB, free: 10.68 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.8861, allocations: 120 kB / 0.5802 GB, free: 10.56 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.8862, allocations: 25.7 kB / 0.5802 GB, free: 10.53 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.152e-05/0.8862, allocations: 91.45 kB / 0.5803 GB, free: 10.44 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.242e-05/0.8863, allocations: 15.75 kB / 0.5803 GB, free: 10.43 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.201e-06/0.8863, allocations: 0 / 0.5803 GB, free: 10.43 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.8864, allocations: 318.7 kB / 0.5806 GB, free: 10.11 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.939e-05/0.8865, allocations: 11.5 kB / 0.5806 GB, free: 10.1 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.259e-05/0.8866, allocations: 7.312 kB / 0.5806 GB, free: 10.1 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.635e-05/0.8866, allocations: 15.23 kB / 0.5806 GB, free: 10.09 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.8866, allocations: 4 kB / 0.5806 GB, free: 10.08 MB / 474.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001576/0.8868, allocations: 52.69 kB / 0.5807 GB, free: 10.03 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/0.8868, allocations: 10.34 kB / 0.5807 GB, free: 10.02 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.8869, allocations: 0 / 0.5807 GB, free: 10.02 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.8869, allocations: 3.938 kB / 0.5807 GB, free: 10.02 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002748/0.8872, allocations: 21.98 kB / 0.5807 GB, free: 10 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.052e-05/0.8872, allocations: 0 / 0.5807 GB, free: 10 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001707/0.8874, allocations: 23.97 kB / 0.5807 GB, free: 9.977 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.991e-05/0.8874, allocations: 7.516 kB / 0.5807 GB, free: 9.973 MB / 474.7 MB 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.817e-05/0.8875, allocations: 104.9 kB / 0.5808 GB, free: 9.863 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.365e-05/0.8876, allocations: 7.906 kB / 0.5808 GB, free: 9.855 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000223/0.8878, allocations: 63.77 kB / 0.5809 GB, free: 9.793 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.784e-06/0.8878, allocations: 4 kB / 0.5809 GB, free: 9.789 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.8879, allocations: 0 / 0.5809 GB, free: 9.789 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.8879, allocations: 4 kB / 0.5809 GB, free: 9.785 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002765/0.8882, allocations: 179.8 kB / 0.5811 GB, free: 9.57 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.8882, allocations: 0 / 0.5811 GB, free: 9.57 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001985/0.8884, allocations: 19.98 kB / 0.5811 GB, free: 9.551 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.8884, allocations: 0 / 0.5811 GB, free: 9.551 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.8884, allocations: 3.984 kB / 0.5811 GB, free: 9.547 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.89e-06/0.8884, allocations: 0 / 0.5811 GB, free: 9.547 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.8885, allocations: 4.812 kB / 0.5811 GB, free: 9.543 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004083/0.8889, allocations: 169.8 kB / 0.5813 GB, free: 9.371 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000108/0.889, allocations: 81.11 kB / 0.5814 GB, free: 9.273 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.995e-05/0.8891, allocations: 0 / 0.5814 GB, free: 9.273 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003706/0.8895, allocations: 19.48 kB / 0.5814 GB, free: 9.258 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.58e-05/0.8895, allocations: 3.984 kB / 0.5814 GB, free: 9.254 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-05/0.8896, allocations: 4 kB / 0.5814 GB, free: 9.25 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001061/0.8897, allocations: 99.08 kB / 0.5815 GB, free: 9.156 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.234e-06/0.8897, allocations: 0 / 0.5815 GB, free: 9.156 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003276/0.8901, allocations: 8 kB / 0.5815 GB, free: 9.148 MB / 474.7 MB 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.0006493/0.8907, allocations: 0.7024 MB / 0.5822 GB, free: 8.434 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001618/0.8909, allocations: 34.73 kB / 0.5822 GB, free: 8.406 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.8909, allocations: 4 kB / 0.5822 GB, free: 8.402 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 6.364e-05/0.891, allocations: 11.75 kB / 0.5822 GB, free: 8.395 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000271/0.8913, allocations: 7.75 kB / 0.5822 GB, free: 8.391 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005446/0.8918, allocations: 127.1 kB / 0.5823 GB, free: 8.234 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003549/0.8922, allocations: 0.6926 MB / 0.583 GB, free: 7.516 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 8.483e-05/0.8923, allocations: 11.98 kB / 0.583 GB, free: 7.504 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.879e-05/0.8924, allocations: 17.94 kB / 0.583 GB, free: 7.492 MB / 474.7 MB Notification: Performance of SimCode: time 1.022e-06/0.8924, allocations: 7.875 kB / 0.5831 GB, free: 7.484 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02042/0.9128, allocations: 1.466 MB / 0.5845 GB, free: 6.086 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000346/0.9132, allocations: 154.5 kB / 0.5846 GB, free: 5.859 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.438/3.351, allocations: 0 / 0.5846 GB, free: 5.859 MB / 474.7 MB