Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo,fileNamePrefix="Buildings_7_0_0_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_LinearPiecewiseTwo",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.391/4.391, allocations: 460.5 MB / 472.6 MB, free: 5.41 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.809e-05/3.814e-05, allocations: 4 kB / 0.5682 GB, free: 10.1 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/0.2604, allocations: 106.2 MB / 0.6719 GB, free: 15.7 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9116/1.172, allocations: 134.6 MB / 0.8033 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003966/1.173, allocations: 98.75 kB / 0.8034 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02192/1.194, allocations: 5.301 MB / 0.8086 GB, free: 12.1 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.234e-06/1.195, allocations: 4 kB / 0.8086 GB, free: 12.1 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.587e-05/1.195, allocations: 3.844 kB / 0.8086 GB, free: 12.1 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.0007394/1.195, allocations: 0.4987 MB / 0.8091 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.737e-05/1.195, allocations: 7.625 kB / 0.8091 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.423e-05/1.195, allocations: 40.58 kB / 0.8091 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.668e-05/1.196, allocations: 31.11 kB / 0.8092 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009614/1.197, allocations: 421.5 kB / 0.8096 GB, free: 11.37 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/1.197, allocations: 6.406 kB / 0.8096 GB, free: 11.37 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.535e-05/1.197, allocations: 7.656 kB / 0.8096 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001968/1.197, allocations: 68.53 kB / 0.8096 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/1.197, allocations: 0 / 0.8096 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.823e-05/1.197, allocations: 3.562 kB / 0.8096 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/1.197, allocations: 0 / 0.8096 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001224/1.197, allocations: 38.7 kB / 0.8097 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001001/1.198, allocations: 0.4982 MB / 0.8102 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001381/1.198, allocations: 43.5 kB / 0.8102 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.784e-05/1.198, allocations: 20.23 kB / 0.8102 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.378e-05/1.198, allocations: 0 / 0.8102 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/1.198, allocations: 37.14 kB / 0.8103 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.294e-06/1.198, allocations: 0 / 0.8103 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002916/1.199, allocations: 82.14 kB / 0.8103 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/1.199, allocations: 55.27 kB / 0.8104 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009272/1.2, allocations: 0.4953 MB / 0.8109 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/1.2, allocations: 25.7 kB / 0.8109 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001472/1.2, allocations: 175.2 kB / 0.8111 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.809e-05/1.2, allocations: 6.719 kB / 0.8111 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-06/1.2, allocations: 0 / 0.8111 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001046/1.2, allocations: 345.5 kB / 0.8114 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.887e-05/1.2, allocations: 11.16 kB / 0.8114 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.165e-05/1.2, allocations: 7 kB / 0.8114 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.128e-05/1.2, allocations: 13.8 kB / 0.8114 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/1.2, allocations: 3.938 kB / 0.8114 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000214/1.2, allocations: 84.52 kB / 0.8115 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/1.201, allocations: 3.906 kB / 0.8115 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/1.201, allocations: 0 / 0.8115 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/1.201, allocations: 4.125 kB / 0.8115 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001434/1.201, allocations: 7.656 kB / 0.8115 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/1.201, allocations: 2.953 kB / 0.8115 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001289/1.201, allocations: 7.812 kB / 0.8115 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/1.201, allocations: 3.984 kB / 0.8115 GB, free: 10.23 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 6.173e-05/1.201, allocations: 104.8 kB / 0.8116 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.927e-05/1.201, allocations: 31.11 kB / 0.8117 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002468/1.201, allocations: 92.06 kB / 0.8118 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/1.201, allocations: 0 / 0.8118 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/1.201, allocations: 0 / 0.8118 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/1.201, allocations: 3.875 kB / 0.8118 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003593/1.202, allocations: 308 kB / 0.8121 GB, free: 9.871 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/1.202, allocations: 0 / 0.8121 GB, free: 9.871 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.947e-05/1.202, allocations: 14.33 kB / 0.8121 GB, free: 9.867 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/1.202, allocations: 0 / 0.8121 GB, free: 9.867 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/1.202, allocations: 3.953 kB / 0.8121 GB, free: 9.863 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/1.202, allocations: 0 / 0.8121 GB, free: 9.863 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/1.202, allocations: 0 / 0.8121 GB, free: 9.863 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001962/1.202, allocations: 173.3 kB / 0.8122 GB, free: 9.723 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001568/1.202, allocations: 139.3 kB / 0.8124 GB, free: 9.605 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.24e-05/1.202, allocations: 6.781 kB / 0.8124 GB, free: 9.605 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001592/1.203, allocations: 3.953 kB / 0.8124 GB, free: 9.602 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.664e-05/1.203, allocations: 3.906 kB / 0.8124 GB, free: 9.602 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/1.203, allocations: 6.844 kB / 0.8124 GB, free: 9.598 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0006743/1.203, allocations: 401.9 kB / 0.8128 GB, free: 9.512 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.31e-07/1.203, allocations: 0 / 0.8128 GB, free: 9.512 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004533/1.204, allocations: 30.78 kB / 0.8128 GB, free: 9.508 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.001804/1.206, allocations: 0.9543 MB / 0.8137 GB, free: 24.72 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001554/1.206, allocations: 20.41 kB / 0.8138 GB, free: 24.72 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/1.206, allocations: 0 / 0.8138 GB, free: 24.72 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.447e-05/1.206, allocations: 15.56 kB / 0.8138 GB, free: 24.71 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005394/1.206, allocations: 48.83 kB / 0.8138 GB, free: 24.71 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001317/1.208, allocations: 479.1 kB / 0.8143 GB, free: 24.54 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004757/1.208, allocations: 0.7998 MB / 0.8151 GB, free: 23.83 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001946/1.208, allocations: 52.53 kB / 0.8151 GB, free: 23.82 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002012/1.209, allocations: 89.03 kB / 0.8152 GB, free: 23.81 MB / 0.6511 GB Notification: Performance of SimCode: time 1.533e-06/1.209, allocations: 0 / 0.8152 GB, free: 23.81 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03378/1.242, allocations: 5.438 MB / 0.8205 GB, free: 23.28 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000303/1.243, allocations: 237.6 kB / 0.8207 GB, free: 23 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.491/3.734, allocations: 3.609 kB / 0.8207 GB, free: 23 MB / 0.6511 GB