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.633/3.633, allocations: 403.3 MB / 415.4 MB, free: 12.98 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.818e-05/3.823e-05, allocations: 7.922 kB / 0.4991 GB, free: 13.35 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5839/0.584, allocations: 92.68 MB / 0.5897 GB, free: 14.5 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.276/7.86, allocations: 2.478 GB / 3.068 GB, free: 69.53 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003275/7.861, allocations: 109.7 kB / 3.068 GB, free: 69.47 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 9.354/17.21, allocations: 1.627 GB / 4.695 GB, free: 65.67 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.915e-06/17.21, allocations: 0 / 4.695 GB, free: 65.67 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0008072/17.22, allocations: 105.2 kB / 4.695 GB, free: 65.67 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.01664/17.23, allocations: 3.938 MB / 4.699 GB, free: 64.14 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.486e-05/17.23, allocations: 6.844 kB / 4.699 GB, free: 64.14 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001436/17.23, allocations: 346.9 kB / 4.699 GB, free: 64.09 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01737/17.25, allocations: 1.377 MB / 4.7 GB, free: 63.87 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01805/17.27, allocations: 4.491 MB / 4.705 GB, free: 63.22 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001067/17.27, allocations: 345 kB / 4.705 GB, free: 63.15 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001176/17.27, allocations: 266.7 kB / 4.705 GB, free: 63.15 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01058/17.28, allocations: 3.08 MB / 4.708 GB, free: 62.65 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.613e-05/17.28, allocations: 7.188 kB / 4.708 GB, free: 62.65 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000508/17.28, allocations: 111.4 kB / 4.708 GB, free: 62.65 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001267/17.28, allocations: 94.03 kB / 4.708 GB, free: 62.64 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009927/17.29, allocations: 2.565 MB / 4.711 GB, free: 62.63 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.03783/17.33, allocations: 14.46 MB / 4.725 GB, free: 55.75 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005653/17.34, allocations: 1.812 MB / 4.727 GB, free: 55.64 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002833/17.34, allocations: 0.9368 MB / 4.728 GB, free: 55.61 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0128/17.35, allocations: 4.643 MB / 4.732 GB, free: 53.62 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003212/17.36, allocations: 1.105 MB / 4.733 GB, free: 53.45 MB / 0.8386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002721/17.36, allocations: 227.5 kB / 4.734 GB, free: 53.36 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=152): time 1.052e-05/17.36, allocations: 0 / 4.734 GB, free: 53.36 MB / 0.8386 GB Notification: Performance of matching and sorting (n=154): time 0.02713/17.39, allocations: 6.238 MB / 4.74 GB, free: 50.75 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001917/17.39, allocations: 0.5051 MB / 4.74 GB, free: 50.15 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008594/17.39, allocations: 2.952 MB / 4.743 GB, free: 49.89 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.000672/17.4, allocations: 63.23 kB / 4.743 GB, free: 49.86 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.002851/17.4, allocations: 1.719 MB / 4.745 GB, free: 49.34 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.001014/17.4, allocations: 0.5217 MB / 4.745 GB, free: 49.01 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003155/17.4, allocations: 47.19 kB / 4.745 GB, free: 49.01 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001818/17.4, allocations: 386.7 kB / 4.746 GB, free: 48.7 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002527/17.4, allocations: 0.8142 MB / 4.746 GB, free: 48.7 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003455/17.41, allocations: 1.585 MB / 4.748 GB, free: 47.85 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003049/17.41, allocations: 1.046 MB / 4.749 GB, free: 47.75 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-05/17.41, allocations: 3.531 kB / 4.749 GB, free: 47.75 MB / 0.8386 GB Notification: Performance of matching and sorting (n=277) (initialization): time 0.01442/17.42, allocations: 2.728 MB / 4.752 GB, free: 47.42 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.002467/17.43, allocations: 6.893 MB / 4.758 GB, free: 40.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001073/17.43, allocations: 15.34 kB / 4.758 GB, free: 40.25 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004544/17.43, allocations: 62.27 kB / 4.759 GB, free: 40.24 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01272/17.44, allocations: 0.7276 MB / 4.759 GB, free: 40.24 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003289/17.44, allocations: 2.972 MB / 4.762 GB, free: 37.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007934/17.45, allocations: 405.9 kB / 4.763 GB, free: 37.36 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008122/17.45, allocations: 120.8 kB / 4.763 GB, free: 37.36 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/17.45, allocations: 5.844 kB / 4.763 GB, free: 37.36 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007075/17.46, allocations: 2.311 MB / 4.765 GB, free: 37.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.894e-05/17.46, allocations: 18.34 kB / 4.765 GB, free: 37.25 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000165/17.46, allocations: 51.02 kB / 4.765 GB, free: 37.24 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005928/17.46, allocations: 0.6266 MB / 4.766 GB, free: 37.24 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001668/17.47, allocations: 2.494 MB / 4.768 GB, free: 34.81 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006837/17.47, allocations: 342.9 kB / 4.768 GB, free: 34.79 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007868/17.47, allocations: 116.1 kB / 4.768 GB, free: 34.79 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.001054/17.48, allocations: 274.5 kB / 4.769 GB, free: 34.66 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001256/17.48, allocations: 354.2 kB / 4.769 GB, free: 34.48 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007434/17.48, allocations: 2.257 MB / 4.771 GB, free: 34.33 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.205e-05/17.48, allocations: 21.69 kB / 4.771 GB, free: 34.33 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.305e-06/17.48, allocations: 7 kB / 4.771 GB, free: 34.33 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004508/17.49, allocations: 1.897 MB / 4.773 GB, free: 33.83 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01557/17.5, allocations: 5.54 MB / 4.779 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-05/17.5, allocations: 7.031 kB / 4.779 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007121/17.51, allocations: 0.5171 MB / 4.779 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002191/17.51, allocations: 64.67 kB / 4.779 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004559/17.51, allocations: 56.19 kB / 4.779 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005009/17.52, allocations: 3.789 MB / 4.783 GB, free: 29.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/17.52, allocations: 4.469 kB / 4.783 GB, free: 29.27 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00895/17.53, allocations: 3.617 MB / 4.786 GB, free: 28.36 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00298/17.53, allocations: 0.7072 MB / 4.787 GB, free: 28.08 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001447/17.53, allocations: 43.86 kB / 4.787 GB, free: 28.08 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00611/17.54, allocations: 288.5 kB / 4.787 GB, free: 28.07 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005496/17.54, allocations: 116.8 kB / 4.788 GB, free: 28.07 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003431/17.54, allocations: 77.19 kB / 4.788 GB, free: 28.07 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.00599/17.54, allocations: 2.247 MB / 4.79 GB, free: 27.91 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6.71e-07/17.54, allocations: 0 / 4.79 GB, free: 27.91 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.01044/17.55, allocations: 1.959 MB / 4.792 GB, free: 27.79 MB / 0.8386 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.01853/17.57, allocations: 8.486 MB / 4.8 GB, free: 40.39 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01407/17.59, allocations: 3.788 MB / 4.804 GB, free: 39.92 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.558e-05/17.59, allocations: 2.312 kB / 4.804 GB, free: 39.92 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.005367/17.59, allocations: 0.9887 MB / 4.805 GB, free: 39.91 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01365/17.61, allocations: 1.551 MB / 4.806 GB, free: 39.89 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03146/17.64, allocations: 6.495 MB / 4.813 GB, free: 38.38 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004099/17.64, allocations: 2.17 MB / 4.815 GB, free: 37.62 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.01234/17.65, allocations: 1.292 MB / 4.816 GB, free: 37.43 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003925/17.66, allocations: 1.484 MB / 4.817 GB, free: 37.41 MB / 0.8542 GB Notification: Performance of SimCode: time 1.894e-06/17.66, allocations: 0 / 4.817 GB, free: 37.41 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3511/18.01, allocations: 144.3 MB / 4.958 GB, free: 1.926 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003736/18.01, allocations: 264.8 kB / 4.959 GB, free: 1.586 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.28/28.29, allocations: 0.6562 kB / 4.959 GB, free: 1.586 MB / 0.8542 GB