Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Binomial,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.296/4.296, allocations: 460.4 MB / 472.6 MB, free: 5.379 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.829e-05/3.839e-05, allocations: 4 kB / 0.5682 GB, free: 10.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2514/0.2515, allocations: 106.2 MB / 0.6719 GB, free: 15.67 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8751/1.127, allocations: 132 MB / 0.8009 GB, free: 13.17 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002488/1.127, allocations: 76.67 kB / 0.8009 GB, free: 13.17 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.005838/1.133, allocations: 1.325 MB / 0.8022 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.893e-06/1.133, allocations: 0 / 0.8022 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.187e-06/1.133, allocations: 3.875 kB / 0.8022 GB, free: 12.81 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004342/1.133, allocations: 366.6 kB / 0.8026 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/1.133, allocations: 7.688 kB / 0.8026 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.66e-05/1.133, allocations: 35.38 kB / 0.8026 GB, free: 12.4 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.953e-05/1.133, allocations: 10.45 kB / 0.8026 GB, free: 12.4 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001013/1.134, allocations: 164.4 kB / 0.8028 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.423e-05/1.134, allocations: 3.875 kB / 0.8028 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.548e-05/1.134, allocations: 0 / 0.8028 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001331/1.134, allocations: 49.89 kB / 0.8028 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/1.134, allocations: 0 / 0.8028 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/1.134, allocations: 7.062 kB / 0.8028 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/1.134, allocations: 4 kB / 0.8028 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.955e-05/1.134, allocations: 19.16 kB / 0.8029 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004245/1.134, allocations: 280.9 kB / 0.8031 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003435/1.135, allocations: 44.28 kB / 0.8032 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.611e-05/1.135, allocations: 15.55 kB / 0.8032 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003805/1.135, allocations: 414 kB / 0.8036 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.743e-05/1.135, allocations: 35.73 kB / 0.8036 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.184e-06/1.135, allocations: 0 / 0.8036 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002042/1.135, allocations: 59.17 kB / 0.8037 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.355e-05/1.135, allocations: 51.41 kB / 0.8037 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.244e-05/1.136, allocations: 107 kB / 0.8038 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/1.136, allocations: 25.7 kB / 0.8038 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.714e-05/1.136, allocations: 89.34 kB / 0.8039 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.761e-05/1.136, allocations: 7.812 kB / 0.8039 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.681e-06/1.136, allocations: 0 / 0.8039 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.106e-05/1.136, allocations: 316.1 kB / 0.8042 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.232e-05/1.136, allocations: 3.812 kB / 0.8042 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.011e-05/1.136, allocations: 9.156 kB / 0.8043 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.89e-05/1.136, allocations: 16.02 kB / 0.8043 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/1.136, allocations: 0 / 0.8043 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001379/1.136, allocations: 51.31 kB / 0.8043 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/1.136, allocations: 9.031 kB / 0.8043 GB, free: 10.67 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/1.136, allocations: 0 / 0.8043 GB, free: 10.67 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/1.136, allocations: 0 / 0.8043 GB, free: 10.67 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001485/1.136, allocations: 20.06 kB / 0.8043 GB, free: 10.67 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/1.136, allocations: 0 / 0.8043 GB, free: 10.67 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/1.136, allocations: 14.36 kB / 0.8044 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.507e-06/1.136, allocations: 0 / 0.8044 GB, free: 10.66 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: 2 (bin.y,bin.k) * 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.687e-05/1.136, allocations: 105 kB / 0.8045 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.223e-05/1.137, allocations: 7.797 kB / 0.8045 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001695/1.137, allocations: 60.58 kB / 0.8045 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/1.137, allocations: 3.938 kB / 0.8045 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/1.137, allocations: 8.703 kB / 0.8045 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/1.137, allocations: 0 / 0.8045 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001759/1.137, allocations: 169.2 kB / 0.8047 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/1.137, allocations: 0 / 0.8047 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001348/1.137, allocations: 15.81 kB / 0.8047 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/1.137, allocations: 0 / 0.8047 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/1.137, allocations: 7.781 kB / 0.8047 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/1.137, allocations: 1.5 kB / 0.8047 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/1.137, allocations: 0 / 0.8047 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001379/1.137, allocations: 153.3 kB / 0.8049 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.693e-05/1.137, allocations: 78.84 kB / 0.8049 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.896e-05/1.137, allocations: 3.844 kB / 0.8049 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001378/1.138, allocations: 9.438 kB / 0.805 GB, free: 10.06 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.185e-05/1.138, allocations: 14.8 kB / 0.805 GB, free: 10.06 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.204e-06/1.138, allocations: 0 / 0.805 GB, free: 10.06 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.002e-05/1.138, allocations: 88.41 kB / 0.8051 GB, free: 9.984 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.11e-07/1.138, allocations: 0 / 0.8051 GB, free: 9.984 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003554/1.138, allocations: 24.73 kB / 0.8051 GB, free: 9.977 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: 2 (bin.y,bin.k) * 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.0008963/1.139, allocations: 0.7121 MB / 0.8058 GB, free: 25.31 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001326/1.139, allocations: 22.52 kB / 0.8058 GB, free: 25.3 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/1.139, allocations: 3.812 kB / 0.8058 GB, free: 25.3 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.218e-05/1.139, allocations: 11.92 kB / 0.8058 GB, free: 25.3 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002267/1.139, allocations: 5.469 kB / 0.8058 GB, free: 25.3 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004692/1.14, allocations: 120.2 kB / 0.8059 GB, free: 25.19 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003237/1.14, allocations: 0.6851 MB / 0.8066 GB, free: 24.49 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.224e-05/1.14, allocations: 1.406 kB / 0.8066 GB, free: 24.49 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.19e-05/1.14, allocations: 20.52 kB / 0.8066 GB, free: 24.48 MB / 0.6511 GB Notification: Performance of SimCode: time 8.31e-07/1.14, allocations: 0 / 0.8066 GB, free: 24.48 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0194/1.16, allocations: 1.577 MB / 0.8082 GB, free: 24.24 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000274/1.16, allocations: 140.1 kB / 0.8083 GB, free: 24.02 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.231/3.391, allocations: 0 / 0.8083 GB, free: 24.02 MB / 0.6511 GB