Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatentLoop",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.274/4.274, allocations: 464.6 MB / 476.8 MB, free: 2.105 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.542e-05/3.528e-05, allocations: 4 kB / 0.5732 GB, free: 5.594 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2342/0.2343, allocations: 107.2 MB / 0.6778 GB, free: 10.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.115/8.349, allocations: 2.5 GB / 3.178 GB, free: 242.8 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003073/8.35, allocations: 100.2 kB / 3.178 GB, free: 242.8 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 8.281/16.63, allocations: 1.62 GB / 4.798 GB, free: 31.49 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.205e-06/16.63, allocations: 0 / 4.798 GB, free: 31.49 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0005011/16.63, allocations: 67.98 kB / 4.798 GB, free: 31.43 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 470 * Number of variables: 470 Notification: Performance of Generate backend data structure: time 0.01852/16.65, allocations: 2.862 MB / 4.801 GB, free: 28.51 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 6.171e-05/16.65, allocations: 12.03 kB / 4.801 GB, free: 28.5 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001106/16.65, allocations: 257.9 kB / 4.802 GB, free: 28.23 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008275/16.66, allocations: 0.6831 MB / 4.802 GB, free: 27.55 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01064/16.67, allocations: 2.765 MB / 4.805 GB, free: 24.71 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001792/16.67, allocations: 147.7 kB / 4.805 GB, free: 24.57 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006697/16.67, allocations: 199.9 kB / 4.805 GB, free: 24.37 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006449/16.68, allocations: 2.148 MB / 4.807 GB, free: 22.17 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.258e-05/16.68, allocations: 4 kB / 4.807 GB, free: 22.16 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003294/16.68, allocations: 75.95 kB / 4.807 GB, free: 22.09 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001046/16.68, allocations: 79.56 kB / 4.807 GB, free: 22.01 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005813/16.68, allocations: 1.823 MB / 4.809 GB, free: 20.19 MB / 0.9323 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.01976/16.7, allocations: 9.104 MB / 4.818 GB, free: 10.54 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002475/16.71, allocations: 0.9271 MB / 4.819 GB, free: 9.594 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001335/16.71, allocations: 0.5624 MB / 4.82 GB, free: 9.027 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006032/16.71, allocations: 2.323 MB / 4.822 GB, free: 6.531 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.576e-05/16.71, allocations: 47.56 kB / 4.822 GB, free: 6.477 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002141/16.72, allocations: 174.6 kB / 4.822 GB, free: 6.305 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=101): time 5.931e-06/16.72, allocations: 0 / 4.822 GB, free: 6.305 MB / 0.9323 GB Notification: Performance of matching and sorting (n=103): time 0.009134/16.72, allocations: 2.804 MB / 4.825 GB, free: 3.438 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.66e-05/16.72, allocations: 64.41 kB / 4.825 GB, free: 3.359 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003715/16.73, allocations: 1.781 MB / 4.827 GB, free: 1.559 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0003566/16.73, allocations: 49.7 kB / 4.827 GB, free: 1.504 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.00113/16.73, allocations: 1.191 MB / 4.828 GB, free: 300 kB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006487/16.73, allocations: 366.7 kB / 4.828 GB, free: 15.93 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001306/16.73, allocations: 28 kB / 4.828 GB, free: 15.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002106/16.73, allocations: 361.9 kB / 4.829 GB, free: 15.54 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001459/16.73, allocations: 447.9 kB / 4.829 GB, free: 15.11 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002139/16.73, allocations: 1.017 MB / 4.83 GB, free: 13.82 MB / 0.948 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: fan.vol.dynBal.medium.p = fan.vol.dynBal.p_start (sin_2.p = fan.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01705/16.75, allocations: 2.108 MB / 4.832 GB, free: 11.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.707e-05/16.75, allocations: 7.938 kB / 4.832 GB, free: 11.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=177) (initialization): time 0.005693/16.76, allocations: 1.694 MB / 4.834 GB, free: 9.988 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.002999/16.76, allocations: 5.961 MB / 4.84 GB, free: 3.469 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.103e-05/16.76, allocations: 16 kB / 4.84 GB, free: 3.453 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002719/16.76, allocations: 336.4 kB / 4.84 GB, free: 3.121 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002449/16.77, allocations: 287.5 kB / 4.84 GB, free: 2.84 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001845/16.77, allocations: 0.9684 MB / 4.841 GB, free: 1.848 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004103/16.77, allocations: 167.5 kB / 4.841 GB, free: 1.684 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004832/16.77, allocations: 79.97 kB / 4.841 GB, free: 1.605 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/16.77, allocations: 4 kB / 4.841 GB, free: 1.602 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004858/16.78, allocations: 1.44 MB / 4.843 GB, free: 160 kB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-05/16.78, allocations: 16.94 kB / 4.843 GB, free: 144 kB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7544/17.53, allocations: 326.6 kB / 4.843 GB, free: 116.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002429/17.53, allocations: 289.2 kB / 4.843 GB, free: 116.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001641/17.54, allocations: 0.9697 MB / 4.844 GB, free: 115.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003767/17.54, allocations: 146.9 kB / 4.844 GB, free: 115.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003359/17.54, allocations: 74.12 kB / 4.844 GB, free: 115.9 MB / 0.948 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: fan.vol.dynBal.medium.p = fan.vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (153): * Single equations (assignments): 151 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 22} Notification: Performance of prepare postOptimizeDAE: time 0.0005376/17.54, allocations: 206.2 kB / 4.845 GB, free: 115.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007208/17.54, allocations: 237.4 kB / 4.845 GB, free: 115.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004902/17.55, allocations: 1.369 MB / 4.846 GB, free: 115.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.561e-05/17.55, allocations: 14.05 kB / 4.846 GB, free: 115.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/17.55, allocations: 0.5 kB / 4.846 GB, free: 115.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002831/17.55, allocations: 1.026 MB / 4.847 GB, free: 115.6 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.01142/17.56, allocations: 3.74 MB / 4.851 GB, free: 115 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-05/17.56, allocations: 9.578 kB / 4.851 GB, free: 115 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001636/17.56, allocations: 171.8 kB / 4.851 GB, free: 115 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002417/17.57, allocations: 303.6 kB / 4.851 GB, free: 115 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001784/17.57, allocations: 35.11 kB / 4.851 GB, free: 115 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001394/17.57, allocations: 0.9292 MB / 4.852 GB, free: 114.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.134e-05/17.57, allocations: 11.67 kB / 4.852 GB, free: 114.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005279/17.57, allocations: 2.508 MB / 4.855 GB, free: 113.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001937/17.57, allocations: 448.8 kB / 4.855 GB, free: 113.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005909/17.57, allocations: 26.88 kB / 4.855 GB, free: 113.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002772/17.58, allocations: 106.9 kB / 4.855 GB, free: 113.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000215/17.58, allocations: 80.36 kB / 4.855 GB, free: 113.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001591/17.58, allocations: 48.05 kB / 4.855 GB, free: 113.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.003996/17.58, allocations: 1.362 MB / 4.857 GB, free: 113.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 9.52e-07/17.58, allocations: 0 / 4.857 GB, free: 113.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.008041/17.59, allocations: 1.41 MB / 4.858 GB, free: 113.2 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 2 (fan.vol.dynBal.U,fan.vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.01471/17.6, allocations: 8.179 MB / 4.866 GB, free: 108.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.007005/17.61, allocations: 1.97 MB / 4.868 GB, free: 108.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.201e-05/17.61, allocations: 5 kB / 4.868 GB, free: 108.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002308/17.61, allocations: 0.5283 MB / 4.869 GB, free: 108.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01238/17.63, allocations: 1.313 MB / 4.87 GB, free: 108.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0184/17.65, allocations: 4.496 MB / 4.874 GB, free: 107.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002729/17.65, allocations: 1.741 MB / 4.876 GB, free: 107 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00736/17.66, allocations: 0.7893 MB / 4.877 GB, free: 107 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00212/17.66, allocations: 0.9399 MB / 4.878 GB, free: 107 MB / 0.948 GB Notification: Performance of SimCode: time 1.272e-06/17.66, allocations: 0 / 4.878 GB, free: 107 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2663/17.92, allocations: 122.8 MB / 4.998 GB, free: 102.9 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002704/17.92, allocations: 251.6 kB / 4.998 GB, free: 102.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.633/26.56, allocations: 0 / 4.998 GB, free: 102.5 MB / 0.948 GB