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.7/3.7, allocations: 403.3 MB / 415.4 MB, free: 12.98 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.051e-05/4.066e-05, allocations: 7.938 kB / 0.4991 GB, free: 13.35 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6085/0.6086, allocations: 92.67 MB / 0.5896 GB, free: 14.48 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2313/0.8399, allocations: 120.8 MB / 0.7076 GB, free: 5.562 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003194/0.8403, allocations: 91.94 kB / 0.7077 GB, free: 5.473 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.003023/0.8433, allocations: 0.8078 MB / 0.7084 GB, free: 4.664 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.573e-06/0.8434, allocations: 0 / 0.7084 GB, free: 4.664 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 9.988e-06/0.8434, allocations: 0 / 0.7084 GB, free: 4.664 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.0003942/0.8438, allocations: 326.4 kB / 0.7088 GB, free: 4.301 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/0.8439, allocations: 8.031 kB / 0.7088 GB, free: 4.293 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.769e-05/0.8439, allocations: 42.56 kB / 0.7088 GB, free: 4.242 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.716e-05/0.844, allocations: 3.953 kB / 0.7088 GB, free: 4.238 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.8441, allocations: 167 kB / 0.709 GB, free: 4.035 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.8441, allocations: 4 kB / 0.709 GB, free: 4.031 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/0.8442, allocations: 0 / 0.709 GB, free: 4.031 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000114/0.8443, allocations: 33.7 kB / 0.709 GB, free: 3.992 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.8443, allocations: 0 / 0.709 GB, free: 3.992 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.8443, allocations: 0 / 0.709 GB, free: 3.992 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.8443, allocations: 4 kB / 0.709 GB, free: 3.988 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.688e-05/0.8444, allocations: 23.81 kB / 0.709 GB, free: 3.965 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004492/0.8449, allocations: 256.9 kB / 0.7093 GB, free: 3.664 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.979e-05/0.845, allocations: 26.58 kB / 0.7093 GB, free: 3.629 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.174e-05/0.845, allocations: 16.91 kB / 0.7093 GB, free: 3.609 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.716e-05/0.8451, allocations: 0 / 0.7093 GB, free: 3.609 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.8451, allocations: 38.56 kB / 0.7094 GB, free: 3.562 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.593e-06/0.8451, allocations: 0 / 0.7094 GB, free: 3.562 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0001722/0.8453, allocations: 45.59 kB / 0.7094 GB, free: 3.512 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.723e-05/0.8454, allocations: 51.41 kB / 0.7094 GB, free: 3.449 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.849e-05/0.8455, allocations: 96.98 kB / 0.7095 GB, free: 3.348 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.8455, allocations: 29.7 kB / 0.7096 GB, free: 3.312 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.873e-05/0.8456, allocations: 84.14 kB / 0.7096 GB, free: 3.227 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.857e-05/0.8456, allocations: 3.906 kB / 0.7096 GB, free: 3.223 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.308e-06/0.8456, allocations: 4.031 kB / 0.7097 GB, free: 3.219 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.8458, allocations: 314.8 kB / 0.71 GB, free: 2.902 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.593e-05/0.8458, allocations: 4 kB / 0.71 GB, free: 2.898 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.301e-05/0.8458, allocations: 8 kB / 0.71 GB, free: 2.891 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.167e-05/0.8459, allocations: 7.984 kB / 0.71 GB, free: 2.883 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.8459, allocations: 0 / 0.71 GB, free: 2.883 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001044/0.846, allocations: 41.64 kB / 0.71 GB, free: 2.836 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.846, allocations: 8 kB / 0.71 GB, free: 2.828 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.846, allocations: 4.094 kB / 0.71 GB, free: 2.824 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.8461, allocations: 0 / 0.71 GB, free: 2.824 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.8462, allocations: 11.94 kB / 0.71 GB, free: 2.812 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.8462, allocations: 0 / 0.71 GB, free: 2.812 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.541e-05/0.8463, allocations: 7.906 kB / 0.71 GB, free: 2.805 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.8463, allocations: 0 / 0.71 GB, free: 2.805 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 8.107e-05/0.8464, allocations: 104.9 kB / 0.7101 GB, free: 2.695 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.201e-05/0.8464, allocations: 4 kB / 0.7101 GB, free: 2.691 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.726e-05/0.8465, allocations: 15.64 kB / 0.7102 GB, free: 2.676 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.8465, allocations: 0 / 0.7102 GB, free: 2.676 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.8465, allocations: 3.953 kB / 0.7102 GB, free: 2.672 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.8465, allocations: 256 / 0.7102 GB, free: 2.672 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002021/0.8467, allocations: 157.7 kB / 0.7103 GB, free: 2.469 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.8467, allocations: 4 kB / 0.7103 GB, free: 2.465 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.302e-05/0.8468, allocations: 7.984 kB / 0.7103 GB, free: 2.457 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.8468, allocations: 3.938 kB / 0.7103 GB, free: 2.453 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.216e-06/0.8468, allocations: 0 / 0.7103 GB, free: 2.453 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.175e-06/0.8468, allocations: 0 / 0.7103 GB, free: 2.453 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.624e-06/0.8469, allocations: 0 / 0.7103 GB, free: 2.453 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002/0.8471, allocations: 151.4 kB / 0.7105 GB, free: 2.289 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.688e-05/0.8471, allocations: 85.02 kB / 0.7106 GB, free: 2.188 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.738e-05/0.8472, allocations: 4 kB / 0.7106 GB, free: 2.184 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.8e-05/0.8473, allocations: 0 / 0.7106 GB, free: 2.184 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.409e-05/0.8473, allocations: 4 kB / 0.7106 GB, free: 2.18 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.8473, allocations: 0 / 0.7106 GB, free: 2.18 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 6.428e-05/0.8474, allocations: 87.3 kB / 0.7106 GB, free: 2.094 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.81e-07/0.8474, allocations: 0 / 0.7106 GB, free: 2.094 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002669/0.8477, allocations: 11.95 kB / 0.7107 GB, free: 2.082 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.0004934/0.8482, allocations: 0.6732 MB / 0.7113 GB, free: 1.379 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001044/0.8483, allocations: 16.03 kB / 0.7113 GB, free: 1.363 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.8483, allocations: 0 / 0.7113 GB, free: 1.363 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.812e-05/0.8484, allocations: 12 kB / 0.7113 GB, free: 1.352 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001559/0.8485, allocations: 0 / 0.7113 GB, free: 1.352 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004172/0.849, allocations: 86.64 kB / 0.7114 GB, free: 1.23 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003138/0.8493, allocations: 0.677 MB / 0.7121 GB, free: 0.5273 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.935e-05/0.8493, allocations: 7.984 kB / 0.7121 GB, free: 0.5195 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.995e-05/0.8494, allocations: 11.5 kB / 0.7121 GB, free: 0.5078 MB / 0.5886 GB Notification: Performance of SimCode: time 8.01e-07/0.8494, allocations: 4 kB / 0.7121 GB, free: 0.5039 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02035/0.8698, allocations: 0.97 MB / 0.7131 GB, free: 15.61 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002838/0.8701, allocations: 183.2 kB / 0.7132 GB, free: 15.38 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.145/3.015, allocations: 0 / 0.7132 GB, free: 15.38 MB / 0.6042 GB