Running command: "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ChimneyShaftWithVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.308/3.308, allocations: 343.8 MB / 355.9 MB, free: 9.371 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.901e-05/3.911e-05, allocations: 4 kB / 436.6 MB, free: 2.379 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1833/0.1834, allocations: 77.74 MB / 0.5023 GB, free: 4.484 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.961/7.144, allocations: 2.179 GB / 2.681 GB, free: 168 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003155/7.145, allocations: 88.3 kB / 2.681 GB, free: 167.9 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 5.366/12.51, allocations: 1.027 GB / 3.708 GB, free: 70.36 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.923e-06/12.51, allocations: 2.062 kB / 3.708 GB, free: 70.36 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001893/12.51, allocations: 45.67 kB / 3.708 GB, free: 70.35 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.00942/12.52, allocations: 2.168 MB / 3.71 GB, free: 69.47 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.719e-05/12.52, allocations: 13.41 kB / 3.71 GB, free: 69.47 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005551/12.52, allocations: 202.3 kB / 3.71 GB, free: 69.43 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005256/12.53, allocations: 0.514 MB / 3.711 GB, free: 69.33 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004126/12.53, allocations: 1.271 MB / 3.712 GB, free: 69 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001058/12.53, allocations: 105.1 kB / 3.712 GB, free: 68.99 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003174/12.53, allocations: 148 kB / 3.712 GB, free: 68.98 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003921/12.53, allocations: 1.611 MB / 3.714 GB, free: 68.77 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.678e-05/12.53, allocations: 3.875 kB / 3.714 GB, free: 68.77 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000216/12.54, allocations: 58.31 kB / 3.714 GB, free: 68.77 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.059e-05/12.54, allocations: 59.38 kB / 3.714 GB, free: 68.77 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003425/12.54, allocations: 1.329 MB / 3.715 GB, free: 68.76 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01299/12.55, allocations: 7.194 MB / 3.722 GB, free: 65.22 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002267/12.55, allocations: 1.124 MB / 3.723 GB, free: 65.01 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001197/12.56, allocations: 0.5758 MB / 3.724 GB, free: 65 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001025/12.56, allocations: 0.8672 MB / 3.725 GB, free: 64.07 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001321/12.56, allocations: 0.583 MB / 3.725 GB, free: 64 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=110): time 4.408e-06/12.56, allocations: 0 / 3.725 GB, free: 64 MB / 0.6823 GB Notification: Performance of matching and sorting (n=110): time 0.003287/12.56, allocations: 1.115 MB / 3.726 GB, free: 63.86 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.945e-05/12.56, allocations: 89.27 kB / 3.726 GB, free: 63.77 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002005/12.56, allocations: 1.029 MB / 3.727 GB, free: 63.61 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001748/12.56, allocations: 50.52 kB / 3.727 GB, free: 63.58 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006788/12.56, allocations: 0.6904 MB / 3.728 GB, free: 63.34 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004464/12.56, allocations: 386.8 kB / 3.728 GB, free: 63.09 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.72e-05/12.56, allocations: 17.75 kB / 3.728 GB, free: 63.09 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001/12.56, allocations: 344.6 kB / 3.729 GB, free: 62.79 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000958/12.57, allocations: 392.9 kB / 3.729 GB, free: 62.79 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001079/12.57, allocations: 0.5609 MB / 3.73 GB, free: 62.62 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001096/12.57, allocations: 479 kB / 3.73 GB, free: 62.61 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/12.57, allocations: 0 / 3.73 GB, free: 62.61 MB / 0.6823 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002876/12.57, allocations: 1.153 MB / 3.731 GB, free: 62.48 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002324/12.57, allocations: 0.9875 MB / 3.732 GB, free: 61.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/12.57, allocations: 3.594 kB / 3.732 GB, free: 61.48 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.622e-05/12.57, allocations: 9.875 kB / 3.732 GB, free: 61.48 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001889/12.57, allocations: 225.2 kB / 3.732 GB, free: 61.48 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.24e-05/12.57, allocations: 13.12 kB / 3.732 GB, free: 61.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002591/12.58, allocations: 170.9 kB / 3.733 GB, free: 61.43 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001319/12.58, allocations: 41.38 kB / 3.733 GB, free: 61.43 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/12.58, allocations: 3.188 kB / 3.733 GB, free: 61.43 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00239/12.58, allocations: 0.9991 MB / 3.734 GB, free: 61.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/12.58, allocations: 3.562 kB / 3.734 GB, free: 61.41 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/12.58, allocations: 7.969 kB / 3.734 GB, free: 61.41 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001759/12.58, allocations: 216.8 kB / 3.734 GB, free: 61.41 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.858e-05/12.58, allocations: 10.38 kB / 3.734 GB, free: 61.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002536/12.58, allocations: 166.4 kB / 3.734 GB, free: 61.36 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001185/12.58, allocations: 38.62 kB / 3.734 GB, free: 61.36 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEvent,$PRE.mRoo_flow.nextTimeEventScaled,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 0 * 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.0003713/12.58, allocations: 169.1 kB / 3.734 GB, free: 61.25 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000312/12.58, allocations: 152.1 kB / 3.734 GB, free: 61.18 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0031/12.59, allocations: 1.201 MB / 3.736 GB, free: 61.09 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.359e-05/12.59, allocations: 10.72 kB / 3.736 GB, free: 61.09 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.884e-06/12.59, allocations: 0 / 3.736 GB, free: 61.09 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002128/12.59, allocations: 0.9637 MB / 3.736 GB, free: 61 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007239/12.6, allocations: 3.134 MB / 3.74 GB, free: 60.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/12.6, allocations: 6.781 kB / 3.74 GB, free: 60.39 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002239/12.6, allocations: 242.7 kB / 3.74 GB, free: 60.39 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.795e-05/12.6, allocations: 7.75 kB / 3.74 GB, free: 60.39 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001091/12.6, allocations: 36.19 kB / 3.74 GB, free: 60.39 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.22e-05/12.6, allocations: 9.031 kB / 3.74 GB, free: 60.39 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/12.6, allocations: 7.688 kB / 3.74 GB, free: 60.39 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004136/12.6, allocations: 2.061 MB / 3.742 GB, free: 59.85 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001185/12.6, allocations: 374.7 kB / 3.742 GB, free: 59.67 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003366/12.6, allocations: 28.66 kB / 3.742 GB, free: 59.67 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00211/12.61, allocations: 120.2 kB / 3.742 GB, free: 59.66 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001928/12.61, allocations: 73.33 kB / 3.742 GB, free: 59.66 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001201/12.61, allocations: 39.94 kB / 3.742 GB, free: 59.66 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001629/12.61, allocations: 0.8088 MB / 3.743 GB, free: 59.54 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.81e-07/12.61, allocations: 0 / 3.743 GB, free: 59.54 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004145/12.61, allocations: 1.108 MB / 3.744 GB, free: 59.42 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 9 (roo.dynBal.U,roo.dynBal.m,roo.dynBal.mXi[1],oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc,sha.vol.dynBal.U,sha.vol.dynBal.m,sha.vol.dynBal.mXi[1]) * Number of discrete variables: 3 ($whenCondition1,mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 2 (mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.009873/12.62, allocations: 6.138 MB / 3.75 GB, free: 56.61 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003975/12.63, allocations: 1.575 MB / 3.752 GB, free: 56.58 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.938e-06/12.63, allocations: 3.906 kB / 3.752 GB, free: 56.58 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001191/12.63, allocations: 0.5209 MB / 3.752 GB, free: 56.58 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006815/12.63, allocations: 0.8194 MB / 3.753 GB, free: 56.54 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008247/12.64, allocations: 3.146 MB / 3.756 GB, free: 55.75 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001065/12.64, allocations: 1.408 MB / 3.758 GB, free: 55.03 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003931/12.65, allocations: 0.5891 MB / 3.758 GB, free: 55 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001164/12.65, allocations: 0.6034 MB / 3.759 GB, free: 54.99 MB / 0.6823 GB Notification: Performance of SimCode: time 1.433e-06/12.65, allocations: 0 / 3.759 GB, free: 54.99 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1904/12.84, allocations: 87.39 MB / 3.844 GB, free: 6.207 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002741/12.84, allocations: 218.1 kB / 3.844 GB, free: 5.977 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.537/19.38, allocations: 0 / 3.844 GB, free: 5.977 MB / 0.6823 GB