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={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.653/4.653, allocations: 404.1 MB / 411.3 MB, free: 408 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.631e-05/2.639e-05, allocations: 4 kB / 0.4945 GB, free: 1.285 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.705/0.7051, allocations: 92.68 MB / 0.585 GB, free: 2.281 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2685/0.9736, allocations: 128.1 MB / 0.7101 GB, free: 2.047 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003513/0.974, allocations: 87.95 kB / 0.7102 GB, free: 1.961 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.07612/1.05, allocations: 14.65 MB / 0.7245 GB, free: 3.281 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.054e-06/1.05, allocations: 0 / 0.7245 GB, free: 3.281 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001168/1.05, allocations: 19.94 kB / 0.7245 GB, free: 3.262 MB / 0.6042 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.003821/1.054, allocations: 1.059 MB / 0.7256 GB, free: 2.145 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.232e-05/1.054, allocations: 12.03 kB / 0.7256 GB, free: 2.133 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004187/1.055, allocations: 98.78 kB / 0.7257 GB, free: 2.035 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001822/1.057, allocations: 0.589 MB / 0.7262 GB, free: 1.402 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.857e-05/1.057, allocations: 20 kB / 0.7263 GB, free: 1.383 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001755/1.057, allocations: 36 kB / 0.7263 GB, free: 1.348 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001689/1.059, allocations: 434.6 kB / 0.7267 GB, free: 0.9219 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001977/1.061, allocations: 0.6217 MB / 0.7273 GB, free: 248 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.068e-05/1.061, allocations: 0 / 0.7273 GB, free: 248 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001252/1.061, allocations: 7.984 kB / 0.7273 GB, free: 240 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.345e-05/1.061, allocations: 12 kB / 0.7273 GB, free: 228 kB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007015/1.068, allocations: 2.524 MB / 0.7298 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002125/1.07, allocations: 0.5479 MB / 0.7303 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006246/1.071, allocations: 197.6 kB / 0.7305 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.336e-05/1.071, allocations: 8.359 kB / 0.7305 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008675/1.072, allocations: 261 kB / 0.7308 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=48): time 8.737e-06/1.072, allocations: 0 / 0.7308 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48): time 0.001595/1.073, allocations: 455.1 kB / 0.7312 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001352/1.074, allocations: 222.1 kB / 0.7314 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00109/1.075, allocations: 471.6 kB / 0.7319 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.000128/1.075, allocations: 29.7 kB / 0.7319 GB, free: 11.37 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005036/1.075, allocations: 368.4 kB / 0.7323 GB, free: 11 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002655/1.076, allocations: 149.8 kB / 0.7324 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.006e-05/1.076, allocations: 0 / 0.7324 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0002476/1.076, allocations: 374.8 kB / 0.7328 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005905/1.077, allocations: 165.1 kB / 0.7329 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007402/1.077, allocations: 270.4 kB / 0.7332 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005904/1.078, allocations: 177.9 kB / 0.7333 GB, free: 9.848 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.007e-06/1.078, allocations: 11.95 kB / 0.7333 GB, free: 9.836 MB / 0.6198 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001735/1.08, allocations: 0.4936 MB / 0.7338 GB, free: 9.332 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002424/1.08, allocations: 427.1 kB / 0.7342 GB, free: 8.879 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/1.08, allocations: 4 kB / 0.7342 GB, free: 8.875 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.461e-05/1.08, allocations: 4 kB / 0.7342 GB, free: 8.871 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001513/1.081, allocations: 151.7 kB / 0.7344 GB, free: 8.723 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.356e-05/1.082, allocations: 4 kB / 0.7344 GB, free: 8.719 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001411/1.083, allocations: 107.5 kB / 0.7345 GB, free: 8.613 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.572e-05/1.083, allocations: 19.98 kB / 0.7345 GB, free: 8.594 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/1.083, allocations: 4 kB / 0.7345 GB, free: 8.59 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001396/1.084, allocations: 392.6 kB / 0.7349 GB, free: 8.207 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/1.085, allocations: 4 kB / 0.7349 GB, free: 8.203 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/1.085, allocations: 0 / 0.7349 GB, free: 8.203 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001209/1.086, allocations: 115.9 kB / 0.735 GB, free: 8.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.387e-06/1.086, allocations: 11.88 kB / 0.735 GB, free: 8.078 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001186/1.087, allocations: 79.69 kB / 0.7351 GB, free: 8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-05/1.087, allocations: 19.98 kB / 0.7351 GB, free: 7.98 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.0002879/1.087, allocations: 124.9 kB / 0.7352 GB, free: 7.852 MB / 0.6198 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001371/1.089, allocations: 435.3 kB / 0.7356 GB, free: 7.422 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001729/1.089, allocations: 71.09 kB / 0.7357 GB, free: 7.352 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001538/1.091, allocations: 467.1 kB / 0.7362 GB, free: 6.883 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.33e-05/1.091, allocations: 8 kB / 0.7362 GB, free: 6.875 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/1.091, allocations: 0 / 0.7362 GB, free: 6.875 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.394e-05/1.091, allocations: 7.938 kB / 0.7362 GB, free: 6.867 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001365/1.092, allocations: 0.6541 MB / 0.7368 GB, free: 6.176 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/1.092, allocations: 0 / 0.7368 GB, free: 6.176 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001472/1.093, allocations: 131.8 kB / 0.7369 GB, free: 6.047 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.27e-05/1.094, allocations: 8 kB / 0.7369 GB, free: 6.039 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.131e-05/1.094, allocations: 4 kB / 0.737 GB, free: 6.035 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/1.094, allocations: 4 kB / 0.737 GB, free: 6.031 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/1.094, allocations: 0 / 0.737 GB, free: 6.031 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002156/1.096, allocations: 0.7221 MB / 0.7377 GB, free: 5.289 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004555/1.096, allocations: 208.2 kB / 0.7379 GB, free: 5.066 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001793/1.096, allocations: 4 kB / 0.7379 GB, free: 5.062 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001225/1.098, allocations: 83.92 kB / 0.7379 GB, free: 4.98 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002266/1.098, allocations: 52.36 kB / 0.738 GB, free: 4.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.32e-05/1.098, allocations: 11.98 kB / 0.738 GB, free: 4.918 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0007766/1.099, allocations: 371.2 kB / 0.7384 GB, free: 4.562 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.81e-07/1.099, allocations: 0 / 0.7384 GB, free: 4.562 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001213/1.1, allocations: 234.8 kB / 0.7386 GB, free: 4.332 MB / 0.6198 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.002614/1.103, allocations: 1.298 MB / 0.7398 GB, free: 3.004 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002243/1.105, allocations: 0.8503 MB / 0.7407 GB, free: 2.105 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/1.105, allocations: 0 / 0.7407 GB, free: 2.105 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0006842/1.106, allocations: 217.5 kB / 0.7409 GB, free: 1.895 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001539/1.107, allocations: 175.3 kB / 0.7411 GB, free: 1.727 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003448/1.111, allocations: 0.9468 MB / 0.742 GB, free: 0.7344 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008776/1.112, allocations: 0.9465 MB / 0.7429 GB, free: 15.76 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001142/1.113, allocations: 122.9 kB / 0.743 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007317/1.113, allocations: 259.3 kB / 0.7433 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of SimCode: time 1.253e-06/1.114, allocations: 0 / 0.7433 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.105/1.219, allocations: 14.43 MB / 0.7574 GB, free: 1.082 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003475/1.219, allocations: 163.8 kB / 0.7575 GB, free: 0.8867 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.573/4.792, allocations: 4.031 kB / 0.7575 GB, free: 0.8828 MB / 0.6355 GB