Running command: "" <> buildModelFMU(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,fileNamePrefix="Buildings_6_0_0_Buildings_Examples_DualFanDualDuct_Controls_Examples_RoomMixingBox",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.077/4.077, allocations: 432.7 MB / 444.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.613e-05/3.627e-05, allocations: 3.719 kB / 0.5338 GB, free: 12.21 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2226/0.2227, allocations: 98.73 MB / 0.6302 GB, free: 6.141 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2507/0.4735, allocations: 130.9 MB / 0.758 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003779/0.4739, allocations: 83.95 kB / 0.7581 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.06296/0.5369, allocations: 14.73 MB / 0.7725 GB, free: 4.234 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.884e-06/0.537, allocations: 0 / 0.7725 GB, free: 4.234 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001033/0.5371, allocations: 23.94 kB / 0.7725 GB, free: 4.211 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.003399/0.5405, allocations: 1.055 MB / 0.7735 GB, free: 3.094 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.548e-05/0.5406, allocations: 8.031 kB / 0.7735 GB, free: 3.086 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002745/0.5408, allocations: 102.5 kB / 0.7736 GB, free: 2.977 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003359/0.5412, allocations: 94.88 kB / 0.7737 GB, free: 2.883 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001604/0.5428, allocations: 0.5967 MB / 0.7743 GB, free: 2.246 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.379e-05/0.5429, allocations: 49.31 kB / 0.7744 GB, free: 2.195 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001643/0.5431, allocations: 63.98 kB / 0.7744 GB, free: 2.133 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001834/0.545, allocations: 0.6798 MB / 0.7751 GB, free: 1.402 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.621e-05/0.545, allocations: 4 kB / 0.7751 GB, free: 1.398 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001078/0.5452, allocations: 20 kB / 0.7751 GB, free: 1.379 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.642e-05/0.5452, allocations: 19.95 kB / 0.7751 GB, free: 1.359 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001431/0.5466, allocations: 458.5 kB / 0.7756 GB, free: 0.9102 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5636/1.11, allocations: 2.672 MB / 0.7782 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001835/1.112, allocations: 0.5479 MB / 0.7787 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005408/1.113, allocations: 205.1 kB / 0.7789 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 7.297e-05/1.113, allocations: 8.688 kB / 0.7789 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007275/1.114, allocations: 280.7 kB / 0.7792 GB, free: 134.4 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=48): time 3.747e-06/1.114, allocations: 0 / 0.7792 GB, free: 134.4 MB / 0.6511 GB Notification: Performance of matching and sorting (n=48): time 0.001557/1.115, allocations: 481 kB / 0.7796 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.409e-05/1.115, allocations: 218.2 kB / 0.7798 GB, free: 134.1 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001459/1.117, allocations: 0.5872 MB / 0.7804 GB, free: 134 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001475/1.117, allocations: 40.08 kB / 0.7805 GB, free: 133.9 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004053/1.117, allocations: 362.2 kB / 0.7808 GB, free: 133.8 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001971/1.118, allocations: 153.2 kB / 0.7809 GB, free: 133.7 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.163e-05/1.118, allocations: 9.719 kB / 0.781 GB, free: 133.7 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.318e-05/1.118, allocations: 331.8 kB / 0.7813 GB, free: 133.4 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005388/1.118, allocations: 169.1 kB / 0.7814 GB, free: 133.4 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006692/1.119, allocations: 277.7 kB / 0.7817 GB, free: 133.3 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005357/1.119, allocations: 239.7 kB / 0.7819 GB, free: 133.3 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/1.119, allocations: 2.719 kB / 0.7819 GB, free: 133.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001528/1.121, allocations: 0.5877 MB / 0.7825 GB, free: 133.1 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001376/1.121, allocations: 423.5 kB / 0.7829 GB, free: 132.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/1.121, allocations: 1.969 kB / 0.7829 GB, free: 132.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.487e-05/1.121, allocations: 2.562 kB / 0.7829 GB, free: 132.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00124/1.122, allocations: 150 kB / 0.7831 GB, free: 132.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.499e-05/1.123, allocations: 2.719 kB / 0.7831 GB, free: 132.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001272/1.124, allocations: 124.5 kB / 0.7832 GB, free: 132.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.067e-05/1.124, allocations: 19.91 kB / 0.7832 GB, free: 132.7 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/1.124, allocations: 7.094 kB / 0.7832 GB, free: 132.7 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00123/1.125, allocations: 491.1 kB / 0.7837 GB, free: 132.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/1.125, allocations: 1.125 kB / 0.7837 GB, free: 132.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/1.125, allocations: 3.703 kB / 0.7837 GB, free: 132.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009973/1.126, allocations: 119.7 kB / 0.7838 GB, free: 132.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/1.126, allocations: 4.625 kB / 0.7838 GB, free: 132.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/1.127, allocations: 104 kB / 0.7839 GB, free: 132.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.595e-05/1.127, allocations: 17.88 kB / 0.7839 GB, free: 132.6 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 ($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.0002517/1.128, allocations: 138.7 kB / 0.784 GB, free: 132.5 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000177/1.128, allocations: 74.69 kB / 0.7841 GB, free: 132.4 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001563/1.129, allocations: 0.5055 MB / 0.7846 GB, free: 132.4 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/1.129, allocations: 4.312 kB / 0.7846 GB, free: 132.4 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/1.129, allocations: 0 / 0.7846 GB, free: 132.4 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/1.129, allocations: 4.297 kB / 0.7846 GB, free: 132.4 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001418/1.131, allocations: 0.7508 MB / 0.7853 GB, free: 132.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/1.131, allocations: 2.734 kB / 0.7853 GB, free: 132.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001242/1.132, allocations: 139.2 kB / 0.7855 GB, free: 132.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.038e-05/1.132, allocations: 3.047 kB / 0.7855 GB, free: 132.2 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.973e-05/1.132, allocations: 12.28 kB / 0.7855 GB, free: 132.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.853e-06/1.132, allocations: 1.391 kB / 0.7855 GB, free: 132.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/1.132, allocations: 3.094 kB / 0.7855 GB, free: 132.2 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001974/1.134, allocations: 0.7691 MB / 0.7863 GB, free: 132.1 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004173/1.135, allocations: 222 kB / 0.7865 GB, free: 131.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001456/1.135, allocations: 11.38 kB / 0.7865 GB, free: 131.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00106/1.136, allocations: 90.36 kB / 0.7866 GB, free: 131.9 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002012/1.136, allocations: 49.8 kB / 0.7866 GB, free: 131.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.446e-05/1.136, allocations: 11.11 kB / 0.7866 GB, free: 131.9 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0009143/1.137, allocations: 476.2 kB / 0.7871 GB, free: 131.8 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6.62e-07/1.137, allocations: 2.656 kB / 0.7871 GB, free: 131.8 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001079/1.138, allocations: 242.9 kB / 0.7873 GB, free: 131.8 MB / 0.6511 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.002235/1.141, allocations: 1.337 MB / 0.7886 GB, free: 131.2 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002009/1.143, allocations: 0.8868 MB / 0.7895 GB, free: 130.9 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/1.143, allocations: 1.438 kB / 0.7895 GB, free: 130.9 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0006161/1.143, allocations: 223.2 kB / 0.7897 GB, free: 130.9 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001376/1.145, allocations: 183.4 kB / 0.7899 GB, free: 130.9 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002983/1.148, allocations: 1.008 MB / 0.7909 GB, free: 130.6 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005149/1.148, allocations: 0.9445 MB / 0.7918 GB, free: 129.8 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001037/1.149, allocations: 129.3 kB / 0.7919 GB, free: 129.8 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005452/1.15, allocations: 272.7 kB / 0.7922 GB, free: 129.8 MB / 0.6511 GB Notification: Performance of SimCode: time 1.303e-06/1.15, allocations: 4 kB / 0.7922 GB, free: 129.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05604/1.206, allocations: 16.51 MB / 0.8083 GB, free: 127 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002294/1.206, allocations: 188.1 kB / 0.8085 GB, free: 126.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.092/4.298, allocations: 0 / 0.8085 GB, free: 126.8 MB / 0.6511 GB