Running command: "" <> buildModelFMU(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,fileNamePrefix="Buildings_7_0_0_Buildings_Examples_DualFanDualDuct_Controls_Examples_RoomMixingBox",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.658/4.658, allocations: 460.4 MB / 472.6 MB, free: 5.398 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 5.005e-05/5.013e-05, allocations: 4 kB / 0.5682 GB, free: 10.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2693/0.2694, allocations: 106.2 MB / 0.6719 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8743/1.144, allocations: 136.9 MB / 0.8056 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002716/1.144, allocations: 85.52 kB / 0.8057 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.05296/1.197, allocations: 14.33 MB / 0.8197 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.215e-06/1.197, allocations: 3.938 kB / 0.8197 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.042e-05/1.197, allocations: 18.84 kB / 0.8197 GB, free: 10.44 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: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.003169/1.2, allocations: 1.068 MB / 0.8208 GB, free: 9.656 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/1.2, allocations: 11.31 kB / 0.8208 GB, free: 9.656 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003331/1.201, allocations: 118.6 kB / 0.8209 GB, free: 9.598 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000324/1.201, allocations: 108.6 kB / 0.821 GB, free: 9.539 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001189/1.202, allocations: 0.5267 MB / 0.8215 GB, free: 9.203 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.362e-05/1.202, allocations: 56.78 kB / 0.8216 GB, free: 9.203 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001569/1.203, allocations: 80.56 kB / 0.8217 GB, free: 9.195 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001866/1.204, allocations: 0.7301 MB / 0.8224 GB, free: 8.977 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.276e-05/1.205, allocations: 3.938 kB / 0.8224 GB, free: 8.973 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001095/1.205, allocations: 35.44 kB / 0.8224 GB, free: 8.969 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.24e-05/1.205, allocations: 19.52 kB / 0.8224 GB, free: 8.965 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001533/1.206, allocations: 0.5096 MB / 0.8229 GB, free: 8.945 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006007/1.212, allocations: 2.912 MB / 0.8258 GB, free: 7.25 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001763/1.214, allocations: 0.594 MB / 0.8263 GB, free: 7.172 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006315/1.215, allocations: 277.8 kB / 0.8266 GB, free: 7.148 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 6.451e-05/1.215, allocations: 8.031 kB / 0.8266 GB, free: 7.148 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007137/1.216, allocations: 301.6 kB / 0.8269 GB, free: 7.043 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=57): time 3.947e-06/1.216, allocations: 0 / 0.8269 GB, free: 7.043 MB / 0.6355 GB Notification: Performance of matching and sorting (n=57): time 0.001351/1.217, allocations: 500 kB / 0.8274 GB, free: 6.938 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.895e-05/1.217, allocations: 140.3 kB / 0.8275 GB, free: 6.781 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00106/1.218, allocations: 0.5636 MB / 0.8281 GB, free: 6.621 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001289/1.218, allocations: 38.45 kB / 0.8281 GB, free: 6.59 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003315/1.219, allocations: 363.7 kB / 0.8284 GB, free: 6.402 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001898/1.219, allocations: 187.4 kB / 0.8286 GB, free: 6.27 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.306e-05/1.219, allocations: 13.69 kB / 0.8286 GB, free: 6.27 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.854e-05/1.219, allocations: 324.5 kB / 0.8289 GB, free: 5.957 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005289/1.22, allocations: 188.3 kB / 0.8291 GB, free: 5.953 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005829/1.22, allocations: 294.1 kB / 0.8294 GB, free: 5.844 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005372/1.221, allocations: 255.3 kB / 0.8297 GB, free: 5.758 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/1.221, allocations: 0 / 0.8297 GB, free: 5.758 MB / 0.6355 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001753/1.222, allocations: 0.6322 MB / 0.8303 GB, free: 21.58 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002124/1.223, allocations: 415.1 kB / 0.8307 GB, free: 21.14 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/1.223, allocations: 0 / 0.8307 GB, free: 21.14 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.397e-05/1.223, allocations: 3.906 kB / 0.8307 GB, free: 21.14 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001265/1.224, allocations: 168.9 kB / 0.8308 GB, free: 21.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.653e-05/1.224, allocations: 7.844 kB / 0.8308 GB, free: 21.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001172/1.225, allocations: 147.1 kB / 0.831 GB, free: 21.04 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.92e-05/1.225, allocations: 26.83 kB / 0.831 GB, free: 21.03 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/1.225, allocations: 3.969 kB / 0.831 GB, free: 21.03 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001279/1.227, allocations: 0.5251 MB / 0.8315 GB, free: 20.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/1.227, allocations: 7.953 kB / 0.8315 GB, free: 20.93 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/1.227, allocations: 3.906 kB / 0.8315 GB, free: 20.93 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001019/1.228, allocations: 135.5 kB / 0.8317 GB, free: 20.89 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/1.228, allocations: 7.906 kB / 0.8317 GB, free: 20.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001006/1.229, allocations: 116.4 kB / 0.8318 GB, free: 20.84 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.818e-05/1.229, allocations: 22.8 kB / 0.8318 GB, free: 20.84 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 (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.0002787/1.229, allocations: 145.5 kB / 0.8319 GB, free: 20.71 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001999/1.229, allocations: 77.84 kB / 0.832 GB, free: 20.67 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001398/1.231, allocations: 0.5398 MB / 0.8325 GB, free: 20.55 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/1.231, allocations: 3.875 kB / 0.8325 GB, free: 20.55 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/1.231, allocations: 0 / 0.8325 GB, free: 20.55 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/1.231, allocations: 3.781 kB / 0.8325 GB, free: 20.55 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002531/1.233, allocations: 1.362 MB / 0.8339 GB, free: 19.97 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/1.233, allocations: 7.906 kB / 0.8339 GB, free: 19.96 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001203/1.235, allocations: 146.5 kB / 0.834 GB, free: 19.93 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.261e-05/1.235, allocations: 3.875 kB / 0.834 GB, free: 19.93 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.21e-05/1.235, allocations: 13.41 kB / 0.834 GB, free: 19.93 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.324e-06/1.235, allocations: 3.844 kB / 0.834 GB, free: 19.93 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/1.235, allocations: 3.938 kB / 0.8341 GB, free: 19.93 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001968/1.237, allocations: 0.9364 MB / 0.835 GB, free: 19.62 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002532/1.237, allocations: 158.4 kB / 0.8351 GB, free: 19.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001435/1.237, allocations: 18.48 kB / 0.8351 GB, free: 19.47 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001007/1.238, allocations: 89.62 kB / 0.8352 GB, free: 19.45 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001803/1.238, allocations: 50.3 kB / 0.8353 GB, free: 19.43 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.597e-05/1.239, allocations: 18.89 kB / 0.8353 GB, free: 19.42 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0008507/1.239, allocations: 459.7 kB / 0.8357 GB, free: 19.29 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.31e-07/1.239, allocations: 0 / 0.8357 GB, free: 19.29 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001094/1.241, allocations: 271.8 kB / 0.836 GB, free: 19.24 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: 6 ($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 (57): * Single equations (assignments): 53 * 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.00247/1.243, allocations: 1.713 MB / 0.8377 GB, free: 18.2 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002078/1.245, allocations: 0.9463 MB / 0.8386 GB, free: 17.89 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 7.694e-06/1.245, allocations: 3.844 kB / 0.8386 GB, free: 17.89 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0007192/1.246, allocations: 256 kB / 0.8388 GB, free: 17.88 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001215/1.247, allocations: 154.4 kB / 0.839 GB, free: 17.83 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003331/1.251, allocations: 1.053 MB / 0.84 GB, free: 17.36 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006181/1.251, allocations: 0.9574 MB / 0.8409 GB, free: 16.53 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001024/1.252, allocations: 120.8 kB / 0.8411 GB, free: 16.47 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005631/1.253, allocations: 288 kB / 0.8413 GB, free: 16.43 MB / 0.6511 GB Notification: Performance of SimCode: time 1.283e-06/1.253, allocations: 0 / 0.8413 GB, free: 16.43 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05176/1.305, allocations: 15.3 MB / 0.8563 GB, free: 7.52 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003747/1.305, allocations: 178.2 kB / 0.8564 GB, free: 7.289 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.906/4.211, allocations: 0 / 0.8564 GB, free: 7.289 MB / 0.6511 GB