Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,fileNamePrefix="Buildings_5_0_1_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.831/3.831, allocations: 403.3 MB / 415.4 MB, free: 13.02 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.772e-05/3.782e-05, allocations: 0 / 0.4991 GB, free: 13.34 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6563/0.6564, allocations: 92.68 MB / 0.5897 GB, free: 14.46 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2188/0.8752, allocations: 120.8 MB / 0.7076 GB, free: 5.531 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003503/0.8756, allocations: 95.88 kB / 0.7077 GB, free: 5.438 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.003076/0.8787, allocations: 0.8 MB / 0.7085 GB, free: 4.637 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.854e-06/0.8788, allocations: 0 / 0.7085 GB, free: 4.637 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 8.606e-06/0.8788, allocations: 0 / 0.7085 GB, free: 4.637 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004157/0.8792, allocations: 322.5 kB / 0.7088 GB, free: 4.277 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/0.8793, allocations: 8.031 kB / 0.7088 GB, free: 4.27 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.392e-05/0.8793, allocations: 34.56 kB / 0.7088 GB, free: 4.227 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.046e-05/0.8794, allocations: 7.953 kB / 0.7088 GB, free: 4.219 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.8795, allocations: 171 kB / 0.709 GB, free: 4.012 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.8796, allocations: 7.984 kB / 0.709 GB, free: 4.004 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.387e-05/0.8796, allocations: 0 / 0.709 GB, free: 4.004 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001224/0.8797, allocations: 37.64 kB / 0.709 GB, free: 3.961 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.8797, allocations: 0 / 0.709 GB, free: 3.961 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.8798, allocations: 3.984 kB / 0.709 GB, free: 3.957 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.8798, allocations: 4 kB / 0.709 GB, free: 3.953 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.711e-05/0.8799, allocations: 11.94 kB / 0.7091 GB, free: 3.941 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004498/0.8803, allocations: 260.9 kB / 0.7093 GB, free: 3.637 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.649e-05/0.8804, allocations: 22.58 kB / 0.7093 GB, free: 3.605 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.611e-05/0.8805, allocations: 16.86 kB / 0.7093 GB, free: 3.586 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.8805, allocations: 7.969 kB / 0.7093 GB, free: 3.578 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.8805, allocations: 34.5 kB / 0.7094 GB, free: 3.535 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.663e-06/0.8806, allocations: 0 / 0.7094 GB, free: 3.535 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0001832/0.8807, allocations: 45.66 kB / 0.7094 GB, free: 3.484 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/0.8808, allocations: 51.41 kB / 0.7095 GB, free: 3.422 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.398e-05/0.8809, allocations: 101 kB / 0.7096 GB, free: 3.316 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.8809, allocations: 25.7 kB / 0.7096 GB, free: 3.285 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.758e-05/0.881, allocations: 88.14 kB / 0.7097 GB, free: 3.195 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.883e-05/0.881, allocations: 3.906 kB / 0.7097 GB, free: 3.191 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.947e-06/0.881, allocations: 0 / 0.7097 GB, free: 3.191 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.8812, allocations: 314.8 kB / 0.71 GB, free: 2.875 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.579e-05/0.8812, allocations: 8.031 kB / 0.71 GB, free: 2.867 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.259e-05/0.8812, allocations: 4 kB / 0.71 GB, free: 2.863 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.405e-05/0.8813, allocations: 7.984 kB / 0.71 GB, free: 2.855 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.8813, allocations: 4 kB / 0.71 GB, free: 2.852 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001031/0.8814, allocations: 41.64 kB / 0.71 GB, free: 2.805 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.8814, allocations: 4 kB / 0.71 GB, free: 2.801 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.8815, allocations: 0 / 0.71 GB, free: 2.801 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.8815, allocations: 7.938 kB / 0.7101 GB, free: 2.793 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.8816, allocations: 12.03 kB / 0.7101 GB, free: 2.781 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.024e-06/0.8816, allocations: 4 kB / 0.7101 GB, free: 2.777 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.636e-05/0.8817, allocations: 7.906 kB / 0.7101 GB, free: 2.77 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.8817, allocations: 0 / 0.7101 GB, free: 2.77 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 (2): * Single equations (assignments): 2 * 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.773e-05/0.8818, allocations: 104.5 kB / 0.7102 GB, free: 2.664 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.13e-05/0.8819, allocations: 4 kB / 0.7102 GB, free: 2.66 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.747e-05/0.8819, allocations: 3.656 kB / 0.7102 GB, free: 2.656 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.8819, allocations: 0 / 0.7102 GB, free: 2.656 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/0.8819, allocations: 7.938 kB / 0.7102 GB, free: 2.648 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.8819, allocations: 4 kB / 0.7102 GB, free: 2.645 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002076/0.8821, allocations: 157.7 kB / 0.7103 GB, free: 2.441 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.8822, allocations: 4 kB / 0.7103 GB, free: 2.438 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.218e-05/0.8822, allocations: 4 kB / 0.7104 GB, free: 2.434 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.8823, allocations: 3.984 kB / 0.7104 GB, free: 2.43 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.8823, allocations: 0 / 0.7104 GB, free: 2.43 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.8823, allocations: 256 / 0.7104 GB, free: 2.43 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.8823, allocations: 7.922 kB / 0.7104 GB, free: 2.422 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001547/0.8825, allocations: 147.5 kB / 0.7105 GB, free: 2.262 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.957e-05/0.8825, allocations: 85 kB / 0.7106 GB, free: 2.16 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.8826, allocations: 4 kB / 0.7106 GB, free: 2.156 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.732e-05/0.8827, allocations: 0 / 0.7106 GB, free: 2.156 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.952e-05/0.8827, allocations: 4 kB / 0.7106 GB, free: 2.152 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.8827, allocations: 0 / 0.7106 GB, free: 2.152 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 6.103e-05/0.8828, allocations: 87.27 kB / 0.7107 GB, free: 2.066 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.41e-07/0.8828, allocations: 0 / 0.7107 GB, free: 2.066 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003036/0.8831, allocations: 7.953 kB / 0.7107 GB, free: 2.059 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 (2): * Single equations (assignments): 2 * 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.0004711/0.8836, allocations: 0.681 MB / 0.7113 GB, free: 1.348 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001046/0.8837, allocations: 12 kB / 0.7114 GB, free: 1.336 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.8837, allocations: 0 / 0.7114 GB, free: 1.336 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.494e-05/0.8838, allocations: 8.094 kB / 0.7114 GB, free: 1.328 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001792/0.884, allocations: 0 / 0.7114 GB, free: 1.328 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004523/0.8844, allocations: 90.64 kB / 0.7115 GB, free: 1.203 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002833/0.8847, allocations: 0.6809 MB / 0.7121 GB, free: 0.4961 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.752e-05/0.8848, allocations: 3.984 kB / 0.7121 GB, free: 0.4922 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.013e-05/0.8848, allocations: 7.438 kB / 0.7121 GB, free: 496 kB / 0.5886 GB Notification: Performance of SimCode: time 1.052e-06/0.8849, allocations: 4 kB / 0.7121 GB, free: 492 kB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01816/0.903, allocations: 0.9614 MB / 0.7131 GB, free: 15.59 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002979/0.9034, allocations: 177.8 kB / 0.7132 GB, free: 15.37 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.16/3.063, allocations: 1.562 kB / 0.7132 GB, free: 15.37 MB / 0.6042 GB