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={"static"}) Notification: Performance of loadModel(Buildings): time 4.015/4.015, allocations: 403.3 MB / 415.4 MB, free: 12.98 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.646e-05/3.662e-05, allocations: 4 kB / 0.4991 GB, free: 13.34 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6128/0.6129, allocations: 92.67 MB / 0.5896 GB, free: 14.36 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2494/0.8624, allocations: 123.1 MB / 0.7098 GB, free: 3.094 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002912/0.8627, allocations: 87.94 kB / 0.7099 GB, free: 3.008 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.02708/0.8898, allocations: 6.116 MB / 0.7159 GB, free: 12.88 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.513e-06/0.8898, allocations: 3.938 kB / 0.7159 GB, free: 12.88 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.345e-05/0.8899, allocations: 4 kB / 0.7159 GB, free: 12.87 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0009376/0.8908, allocations: 0.4966 MB / 0.7164 GB, free: 12.32 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/0.8909, allocations: 8.031 kB / 0.7164 GB, free: 12.31 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.682e-05/0.891, allocations: 54.55 kB / 0.7165 GB, free: 12.25 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001559/0.8912, allocations: 27.67 kB / 0.7165 GB, free: 12.22 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004729/0.8917, allocations: 263.6 kB / 0.7167 GB, free: 11.92 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.436e-05/0.8917, allocations: 15.88 kB / 0.7167 GB, free: 11.91 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.587e-05/0.8918, allocations: 16 kB / 0.7168 GB, free: 11.89 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005586/0.8923, allocations: 199 kB / 0.717 GB, free: 11.68 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.8924, allocations: 0 / 0.717 GB, free: 11.68 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.175e-05/0.8924, allocations: 4 kB / 0.717 GB, free: 11.68 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.203e-05/0.8924, allocations: 11.95 kB / 0.717 GB, free: 11.67 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001725/0.8942, allocations: 0.7764 MB / 0.7177 GB, free: 10.89 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001517/0.8957, allocations: 0.5745 MB / 0.7183 GB, free: 10.26 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008909/0.8966, allocations: 320.4 kB / 0.7186 GB, free: 9.941 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003036/0.8969, allocations: 113.4 kB / 0.7187 GB, free: 9.828 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009797/0.8979, allocations: 465.7 kB / 0.7191 GB, free: 9.281 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004818/0.8984, allocations: 183.4 kB / 0.7193 GB, free: 9.09 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=35): time 3.386e-06/0.8985, allocations: 4 kB / 0.7193 GB, free: 9.086 MB / 0.6042 GB Notification: Performance of matching and sorting (n=35): time 0.0008946/0.8994, allocations: 293 kB / 0.7196 GB, free: 8.793 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.647e-05/0.8995, allocations: 81.11 kB / 0.7197 GB, free: 8.695 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004436/0.8999, allocations: 250.1 kB / 0.7199 GB, free: 8.441 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.512e-05/0.9, allocations: 29.7 kB / 0.7199 GB, free: 8.406 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.9001, allocations: 116.8 kB / 0.7201 GB, free: 8.289 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001411/0.9002, allocations: 118.3 kB / 0.7202 GB, free: 8.172 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.428e-05/0.9003, allocations: 4 kB / 0.7202 GB, free: 8.168 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.9005, allocations: 342.8 kB / 0.7205 GB, free: 7.824 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003034/0.9008, allocations: 91.98 kB / 0.7206 GB, free: 7.734 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003386/0.9011, allocations: 133.4 kB / 0.7207 GB, free: 7.598 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004259/0.9016, allocations: 149.7 kB / 0.7209 GB, free: 7.445 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.9016, allocations: 0 / 0.7209 GB, free: 7.445 MB / 0.6042 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001016/0.9026, allocations: 411.1 kB / 0.7213 GB, free: 7.031 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.899e-05/0.9027, allocations: 37.66 kB / 0.7213 GB, free: 6.988 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.9027, allocations: 0 / 0.7213 GB, free: 6.988 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.9027, allocations: 3.938 kB / 0.7213 GB, free: 6.984 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004653/0.9032, allocations: 71.94 kB / 0.7214 GB, free: 6.914 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.9032, allocations: 0 / 0.7214 GB, free: 6.914 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000187/0.9034, allocations: 27.77 kB / 0.7214 GB, free: 6.887 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.746e-05/0.9035, allocations: 12 kB / 0.7214 GB, free: 6.875 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.0001364/0.9036, allocations: 122.3 kB / 0.7215 GB, free: 6.75 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.001e-05/0.9037, allocations: 23.72 kB / 0.7215 GB, free: 6.727 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001375/0.9051, allocations: 432.1 kB / 0.722 GB, free: 6.301 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.351e-05/0.9052, allocations: 11.92 kB / 0.722 GB, free: 6.289 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.106e-06/0.9052, allocations: 0 / 0.722 GB, free: 6.289 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.9052, allocations: 0 / 0.722 GB, free: 6.289 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005384/0.9058, allocations: 333.3 kB / 0.7223 GB, free: 5.914 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.722e-06/0.9058, allocations: 3.984 kB / 0.7223 GB, free: 5.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004232/0.9062, allocations: 51.98 kB / 0.7223 GB, free: 5.859 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.059e-05/0.9063, allocations: 3.938 kB / 0.7223 GB, free: 5.855 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.167e-05/0.9063, allocations: 15.98 kB / 0.7224 GB, free: 5.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.013e-06/0.9063, allocations: 7.953 kB / 0.7224 GB, free: 5.832 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.9063, allocations: 0 / 0.7224 GB, free: 5.832 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008806/0.9072, allocations: 342.2 kB / 0.7227 GB, free: 5.48 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002623/0.9075, allocations: 148.7 kB / 0.7228 GB, free: 5.316 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.132e-05/0.9076, allocations: 8 kB / 0.7228 GB, free: 5.309 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001788/0.9078, allocations: 11.98 kB / 0.7228 GB, free: 5.297 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.833e-05/0.9079, allocations: 27.92 kB / 0.7229 GB, free: 5.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.455e-05/0.9079, allocations: 16 kB / 0.7229 GB, free: 5.254 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003264/0.9083, allocations: 203 kB / 0.7231 GB, free: 5.055 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.31e-07/0.9083, allocations: 0 / 0.7231 GB, free: 5.055 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005282/0.9088, allocations: 91.92 kB / 0.7232 GB, free: 4.965 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.002213/0.9111, allocations: 1.121 MB / 0.7243 GB, free: 3.895 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008347/0.9119, allocations: 307.2 kB / 0.7246 GB, free: 3.582 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.912, allocations: 0 / 0.7246 GB, free: 3.582 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003504/0.9123, allocations: 144.3 kB / 0.7247 GB, free: 3.441 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002959/0.9126, allocations: 23.95 kB / 0.7247 GB, free: 3.418 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001616/0.9143, allocations: 496.7 kB / 0.7252 GB, free: 2.902 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004244/0.9148, allocations: 0.7572 MB / 0.7259 GB, free: 2.117 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0006759/0.9154, allocations: 153.9 kB / 0.7261 GB, free: 1.965 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002371/0.9157, allocations: 83.39 kB / 0.7262 GB, free: 1.883 MB / 0.6042 GB Notification: Performance of SimCode: time 1.212e-06/0.9157, allocations: 3.938 kB / 0.7262 GB, free: 1.879 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03406/0.9498, allocations: 5.245 MB / 0.7313 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003651/0.9502, allocations: 236.6 kB / 0.7315 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.363/3.313, allocations: 3.938 kB / 0.7315 GB, free: 12.44 MB / 0.6198 GB