Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection,fileNamePrefix="Buildings_5_0_1_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckWindDirection",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.45/4.45, allocations: 404.1 MB / 411.3 MB, free: 348 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.946e-05/2.945e-05, allocations: 4 kB / 0.4945 GB, free: 1.297 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6669/0.667, allocations: 92.69 MB / 0.5851 GB, free: 2.293 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2718/0.9388, allocations: 122.4 MB / 0.7046 GB, free: 7.703 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003518/0.9392, allocations: 87.94 kB / 0.7047 GB, free: 7.617 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.03241/0.9717, allocations: 6.097 MB / 0.7106 GB, free: 1.508 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.725e-06/0.9717, allocations: 0 / 0.7106 GB, free: 1.508 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.681e-05/0.9718, allocations: 8 kB / 0.7107 GB, free: 1.5 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.001209/0.973, allocations: 0.5046 MB / 0.7112 GB, free: 0.9453 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.84e-05/0.9731, allocations: 12.02 kB / 0.7112 GB, free: 0.9336 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002494/0.9734, allocations: 31.67 kB / 0.7112 GB, free: 0.9023 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006446/0.974, allocations: 259.6 kB / 0.7114 GB, free: 0.6055 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.668e-05/0.9741, allocations: 4 kB / 0.7114 GB, free: 0.6016 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.148e-05/0.9742, allocations: 12 kB / 0.7115 GB, free: 0.5898 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002579/0.9767, allocations: 0.7569 MB / 0.7122 GB, free: 15.83 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006623/0.9775, allocations: 196.6 kB / 0.7124 GB, free: 15.63 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.885e-05/0.9775, allocations: 4 kB / 0.7124 GB, free: 15.62 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.57e-05/0.9776, allocations: 3.953 kB / 0.7124 GB, free: 15.62 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.87e-05/0.9776, allocations: 7.984 kB / 0.7124 GB, free: 15.61 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001896/0.9795, allocations: 0.5324 MB / 0.7129 GB, free: 15.04 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/0.9805, allocations: 304.1 kB / 0.7132 GB, free: 14.73 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003/0.9809, allocations: 97.41 kB / 0.7133 GB, free: 14.64 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001091/0.982, allocations: 465.7 kB / 0.7137 GB, free: 14.09 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004742/0.9825, allocations: 167.4 kB / 0.7139 GB, free: 13.91 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=35): time 3.596e-06/0.9825, allocations: 0 / 0.7139 GB, free: 13.91 MB / 0.6042 GB Notification: Performance of matching and sorting (n=35): time 0.002626/0.9851, allocations: 377 kB / 0.7143 GB, free: 13.54 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.158e-05/0.9852, allocations: 81.11 kB / 0.7143 GB, free: 13.44 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004642/0.9857, allocations: 241.9 kB / 0.7146 GB, free: 13.2 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.304e-05/0.9857, allocations: 29.7 kB / 0.7146 GB, free: 13.16 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.9859, allocations: 116.8 kB / 0.7147 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001492/0.986, allocations: 110.4 kB / 0.7148 GB, free: 12.93 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.64e-05/0.9861, allocations: 0 / 0.7148 GB, free: 12.93 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.9862, allocations: 342.8 kB / 0.7151 GB, free: 12.59 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002823/0.9865, allocations: 87.92 kB / 0.7152 GB, free: 12.5 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003216/0.9869, allocations: 117.8 kB / 0.7153 GB, free: 12.38 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002026/0.9889, allocations: 216.5 kB / 0.7155 GB, free: 12.17 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.9889, allocations: 0 / 0.7155 GB, free: 12.17 MB / 0.6042 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.002691/0.9916, allocations: 468.4 kB / 0.716 GB, free: 11.71 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.728e-05/0.9917, allocations: 29.7 kB / 0.716 GB, free: 11.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.9917, allocations: 4 kB / 0.716 GB, free: 11.67 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.9918, allocations: 3.953 kB / 0.716 GB, free: 11.66 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000513/0.9923, allocations: 63.91 kB / 0.7161 GB, free: 11.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/0.9923, allocations: 8 kB / 0.7161 GB, free: 11.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001806/0.9925, allocations: 19.77 kB / 0.7161 GB, free: 11.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.724e-05/0.9926, allocations: 19.98 kB / 0.7161 GB, free: 11.55 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.conTim.tStart,conTim.tStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 1 * 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.0001313/0.9927, allocations: 104.9 kB / 0.7162 GB, free: 11.45 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002549/0.9953, allocations: 385.1 kB / 0.7166 GB, free: 11.06 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.691e-05/0.9954, allocations: 31.61 kB / 0.7166 GB, free: 11.03 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003031/0.9984, allocations: 492.8 kB / 0.7171 GB, free: 10.54 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.9985, allocations: 4 kB / 0.7171 GB, free: 10.54 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.798e-06/0.9985, allocations: 4 kB / 0.7171 GB, free: 10.54 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.9985, allocations: 0 / 0.7171 GB, free: 10.54 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005244/0.999, allocations: 289.8 kB / 0.7174 GB, free: 10.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.999, allocations: 0 / 0.7174 GB, free: 10.21 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000465/0.9995, allocations: 71.91 kB / 0.7175 GB, free: 10.14 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.096e-06/0.9995, allocations: 0 / 0.7175 GB, free: 10.14 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.776e-05/0.9996, allocations: 4 kB / 0.7175 GB, free: 10.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.197e-06/0.9996, allocations: 7.953 kB / 0.7175 GB, free: 10.13 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.7e-06/0.9996, allocations: 3.984 kB / 0.7175 GB, free: 10.13 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002522/1.002, allocations: 417.9 kB / 0.7179 GB, free: 9.703 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002685/1.002, allocations: 160.7 kB / 0.718 GB, free: 9.527 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.995e-05/1.003, allocations: 0 / 0.718 GB, free: 9.527 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001597/1.003, allocations: 11.92 kB / 0.718 GB, free: 9.516 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.017e-05/1.003, allocations: 27.86 kB / 0.7181 GB, free: 9.488 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.728e-05/1.003, allocations: 12 kB / 0.7181 GB, free: 9.477 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003084/1.003, allocations: 200.4 kB / 0.7183 GB, free: 9.281 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.51e-07/1.003, allocations: 0 / 0.7183 GB, free: 9.281 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005803/1.004, allocations: 91.84 kB / 0.7183 GB, free: 9.191 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tStart) * Number of discrete states: 1 (conTim.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.003924/1.008, allocations: 1.174 MB / 0.7195 GB, free: 8.066 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007696/1.009, allocations: 295.1 kB / 0.7198 GB, free: 7.766 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/1.009, allocations: 0 / 0.7198 GB, free: 7.766 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003589/1.009, allocations: 132.4 kB / 0.7199 GB, free: 7.637 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002911/1.009, allocations: 19.88 kB / 0.7199 GB, free: 7.617 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06282/1.072, allocations: 0.9022 MB / 0.7208 GB, free: 6.672 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006437/1.073, allocations: 0.7578 MB / 0.7215 GB, free: 5.891 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001117/1.074, allocations: 157.9 kB / 0.7217 GB, free: 5.738 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003844/1.074, allocations: 87.39 kB / 0.7218 GB, free: 5.652 MB / 0.6042 GB Notification: Performance of SimCode: time 1.864e-06/1.074, allocations: 0 / 0.7218 GB, free: 5.652 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.202/5.276, allocations: 4.792 MB / 0.7265 GB, free: 0.8867 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.001183/5.277, allocations: 212.5 kB / 0.7267 GB, free: 0.6016 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.015/8.293, allocations: 0 / 0.7267 GB, free: 0.6016 MB / 0.6042 GB