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.987/3.987, allocations: 403.3 MB / 415.4 MB, free: 13 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.568e-05/3.563e-05, allocations: 7.984 kB / 0.4991 GB, free: 13.34 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5805/0.5806, allocations: 92.68 MB / 0.5897 GB, free: 14.47 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2361/0.8168, allocations: 128.7 MB / 0.7154 GB, free: 13.58 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003343/0.8172, allocations: 87.88 kB / 0.7154 GB, free: 13.49 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.0612/0.8784, allocations: 14.77 MB / 0.7299 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.713e-06/0.8784, allocations: 0 / 0.7299 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.117e-05/0.8786, allocations: 19.94 kB / 0.7299 GB, free: 14.68 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.003237/0.8818, allocations: 1.052 MB / 0.7309 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.72e-05/0.8819, allocations: 8.031 kB / 0.7309 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002403/0.8821, allocations: 110.5 kB / 0.731 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002997/0.8824, allocations: 94.78 kB / 0.7311 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001439/0.8839, allocations: 0.5968 MB / 0.7317 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.952e-05/0.884, allocations: 41.31 kB / 0.7317 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001567/0.8842, allocations: 67.98 kB / 0.7318 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001771/0.8859, allocations: 0.6875 MB / 0.7325 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.803e-05/0.886, allocations: 11.89 kB / 0.7325 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001081/0.8861, allocations: 24 kB / 0.7325 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.08e-05/0.8862, allocations: 16 kB / 0.7325 GB, free: 11.81 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001384/0.8876, allocations: 458.5 kB / 0.733 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005917/0.8935, allocations: 2.677 MB / 0.7356 GB, free: 8.59 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00188/0.8954, allocations: 0.5483 MB / 0.7361 GB, free: 8.027 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000557/0.896, allocations: 201.6 kB / 0.7363 GB, free: 7.828 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.429e-05/0.8961, allocations: 12.34 kB / 0.7363 GB, free: 7.816 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007456/0.8968, allocations: 276.5 kB / 0.7366 GB, free: 7.535 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=48): time 3.387e-06/0.8969, allocations: 4 kB / 0.7366 GB, free: 7.531 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48): time 0.001428/0.8983, allocations: 475.2 kB / 0.737 GB, free: 7.059 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001258/0.8985, allocations: 218.1 kB / 0.7372 GB, free: 6.797 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001241/0.8997, allocations: 0.5899 MB / 0.7378 GB, free: 6.203 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001156/0.8999, allocations: 41.7 kB / 0.7379 GB, free: 6.156 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004182/0.9003, allocations: 349 kB / 0.7382 GB, free: 5.809 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002159/0.9005, allocations: 161.7 kB / 0.7383 GB, free: 5.648 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.565e-05/0.9006, allocations: 12 kB / 0.7384 GB, free: 5.637 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.9007, allocations: 329.9 kB / 0.7387 GB, free: 5.309 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005365/0.9013, allocations: 169.1 kB / 0.7388 GB, free: 5.141 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006557/0.9019, allocations: 278.3 kB / 0.7391 GB, free: 4.84 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005676/0.9025, allocations: 242.5 kB / 0.7393 GB, free: 4.59 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.9025, allocations: 0 / 0.7393 GB, free: 4.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001621/0.9042, allocations: 0.5866 MB / 0.7399 GB, free: 3.98 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002164/0.9044, allocations: 425.3 kB / 0.7403 GB, free: 3.531 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.9044, allocations: 0 / 0.7403 GB, free: 3.531 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.9045, allocations: 4 kB / 0.7403 GB, free: 3.527 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001255/0.9057, allocations: 147.8 kB / 0.7405 GB, free: 3.383 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.663e-05/0.9058, allocations: 0 / 0.7405 GB, free: 3.383 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001246/0.907, allocations: 127.4 kB / 0.7406 GB, free: 3.258 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-05/0.9071, allocations: 23.98 kB / 0.7406 GB, free: 3.234 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.9071, allocations: 4 kB / 0.7406 GB, free: 3.23 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001301/0.9085, allocations: 488 kB / 0.7411 GB, free: 2.742 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.9085, allocations: 4 kB / 0.7411 GB, free: 2.738 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.968e-06/0.9085, allocations: 0 / 0.7411 GB, free: 2.738 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/0.9095, allocations: 120 kB / 0.7412 GB, free: 2.621 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.9095, allocations: 7.938 kB / 0.7412 GB, free: 2.613 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001066/0.9106, allocations: 103.4 kB / 0.7413 GB, free: 2.512 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.331e-05/0.9107, allocations: 23.94 kB / 0.7413 GB, free: 2.488 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.0002985/0.911, allocations: 144.8 kB / 0.7415 GB, free: 2.34 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001977/0.9112, allocations: 75.06 kB / 0.7415 GB, free: 2.266 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001498/0.9127, allocations: 0.5001 MB / 0.742 GB, free: 1.758 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.285e-05/0.9128, allocations: 8 kB / 0.742 GB, free: 1.75 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.9128, allocations: 0 / 0.742 GB, free: 1.75 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.313e-05/0.9128, allocations: 3.984 kB / 0.742 GB, free: 1.746 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001333/0.9142, allocations: 0.7509 MB / 0.7428 GB, free: 0.9453 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/0.9142, allocations: 4 kB / 0.7428 GB, free: 0.9414 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00126/0.9155, allocations: 139.8 kB / 0.7429 GB, free: 0.8047 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.207e-05/0.9155, allocations: 7.938 kB / 0.7429 GB, free: 0.7969 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.173e-05/0.9156, allocations: 11.98 kB / 0.7429 GB, free: 0.7852 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.9156, allocations: 0 / 0.7429 GB, free: 0.7852 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.9156, allocations: 0 / 0.7429 GB, free: 0.7852 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002015/0.9176, allocations: 0.7611 MB / 0.7437 GB, free: 4 kB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004532/0.9181, allocations: 224 kB / 0.7439 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001514/0.9182, allocations: 16 kB / 0.7439 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001066/0.9193, allocations: 83.92 kB / 0.744 GB, free: 15.67 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001914/0.9195, allocations: 48.36 kB / 0.744 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.539e-05/0.9196, allocations: 15.98 kB / 0.744 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0009427/0.9206, allocations: 475.2 kB / 0.7445 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.51e-07/0.9206, allocations: 0 / 0.7445 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001065/0.9216, 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.002536/0.9242, allocations: 1.341 MB / 0.746 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002142/0.9264, allocations: 0.8902 MB / 0.7469 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.653e-06/0.9265, allocations: 0 / 0.7469 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0007/0.9272, allocations: 225.6 kB / 0.7471 GB, free: 12.37 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001456/0.9286, allocations: 173.4 kB / 0.7473 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003249/0.9319, allocations: 1.002 MB / 0.7483 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006277/0.9326, allocations: 0.9473 MB / 0.7492 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001048/0.9337, allocations: 127.7 kB / 0.7493 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000621/0.9343, allocations: 271.3 kB / 0.7496 GB, free: 9.781 MB / 0.6355 GB Notification: Performance of SimCode: time 1.152e-06/0.9343, allocations: 0 / 0.7496 GB, free: 9.781 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06847/1.003, allocations: 16.51 MB / 0.7657 GB, free: 9.441 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00028/1.003, allocations: 174.3 kB / 0.7658 GB, free: 9.215 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.105/4.108, allocations: 4 kB / 0.7658 GB, free: 9.211 MB / 0.6511 GB