Running command: "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_Examples_AirHeater_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(IBPSA): time 2.884/2.884, allocations: 288.1 MB / 300.7 MB, free: 15.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.995e-05/3.994e-05, allocations: 9.734 kB / 370.6 MB, free: 7.859 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1636, allocations: 66.99 MB / 437.6 MB, free: 11.34 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.944/7.108, allocations: 2.206 GB / 2.634 GB, free: 97.44 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/7.108, allocations: 92.14 kB / 2.634 GB, free: 97.39 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 10.47/17.58, allocations: 1.924 GB / 4.558 GB, free: 46.39 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.154e-06/17.58, allocations: 1.156 kB / 4.558 GB, free: 46.39 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.000477/17.58, allocations: 69.41 kB / 4.558 GB, free: 46.39 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 382 * Number of variables: 382 Notification: Performance of Generate backend data structure: time 0.01046/17.59, allocations: 2.617 MB / 4.56 GB, free: 45.63 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.744e-05/17.59, allocations: 9.594 kB / 4.56 GB, free: 45.63 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008116/17.59, allocations: 222.3 kB / 4.561 GB, free: 45.58 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008797/17.6, allocations: 0.7977 MB / 4.561 GB, free: 45.45 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01031/17.61, allocations: 2.354 MB / 4.564 GB, free: 45.07 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001509/17.61, allocations: 124.3 kB / 4.564 GB, free: 45.07 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000563/17.61, allocations: 174.6 kB / 4.564 GB, free: 45.06 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004855/17.62, allocations: 1.71 MB / 4.566 GB, free: 44.83 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.929e-05/17.62, allocations: 10.72 kB / 4.566 GB, free: 44.83 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002794/17.62, allocations: 59.94 kB / 4.566 GB, free: 44.83 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.172e-05/17.62, allocations: 57.69 kB / 4.566 GB, free: 44.83 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00394/17.62, allocations: 1.309 MB / 4.567 GB, free: 44.82 MB / 0.6198 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.01789/17.64, allocations: 8.074 MB / 4.575 GB, free: 40.98 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00251/17.64, allocations: 1.607 MB / 4.576 GB, free: 40.21 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001335/17.64, allocations: 0.5515 MB / 4.577 GB, free: 40.2 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006584/17.64, allocations: 211 kB / 4.577 GB, free: 40.01 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0014/17.65, allocations: 0.578 MB / 4.578 GB, free: 39.95 MB / 0.6198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001746/17.65, allocations: 126 kB / 4.578 GB, free: 39.93 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=102): time 6.432e-06/17.65, allocations: 0 / 4.578 GB, free: 39.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=105): time 0.009177/17.66, allocations: 2.682 MB / 4.581 GB, free: 39.25 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.118e-05/17.66, allocations: 169.9 kB / 4.581 GB, free: 39.05 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002843/17.66, allocations: 1.323 MB / 4.582 GB, free: 38.84 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0003649/17.66, allocations: 56.28 kB / 4.582 GB, free: 38.8 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.00103/17.66, allocations: 0.9744 MB / 4.583 GB, free: 38.55 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004962/17.66, allocations: 368.9 kB / 4.583 GB, free: 38.35 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/17.66, allocations: 30.8 kB / 4.583 GB, free: 38.35 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001084/17.66, allocations: 352.4 kB / 4.584 GB, free: 38.05 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00113/17.66, allocations: 432.3 kB / 4.584 GB, free: 38.05 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001339/17.66, allocations: 0.7906 MB / 4.585 GB, free: 37.64 MB / 0.6198 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (hea.vol.dynBal.p_start = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01442/17.68, allocations: 2.136 MB / 4.587 GB, free: 37.45 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.068e-05/17.68, allocations: 0 / 4.587 GB, free: 37.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003831/17.68, allocations: 1.443 MB / 4.588 GB, free: 37.26 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006529/17.68, allocations: 3.04 MB / 4.591 GB, free: 34.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.748e-05/17.68, allocations: 7.094 kB / 4.591 GB, free: 34.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002657/17.68, allocations: 47.72 kB / 4.591 GB, free: 34.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002414/17.69, allocations: 282.6 kB / 4.592 GB, free: 34.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001337/17.69, allocations: 1.496 MB / 4.593 GB, free: 32.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003641/17.69, allocations: 162.9 kB / 4.593 GB, free: 32.74 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003346/17.69, allocations: 53.7 kB / 4.593 GB, free: 32.74 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/17.69, allocations: 6.188 kB / 4.593 GB, free: 32.74 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003248/17.69, allocations: 1.242 MB / 4.595 GB, free: 32.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.285e-05/17.69, allocations: 6.812 kB / 4.595 GB, free: 32.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001867/17.7, allocations: 47.48 kB / 4.595 GB, free: 32.67 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002242/17.7, allocations: 280.5 kB / 4.595 GB, free: 32.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001422/17.7, allocations: 1.5 MB / 4.596 GB, free: 31.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003625/17.7, allocations: 161 kB / 4.597 GB, free: 31.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002997/17.7, allocations: 57.73 kB / 4.597 GB, free: 31.34 MB / 0.6198 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 143 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * 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: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005262/17.7, allocations: 182.6 kB / 4.597 GB, free: 31.23 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006158/17.7, allocations: 196.8 kB / 4.597 GB, free: 31.12 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003529/17.71, allocations: 1.237 MB / 4.598 GB, free: 31.02 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.388e-05/17.71, allocations: 10.34 kB / 4.598 GB, free: 31.02 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/17.71, allocations: 2.938 kB / 4.598 GB, free: 31.02 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00233/17.71, allocations: 0.9782 MB / 4.599 GB, free: 30.92 MB / 0.6198 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.008816/17.72, allocations: 3.363 MB / 4.602 GB, free: 30.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.043e-05/17.72, allocations: 2.75 kB / 4.602 GB, free: 30.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00216/17.72, allocations: 227.8 kB / 4.603 GB, free: 30.24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003622/17.72, allocations: 74.44 kB / 4.603 GB, free: 30.22 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001255/17.72, allocations: 30.64 kB / 4.603 GB, free: 30.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002239/17.72, allocations: 2.742 MB / 4.605 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/17.72, allocations: 3.219 kB / 4.605 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004492/17.73, allocations: 1.948 MB / 4.607 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001513/17.73, allocations: 384.1 kB / 4.608 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004982/17.73, allocations: 32.88 kB / 4.608 GB, free: 27.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002973/17.73, allocations: 156.9 kB / 4.608 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002824/17.73, allocations: 78.94 kB / 4.608 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001504/17.73, allocations: 41.12 kB / 4.608 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.002214/17.74, allocations: 1.021 MB / 4.609 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.21e-07/17.74, allocations: 0 / 4.609 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.006904/17.74, allocations: 1.317 MB / 4.61 GB, free: 26.87 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 9 (vol.dynBal.U,vol.dynBal.mXi[1],mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,hea.vol.dynBal.U,hea.vol.dynBal.m,hea.vol.dynBal.mXi[1]) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01081/17.75, allocations: 6.229 MB / 4.616 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.006021/17.76, allocations: 2.164 MB / 4.618 GB, free: 39.89 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-05/17.76, allocations: 6.312 kB / 4.618 GB, free: 39.89 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001547/17.76, allocations: 0.7289 MB / 4.619 GB, free: 39.69 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008032/17.77, allocations: 0.9619 MB / 4.62 GB, free: 39.66 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01349/17.78, allocations: 3.764 MB / 4.624 GB, free: 38.72 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001633/17.78, allocations: 1.641 MB / 4.625 GB, free: 37.98 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.005398/17.79, allocations: 0.6932 MB / 4.626 GB, free: 37.96 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001822/17.79, allocations: 0.8307 MB / 4.627 GB, free: 37.96 MB / 0.6355 GB Notification: Performance of SimCode: time 1.313e-06/17.79, allocations: 0 / 4.627 GB, free: 37.96 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2217/18.01, allocations: 106.9 MB / 4.731 GB, free: 31.42 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001706/18.01, allocations: 213 kB / 4.731 GB, free: 31.19 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.733/25.75, allocations: 0 / 4.731 GB, free: 31.19 MB / 0.6355 GB