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 3.886/3.886, allocations: 403.3 MB / 415.4 MB, free: 12.96 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.197e-05/4.207e-05, allocations: 14.84 kB / 0.4992 GB, free: 13.32 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5845/0.5846, allocations: 92.68 MB / 0.5897 GB, free: 14.46 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2245/0.8092, allocations: 122.5 MB / 0.7093 GB, free: 3.766 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003383/0.8096, allocations: 91.94 kB / 0.7094 GB, free: 3.676 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.01926/0.8288, allocations: 4.536 MB / 0.7138 GB, free: 15.13 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.774e-06/0.8289, allocations: 224 / 0.7138 GB, free: 15.13 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.067e-05/0.829, 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.0007652/0.8297, allocations: 0.544 MB / 0.7144 GB, free: 14.52 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.8298, allocations: 8.031 kB / 0.7144 GB, free: 14.51 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.456e-05/0.8299, allocations: 42.55 kB / 0.7144 GB, free: 14.46 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.111e-05/0.83, allocations: 35.58 kB / 0.7145 GB, free: 14.43 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000887/0.8309, allocations: 403.8 kB / 0.7148 GB, free: 14 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.8309, allocations: 11.94 kB / 0.7149 GB, free: 13.98 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.032e-05/0.8309, allocations: 4 kB / 0.7149 GB, free: 13.98 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001961/0.8311, allocations: 73.61 kB / 0.7149 GB, free: 13.9 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.8312, allocations: 0 / 0.7149 GB, free: 13.9 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.8312, allocations: 0 / 0.7149 GB, free: 13.9 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.379e-05/0.8312, allocations: 7.953 kB / 0.7149 GB, free: 13.89 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001307/0.8313, allocations: 36 kB / 0.715 GB, free: 13.86 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000969/0.8323, allocations: 0.5003 MB / 0.7155 GB, free: 13.31 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001487/0.8325, allocations: 46.56 kB / 0.7155 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.443e-05/0.8326, allocations: 16.92 kB / 0.7155 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.897e-05/0.8326, allocations: 8.078 kB / 0.7155 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/0.8327, allocations: 30.56 kB / 0.7156 GB, free: 13.19 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 2.534e-06/0.8327, allocations: 7.938 kB / 0.7156 GB, free: 13.18 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0003021/0.833, allocations: 73.41 kB / 0.7156 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/0.833, allocations: 51.41 kB / 0.7157 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009564/0.834, allocations: 487.6 kB / 0.7161 GB, free: 12.55 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.834, allocations: 25.7 kB / 0.7162 GB, free: 12.52 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001665/0.8342, allocations: 167.9 kB / 0.7163 GB, free: 12.35 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.285e-05/0.8343, allocations: 11.91 kB / 0.7163 GB, free: 12.34 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.136e-06/0.8343, allocations: 112 / 0.7163 GB, free: 12.34 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.8344, allocations: 346.7 kB / 0.7167 GB, free: 11.99 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.305e-05/0.8345, allocations: 12 kB / 0.7167 GB, free: 11.98 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.555e-05/0.8346, allocations: 12 kB / 0.7167 GB, free: 11.96 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.302e-05/0.8347, allocations: 71.39 kB / 0.7168 GB, free: 11.88 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.8347, allocations: 3.953 kB / 0.7168 GB, free: 11.88 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002784/0.835, allocations: 148.8 kB / 0.7169 GB, free: 11.71 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.092e-05/0.835, allocations: 55.41 kB / 0.717 GB, free: 11.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.8351, allocations: 4 kB / 0.717 GB, free: 11.64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.8351, allocations: 8 kB / 0.717 GB, free: 11.64 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/0.8352, allocations: 7.984 kB / 0.717 GB, free: 11.63 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.8353, allocations: 0 / 0.717 GB, free: 11.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001296/0.8354, allocations: 4 kB / 0.717 GB, free: 11.62 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.482e-05/0.8354, allocations: 4 kB / 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 7.879e-05/0.8355, allocations: 104.5 kB / 0.7171 GB, free: 11.52 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.349e-05/0.8356, allocations: 35.52 kB / 0.7171 GB, free: 11.48 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000287/0.8359, allocations: 100.1 kB / 0.7172 GB, free: 11.38 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.8359, allocations: 0 / 0.7172 GB, free: 11.38 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.8359, allocations: 3.938 kB / 0.7172 GB, free: 11.37 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.836, allocations: 0 / 0.7172 GB, free: 11.37 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000421/0.8364, allocations: 293.5 kB / 0.7175 GB, free: 11.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.8364, allocations: 0 / 0.7175 GB, free: 11.04 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.475e-05/0.8365, allocations: 15.94 kB / 0.7175 GB, free: 11.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.8365, allocations: 0 / 0.7175 GB, free: 11.02 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.8365, allocations: 0 / 0.7175 GB, free: 11.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.169e-06/0.8366, allocations: 4 kB / 0.7175 GB, free: 11.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.8366, allocations: 4 kB / 0.7175 GB, free: 11.01 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002464/0.8368, allocations: 175.2 kB / 0.7177 GB, free: 10.82 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001926/0.837, allocations: 128.8 kB / 0.7178 GB, free: 10.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.1e-05/0.8371, allocations: 8.078 kB / 0.7178 GB, free: 10.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001519/0.8373, allocations: 4 kB / 0.7178 GB, free: 10.67 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.844e-05/0.8373, allocations: 7.984 kB / 0.7178 GB, free: 10.66 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.233e-06/0.8373, allocations: 0 / 0.7178 GB, free: 10.66 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0007212/0.8381, allocations: 390.1 kB / 0.7182 GB, free: 10.29 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.21e-07/0.8381, allocations: 0 / 0.7182 GB, free: 10.29 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004231/0.8385, allocations: 39.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.001255/0.8398, allocations: 0.88 MB / 0.7191 GB, free: 9.406 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002359/0.84, allocations: 138.8 kB / 0.7192 GB, free: 9.246 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.8401, allocations: 8 kB / 0.7192 GB, free: 9.238 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 5.238e-05/0.8401, allocations: 15.94 kB / 0.7193 GB, free: 9.223 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004052/0.8405, allocations: 34.59 kB / 0.7193 GB, free: 9.188 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001452/0.842, allocations: 472.8 kB / 0.7197 GB, free: 8.688 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005003/0.8425, allocations: 0.7909 MB / 0.7205 GB, free: 7.871 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000194/0.8427, allocations: 50 kB / 0.7206 GB, free: 7.824 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002088/0.843, allocations: 79.41 kB / 0.7206 GB, free: 7.746 MB / 0.6042 GB Notification: Performance of SimCode: time 1.352e-06/0.843, allocations: 0 / 0.7206 GB, free: 7.746 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02986/0.8729, allocations: 5.05 MB / 0.7256 GB, free: 2.801 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003433/0.8733, allocations: 257 kB / 0.7258 GB, free: 2.508 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.33/3.203, allocations: 0 / 0.7258 GB, free: 2.508 MB / 0.6042 GB