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 3.95/3.95, allocations: 403.3 MB / 415.4 MB, free: 13 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 5.332e-05/5.336e-05, allocations: 7.938 kB / 0.4991 GB, free: 13.34 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7053/0.7053, allocations: 92.68 MB / 0.5897 GB, free: 14.38 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.246/0.9514, allocations: 123.1 MB / 0.7099 GB, free: 3.121 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004462/0.9519, allocations: 91.94 kB / 0.71 GB, free: 3.031 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.02546/0.9774, allocations: 6.112 MB / 0.7159 GB, free: 12.91 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.683e-06/0.9775, allocations: 3.938 kB / 0.7159 GB, free: 12.9 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.905e-05/0.9775, allocations: 4 kB / 0.7159 GB, free: 12.9 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.0008711/0.9784, allocations: 0.5121 MB / 0.7164 GB, free: 12.33 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.9784, allocations: 8.031 kB / 0.7164 GB, free: 12.32 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.844e-05/0.9785, allocations: 50.55 kB / 0.7165 GB, free: 12.27 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001426/0.9787, allocations: 31.66 kB / 0.7165 GB, free: 12.23 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004169/0.9791, allocations: 255.7 kB / 0.7168 GB, free: 11.94 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.248e-05/0.9791, allocations: 15.94 kB / 0.7168 GB, free: 11.93 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.777e-05/0.9792, allocations: 20 kB / 0.7168 GB, free: 11.91 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005097/0.9797, allocations: 195 kB / 0.717 GB, free: 11.7 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.9797, allocations: 0 / 0.717 GB, free: 11.7 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.184e-05/0.9798, allocations: 8 kB / 0.717 GB, free: 11.7 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.9798, allocations: 7.953 kB / 0.717 GB, free: 11.69 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001607/0.9814, allocations: 0.7763 MB / 0.7178 GB, free: 10.91 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001353/0.9828, allocations: 0.567 MB / 0.7183 GB, free: 10.29 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008533/0.9837, allocations: 312.5 kB / 0.7186 GB, free: 9.977 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003047/0.984, allocations: 121.3 kB / 0.7187 GB, free: 9.855 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009415/0.9849, allocations: 465.7 kB / 0.7192 GB, free: 9.309 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000439/0.9854, allocations: 175.5 kB / 0.7193 GB, free: 9.125 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=35): time 2.675e-06/0.9854, allocations: 0 / 0.7193 GB, free: 9.125 MB / 0.6042 GB Notification: Performance of matching and sorting (n=35): time 0.0008337/0.9863, allocations: 297 kB / 0.7196 GB, free: 8.828 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.372e-05/0.9863, allocations: 81.11 kB / 0.7197 GB, free: 8.73 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004058/0.9868, allocations: 250.1 kB / 0.7199 GB, free: 8.477 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.924e-05/0.9868, allocations: 33.7 kB / 0.72 GB, free: 8.438 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.822e-05/0.9869, allocations: 116.8 kB / 0.7201 GB, free: 8.32 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001371/0.9871, allocations: 118.3 kB / 0.7202 GB, free: 8.203 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.442e-05/0.9871, allocations: 4 kB / 0.7202 GB, free: 8.199 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.9873, allocations: 334.8 kB / 0.7205 GB, free: 7.863 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002963/0.9876, allocations: 103.7 kB / 0.7206 GB, free: 7.762 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003164/0.9879, allocations: 125.7 kB / 0.7207 GB, free: 7.633 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003473/0.9883, allocations: 154 kB / 0.7209 GB, free: 7.477 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.9883, allocations: 0 / 0.7209 GB, free: 7.477 MB / 0.6042 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000943/0.9892, allocations: 406.5 kB / 0.7213 GB, free: 7.066 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.686e-05/0.9893, allocations: 37.66 kB / 0.7213 GB, free: 7.023 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.9893, allocations: 0 / 0.7213 GB, free: 7.023 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.9893, allocations: 4 kB / 0.7213 GB, free: 7.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004335/0.9898, allocations: 59.91 kB / 0.7214 GB, free: 6.961 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.273e-05/0.9898, allocations: 4 kB / 0.7214 GB, free: 6.957 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001592/0.99, allocations: 23.77 kB / 0.7214 GB, free: 6.934 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.688e-05/0.99, allocations: 20.03 kB / 0.7214 GB, free: 6.914 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.0001323/0.9902, allocations: 121.8 kB / 0.7215 GB, free: 6.793 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.371e-05/0.9902, allocations: 23.72 kB / 0.7215 GB, free: 6.77 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001249/0.9915, allocations: 436 kB / 0.722 GB, free: 6.34 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.9915, allocations: 3.938 kB / 0.722 GB, free: 6.336 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.9915, allocations: 8 kB / 0.722 GB, free: 6.328 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.9916, allocations: 0 / 0.722 GB, free: 6.328 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004913/0.9921, allocations: 329.3 kB / 0.7223 GB, free: 5.957 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.9921, allocations: 4 kB / 0.7223 GB, free: 5.953 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000392/0.9925, allocations: 63.91 kB / 0.7224 GB, free: 5.891 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.9925, allocations: 0 / 0.7224 GB, free: 5.891 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.964e-05/0.9925, allocations: 8 kB / 0.7224 GB, free: 5.883 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.268e-06/0.9926, allocations: 11.95 kB / 0.7224 GB, free: 5.871 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.9926, allocations: 3.984 kB / 0.7224 GB, free: 5.867 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008177/0.9934, allocations: 342.2 kB / 0.7227 GB, free: 5.516 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002214/0.9936, allocations: 152.7 kB / 0.7229 GB, free: 5.348 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.313e-05/0.9937, allocations: 7.938 kB / 0.7229 GB, free: 5.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001429/0.9938, allocations: 11.98 kB / 0.7229 GB, free: 5.328 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.979e-05/0.9939, allocations: 27.92 kB / 0.7229 GB, free: 5.301 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.823e-05/0.994, allocations: 12 kB / 0.7229 GB, free: 5.289 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000291/0.9943, allocations: 203 kB / 0.7231 GB, free: 5.09 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.41e-07/0.9943, allocations: 0 / 0.7231 GB, free: 5.09 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005075/0.9948, allocations: 95.92 kB / 0.7232 GB, free: 4.996 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.001982/0.9968, allocations: 1.114 MB / 0.7243 GB, free: 3.93 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007582/0.9976, allocations: 315.5 kB / 0.7246 GB, free: 3.609 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.9976, allocations: 0 / 0.7246 GB, free: 3.609 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003346/0.998, allocations: 135.8 kB / 0.7247 GB, free: 3.477 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002441/0.9982, allocations: 19.95 kB / 0.7247 GB, free: 3.457 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001397/0.9996, allocations: 0.49 MB / 0.7252 GB, free: 2.938 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003905/1, allocations: 0.7538 MB / 0.7259 GB, free: 2.156 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0006263/1.001, allocations: 153.9 kB / 0.7261 GB, free: 2.004 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000212/1.001, allocations: 87.39 kB / 0.7262 GB, free: 1.918 MB / 0.6042 GB Notification: Performance of SimCode: time 7.71e-07/1.001, allocations: 0 / 0.7262 GB, free: 1.918 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03198/1.033, allocations: 5.241 MB / 0.7313 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003851/1.033, allocations: 234.4 kB / 0.7315 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.556/3.59, allocations: 3.938 kB / 0.7315 GB, free: 12.51 MB / 0.6198 GB