Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_Validation_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildSysPro): time 3.002/3.002, allocations: 325.3 MB / 337.4 MB, free: 10.09 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.811e-05/3.819e-05, allocations: 4 kB / 414.9 MB, free: 6.027 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.1587, allocations: 74.42 MB / 489.3 MB, free: 11.46 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.428/6.587, allocations: 2.163 GB / 2.641 GB, free: 88.04 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003113/6.587, allocations: 91.25 kB / 2.641 GB, free: 87.99 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.276/11.86, allocations: 1.031 GB / 3.671 GB, free: 43.29 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.326e-06/11.86, allocations: 10.52 kB / 3.671 GB, free: 43.28 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0003213/11.86, allocations: 47.92 kB / 3.671 GB, free: 43.23 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 298 * Number of variables: 298 Notification: Performance of Generate backend data structure: time 0.007009/11.87, allocations: 2.087 MB / 3.673 GB, free: 41.08 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/11.87, allocations: 8.031 kB / 3.673 GB, free: 41.07 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006856/11.87, allocations: 177.4 kB / 3.674 GB, free: 40.89 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006242/11.88, allocations: 0.6142 MB / 3.674 GB, free: 40.27 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006272/11.88, allocations: 1.567 MB / 3.676 GB, free: 38.65 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001054/11.88, allocations: 97.58 kB / 3.676 GB, free: 38.55 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003573/11.88, allocations: 127 kB / 3.676 GB, free: 38.43 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004232/11.89, allocations: 1.36 MB / 3.677 GB, free: 37 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.9e-05/11.89, allocations: 3.938 kB / 3.677 GB, free: 37 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002032/11.89, allocations: 56 kB / 3.677 GB, free: 36.94 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.534e-05/11.89, allocations: 38.25 kB / 3.677 GB, free: 36.9 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003477/11.89, allocations: 1.027 MB / 3.678 GB, free: 35.87 MB / 0.6511 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.01211/11.91, allocations: 5.659 MB / 3.684 GB, free: 29.91 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002679/11.91, allocations: 0.9678 MB / 3.685 GB, free: 28.89 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001026/11.91, allocations: 459.1 kB / 3.685 GB, free: 28.45 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007488/11.91, allocations: 304 kB / 3.686 GB, free: 28.09 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00188/11.91, allocations: 0.5364 MB / 3.686 GB, free: 27.54 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=86): time 6.231e-06/11.91, allocations: 3.75 kB / 3.686 GB, free: 27.54 MB / 0.6511 GB Notification: Performance of matching and sorting (n=94): time 0.01262/11.92, allocations: 2.961 MB / 3.689 GB, free: 24.5 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.245e-05/11.92, allocations: 196.6 kB / 3.689 GB, free: 24.27 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002408/11.93, allocations: 1.115 MB / 3.69 GB, free: 23.15 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0003326/11.93, allocations: 45.7 kB / 3.69 GB, free: 23.1 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007839/11.93, allocations: 0.7526 MB / 3.691 GB, free: 22.34 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004674/11.93, allocations: 323.3 kB / 3.691 GB, free: 22.02 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.931e-05/11.93, allocations: 16 kB / 3.691 GB, free: 22 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001266/11.93, allocations: 345.9 kB / 3.692 GB, free: 21.66 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009657/11.93, allocations: 361.9 kB / 3.692 GB, free: 21.3 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001135/11.93, allocations: 0.5858 MB / 3.693 GB, free: 20.64 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01209/11.94, allocations: 1.59 MB / 3.694 GB, free: 19.02 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/11.94, allocations: 0 / 3.694 GB, free: 19.02 MB / 0.6511 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.006259/11.95, allocations: 1.528 MB / 3.696 GB, free: 17.47 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.00031/11.95, allocations: 1.302 MB / 3.697 GB, free: 16.05 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/11.95, allocations: 0 / 3.697 GB, free: 16.05 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001533/11.95, allocations: 363 kB / 3.697 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00128/11.95, allocations: 159.7 kB / 3.697 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008916/11.96, allocations: 6.706 MB / 3.704 GB, free: 8.406 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002508/11.96, allocations: 118.6 kB / 3.704 GB, free: 8.293 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001835/11.96, allocations: 47.94 kB / 3.704 GB, free: 8.246 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/11.96, allocations: 4 kB / 3.704 GB, free: 8.242 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004549/11.97, allocations: 1.363 MB / 3.706 GB, free: 6.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/11.97, allocations: 4 kB / 3.706 GB, free: 6.836 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001488/11.97, allocations: 363.1 kB / 3.706 GB, free: 6.477 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00124/11.97, allocations: 139.8 kB / 3.706 GB, free: 6.34 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01157/11.98, allocations: 7.664 MB / 3.713 GB, free: 14.12 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002333/11.99, allocations: 95.77 kB / 3.714 GB, free: 14.03 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002735/11.99, allocations: 43.97 kB / 3.714 GB, free: 13.98 MB / 0.6667 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.heaDyn.vol.dynBal.medium.p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con2.I.trigger_internal,con1.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 11,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0005412/11.99, allocations: 195.2 kB / 3.714 GB, free: 13.78 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005574/11.99, allocations: 166 kB / 3.714 GB, free: 13.62 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006484/11.99, allocations: 1.375 MB / 3.715 GB, free: 12.22 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.84e-05/11.99, allocations: 12 kB / 3.715 GB, free: 12.21 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/11.99, allocations: 0 / 3.715 GB, free: 12.21 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005574/12, allocations: 1.221 MB / 3.716 GB, free: 10.95 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01414/12.01, allocations: 3.131 MB / 3.72 GB, free: 7.684 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-05/12.01, allocations: 4 kB / 3.72 GB, free: 7.68 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002709/12.02, allocations: 168.2 kB / 3.72 GB, free: 7.516 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001004/12.02, allocations: 157.6 kB / 3.72 GB, free: 7.359 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000355/12.02, allocations: 31.98 kB / 3.72 GB, free: 7.328 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0114/12.03, allocations: 3.438 MB / 3.723 GB, free: 3.613 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.521e-05/12.03, allocations: 7.984 kB / 3.723 GB, free: 3.605 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01182/12.04, allocations: 2.266 MB / 3.725 GB, free: 1.16 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001957/12.04, allocations: 347 kB / 3.726 GB, free: 0.8008 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008204/12.04, allocations: 31.98 kB / 3.726 GB, free: 0.7695 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003853/12.05, allocations: 107.8 kB / 3.726 GB, free: 0.6641 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004291/12.05, allocations: 76.58 kB / 3.726 GB, free: 0.5898 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002607/12.05, allocations: 35.98 kB / 3.726 GB, free: 0.5547 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.5541/12.6, allocations: 0.869 MB / 3.727 GB, free: 86.26 MB / 0.6667 GB Notification: Performance of sort global known variables: time 9.01e-07/12.6, allocations: 2.375 kB / 3.727 GB, free: 86.26 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.007001/12.61, allocations: 0.9808 MB / 3.728 GB, free: 86.26 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 6 (senTem1.T,con1.I.y,heaDyn.vol.dynBal.medium.X[2],heaDyn.vol.dynBal.medium.dT,senTem2.T,con2.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * 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: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.01425/12.62, allocations: 6.138 MB / 3.734 GB, free: 83.46 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.006865/12.63, allocations: 2.557 MB / 3.736 GB, free: 82.6 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.295e-05/12.63, allocations: 4.75 kB / 3.736 GB, free: 82.6 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.002016/12.63, allocations: 0.7856 MB / 3.737 GB, free: 82.33 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007444/12.64, allocations: 0.8431 MB / 3.738 GB, free: 82.3 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01201/12.65, allocations: 2.928 MB / 3.741 GB, free: 81.53 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001644/12.65, allocations: 1.4 MB / 3.742 GB, free: 80.82 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.004619/12.66, allocations: 0.4895 MB / 3.743 GB, free: 80.8 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001575/12.66, allocations: 0.6187 MB / 3.743 GB, free: 80.79 MB / 0.6667 GB Notification: Performance of SimCode: time 1.833e-06/12.66, allocations: 1.375 kB / 3.743 GB, free: 80.79 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2474/12.91, allocations: 92.15 MB / 3.833 GB, free: 77.41 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002296/12.91, allocations: 237 kB / 3.833 GB, free: 77.1 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.033/19.94, allocations: 0 / 3.833 GB, free: 77.1 MB / 0.6667 GB