Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,fileNamePrefix="Buildings_6_0_0_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.959/3.959, allocations: 432.7 MB / 444.9 MB, free: 15.68 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.704e-05/3.714e-05, allocations: 3.172 kB / 0.5338 GB, free: 12.21 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2318/0.2319, allocations: 98.73 MB / 0.6302 GB, free: 6.086 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2342/0.4662, allocations: 125.1 MB / 0.7524 GB, free: 8.805 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003686/0.4666, allocations: 87.94 kB / 0.7525 GB, free: 8.719 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003071/0.4697, allocations: 0.7859 MB / 0.7532 GB, free: 7.93 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.763e-06/0.4697, allocations: 4 kB / 0.7533 GB, free: 7.926 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.065e-06/0.4698, allocations: 0 / 0.7533 GB, free: 7.926 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003953/0.4702, allocations: 342.4 kB / 0.7536 GB, free: 7.547 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.4702, allocations: 8.031 kB / 0.7536 GB, free: 7.539 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.514e-05/0.4703, allocations: 30.56 kB / 0.7536 GB, free: 7.5 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.078e-05/0.4703, allocations: 11.95 kB / 0.7536 GB, free: 7.488 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.4705, allocations: 159.1 kB / 0.7538 GB, free: 7.293 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.339e-05/0.4705, allocations: 8 kB / 0.7538 GB, free: 7.285 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.315e-05/0.4705, allocations: 4 kB / 0.7538 GB, free: 7.281 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001086/0.4707, allocations: 33.69 kB / 0.7538 GB, free: 7.242 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.4707, allocations: 0 / 0.7538 GB, free: 7.242 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.4707, allocations: 4 kB / 0.7538 GB, free: 7.238 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.4707, allocations: 0 / 0.7538 GB, free: 7.238 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.06e-05/0.4708, allocations: 11.94 kB / 0.7538 GB, free: 7.227 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004484/0.4712, allocations: 260.8 kB / 0.7541 GB, free: 6.922 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.149e-05/0.4713, allocations: 26.58 kB / 0.7541 GB, free: 6.887 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.714e-05/0.4714, allocations: 12.92 kB / 0.7541 GB, free: 6.871 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.705e-05/0.4714, allocations: 0 / 0.7541 GB, free: 6.871 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/0.4715, allocations: 34.56 kB / 0.7542 GB, free: 6.828 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.483e-06/0.4715, allocations: 0 / 0.7542 GB, free: 6.828 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001973/0.4717, allocations: 45.62 kB / 0.7542 GB, free: 6.777 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/0.4717, allocations: 59.39 kB / 0.7543 GB, free: 6.707 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.968e-05/0.4718, allocations: 97 kB / 0.7543 GB, free: 6.605 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.4719, allocations: 25.7 kB / 0.7544 GB, free: 6.574 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.604e-05/0.4719, allocations: 88.12 kB / 0.7545 GB, free: 6.484 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.062e-05/0.472, allocations: 11.84 kB / 0.7545 GB, free: 6.473 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.518e-06/0.472, allocations: 0 / 0.7545 GB, free: 6.473 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.4721, allocations: 310.8 kB / 0.7548 GB, free: 6.16 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.667e-05/0.4721, allocations: 11.94 kB / 0.7548 GB, free: 6.148 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.867e-05/0.4722, allocations: 4 kB / 0.7548 GB, free: 6.145 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.056e-05/0.4722, allocations: 8 kB / 0.7548 GB, free: 6.137 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.4722, allocations: 0 / 0.7548 GB, free: 6.137 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001015/0.4723, allocations: 41.69 kB / 0.7548 GB, free: 6.09 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.4724, allocations: 4 kB / 0.7548 GB, free: 6.086 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.4724, allocations: 0 / 0.7548 GB, free: 6.086 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.4724, allocations: 0 / 0.7548 GB, free: 6.086 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.4725, allocations: 11.94 kB / 0.7548 GB, free: 6.074 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.4725, allocations: 0 / 0.7548 GB, free: 6.074 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.735e-05/0.4726, allocations: 16.03 kB / 0.7549 GB, free: 6.059 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.4726, allocations: 4 kB / 0.7549 GB, free: 6.055 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 (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.729e-05/0.4727, allocations: 105.8 kB / 0.755 GB, free: 5.945 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.24e-05/0.4728, allocations: 7.891 kB / 0.755 GB, free: 5.938 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.705e-05/0.4728, allocations: 7.656 kB / 0.755 GB, free: 5.934 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.4728, allocations: 0 / 0.755 GB, free: 5.934 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.4728, allocations: 0 / 0.755 GB, free: 5.934 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.4728, allocations: 0 / 0.755 GB, free: 5.934 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002052/0.473, allocations: 161.6 kB / 0.7551 GB, free: 5.727 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.4731, allocations: 4 kB / 0.7551 GB, free: 5.723 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.346e-05/0.4731, allocations: 8 kB / 0.7551 GB, free: 5.715 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.4732, allocations: 0 / 0.7551 GB, free: 5.715 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.4732, allocations: 256 / 0.7551 GB, free: 5.715 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.4732, allocations: 4 kB / 0.7551 GB, free: 5.711 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4732, allocations: 0 / 0.7551 GB, free: 5.711 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001493/0.4733, allocations: 147.4 kB / 0.7553 GB, free: 5.551 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.123e-05/0.4734, allocations: 81.14 kB / 0.7554 GB, free: 5.453 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.667e-05/0.4734, allocations: 0 / 0.7554 GB, free: 5.453 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.503e-05/0.4735, allocations: 7.984 kB / 0.7554 GB, free: 5.445 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.456e-05/0.4736, allocations: 0 / 0.7554 GB, free: 5.445 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.768e-06/0.4736, allocations: 4 kB / 0.7554 GB, free: 5.441 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.212e-05/0.4737, allocations: 83.28 kB / 0.7555 GB, free: 5.359 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.91e-07/0.4737, allocations: 0 / 0.7555 GB, free: 5.359 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002809/0.474, allocations: 4 kB / 0.7555 GB, free: 5.355 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 (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.0004468/0.4744, allocations: 0.6832 MB / 0.7561 GB, free: 4.645 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001067/0.4745, allocations: 15.98 kB / 0.7561 GB, free: 4.629 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4746, allocations: 7.875 kB / 0.7561 GB, free: 4.621 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.217e-05/0.4746, allocations: 4 kB / 0.7562 GB, free: 4.617 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001733/0.4748, allocations: 3.938 kB / 0.7562 GB, free: 4.613 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000413/0.4752, allocations: 90.8 kB / 0.7562 GB, free: 4.488 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002701/0.4755, allocations: 0.6809 MB / 0.7569 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.328e-05/0.4755, allocations: 0 / 0.7569 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.444e-05/0.4756, allocations: 11.44 kB / 0.7569 GB, free: 3.77 MB / 0.6355 GB Notification: Performance of SimCode: time 7.21e-07/0.4756, allocations: 0 / 0.7569 GB, free: 3.77 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02291/0.4985, allocations: 0.9669 MB / 0.7579 GB, free: 2.879 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003213/0.4989, allocations: 177.8 kB / 0.758 GB, free: 2.652 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.109/2.608, allocations: 7.938 kB / 0.758 GB, free: 2.645 MB / 0.6355 GB