Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo,fileNamePrefix="Buildings_5_0_1_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_LinearPiecewiseTwo",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.359/4.359, allocations: 404.1 MB / 411.3 MB, free: 392 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.526e-05/2.524e-05, allocations: 4 kB / 0.4945 GB, free: 1.289 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6895/0.6896, allocations: 92.7 MB / 0.5851 GB, free: 2.277 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2496/0.9392, allocations: 121.9 MB / 0.7041 GB, free: 8.266 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004167/0.9397, allocations: 99.92 kB / 0.7042 GB, free: 8.168 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.02231/0.962, allocations: 4.479 MB / 0.7085 GB, free: 3.68 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.453e-06/0.9621, allocations: 7.875 kB / 0.7085 GB, free: 3.672 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.309e-05/0.9621, allocations: 4 kB / 0.7085 GB, free: 3.668 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008699/0.963, allocations: 0.5442 MB / 0.7091 GB, free: 3.066 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.557e-05/0.9631, allocations: 16.02 kB / 0.7091 GB, free: 3.051 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001173/0.9632, allocations: 35.58 kB / 0.7091 GB, free: 3.016 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001088/0.9643, allocations: 403.8 kB / 0.7095 GB, free: 2.578 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.9644, allocations: 0 / 0.7095 GB, free: 2.578 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.521e-05/0.9644, allocations: 4 kB / 0.7095 GB, free: 2.574 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001703/0.9646, allocations: 39.98 kB / 0.7096 GB, free: 2.535 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002105/0.9648, allocations: 67.67 kB / 0.7096 GB, free: 2.465 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.9648, allocations: 0 / 0.7096 GB, free: 2.465 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.815e-05/0.9649, allocations: 3.953 kB / 0.7096 GB, free: 2.461 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.972e-06/0.9649, allocations: 0 / 0.7096 GB, free: 2.461 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001098/0.966, allocations: 472.9 kB / 0.7101 GB, free: 1.961 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001475/0.9662, allocations: 42.53 kB / 0.7101 GB, free: 1.91 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.738e-05/0.9662, allocations: 21 kB / 0.7101 GB, free: 1.887 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.275e-05/0.9663, allocations: 4.109 kB / 0.7101 GB, free: 1.883 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.518e-05/0.9663, allocations: 46.44 kB / 0.7102 GB, free: 1.828 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 2.414e-06/0.9663, allocations: 4 kB / 0.7102 GB, free: 1.824 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0003101/0.9667, allocations: 73.41 kB / 0.7103 GB, free: 1.746 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.527e-05/0.9667, allocations: 51.41 kB / 0.7103 GB, free: 1.684 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00103/0.9678, allocations: 466.3 kB / 0.7107 GB, free: 1.223 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.635e-05/0.9678, allocations: 25.7 kB / 0.7108 GB, free: 1.191 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002044/0.968, allocations: 175.8 kB / 0.7109 GB, free: 1.016 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.005e-05/0.968, allocations: 7.906 kB / 0.7109 GB, free: 1.008 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.354e-06/0.9681, allocations: 0 / 0.7109 GB, free: 1.008 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001856/0.9683, allocations: 338.8 kB / 0.7113 GB, free: 0.668 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.046e-05/0.9683, allocations: 12 kB / 0.7113 GB, free: 0.6562 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.855e-05/0.9684, allocations: 16 kB / 0.7113 GB, free: 0.6406 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.271e-05/0.9685, allocations: 11.98 kB / 0.7113 GB, free: 0.6289 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.9685, allocations: 0 / 0.7113 GB, free: 0.6289 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000283/0.9688, allocations: 93.2 kB / 0.7114 GB, free: 0.5312 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 6.746e-05/0.9688, allocations: 59.41 kB / 0.7115 GB, free: 472 kB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.9689, allocations: 4 kB / 0.7115 GB, free: 468 kB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.9689, allocations: 0 / 0.7115 GB, free: 468 kB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/0.969, allocations: 11.98 kB / 0.7115 GB, free: 456 kB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.9691, allocations: 0 / 0.7115 GB, free: 456 kB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001385/0.9692, allocations: 4 kB / 0.7115 GB, free: 452 kB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.738e-05/0.9692, allocations: 4 kB / 0.7115 GB, free: 448 kB / 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 (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 2 * 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 9.271e-05/0.9694, allocations: 105 kB / 0.7116 GB, free: 336 kB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002291/0.9696, allocations: 85.27 kB / 0.7117 GB, free: 244 kB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.38e-05/0.9697, allocations: 27.72 kB / 0.7117 GB, free: 216 kB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002852/0.97, allocations: 104.2 kB / 0.7118 GB, free: 96 kB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.97, allocations: 0 / 0.7118 GB, free: 96 kB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.97, allocations: 0 / 0.7118 GB, free: 96 kB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.97, allocations: 0 / 0.7118 GB, free: 96 kB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004754/0.9705, allocations: 274 kB / 0.712 GB, free: 15.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.9706, allocations: 0 / 0.712 GB, free: 15.79 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.881e-05/0.9707, allocations: 11.95 kB / 0.7121 GB, free: 15.78 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.9707, allocations: 0 / 0.7121 GB, free: 15.78 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.9707, allocations: 3.984 kB / 0.7121 GB, free: 15.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.9707, allocations: 4 kB / 0.7121 GB, free: 15.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.025e-06/0.9707, allocations: 0 / 0.7121 GB, free: 15.77 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000269/0.971, allocations: 175.1 kB / 0.7122 GB, free: 15.58 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002073/0.9712, allocations: 132.7 kB / 0.7124 GB, free: 15.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.731e-05/0.9713, allocations: 7.953 kB / 0.7124 GB, free: 15.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001819/0.9715, allocations: 4.172 kB / 0.7124 GB, free: 15.42 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.582e-05/0.9716, allocations: 8 kB / 0.7124 GB, free: 15.41 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.9716, allocations: 4 kB / 0.7124 GB, free: 15.41 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0007365/0.9723, allocations: 372.5 kB / 0.7127 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.11e-07/0.9724, allocations: 0 / 0.7127 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004694/0.9728, allocations: 32 kB / 0.7128 GB, free: 15.02 MB / 0.6042 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 (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.001403/0.9742, allocations: 0.881 MB / 0.7136 GB, free: 14.18 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002407/0.9745, allocations: 142.7 kB / 0.7138 GB, free: 14.02 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.9745, allocations: 0 / 0.7138 GB, free: 14.02 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 5.421e-05/0.9746, allocations: 12 kB / 0.7138 GB, free: 14 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004179/0.975, allocations: 33.16 kB / 0.7138 GB, free: 13.97 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001437/0.9765, allocations: 463.9 kB / 0.7142 GB, free: 13.48 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005694/0.9771, allocations: 0.7906 MB / 0.715 GB, free: 12.66 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000214/0.9773, allocations: 46 kB / 0.7151 GB, free: 12.62 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002462/0.9776, allocations: 83.41 kB / 0.7151 GB, free: 12.54 MB / 0.6042 GB Notification: Performance of SimCode: time 1.022e-06/0.9776, allocations: 3.938 kB / 0.7151 GB, free: 12.53 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04852/1.026, allocations: 4.401 MB / 0.7194 GB, free: 8.16 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003036/1.026, allocations: 212 kB / 0.7196 GB, free: 7.875 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.917/3.944, allocations: 3.938 kB / 0.7197 GB, free: 7.871 MB / 0.6042 GB