Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.755/4.755, allocations: 404.1 MB / 411.3 MB, free: 432 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.073e-05/3.08e-05, allocations: 4 kB / 0.4945 GB, free: 1.344 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8289/0.8289, allocations: 92.69 MB / 0.585 GB, free: 2.324 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.691/8.519, allocations: 2.192 GB / 2.777 GB, free: 97.08 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003523/8.52, allocations: 90.94 kB / 2.777 GB, free: 97.04 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.141/10.66, allocations: 383.9 MB / 3.152 GB, free: 27.71 MB / 0.7761 GB Notification: Performance of FrontEnd: time 3.096e-06/10.66, allocations: 0 / 3.152 GB, free: 27.71 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001316/10.66, allocations: 39.92 kB / 3.152 GB, free: 27.68 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 325 * Number of variables: 325 Notification: Performance of Generate backend data structure: time 0.005169/10.67, allocations: 1.64 MB / 3.154 GB, free: 25.96 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.326e-05/10.67, allocations: 8.031 kB / 3.154 GB, free: 25.96 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00699/10.67, allocations: 497.6 kB / 3.154 GB, free: 25.47 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002734/10.68, allocations: 0.8014 MB / 3.155 GB, free: 24.62 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.452e-05/10.68, allocations: 43.94 kB / 3.155 GB, free: 24.58 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003188/10.68, allocations: 76 kB / 3.155 GB, free: 24.5 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004318/10.68, allocations: 1.434 MB / 3.156 GB, free: 23.07 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003595/10.68, allocations: 1.194 MB / 3.158 GB, free: 21.81 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.256e-05/10.68, allocations: 0 / 3.158 GB, free: 21.81 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002475/10.68, allocations: 7.984 kB / 3.158 GB, free: 21.8 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.772e-05/10.68, allocations: 35.94 kB / 3.158 GB, free: 21.77 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01245/10.7, allocations: 4.679 MB / 3.162 GB, free: 16.84 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003344/10.7, allocations: 1.192 MB / 3.163 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001092/10.7, allocations: 423.1 kB / 3.164 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001841/10.7, allocations: 0.7554 MB / 3.165 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001553/10.7, allocations: 0.5946 MB / 3.165 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=98): time 4.168e-06/10.7, allocations: 4 kB / 3.165 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of matching and sorting (n=98): time 0.01199/10.72, allocations: 1.413 MB / 3.167 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.917e-05/10.72, allocations: 167 kB / 3.167 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001165/10.72, allocations: 0.5466 MB / 3.167 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.000221/10.72, allocations: 29.7 kB / 3.167 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005274/10.72, allocations: 0.5269 MB / 3.168 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003906/10.72, allocations: 315.3 kB / 3.168 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001264/10.72, allocations: 4 kB / 3.168 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001571/10.72, allocations: 390.8 kB / 3.168 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001017/10.72, allocations: 338.5 kB / 3.169 GB, free: 9.883 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001111/10.72, allocations: 0.4883 MB / 3.169 GB, free: 9.332 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008988/10.73, allocations: 0.8648 MB / 3.17 GB, free: 8.473 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.137e-05/10.73, allocations: 0 / 3.17 GB, free: 8.473 MB / 0.7761 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.01207/10.74, allocations: 1.57 MB / 3.172 GB, free: 6.891 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 7.45e-05/10.74, allocations: 93.03 kB / 3.172 GB, free: 6.781 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/10.74, allocations: 0 / 3.172 GB, free: 6.781 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001203/10.74, allocations: 89.16 kB / 3.172 GB, free: 6.691 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002605/10.75, allocations: 235.6 kB / 3.172 GB, free: 6.461 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002814/10.75, allocations: 1.465 MB / 3.173 GB, free: 4.871 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002058/10.75, allocations: 115.1 kB / 3.174 GB, free: 4.758 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001843/10.75, allocations: 51.97 kB / 3.174 GB, free: 4.707 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart,senMasFra.i_x) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (115): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004277/10.75, allocations: 129.4 kB / 3.174 GB, free: 4.574 MB / 0.7761 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0138/10.77, allocations: 1.398 MB / 3.175 GB, free: 3.168 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000537/10.77, allocations: 94.86 kB / 3.175 GB, free: 3.074 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01626/10.78, allocations: 1.694 MB / 3.177 GB, free: 1.359 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.718e-05/10.78, allocations: 12 kB / 3.177 GB, free: 1.348 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/10.78, allocations: 0 / 3.177 GB, free: 1.348 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.777e-05/10.78, allocations: 7.969 kB / 3.177 GB, free: 1.34 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6681/11.45, allocations: 2.771 MB / 3.18 GB, free: 180 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.27e-05/11.45, allocations: 1.156 kB / 3.18 GB, free: 180 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002754/11.45, allocations: 217.2 kB / 3.18 GB, free: 180 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001047/11.46, allocations: 89.28 kB / 3.18 GB, free: 180 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001613/11.46, allocations: 20.44 kB / 3.18 GB, free: 180 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002813/11.46, allocations: 1.49 MB / 3.181 GB, free: 178.8 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/11.46, allocations: 1.656 kB / 3.181 GB, free: 178.8 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01223/11.47, allocations: 1.582 MB / 3.183 GB, free: 178.6 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000973/11.47, allocations: 354.6 kB / 3.183 GB, free: 178.6 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000301/11.47, allocations: 3.688 kB / 3.183 GB, free: 178.6 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002092/11.47, allocations: 95.08 kB / 3.183 GB, free: 178.6 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000275/11.47, allocations: 69.05 kB / 3.183 GB, free: 178.5 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002/11.47, allocations: 45.39 kB / 3.183 GB, free: 178.5 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.000937/11.48, allocations: 439.4 kB / 3.184 GB, free: 178.5 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5.81e-07/11.48, allocations: 0 / 3.184 GB, free: 178.5 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.002792/11.48, allocations: 0.5588 MB / 3.184 GB, free: 178.4 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim.tStart,weaDat.conTim1.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 102 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.01863/11.5, allocations: 4.081 MB / 3.188 GB, free: 177.4 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.00356/11.5, allocations: 1.153 MB / 3.189 GB, free: 177 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.188e-05/11.5, allocations: 4.125 kB / 3.19 GB, free: 177 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001998/11.5, allocations: 0.5774 MB / 3.19 GB, free: 176.9 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003177/11.51, allocations: 303.3 kB / 3.19 GB, free: 176.9 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01089/11.52, allocations: 2.015 MB / 3.192 GB, free: 176.5 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000908/11.52, allocations: 1.166 MB / 3.193 GB, free: 175.8 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.003215/11.52, allocations: 362.1 kB / 3.194 GB, free: 175.8 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001371/11.52, allocations: 488.6 kB / 3.194 GB, free: 175.8 MB / 0.7761 GB Notification: Performance of SimCode: time 1.122e-06/11.52, allocations: 0 / 3.194 GB, free: 175.8 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.073/13.6, allocations: 36.83 MB / 3.23 GB, free: 175 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0006542/13.6, allocations: 197.4 kB / 3.23 GB, free: 174.8 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 5.7/19.3, allocations: 0 / 3.23 GB, free: 174.8 MB / 0.7761 GB