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={"static"}) Notification: Performance of loadModel(Buildings): time 4.31/4.31, allocations: 403.3 MB / 415.4 MB, free: 12.97 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.064e-05/4.071e-05, allocations: 7.938 kB / 0.4991 GB, free: 13.34 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6742/0.6742, allocations: 92.69 MB / 0.5896 GB, free: 14.45 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2552/0.9295, allocations: 122.5 MB / 0.7093 GB, free: 3.766 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000349/0.9299, allocations: 95.94 kB / 0.7094 GB, free: 3.672 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.01987/0.9498, allocations: 4.532 MB / 0.7138 GB, free: 15.13 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.793e-06/0.9498, allocations: 224 / 0.7138 GB, free: 15.13 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.076e-05/0.9499, allocations: 7.938 kB / 0.7138 GB, free: 15.12 MB / 0.6042 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.0008079/0.9507, allocations: 0.5518 MB / 0.7144 GB, free: 14.52 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.491e-05/0.9508, allocations: 12.03 kB / 0.7144 GB, free: 14.5 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.009e-05/0.9508, allocations: 38.56 kB / 0.7144 GB, free: 14.46 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.737e-05/0.951, allocations: 31.58 kB / 0.7144 GB, free: 14.43 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009417/0.9519, allocations: 407.8 kB / 0.7148 GB, free: 13.99 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.9519, allocations: 4 kB / 0.7148 GB, free: 13.99 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.739e-05/0.952, allocations: 8 kB / 0.7148 GB, free: 13.98 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002051/0.9522, allocations: 69.62 kB / 0.7149 GB, free: 13.91 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.9522, allocations: 0 / 0.7149 GB, free: 13.91 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/0.9522, allocations: 3.984 kB / 0.7149 GB, free: 13.9 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.9523, allocations: 7.953 kB / 0.7149 GB, free: 13.89 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001355/0.9524, allocations: 43.94 kB / 0.715 GB, free: 13.85 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001075/0.9535, allocations: 0.4886 MB / 0.7154 GB, free: 13.31 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001524/0.9537, allocations: 50.61 kB / 0.7155 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.755e-05/0.9537, allocations: 16.86 kB / 0.7155 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.962e-05/0.9538, allocations: 0 / 0.7155 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.622e-05/0.9538, allocations: 46.58 kB / 0.7155 GB, free: 13.18 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.773e-06/0.9538, allocations: 0 / 0.7155 GB, free: 13.18 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0002774/0.9541, allocations: 73.41 kB / 0.7156 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.9542, allocations: 55.41 kB / 0.7157 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009753/0.9552, allocations: 479.6 kB / 0.7161 GB, free: 12.55 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.594e-05/0.9552, allocations: 29.7 kB / 0.7161 GB, free: 12.52 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001809/0.9554, allocations: 172 kB / 0.7163 GB, free: 12.34 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.725e-05/0.9554, allocations: 11.84 kB / 0.7163 GB, free: 12.33 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.732e-06/0.9555, allocations: 0 / 0.7163 GB, free: 12.33 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001821/0.9557, allocations: 342.8 kB / 0.7166 GB, free: 11.99 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.973e-05/0.9557, allocations: 12 kB / 0.7167 GB, free: 11.98 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.611e-05/0.9558, allocations: 12 kB / 0.7167 GB, free: 11.96 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.598e-05/0.9559, allocations: 67.39 kB / 0.7167 GB, free: 11.89 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.9559, allocations: 3.953 kB / 0.7167 GB, free: 11.88 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002765/0.9562, allocations: 148.7 kB / 0.7169 GB, free: 11.72 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.533e-05/0.9563, allocations: 63.41 kB / 0.7169 GB, free: 11.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.9563, allocations: 0 / 0.7169 GB, free: 11.64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.9563, allocations: 0 / 0.7169 GB, free: 11.64 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.9565, allocations: 7.984 kB / 0.7169 GB, free: 11.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.9565, allocations: 4.188 kB / 0.717 GB, free: 11.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001277/0.9566, allocations: 12 kB / 0.717 GB, free: 11.62 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.256e-05/0.9566, allocations: 0 / 0.717 GB, free: 11.62 MB / 0.6042 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 8.397e-05/0.9567, allocations: 105 kB / 0.7171 GB, free: 11.51 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.671e-05/0.9568, allocations: 35.58 kB / 0.7171 GB, free: 11.48 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002694/0.9571, allocations: 96 kB / 0.7172 GB, free: 11.38 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.9571, allocations: 0 / 0.7172 GB, free: 11.38 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.9572, allocations: 0 / 0.7172 GB, free: 11.38 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.9572, allocations: 3.938 kB / 0.7172 GB, free: 11.37 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004351/0.9576, allocations: 297.5 kB / 0.7175 GB, free: 11.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.9576, allocations: 0 / 0.7175 GB, free: 11.03 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.688e-05/0.9577, allocations: 11.94 kB / 0.7175 GB, free: 11.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/0.9577, allocations: 4 kB / 0.7175 GB, free: 11.02 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.9578, allocations: 0 / 0.7175 GB, free: 11.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.9578, allocations: 4 kB / 0.7175 GB, free: 11.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.9578, allocations: 0 / 0.7175 GB, free: 11.01 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002536/0.958, allocations: 179.1 kB / 0.7177 GB, free: 10.82 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001917/0.9583, allocations: 124.8 kB / 0.7178 GB, free: 10.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.608e-05/0.9583, allocations: 11.95 kB / 0.7178 GB, free: 10.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001485/0.9585, allocations: 3.984 kB / 0.7178 GB, free: 10.66 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.028e-05/0.9585, allocations: 4 kB / 0.7178 GB, free: 10.66 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.134e-06/0.9586, allocations: 4 kB / 0.7178 GB, free: 10.66 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0007416/0.9593, allocations: 390.1 kB / 0.7182 GB, free: 10.28 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.005e-06/0.9593, allocations: 0 / 0.7182 GB, free: 10.28 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003726/0.9597, allocations: 35.84 kB / 0.7182 GB, free: 10.25 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.0013/0.961, allocations: 0.8836 MB / 0.7191 GB, free: 9.402 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002425/0.9613, allocations: 150.7 kB / 0.7192 GB, free: 9.23 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.9613, allocations: 0 / 0.7192 GB, free: 9.23 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 5.348e-05/0.9614, allocations: 12 kB / 0.7192 GB, free: 9.219 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003495/0.9617, allocations: 33.16 kB / 0.7193 GB, free: 9.184 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001281/0.963, allocations: 468.8 kB / 0.7197 GB, free: 8.688 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005171/0.9636, allocations: 0.7986 MB / 0.7205 GB, free: 7.863 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000184/0.9638, allocations: 46.06 kB / 0.7205 GB, free: 7.82 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002141/0.964, allocations: 79.41 kB / 0.7206 GB, free: 7.742 MB / 0.6042 GB Notification: Performance of SimCode: time 1.112e-06/0.964, allocations: 3.938 kB / 0.7206 GB, free: 7.738 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03475/0.9987, allocations: 5.101 MB / 0.7256 GB, free: 2.75 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003567/0.9992, allocations: 242.4 kB / 0.7258 GB, free: 2.457 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.36/3.36, allocations: 0 / 0.7258 GB, free: 2.457 MB / 0.6042 GB