Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl,fileNamePrefix="Buildings_7_0_0_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSetPointControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.364/4.364, allocations: 460.5 MB / 472.6 MB, free: 5.363 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.897e-05/3.885e-05, allocations: 6.672 kB / 0.5682 GB, free: 10.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2442/0.2443, allocations: 106.2 MB / 0.6719 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.576/8.821, allocations: 2.51 GB / 3.182 GB, free: 243 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003232/8.821, allocations: 99.11 kB / 3.182 GB, free: 243 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 9.044/17.87, allocations: 1.657 GB / 4.839 GB, free: 90.02 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.824e-06/17.87, allocations: 0 / 4.839 GB, free: 90.02 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0008097/17.87, allocations: 105.1 kB / 4.839 GB, free: 90.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.0161/17.88, allocations: 3.747 MB / 4.843 GB, free: 88.68 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.376e-05/17.88, allocations: 12.25 kB / 4.843 GB, free: 88.68 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001277/17.88, allocations: 322.2 kB / 4.843 GB, free: 88.62 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01718/17.9, allocations: 1.33 MB / 4.845 GB, free: 88.41 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0185/17.92, allocations: 4.129 MB / 4.849 GB, free: 87.88 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001123/17.92, allocations: 327 kB / 4.849 GB, free: 87.81 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001209/17.92, allocations: 248.4 kB / 4.849 GB, free: 87.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00912/17.93, allocations: 2.741 MB / 4.852 GB, free: 87.41 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.412e-05/17.93, allocations: 4.125 kB / 4.852 GB, free: 87.41 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000489/17.93, allocations: 100.6 kB / 4.852 GB, free: 87.41 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001283/17.93, allocations: 83.98 kB / 4.852 GB, free: 87.41 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007729/17.94, allocations: 2.314 MB / 4.854 GB, free: 87.39 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.03709/17.98, allocations: 12.82 MB / 4.867 GB, free: 81.84 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005798/17.98, allocations: 2.185 MB / 4.869 GB, free: 81.31 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002515/17.99, allocations: 0.8467 MB / 4.87 GB, free: 81.28 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.01725/18, allocations: 5.533 MB / 4.875 GB, free: 78.85 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00244/18, allocations: 0.9433 MB / 4.876 GB, free: 78.77 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002908/18.01, allocations: 256.2 kB / 4.876 GB, free: 78.69 MB / 0.948 GB Notification: Performance of pre-optimization done (n=145): time 1.3e-05/18.01, allocations: 0 / 4.876 GB, free: 78.69 MB / 0.948 GB Notification: Performance of matching and sorting (n=145): time 0.006637/18.01, allocations: 1.687 MB / 4.878 GB, free: 78.45 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001256/18.01, allocations: 223.7 kB / 4.878 GB, free: 78.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007934/18.02, allocations: 2.844 MB / 4.881 GB, free: 77.94 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006831/18.02, allocations: 63.42 kB / 4.881 GB, free: 77.91 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002586/18.03, allocations: 1.625 MB / 4.883 GB, free: 77.46 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000945/18.03, allocations: 0.4887 MB / 4.883 GB, free: 77.14 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002987/18.03, allocations: 40.31 kB / 4.883 GB, free: 77.14 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001774/18.03, allocations: 376.7 kB / 4.883 GB, free: 76.84 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002266/18.03, allocations: 0.7018 MB / 4.884 GB, free: 76.84 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003133/18.03, allocations: 1.361 MB / 4.885 GB, free: 76.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002639/18.04, allocations: 0.8361 MB / 4.886 GB, free: 76.08 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.04e-05/18.04, allocations: 9.609 kB / 4.886 GB, free: 76.07 MB / 0.948 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.007934/18.04, allocations: 2.261 MB / 4.888 GB, free: 75.84 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001417/18.05, allocations: 5.822 MB / 4.894 GB, free: 69.77 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.84e-05/18.05, allocations: 14.25 kB / 4.894 GB, free: 69.77 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.752e-05/18.05, allocations: 26.84 kB / 4.894 GB, free: 69.77 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00531/18.05, allocations: 0.5397 MB / 4.895 GB, free: 69.77 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-05/18.05, allocations: 33.98 kB / 4.895 GB, free: 69.77 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007204/18.06, allocations: 369.5 kB / 4.895 GB, free: 69.75 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008361/18.06, allocations: 108.9 kB / 4.895 GB, free: 69.75 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/18.06, allocations: 7.859 kB / 4.895 GB, free: 69.75 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006094/18.07, allocations: 1.902 MB / 4.897 GB, free: 69.71 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.495e-05/18.07, allocations: 14.78 kB / 4.897 GB, free: 69.71 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.998e-05/18.07, allocations: 31.94 kB / 4.897 GB, free: 69.71 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004917/18.07, allocations: 0.5277 MB / 4.898 GB, free: 69.71 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.451e-05/18.07, allocations: 29.58 kB / 4.898 GB, free: 69.71 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006341/18.08, allocations: 323.3 kB / 4.898 GB, free: 69.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007313/18.08, allocations: 105 kB / 4.898 GB, free: 69.7 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.0008483/18.08, allocations: 236.8 kB / 4.898 GB, free: 69.58 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001378/18.08, allocations: 345.8 kB / 4.899 GB, free: 69.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006739/18.09, allocations: 2.029 MB / 4.901 GB, free: 69.27 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-05/18.09, allocations: 21.7 kB / 4.901 GB, free: 69.27 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.16e-05/18.09, allocations: 2.625 kB / 4.901 GB, free: 69.27 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004237/18.09, allocations: 1.754 MB / 4.902 GB, free: 68.81 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.01677/18.11, allocations: 5.176 MB / 4.907 GB, free: 68.11 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.537e-05/18.11, allocations: 3.844 kB / 4.907 GB, free: 68.11 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00404/18.11, allocations: 381.7 kB / 4.908 GB, free: 68.11 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.654e-05/18.11, allocations: 12.02 kB / 4.908 GB, free: 68.11 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004057/18.11, allocations: 50.11 kB / 4.908 GB, free: 68.11 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.58e-05/18.11, allocations: 13.91 kB / 4.908 GB, free: 68.11 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/18.11, allocations: 3.594 kB / 4.908 GB, free: 68.11 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008502/18.12, allocations: 3.381 MB / 4.911 GB, free: 67.22 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003266/18.12, allocations: 0.6851 MB / 4.912 GB, free: 66.94 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00163/18.13, allocations: 40.58 kB / 4.912 GB, free: 66.94 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005984/18.13, allocations: 272.1 kB / 4.912 GB, free: 66.93 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004892/18.13, allocations: 101.1 kB / 4.912 GB, free: 66.93 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003628/18.13, allocations: 83.33 kB / 4.912 GB, free: 66.92 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.006184/18.14, allocations: 2.175 MB / 4.914 GB, free: 66.76 MB / 0.948 GB Notification: Performance of sort global known variables: time 8.12e-07/18.14, allocations: 0.5938 kB / 4.914 GB, free: 66.76 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01198/18.15, allocations: 2.028 MB / 4.916 GB, free: 66.5 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.01973/18.17, allocations: 8.281 MB / 4.924 GB, free: 63.14 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.008852/18.18, allocations: 2.909 MB / 4.927 GB, free: 63.03 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-05/18.18, allocations: 0 / 4.927 GB, free: 63.03 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002344/18.18, allocations: 0.8102 MB / 4.928 GB, free: 63.03 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01352/18.2, allocations: 1.498 MB / 4.93 GB, free: 63 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02685/18.22, allocations: 6.083 MB / 4.936 GB, free: 61.56 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002378/18.23, allocations: 2.108 MB / 4.938 GB, free: 60.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01084/18.24, allocations: 1.25 MB / 4.939 GB, free: 60.77 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003457/18.24, allocations: 1.404 MB / 4.94 GB, free: 60.76 MB / 0.948 GB Notification: Performance of SimCode: time 1.523e-06/18.24, allocations: 2.812 kB / 4.94 GB, free: 60.76 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3072/18.55, allocations: 137.9 MB / 5.075 GB, free: 52.84 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001826/18.55, allocations: 237.4 kB / 5.075 GB, free: 52.53 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.917/28.46, allocations: 0 / 5.075 GB, free: 52.53 MB / 0.948 GB