Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo,fileNamePrefix="Buildings_latest_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_LinearPiecewiseTwo",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.287/4.287, allocations: 464.6 MB / 476.8 MB, free: 2.098 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.73e-05/3.735e-05, allocations: 8 kB / 0.5732 GB, free: 5.594 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2496/0.2497, allocations: 107.2 MB / 0.6778 GB, free: 10.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9073/1.157, allocations: 134.9 MB / 0.8096 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003417/1.157, allocations: 99.75 kB / 0.8097 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02141/1.179, allocations: 5.297 MB / 0.8149 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.845e-06/1.179, allocations: 3.938 kB / 0.8149 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.83e-05/1.179, allocations: 7.484 kB / 0.8149 GB, free: 11.7 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.0007007/1.18, allocations: 0.4993 MB / 0.8154 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/1.18, allocations: 15.47 kB / 0.8154 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.584e-05/1.18, allocations: 33.42 kB / 0.8154 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.478e-05/1.18, allocations: 30.56 kB / 0.8155 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009121/1.181, allocations: 424.9 kB / 0.8159 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/1.181, allocations: 7.375 kB / 0.8159 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.731e-05/1.181, allocations: 0 / 0.8159 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001903/1.181, allocations: 69.39 kB / 0.8159 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/1.181, allocations: 0 / 0.8159 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/1.181, allocations: 4 kB / 0.8159 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/1.181, allocations: 0 / 0.8159 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001201/1.181, allocations: 41.06 kB / 0.816 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009569/1.182, allocations: 0.4979 MB / 0.8165 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001363/1.182, allocations: 48.91 kB / 0.8165 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.649e-05/1.183, allocations: 15.66 kB / 0.8165 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.472e-05/1.183, allocations: 6.609 kB / 0.8165 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/1.183, allocations: 34.5 kB / 0.8166 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.625e-06/1.183, allocations: 0 / 0.8166 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.000265/1.183, allocations: 78 kB / 0.8166 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.725e-05/1.183, allocations: 51.41 kB / 0.8167 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008619/1.184, allocations: 0.4966 MB / 0.8172 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/1.184, allocations: 25.7 kB / 0.8172 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001315/1.184, allocations: 175.6 kB / 0.8174 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.565e-05/1.184, allocations: 7.844 kB / 0.8174 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.33e-06/1.184, allocations: 0 / 0.8174 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.179e-05/1.184, allocations: 342.3 kB / 0.8177 GB, free: 9.895 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.714e-05/1.184, allocations: 10.56 kB / 0.8177 GB, free: 9.895 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.282e-05/1.184, allocations: 15.16 kB / 0.8177 GB, free: 9.891 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.658e-05/1.184, allocations: 7.375 kB / 0.8177 GB, free: 9.891 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/1.184, allocations: 4 kB / 0.8177 GB, free: 9.887 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001873/1.185, allocations: 85.92 kB / 0.8178 GB, free: 9.836 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/1.185, allocations: 3.844 kB / 0.8178 GB, free: 9.836 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/1.185, allocations: 0 / 0.8178 GB, free: 9.836 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.207e-05/1.185, allocations: 3.844 kB / 0.8178 GB, free: 9.836 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001425/1.185, allocations: 10.44 kB / 0.8178 GB, free: 9.832 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/1.185, allocations: 3.875 kB / 0.8178 GB, free: 9.832 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001231/1.185, allocations: 0 / 0.8178 GB, free: 9.832 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/1.185, allocations: 3.812 kB / 0.8178 GB, free: 9.832 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 (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 prepare postOptimizeDAE: time 5.888e-05/1.185, allocations: 105 kB / 0.8179 GB, free: 9.723 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.832e-05/1.185, allocations: 31 kB / 0.818 GB, free: 9.707 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002471/1.185, allocations: 101.6 kB / 0.8181 GB, free: 9.66 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/1.185, allocations: 0 / 0.8181 GB, free: 9.66 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/1.185, allocations: 3.953 kB / 0.8181 GB, free: 9.656 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/1.185, allocations: 0 / 0.8181 GB, free: 9.656 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003561/1.186, allocations: 298.8 kB / 0.8184 GB, free: 9.469 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/1.186, allocations: 0 / 0.8184 GB, free: 9.469 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.601e-05/1.186, allocations: 10.55 kB / 0.8184 GB, free: 9.469 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/1.186, allocations: 4 kB / 0.8184 GB, free: 9.465 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/1.186, allocations: 3.781 kB / 0.8184 GB, free: 9.465 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/1.186, allocations: 0 / 0.8184 GB, free: 9.465 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/1.186, allocations: 4 kB / 0.8184 GB, free: 9.461 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001999/1.186, allocations: 184.3 kB / 0.8185 GB, free: 9.305 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001578/1.186, allocations: 139.9 kB / 0.8187 GB, free: 9.191 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.23e-05/1.186, allocations: 3.938 kB / 0.8187 GB, free: 9.188 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000157/1.187, allocations: 10.58 kB / 0.8187 GB, free: 9.184 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.474e-05/1.187, allocations: 0 / 0.8187 GB, free: 9.184 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.732e-06/1.187, allocations: 0 / 0.8187 GB, free: 9.184 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0006998/1.187, allocations: 409.4 kB / 0.8191 GB, free: 9.105 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.61e-07/1.187, allocations: 0 / 0.8191 GB, free: 9.105 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004029/1.188, allocations: 31.14 kB / 0.8191 GB, free: 9.102 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 (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.001673/1.189, allocations: 0.9364 MB / 0.82 GB, free: 24.33 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001386/1.19, allocations: 28.94 kB / 0.8201 GB, free: 24.32 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/1.19, allocations: 0 / 0.8201 GB, free: 24.32 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.398e-05/1.19, allocations: 14.36 kB / 0.8201 GB, free: 24.32 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000456/1.19, allocations: 37.34 kB / 0.8201 GB, free: 24.32 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00123/1.191, allocations: 491.4 kB / 0.8206 GB, free: 24.14 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004555/1.192, allocations: 0.7932 MB / 0.8214 GB, free: 23.44 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001815/1.192, allocations: 57.31 kB / 0.8214 GB, free: 23.43 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001894/1.192, allocations: 82.78 kB / 0.8215 GB, free: 23.42 MB / 0.6511 GB Notification: Performance of SimCode: time 1.273e-06/1.192, allocations: 0 / 0.8215 GB, free: 23.42 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02761/1.22, allocations: 5.466 MB / 0.8268 GB, free: 22.07 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003354/1.22, allocations: 223 kB / 0.827 GB, free: 21.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.385/3.606, allocations: 3.438 kB / 0.827 GB, free: 21.8 MB / 0.6511 GB