Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo,fileNamePrefix="Buildings_6_0_0_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_LinearPiecewiseTwo",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.939/3.939, allocations: 432.7 MB / 444.9 MB, free: 15.68 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.826e-05/3.83e-05, allocations: 3.781 kB / 0.5338 GB, free: 12.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2286/0.2287, allocations: 98.72 MB / 0.6302 GB, free: 6.09 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.237/0.4657, allocations: 126.9 MB / 0.7541 GB, free: 7.047 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003413/0.4661, allocations: 87.94 kB / 0.7542 GB, free: 6.961 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01943/0.4856, allocations: 4.533 MB / 0.7586 GB, free: 2.418 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.044e-06/0.4856, allocations: 0 / 0.7586 GB, free: 2.418 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.749e-05/0.4857, allocations: 4 kB / 0.7586 GB, free: 2.414 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007948/0.4865, allocations: 0.5558 MB / 0.7592 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.481e-05/0.4866, allocations: 12.03 kB / 0.7592 GB, free: 1.789 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.77e-05/0.4866, allocations: 38.55 kB / 0.7592 GB, free: 1.742 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.978e-05/0.4868, allocations: 35.58 kB / 0.7593 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009686/0.4877, allocations: 395.8 kB / 0.7596 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.803e-05/0.4878, allocations: 8 kB / 0.7596 GB, free: 1.27 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.772e-05/0.4878, allocations: 7.938 kB / 0.7596 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002747/0.4881, allocations: 73.66 kB / 0.7597 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.4882, allocations: 3.938 kB / 0.7597 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.097e-05/0.4882, allocations: 0 / 0.7597 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.4882, allocations: 8 kB / 0.7597 GB, free: 1.172 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001835/0.4884, allocations: 36 kB / 0.7598 GB, free: 1.137 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001206/0.4896, allocations: 492.5 kB / 0.7602 GB, free: 0.6055 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001583/0.4898, allocations: 54.58 kB / 0.7603 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.039e-05/0.4899, allocations: 16.86 kB / 0.7603 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.081e-05/0.4899, allocations: 4.031 kB / 0.7603 GB, free: 0.5195 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.49, allocations: 38.55 kB / 0.7603 GB, free: 484 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.374e-06/0.49, allocations: 0 / 0.7603 GB, free: 484 kB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002855/0.4903, allocations: 81.25 kB / 0.7604 GB, free: 396 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.4903, allocations: 55.41 kB / 0.7605 GB, free: 328 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/0.4914, allocations: 487.5 kB / 0.7609 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.452e-05/0.4914, allocations: 29.7 kB / 0.761 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001678/0.4916, allocations: 160 kB / 0.7611 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.915e-05/0.4916, allocations: 15.75 kB / 0.7611 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.953e-06/0.4917, allocations: 0 / 0.7611 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001647/0.4918, allocations: 342.8 kB / 0.7615 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.367e-05/0.4919, allocations: 12 kB / 0.7615 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.542e-05/0.492, allocations: 12 kB / 0.7615 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.813e-05/0.4921, allocations: 71.39 kB / 0.7615 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/0.4921, allocations: 0 / 0.7615 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000311/0.4924, allocations: 148.7 kB / 0.7617 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 5.714e-05/0.4925, allocations: 59.41 kB / 0.7617 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.4925, allocations: 4 kB / 0.7618 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.4925, allocations: 0 / 0.7618 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001402/0.4927, allocations: 7.984 kB / 0.7618 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.4927, allocations: 4 kB / 0.7618 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001273/0.4928, allocations: 7.906 kB / 0.7618 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/0.4929, allocations: 112 / 0.7618 GB, free: 14.92 MB / 0.6511 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.17e-05/0.493, allocations: 108.9 kB / 0.7619 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.149e-05/0.4931, allocations: 31.67 kB / 0.7619 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002821/0.4933, allocations: 96.16 kB / 0.762 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.4934, allocations: 0 / 0.762 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.4934, allocations: 4 kB / 0.762 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.431e-06/0.4934, allocations: 0 / 0.762 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000437/0.4938, allocations: 297.4 kB / 0.7623 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.4939, allocations: 4 kB / 0.7623 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.765e-05/0.494, allocations: 7.984 kB / 0.7623 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.494, allocations: 3.938 kB / 0.7623 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/0.494, allocations: 11.95 kB / 0.7623 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.494, allocations: 0 / 0.7623 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.494, allocations: 96 / 0.7623 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002591/0.4943, allocations: 175.2 kB / 0.7625 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001785/0.4945, allocations: 128.7 kB / 0.7626 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.13e-05/0.4946, allocations: 7.984 kB / 0.7626 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001553/0.4947, allocations: 3.953 kB / 0.7626 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.638e-05/0.4948, allocations: 8 kB / 0.7626 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-06/0.4948, allocations: 0 / 0.7626 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0007312/0.4955, allocations: 390.1 kB / 0.763 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.81e-07/0.4956, allocations: 0 / 0.763 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004081/0.496, allocations: 35.94 kB / 0.763 GB, free: 13.54 MB / 0.6511 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.001238/0.4972, allocations: 0.8881 MB / 0.7639 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002413/0.4975, allocations: 146.7 kB / 0.764 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.4975, allocations: 0 / 0.764 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.568e-05/0.4976, allocations: 15.94 kB / 0.764 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003803/0.498, allocations: 35.41 kB / 0.7641 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001355/0.4993, allocations: 472.5 kB / 0.7645 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004676/0.4998, allocations: 0.7948 MB / 0.7653 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001938/0.5, allocations: 42.06 kB / 0.7653 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002055/0.5003, allocations: 83.41 kB / 0.7654 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of SimCode: time 1.142e-06/0.5003, allocations: 0 / 0.7654 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03384/0.5341, allocations: 5.076 MB / 0.7704 GB, free: 6.059 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003721/0.5346, allocations: 229.3 kB / 0.7706 GB, free: 5.797 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.376/2.911, allocations: 0 / 0.7706 GB, free: 5.797 MB / 0.6511 GB