Running command: "" <> buildModelFMU(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,fileNamePrefix="Buildings_latest_Buildings_Examples_DualFanDualDuct_Controls_Examples_RoomMixingBox",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.361/4.361, allocations: 464.6 MB / 476.8 MB, free: 2.227 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.763e-05/3.771e-05, allocations: 4 kB / 0.5732 GB, free: 5.68 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2443/0.2443, allocations: 107.2 MB / 0.6778 GB, free: 10.33 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9058/1.15, allocations: 136.8 MB / 0.8114 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002709/1.151, allocations: 79.28 kB / 0.8115 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.04977/1.2, allocations: 12.67 MB / 0.8239 GB, free: 9.66 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.134e-06/1.2, allocations: 0 / 0.8239 GB, free: 9.66 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.574e-05/1.2, allocations: 15.34 kB / 0.8239 GB, free: 9.66 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 185 * Number of variables: 185 Notification: Performance of Generate backend data structure: time 0.00309/1.204, allocations: 1.079 MB / 0.8249 GB, free: 8.875 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/1.204, allocations: 7.719 kB / 0.8249 GB, free: 8.875 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002738/1.204, allocations: 119.2 kB / 0.8251 GB, free: 8.816 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003502/1.204, allocations: 104.6 kB / 0.8252 GB, free: 8.762 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001002/1.205, allocations: 0.5125 MB / 0.8257 GB, free: 8.426 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.526e-05/1.205, allocations: 62.25 kB / 0.8257 GB, free: 8.422 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001577/1.206, allocations: 76.88 kB / 0.8258 GB, free: 8.422 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001797/1.207, allocations: 0.7196 MB / 0.8265 GB, free: 8.254 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.733e-05/1.207, allocations: 0 / 0.8265 GB, free: 8.254 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001052/1.208, allocations: 32.12 kB / 0.8265 GB, free: 8.25 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.461e-05/1.208, allocations: 19.38 kB / 0.8265 GB, free: 8.25 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0015/1.209, allocations: 0.5143 MB / 0.8271 GB, free: 8.23 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005771/1.215, allocations: 2.489 MB / 0.8295 GB, free: 7.012 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00178/1.217, allocations: 0.6145 MB / 0.8301 GB, free: 6.926 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006309/1.217, allocations: 273.8 kB / 0.8303 GB, free: 6.902 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.258e-05/1.217, allocations: 11.86 kB / 0.8304 GB, free: 6.898 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007752/1.218, allocations: 315.8 kB / 0.8307 GB, free: 6.805 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=60): time 3.837e-06/1.218, allocations: 0 / 0.8307 GB, free: 6.805 MB / 0.6355 GB Notification: Performance of matching and sorting (n=60): time 0.001413/1.22, allocations: 0.5073 MB / 0.8312 GB, free: 6.688 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.771e-05/1.22, allocations: 143.6 kB / 0.8313 GB, free: 6.527 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001104/1.221, allocations: 0.5621 MB / 0.8318 GB, free: 6.375 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001277/1.221, allocations: 43.97 kB / 0.8319 GB, free: 6.34 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003482/1.221, allocations: 359.3 kB / 0.8322 GB, free: 6.156 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002092/1.222, allocations: 197.5 kB / 0.8324 GB, free: 6.02 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.183e-05/1.222, allocations: 6.25 kB / 0.8324 GB, free: 6.02 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.521e-05/1.222, allocations: 331.5 kB / 0.8327 GB, free: 5.707 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005352/1.222, allocations: 184.2 kB / 0.8329 GB, free: 5.707 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006147/1.223, allocations: 294.6 kB / 0.8332 GB, free: 5.598 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005411/1.224, allocations: 262.2 kB / 0.8334 GB, free: 5.508 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/1.224, allocations: 0 / 0.8334 GB, free: 5.508 MB / 0.6355 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001538/1.225, allocations: 0.6359 MB / 0.8341 GB, free: 5.32 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001331/1.225, allocations: 420.1 kB / 0.8345 GB, free: 4.891 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/1.225, allocations: 3.906 kB / 0.8345 GB, free: 4.891 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.755e-05/1.225, allocations: 3.812 kB / 0.8345 GB, free: 4.891 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00126/1.227, allocations: 165.6 kB / 0.8346 GB, free: 4.848 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.599e-05/1.227, allocations: 3.781 kB / 0.8346 GB, free: 4.848 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001184/1.228, allocations: 143.4 kB / 0.8348 GB, free: 4.789 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-05/1.228, allocations: 23.14 kB / 0.8348 GB, free: 4.785 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/1.228, allocations: 7.906 kB / 0.8348 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001518/1.229, allocations: 0.5319 MB / 0.8353 GB, free: 20.67 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/1.23, allocations: 0 / 0.8353 GB, free: 20.67 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/1.23, allocations: 3.844 kB / 0.8353 GB, free: 20.67 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001027/1.231, allocations: 146.1 kB / 0.8355 GB, free: 20.63 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.779e-06/1.231, allocations: 0 / 0.8355 GB, free: 20.63 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001026/1.232, allocations: 122.9 kB / 0.8356 GB, free: 20.58 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-05/1.232, allocations: 15.28 kB / 0.8356 GB, free: 20.58 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.TRoo.T_start,TRoo.T_start,$PRE.TRoo.count,TRoo.count,$PRE.m_flow.T_start,m_flow.T_start,$PRE.m_flow.count,m_flow.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002919/1.232, allocations: 147.1 kB / 0.8357 GB, free: 20.46 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000202/1.232, allocations: 72.78 kB / 0.8358 GB, free: 20.42 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001414/1.234, allocations: 0.5467 MB / 0.8363 GB, free: 20.3 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/1.234, allocations: 7.688 kB / 0.8363 GB, free: 20.3 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/1.234, allocations: 0 / 0.8363 GB, free: 20.3 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/1.234, allocations: 7.984 kB / 0.8363 GB, free: 20.29 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002595/1.236, allocations: 1.398 MB / 0.8377 GB, free: 19.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.204e-06/1.236, allocations: 3.719 kB / 0.8377 GB, free: 19.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001225/1.238, allocations: 145.4 kB / 0.8379 GB, free: 19.67 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.098e-05/1.238, allocations: 3.906 kB / 0.8379 GB, free: 19.67 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.416e-05/1.238, allocations: 21.58 kB / 0.8379 GB, free: 19.66 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.943e-06/1.238, allocations: 0 / 0.8379 GB, free: 19.66 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/1.238, allocations: 3.844 kB / 0.8379 GB, free: 19.66 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002004/1.24, allocations: 0.9526 MB / 0.8388 GB, free: 19.36 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002818/1.24, allocations: 161.9 kB / 0.839 GB, free: 19.21 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001561/1.24, allocations: 22.52 kB / 0.839 GB, free: 19.21 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001/1.241, allocations: 94.31 kB / 0.8391 GB, free: 19.18 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001778/1.241, allocations: 52.67 kB / 0.8391 GB, free: 19.16 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.57e-05/1.242, allocations: 18.39 kB / 0.8391 GB, free: 19.16 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0007932/1.242, allocations: 457.3 kB / 0.8396 GB, free: 19.04 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.874e-06/1.242, allocations: 0 / 0.8396 GB, free: 19.04 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001074/1.243, allocations: 271.5 kB / 0.8398 GB, free: 18.98 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (conMix.conHea.I.y,conMix.conCoo.I.y,conMix.conFloRat.I.y) * Number of discrete variables: 9 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,TRoo.T_start,TRoo.count,m_flow.T_start,m_flow.count) * Number of discrete states: 2 (m_flow.count,TRoo.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002513/1.246, allocations: 1.738 MB / 0.8415 GB, free: 17.93 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002072/1.248, allocations: 0.9605 MB / 0.8425 GB, free: 17.63 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 7.745e-06/1.248, allocations: 0 / 0.8425 GB, free: 17.63 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0006822/1.249, allocations: 265.4 kB / 0.8427 GB, free: 17.61 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001026/1.25, allocations: 117.3 kB / 0.8428 GB, free: 17.59 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003147/1.253, allocations: 1.073 MB / 0.8439 GB, free: 17.11 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005767/1.254, allocations: 0.952 MB / 0.8448 GB, free: 16.29 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0009206/1.255, allocations: 121.5 kB / 0.8449 GB, free: 16.23 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005777/1.255, allocations: 290.2 kB / 0.8452 GB, free: 16.19 MB / 0.6511 GB Notification: Performance of SimCode: time 1.844e-06/1.255, allocations: 0 / 0.8452 GB, free: 16.19 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05669/1.312, allocations: 15.04 MB / 0.8599 GB, free: 1.758 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003685/1.312, allocations: 179.3 kB / 0.8601 GB, free: 1.527 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.143/4.455, allocations: 0 / 0.8601 GB, free: 1.527 MB / 0.6511 GB