Running command: "" <> buildModelFMU(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,fileNamePrefix="Buildings_5_0_1_Buildings_Examples_DualFanDualDuct_Controls_Examples_RoomMixingBox",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.881/3.881, allocations: 403.3 MB / 415.4 MB, free: 12.93 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.31e-05/3.313e-05, allocations: 4 kB / 0.4991 GB, free: 13.3 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6364/0.6364, allocations: 92.67 MB / 0.5896 GB, free: 14.52 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2667/0.9032, allocations: 128.7 MB / 0.7153 GB, free: 13.62 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003411/0.9036, allocations: 83.95 kB / 0.7154 GB, free: 13.54 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.06207/0.9657, allocations: 14.77 MB / 0.7298 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.894e-06/0.9658, allocations: 0 / 0.7298 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.327e-05/0.9659, allocations: 16 kB / 0.7298 GB, free: 14.73 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.003116/0.969, allocations: 1.063 MB / 0.7309 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.361e-05/0.9691, allocations: 8.031 kB / 0.7309 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000232/0.9693, allocations: 102.5 kB / 0.731 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002961/0.9696, allocations: 102.8 kB / 0.7311 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001498/0.9711, allocations: 0.5929 MB / 0.7317 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.647e-05/0.9712, allocations: 45.31 kB / 0.7317 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00016/0.9714, allocations: 56 kB / 0.7318 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001883/0.9733, allocations: 0.6941 MB / 0.7324 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.865e-05/0.9734, allocations: 7.891 kB / 0.7324 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001103/0.9735, allocations: 28 kB / 0.7325 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.11e-05/0.9735, allocations: 12 kB / 0.7325 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001408/0.9749, allocations: 473.1 kB / 0.7329 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005917/0.9809, allocations: 2.681 MB / 0.7356 GB, free: 8.621 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001894/0.9828, allocations: 0.5446 MB / 0.7361 GB, free: 8.062 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005785/0.9834, allocations: 217.3 kB / 0.7363 GB, free: 7.848 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.567e-05/0.9835, allocations: 4.375 kB / 0.7363 GB, free: 7.844 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007946/0.9843, allocations: 285.9 kB / 0.7366 GB, free: 7.555 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=48): time 3.667e-06/0.9843, allocations: 4 kB / 0.7366 GB, free: 7.551 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48): time 0.001488/0.9858, allocations: 471.2 kB / 0.737 GB, free: 7.082 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001501/0.986, allocations: 222 kB / 0.7372 GB, free: 6.816 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001252/0.9873, allocations: 0.5899 MB / 0.7378 GB, free: 6.223 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001293/0.9874, allocations: 37.64 kB / 0.7378 GB, free: 6.18 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004566/0.9879, allocations: 357 kB / 0.7382 GB, free: 5.824 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002229/0.9881, allocations: 157.7 kB / 0.7383 GB, free: 5.668 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.146e-05/0.9882, allocations: 8 kB / 0.7383 GB, free: 5.66 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000188/0.9884, allocations: 333.9 kB / 0.7387 GB, free: 5.328 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005512/0.989, allocations: 169.1 kB / 0.7388 GB, free: 5.16 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006961/0.9897, allocations: 287.4 kB / 0.7391 GB, free: 4.852 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005906/0.9903, allocations: 238.5 kB / 0.7393 GB, free: 4.605 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.788e-06/0.9903, allocations: 0 / 0.7393 GB, free: 4.605 MB / 0.6198 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001651/0.992, allocations: 0.5865 MB / 0.7399 GB, free: 3.996 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002484/0.9922, allocations: 423.8 kB / 0.7403 GB, free: 3.547 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/0.9923, allocations: 4 kB / 0.7403 GB, free: 3.543 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.282e-05/0.9923, allocations: 0 / 0.7403 GB, free: 3.543 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001275/0.9936, allocations: 155.8 kB / 0.7405 GB, free: 3.391 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.714e-05/0.9936, allocations: 4 kB / 0.7405 GB, free: 3.387 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001246/0.9949, allocations: 123.4 kB / 0.7406 GB, free: 3.266 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.63e-05/0.995, allocations: 20 kB / 0.7406 GB, free: 3.246 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.995, allocations: 7.938 kB / 0.7406 GB, free: 3.238 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001371/0.9964, allocations: 496 kB / 0.7411 GB, free: 2.738 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.9964, allocations: 0 / 0.7411 GB, free: 2.738 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.9964, allocations: 4 kB / 0.7411 GB, free: 2.734 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009834/0.9974, allocations: 116 kB / 0.7412 GB, free: 2.621 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.325e-05/0.9974, allocations: 7.938 kB / 0.7412 GB, free: 2.613 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009817/0.9984, allocations: 103.4 kB / 0.7413 GB, free: 2.512 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.848e-05/0.9985, allocations: 19.95 kB / 0.7413 GB, free: 2.492 MB / 0.6198 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 ($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,conMix.conFloRat.I.trigger_internal,conMix.conCoo.I.trigger_internal,conMix.conHea.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 55 * 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.0002437/0.9988, allocations: 136.9 kB / 0.7414 GB, free: 2.352 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001735/0.9989, allocations: 79 kB / 0.7415 GB, free: 2.273 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001544/1.001, allocations: 0.5118 MB / 0.742 GB, free: 1.75 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/1.001, allocations: 4 kB / 0.742 GB, free: 1.746 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/1.001, allocations: 0 / 0.742 GB, free: 1.746 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.196e-06/1.001, allocations: 4 kB / 0.742 GB, free: 1.742 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001238/1.002, allocations: 0.751 MB / 0.7428 GB, free: 0.9414 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/1.002, allocations: 0 / 0.7428 GB, free: 0.9414 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001204/1.003, allocations: 139.8 kB / 0.7429 GB, free: 0.8047 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/1.003, allocations: 0 / 0.7429 GB, free: 0.8047 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.51e-05/1.003, allocations: 8 kB / 0.7429 GB, free: 0.7969 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/1.003, allocations: 0 / 0.7429 GB, free: 0.7969 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/1.003, allocations: 4 kB / 0.7429 GB, free: 0.793 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002028/1.005, allocations: 0.7611 MB / 0.7437 GB, free: 16 kB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004248/1.006, allocations: 220 kB / 0.7439 GB, free: 15.78 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001465/1.006, allocations: 16 kB / 0.7439 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001017/1.007, allocations: 91.91 kB / 0.744 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001966/1.007, allocations: 56.23 kB / 0.744 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.076e-05/1.007, allocations: 8 kB / 0.744 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0009167/1.008, allocations: 483.2 kB / 0.7445 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.81e-07/1.008, allocations: 0 / 0.7445 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0009539/1.009, allocations: 243.2 kB / 0.7447 GB, free: 14.91 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (conMix.conHea.I.y,conMix.conCoo.I.y,conMix.conFloRat.I.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,TRoo.T_start,TRoo.count,m_flow.T_start,m_flow.count) * Number of discrete states: 2 (TRoo.count,m_flow.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 44 * 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.002517/1.012, allocations: 1.345 MB / 0.746 GB, free: 13.53 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002221/1.014, allocations: 0.8927 MB / 0.7469 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/1.014, allocations: 0 / 0.7469 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0006636/1.015, allocations: 230.4 kB / 0.7471 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001393/1.016, allocations: 181.3 kB / 0.7473 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00311/1.019, allocations: 1.003 MB / 0.7483 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006827/1.02, allocations: 0.9395 MB / 0.7492 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001011/1.021, allocations: 135.6 kB / 0.7493 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006487/1.021, allocations: 279.3 kB / 0.7496 GB, free: 9.758 MB / 0.6355 GB Notification: Performance of SimCode: time 1.112e-06/1.021, allocations: 0 / 0.7496 GB, free: 9.758 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0943/1.116, allocations: 16.57 MB / 0.7658 GB, free: 9.355 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003506/1.116, allocations: 171.6 kB / 0.7659 GB, free: 9.129 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.197/4.313, allocations: 0 / 0.7659 GB, free: 9.129 MB / 0.6511 GB