Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl,fileNamePrefix="Buildings_latest_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSetPointControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.373/4.373, allocations: 464.6 MB / 476.8 MB, free: 2.199 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.987e-05/3.998e-05, allocations: 0 / 0.5732 GB, free: 5.625 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.2506, allocations: 107.2 MB / 0.6778 GB, free: 10.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.246/8.497, allocations: 2.511 GB / 3.188 GB, free: 237.7 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003584/8.497, allocations: 100.5 kB / 3.189 GB, free: 237.7 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 9.176/17.67, allocations: 1.657 GB / 4.845 GB, free: 87.02 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.986e-06/17.67, allocations: 0 / 4.845 GB, free: 87.02 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0007776/17.67, allocations: 104.5 kB / 4.845 GB, free: 87.02 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 570 * Number of variables: 570 Notification: Performance of Generate backend data structure: time 0.01574/17.69, allocations: 3.753 MB / 4.849 GB, free: 85.65 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.558e-05/17.69, allocations: 9.562 kB / 4.849 GB, free: 85.65 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001204/17.69, allocations: 313.5 kB / 4.849 GB, free: 85.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.017/17.71, allocations: 1.333 MB / 4.851 GB, free: 85.38 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01874/17.73, allocations: 4.127 MB / 4.855 GB, free: 84.86 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001069/17.73, allocations: 333.8 kB / 4.855 GB, free: 84.79 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001076/17.73, allocations: 247.5 kB / 4.855 GB, free: 84.79 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008413/17.74, allocations: 2.738 MB / 4.858 GB, free: 84.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.41e-05/17.74, allocations: 1.844 kB / 4.858 GB, free: 84.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004878/17.74, allocations: 99.64 kB / 4.858 GB, free: 84.39 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001576/17.74, allocations: 89.94 kB / 4.858 GB, free: 84.39 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007706/17.75, allocations: 2.312 MB / 4.86 GB, free: 84.37 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03402/17.78, allocations: 12.84 MB / 4.873 GB, free: 78.82 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005476/17.79, allocations: 2.183 MB / 4.875 GB, free: 78.28 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002184/17.79, allocations: 0.8467 MB / 4.876 GB, free: 78.26 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt evalFunc (simulation): time 0.0152/17.8, allocations: 5.53 MB / 4.881 GB, free: 75.83 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002207/17.81, allocations: 0.9396 MB / 4.882 GB, free: 75.75 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002742/17.81, allocations: 253.1 kB / 4.882 GB, free: 75.67 MB / 0.948 GB Notification: Performance of pre-optimization done (n=145): time 6.252e-06/17.81, allocations: 0 / 4.882 GB, free: 75.67 MB / 0.948 GB Notification: Performance of matching and sorting (n=145): time 0.005471/17.81, allocations: 1.694 MB / 4.884 GB, free: 75.43 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000123/17.81, allocations: 234.3 kB / 4.884 GB, free: 75.18 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007835/17.82, allocations: 2.84 MB / 4.887 GB, free: 74.91 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007385/17.82, allocations: 61.67 kB / 4.887 GB, free: 74.88 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002326/17.83, allocations: 1.624 MB / 4.889 GB, free: 74.44 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000954/17.83, allocations: 0.4914 MB / 4.889 GB, free: 74.13 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002569/17.83, allocations: 39.06 kB / 4.889 GB, free: 74.13 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001963/17.83, allocations: 374.2 kB / 4.889 GB, free: 73.82 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002091/17.83, allocations: 0.7009 MB / 4.89 GB, free: 73.82 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002846/17.83, allocations: 1.355 MB / 4.892 GB, free: 73.08 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002448/17.83, allocations: 0.8377 MB / 4.892 GB, free: 73.06 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-05/17.83, allocations: 3.719 kB / 4.892 GB, free: 73.06 MB / 0.948 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.007387/17.84, allocations: 2.259 MB / 4.895 GB, free: 72.82 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001426/17.84, allocations: 5.83 MB / 4.9 GB, free: 66.75 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.823e-05/17.84, allocations: 14.53 kB / 4.9 GB, free: 66.75 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.486e-05/17.84, allocations: 26.31 kB / 4.9 GB, free: 66.75 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005227/17.85, allocations: 0.5434 MB / 4.901 GB, free: 66.75 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.097e-05/17.85, allocations: 30.03 kB / 4.901 GB, free: 66.75 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007104/17.86, allocations: 370.8 kB / 4.901 GB, free: 66.73 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007526/17.86, allocations: 108.7 kB / 4.901 GB, free: 66.73 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/17.86, allocations: 8.156 kB / 4.901 GB, free: 66.73 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005538/17.86, allocations: 1.906 MB / 4.903 GB, free: 66.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.488e-05/17.86, allocations: 13.38 kB / 4.903 GB, free: 66.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.018e-05/17.86, allocations: 25.94 kB / 4.903 GB, free: 66.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004811/17.87, allocations: 0.5216 MB / 4.904 GB, free: 66.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.898e-05/17.87, allocations: 38.38 kB / 4.904 GB, free: 66.69 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006343/17.87, allocations: 320.5 kB / 4.904 GB, free: 66.67 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000725/17.87, allocations: 105.6 kB / 4.904 GB, free: 66.67 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 17 ($PRE.triAndRes.firstTrigger,triAndRes.firstTrigger,$whenCondition3,triAndRes.sampleTrigger,$PRE.triAndRes.sam.firstTrigger,triAndRes.sam.firstTrigger,$PRE.triAndRes.uniDel1.firstTrigger,triAndRes.uniDel1.firstTrigger,$whenCondition1,triAndRes.uniDel1.sampleTrigger,$whenCondition2,triAndRes.sam.sampleTrigger,triAndRes.incY.y,triAndRes.sam.y,$PRE.triAndRes.uniDel1.y,triAndRes.uniDel1.y,limPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (233): * Single equations (assignments): 230 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * 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 0.0008305/17.88, allocations: 241.5 kB / 4.904 GB, free: 66.55 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00135/17.88, allocations: 339.1 kB / 4.905 GB, free: 66.38 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006415/17.88, allocations: 2.036 MB / 4.907 GB, free: 66.25 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.485e-05/17.88, allocations: 18.75 kB / 4.907 GB, free: 66.25 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.254e-05/17.88, allocations: 5.672 kB / 4.907 GB, free: 66.25 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004/17.89, allocations: 1.758 MB / 4.908 GB, free: 65.79 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01608/17.9, allocations: 5.163 MB / 4.913 GB, free: 65.08 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.439e-05/17.9, allocations: 3.469 kB / 4.913 GB, free: 65.08 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003953/17.91, allocations: 391.9 kB / 4.914 GB, free: 65.08 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.243e-05/17.91, allocations: 10.03 kB / 4.914 GB, free: 65.08 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003578/17.91, allocations: 52.58 kB / 4.914 GB, free: 65.08 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.531e-05/17.91, allocations: 6.688 kB / 4.914 GB, free: 65.08 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.162e-06/17.91, allocations: 6.438 kB / 4.914 GB, free: 65.08 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00807/17.92, allocations: 3.374 MB / 4.917 GB, free: 64.19 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003233/17.92, allocations: 0.6867 MB / 4.918 GB, free: 63.91 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001613/17.92, allocations: 44.41 kB / 4.918 GB, free: 63.91 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006224/17.93, allocations: 269 kB / 4.918 GB, free: 63.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005067/17.93, allocations: 103.4 kB / 4.918 GB, free: 63.89 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003595/17.93, allocations: 79.59 kB / 4.918 GB, free: 63.89 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.006167/17.93, allocations: 2.173 MB / 4.92 GB, free: 63.73 MB / 0.948 GB Notification: Performance of sort global known variables: time 9.72e-07/17.93, allocations: 3.5 kB / 4.92 GB, free: 63.73 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01265/17.95, allocations: 2.027 MB / 4.922 GB, free: 63.47 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 11 (chi.vol1.dynBal.U,chi.vol2.dynBal.U,limPID.I.y,TRet.T,pum.vol.dynBal.U,pum.filter.x[1],pum.filter.x[2],expVesChi.m,expVesChi.H,firstOrder1.y,TSup.T) * Number of discrete variables: 12 (triAndRes.sam.sampleTrigger,triAndRes.uniDel1.sampleTrigger,$whenCondition2,$whenCondition1,triAndRes.incY.y,triAndRes.sam.firstTrigger,triAndRes.sam.y,triAndRes.uniDel1.firstTrigger,triAndRes.uniDel1.y,triAndRes.sampleTrigger,$whenCondition3,triAndRes.firstTrigger) * Number of discrete states: 1 (triAndRes.uniDel1.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (158): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 5 * 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.01721/17.96, allocations: 8.264 MB / 4.931 GB, free: 60.11 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.008056/17.97, allocations: 2.914 MB / 4.933 GB, free: 60 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-05/17.97, allocations: 0 / 4.933 GB, free: 60 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002147/17.97, allocations: 0.8097 MB / 4.934 GB, free: 60 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01369/17.99, allocations: 1.506 MB / 4.936 GB, free: 59.98 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02695/18.02, allocations: 6.089 MB / 4.942 GB, free: 58.54 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00218/18.02, allocations: 2.113 MB / 4.944 GB, free: 57.79 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01029/18.03, allocations: 1.24 MB / 4.945 GB, free: 57.76 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003345/18.03, allocations: 1.409 MB / 4.946 GB, free: 57.75 MB / 0.948 GB Notification: Performance of SimCode: time 2.765e-06/18.03, allocations: 0 / 4.946 GB, free: 57.75 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3166/18.35, allocations: 137.9 MB / 5.081 GB, free: 49.78 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003309/18.35, allocations: 235.5 kB / 5.081 GB, free: 49.47 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.977/28.33, allocations: 4 kB / 5.081 GB, free: 49.46 MB / 0.948 GB