Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_HeatExchangers_Validation_HeaterCooler_u",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.625/4.625, allocations: 404.2 MB / 411.3 MB, free: 356 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.484e-05/3.463e-05, allocations: 4 kB / 0.4945 GB, free: 1.297 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7213/0.7213, allocations: 92.69 MB / 0.585 GB, free: 2.285 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.444/8.166, allocations: 2.177 GB / 2.762 GB, free: 110.1 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003076/8.166, allocations: 87.77 kB / 2.762 GB, free: 110.1 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.932/14.1, allocations: 0.9915 GB / 3.754 GB, free: 0.7383 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.834e-06/14.1, allocations: 0 / 3.754 GB, free: 0.7383 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0002417/14.1, allocations: 48.2 kB / 3.754 GB, free: 0.6914 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 0.007358/14.11, allocations: 2.143 MB / 3.756 GB, free: 14.48 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 6.079e-05/14.11, allocations: 12.03 kB / 3.756 GB, free: 14.46 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007394/14.11, allocations: 0.6121 MB / 3.757 GB, free: 13.85 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007372/14.12, allocations: 1.582 MB / 3.758 GB, free: 12.21 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000105/14.12, allocations: 43.95 kB / 3.758 GB, free: 12.17 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003952/14.12, allocations: 87.98 kB / 3.758 GB, free: 12.09 MB / 0.7917 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003938/14.13, allocations: 1.044 MB / 3.759 GB, free: 11.04 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004358/14.13, allocations: 1.283 MB / 3.761 GB, free: 9.68 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.412e-05/14.13, allocations: 0 / 3.761 GB, free: 9.68 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002302/14.13, allocations: 4 kB / 3.761 GB, free: 9.676 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001067/14.13, allocations: 42.47 kB / 3.761 GB, free: 9.633 MB / 0.7917 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.01842/14.15, allocations: 5.971 MB / 3.766 GB, free: 3.328 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002492/14.15, allocations: 0.8887 MB / 3.767 GB, free: 2.395 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001292/14.15, allocations: 444.8 kB / 3.768 GB, free: 1.953 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005991/14.15, allocations: 113.8 kB / 3.768 GB, free: 1.824 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001694/14.15, allocations: 0.6176 MB / 3.768 GB, free: 1.145 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=88): time 5.34e-06/14.15, allocations: 0 / 3.768 GB, free: 1.145 MB / 0.7917 GB Notification: Performance of matching and sorting (n=96): time 0.8221/14.98, allocations: 4.275 MB / 3.773 GB, free: 116.2 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001813/14.98, allocations: 0.5223 MB / 3.773 GB, free: 115.6 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002534/14.98, allocations: 0.9382 MB / 3.774 GB, free: 115.4 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0003441/14.98, allocations: 28.83 kB / 3.774 GB, free: 115.4 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.001091/14.98, allocations: 0.8081 MB / 3.775 GB, free: 115.2 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005853/14.98, allocations: 317.9 kB / 3.775 GB, free: 115 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/14.98, allocations: 6.156 kB / 3.775 GB, free: 115 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001179/14.98, allocations: 346.3 kB / 3.775 GB, free: 114.7 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00104/14.98, allocations: 377.7 kB / 3.776 GB, free: 114.7 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001347/14.98, allocations: 0.6644 MB / 3.776 GB, free: 114.4 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007961/14.99, allocations: 1.288 MB / 3.778 GB, free: 114.2 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-05/14.99, allocations: 5.062 kB / 3.778 GB, free: 114.2 MB / 0.7917 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.008791/15, allocations: 1.591 MB / 3.779 GB, free: 114.1 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004663/15, allocations: 1.823 MB / 3.781 GB, free: 112.2 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.935e-05/15, allocations: 5.875 kB / 3.781 GB, free: 112.2 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00201/15, allocations: 376.7 kB / 3.781 GB, free: 112.2 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001774/15.01, allocations: 175.4 kB / 3.782 GB, free: 112.2 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01052/15.02, allocations: 6.369 MB / 3.788 GB, free: 107.9 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003149/15.02, allocations: 107.9 kB / 3.788 GB, free: 107.9 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002572/15.02, allocations: 48.62 kB / 3.788 GB, free: 107.9 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/15.02, allocations: 3.094 kB / 3.788 GB, free: 107.9 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005755/15.03, allocations: 1.407 MB / 3.789 GB, free: 107.7 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.07e-05/15.03, allocations: 7.594 kB / 3.789 GB, free: 107.7 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001696/15.03, allocations: 359.7 kB / 3.79 GB, free: 107.7 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00157/15.03, allocations: 159.8 kB / 3.79 GB, free: 107.7 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01107/15.04, allocations: 7.283 MB / 3.797 GB, free: 102.6 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002667/15.04, allocations: 82.84 kB / 3.797 GB, free: 102.6 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002051/15.04, allocations: 41.12 kB / 3.797 GB, free: 102.6 MB / 0.7917 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. Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: heaSte.vol.heatPort.Q_flow:VARIABLE(flow=true unit = "W" final = true ) "Heat flow rate (positive if flowing from outside into the component)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (99): * Single equations (assignments): 94 * 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.0006/15.04, allocations: 184.5 kB / 3.797 GB, free: 102.5 MB / 0.7917 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00633/15.05, allocations: 1.218 MB / 3.798 GB, free: 102.3 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007094/15.05, allocations: 164.4 kB / 3.799 GB, free: 102.2 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006526/15.06, allocations: 1.241 MB / 3.8 GB, free: 102.2 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.579e-05/15.06, allocations: 21.22 kB / 3.8 GB, free: 102.1 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/15.06, allocations: 3.188 kB / 3.8 GB, free: 102.1 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005877/15.06, allocations: 1.125 MB / 3.801 GB, free: 102 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01161/15.07, allocations: 3.402 MB / 3.804 GB, free: 101 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-05/15.07, allocations: 3.562 kB / 3.804 GB, free: 101 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001876/15.08, allocations: 173.6 kB / 3.804 GB, free: 101 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007279/15.08, allocations: 151.4 kB / 3.805 GB, free: 101 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001695/15.08, allocations: 25.72 kB / 3.805 GB, free: 101 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007237/15.08, allocations: 3.32 MB / 3.808 GB, free: 98.45 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.267e-06/15.08, allocations: 6.938 kB / 3.808 GB, free: 98.45 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007693/15.09, allocations: 2.159 MB / 3.81 GB, free: 97.75 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001452/15.09, allocations: 345.2 kB / 3.81 GB, free: 97.58 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005578/15.09, allocations: 14.16 kB / 3.81 GB, free: 97.58 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002641/15.1, allocations: 97.11 kB / 3.81 GB, free: 97.58 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002725/15.1, allocations: 78.55 kB / 3.81 GB, free: 97.57 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001459/15.1, allocations: 41.31 kB / 3.81 GB, free: 97.57 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.001561/15.1, allocations: 0.715 MB / 3.811 GB, free: 97.46 MB / 0.7917 GB Notification: Performance of sort global known variables: time 6.01e-07/15.1, allocations: 0 / 3.811 GB, free: 97.46 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.007629/15.11, allocations: 0.9577 MB / 3.812 GB, free: 97.46 MB / 0.7917 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 (82): * Single equations (assignments): 79 * 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.01297/15.12, allocations: 6.146 MB / 3.818 GB, free: 94.6 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.005974/15.13, allocations: 2.604 MB / 3.821 GB, free: 93.71 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.098e-05/15.13, allocations: 0 / 3.821 GB, free: 93.71 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001649/15.13, allocations: 0.7692 MB / 3.821 GB, free: 93.43 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006643/15.13, allocations: 0.6851 MB / 3.822 GB, free: 93.41 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01146/15.15, allocations: 2.892 MB / 3.825 GB, free: 92.62 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001328/15.15, allocations: 1.436 MB / 3.826 GB, free: 91.89 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.004148/15.15, allocations: 455.4 kB / 3.827 GB, free: 91.88 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001437/15.15, allocations: 0.6463 MB / 3.827 GB, free: 91.87 MB / 0.7917 GB Notification: Performance of SimCode: time 1.402e-06/15.15, allocations: 0 / 3.827 GB, free: 91.87 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1963/15.35, allocations: 64.13 MB / 3.89 GB, free: 90.21 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003214/15.35, allocations: 192.5 kB / 3.89 GB, free: 90.02 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 6.625/21.97, allocations: 0 / 3.89 GB, free: 90.02 MB / 0.7917 GB