Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl,fileNamePrefix="Buildings_5_0_1_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSetPointControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.741/3.741, allocations: 403.3 MB / 415.4 MB, free: 13 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.15e-05/4.155e-05, allocations: 11.92 kB / 0.4991 GB, free: 13.34 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6174/0.6174, allocations: 92.68 MB / 0.5896 GB, free: 14.41 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.508/8.125, allocations: 2.478 GB / 3.068 GB, free: 68.56 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000323/8.126, allocations: 111 kB / 3.068 GB, free: 68.5 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 9.349/17.47, allocations: 1.627 GB / 4.695 GB, free: 65.8 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.395e-06/17.47, allocations: 3.062 kB / 4.695 GB, free: 65.8 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0008064/17.48, allocations: 97.66 kB / 4.695 GB, free: 65.8 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 621 * Number of variables: 621 Notification: Performance of Generate backend data structure: time 0.01712/17.49, allocations: 3.948 MB / 4.699 GB, free: 64.27 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.553e-05/17.49, allocations: 10.78 kB / 4.699 GB, free: 64.27 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001555/17.49, allocations: 341.4 kB / 4.699 GB, free: 64.21 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01715/17.51, allocations: 1.375 MB / 4.7 GB, free: 63.99 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01855/17.53, allocations: 4.488 MB / 4.705 GB, free: 63.35 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001084/17.53, allocations: 344.3 kB / 4.705 GB, free: 63.28 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001292/17.53, allocations: 266.7 kB / 4.705 GB, free: 63.28 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01126/17.54, allocations: 3.104 MB / 4.708 GB, free: 62.77 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001206/17.54, allocations: 11.06 kB / 4.708 GB, free: 62.77 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005654/17.54, allocations: 103.9 kB / 4.708 GB, free: 62.77 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001319/17.54, allocations: 92.41 kB / 4.708 GB, free: 62.76 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01052/17.56, allocations: 2.609 MB / 4.711 GB, free: 62.73 MB / 0.8386 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.03726/17.59, allocations: 14.47 MB / 4.725 GB, free: 55.84 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005639/17.6, allocations: 1.832 MB / 4.727 GB, free: 55.73 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002625/17.6, allocations: 0.9306 MB / 4.728 GB, free: 55.7 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01337/17.61, allocations: 4.647 MB / 4.732 GB, free: 53.72 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003311/17.62, allocations: 1.111 MB / 4.733 GB, free: 53.55 MB / 0.8386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002726/17.62, allocations: 237 kB / 4.734 GB, free: 53.46 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=152): time 1.454e-05/17.62, allocations: 0 / 4.734 GB, free: 53.46 MB / 0.8386 GB Notification: Performance of matching and sorting (n=154): time 0.02132/17.64, allocations: 6.236 MB / 4.74 GB, free: 50.84 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001984/17.64, allocations: 0.5018 MB / 4.74 GB, free: 50.25 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00776/17.65, allocations: 2.953 MB / 4.743 GB, free: 49.98 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0006656/17.65, allocations: 65.45 kB / 4.743 GB, free: 49.95 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.002349/17.65, allocations: 1.722 MB / 4.745 GB, free: 49.43 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009939/17.65, allocations: 0.5259 MB / 4.745 GB, free: 49.09 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00029/17.65, allocations: 48.41 kB / 4.745 GB, free: 49.09 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001709/17.65, allocations: 387 kB / 4.746 GB, free: 48.79 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002444/17.66, allocations: 0.8191 MB / 4.747 GB, free: 48.78 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003437/17.66, allocations: 1.592 MB / 4.748 GB, free: 47.93 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003087/17.66, allocations: 1.047 MB / 4.749 GB, free: 47.83 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.378e-05/17.66, allocations: 4.906 kB / 4.749 GB, free: 47.83 MB / 0.8386 GB Notification: Performance of matching and sorting (n=277) (initialization): time 0.009167/17.67, allocations: 2.763 MB / 4.752 GB, free: 47.5 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.001682/17.67, allocations: 6.892 MB / 4.759 GB, free: 40.33 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-05/17.67, allocations: 17.91 kB / 4.759 GB, free: 40.33 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003304/17.68, allocations: 59.16 kB / 4.759 GB, free: 40.32 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0086/17.68, allocations: 0.7286 MB / 4.759 GB, free: 40.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002771/17.69, allocations: 2.978 MB / 4.762 GB, free: 37.47 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007733/17.69, allocations: 404.8 kB / 4.763 GB, free: 37.45 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008078/17.7, allocations: 119.5 kB / 4.763 GB, free: 37.45 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/17.7, allocations: 3.656 kB / 4.763 GB, free: 37.45 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006931/17.7, allocations: 2.353 MB / 4.765 GB, free: 37.33 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.159e-05/17.7, allocations: 17.59 kB / 4.765 GB, free: 37.33 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001676/17.7, allocations: 50.53 kB / 4.765 GB, free: 37.32 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00577/17.71, allocations: 0.6259 MB / 4.766 GB, free: 37.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001684/17.71, allocations: 2.502 MB / 4.768 GB, free: 34.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006771/17.72, allocations: 337 kB / 4.769 GB, free: 34.87 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008095/17.72, allocations: 115.1 kB / 4.769 GB, free: 34.87 MB / 0.8386 GB Warning: Assuming fixed start value for the following 2 variables: pum.vol.dynBal.m:VARIABLE(min = max(0.0, 0.0) start = 0.0183208683127324 * pum.vol.rho_start unit = "kg" stateSelect=StateSelect.prefer protected = true ) "Mass of fluid" type: Real chi.vol2.dynBal.m:VARIABLE(min = max(0.0, 0.0) start = 0.45802170781831 * chi.vol2.rho_start unit = "kg" stateSelect=StateSelect.prefer protected = true final = true ) "Mass of fluid" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 17 ($PRE.triAndRes.firstTrigger,triAndRes.firstTrigger,$whenCondition3,triAndRes.sampleTrigger,$PRE.triAndRes.uniDel1.firstTrigger,triAndRes.uniDel1.firstTrigger,$PRE.triAndRes.sam.firstTrigger,triAndRes.sam.firstTrigger,$whenCondition1,triAndRes.sam.sampleTrigger,$whenCondition2,triAndRes.uniDel1.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 (273): * Single equations (assignments): 263 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.00108/17.72, allocations: 271.7 kB / 4.769 GB, free: 34.75 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001297/17.72, allocations: 355.8 kB / 4.769 GB, free: 34.56 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007216/17.73, allocations: 2.261 MB / 4.771 GB, free: 34.4 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.803e-05/17.73, allocations: 23.27 kB / 4.771 GB, free: 34.4 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/17.73, allocations: 2.906 kB / 4.771 GB, free: 34.4 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004487/17.73, allocations: 1.896 MB / 4.773 GB, free: 33.91 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01693/17.75, allocations: 5.551 MB / 4.779 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.384e-05/17.75, allocations: 0 / 4.779 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006789/17.76, allocations: 0.5184 MB / 4.779 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002216/17.76, allocations: 66.58 kB / 4.779 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004526/17.76, allocations: 54.11 kB / 4.779 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006063/17.76, allocations: 3.806 MB / 4.783 GB, free: 45.35 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.022e-06/17.76, allocations: 4.594 kB / 4.783 GB, free: 45.35 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009223/17.77, allocations: 3.617 MB / 4.787 GB, free: 44.44 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00325/17.78, allocations: 0.7036 MB / 4.787 GB, free: 44.16 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001589/17.78, allocations: 43.05 kB / 4.787 GB, free: 44.16 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006322/17.78, allocations: 287.2 kB / 4.788 GB, free: 44.14 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006047/17.78, allocations: 118.4 kB / 4.788 GB, free: 44.14 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003694/17.78, allocations: 80.23 kB / 4.788 GB, free: 44.14 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.006296/17.79, allocations: 2.251 MB / 4.79 GB, free: 43.98 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.012e-06/17.79, allocations: 4.531 kB / 4.79 GB, free: 43.98 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.01106/17.8, allocations: 1.949 MB / 4.792 GB, free: 43.87 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 14 (chi.vol1.ports[1].h_outflow,chi.vol2.dynBal.U,chi.vol2.dynBal.m,limPID.I.y,limPID.D.x,TRet.T,pum.vol.dynBal.U,pum.vol.dynBal.m,pum.filter.x[1],pum.filter.x[2],expVesChi.m,expVesChi.H,firstOrder1.y,TSup.T) * Number of discrete variables: 12 (triAndRes.uniDel1.sampleTrigger,triAndRes.sam.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 (173): * Single equations (assignments): 160 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.02006/17.82, allocations: 8.411 MB / 4.8 GB, free: 40.55 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0149/17.84, allocations: 3.865 MB / 4.804 GB, free: 40.05 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.307e-05/17.84, allocations: 1.125 kB / 4.804 GB, free: 40.05 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.004934/17.84, allocations: 0.9995 MB / 4.805 GB, free: 40.05 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01315/17.86, allocations: 1.557 MB / 4.806 GB, free: 40.02 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02661/17.88, allocations: 6.494 MB / 4.813 GB, free: 38.5 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002349/17.88, allocations: 2.174 MB / 4.815 GB, free: 37.74 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.01058/17.89, allocations: 1.29 MB / 4.816 GB, free: 37.55 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003743/17.9, allocations: 1.478 MB / 4.818 GB, free: 37.54 MB / 0.8542 GB Notification: Performance of SimCode: time 1.944e-06/17.9, allocations: 0 / 4.818 GB, free: 37.54 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3283/18.23, allocations: 144.3 MB / 4.958 GB, free: 0.6641 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003814/18.23, allocations: 266 kB / 4.959 GB, free: 336 kB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.56/28.78, allocations: 0 / 4.959 GB, free: 336 kB / 0.8542 GB