Running command: "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckWindDirection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.334/3.334, allocations: 343.8 MB / 355.9 MB, free: 9.383 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.653e-05/5.663e-05, allocations: 8 kB / 436.7 MB, free: 2.359 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1808/0.1809, allocations: 77.72 MB / 0.5023 GB, free: 4.477 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6355/0.8165, allocations: 109.5 MB / 0.6093 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003448/0.8169, allocations: 83.95 kB / 0.6094 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.0394/0.8563, allocations: 8.798 MB / 0.618 GB, free: 2.488 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.773e-06/0.8564, allocations: 0 / 0.618 GB, free: 2.488 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.149e-05/0.8564, allocations: 4 kB / 0.618 GB, free: 2.484 MB / 0.4948 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.0008511/0.8573, allocations: 0.4985 MB / 0.6185 GB, free: 1.938 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.8573, allocations: 8.031 kB / 0.6185 GB, free: 1.93 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.291e-05/0.8574, allocations: 54.55 kB / 0.6185 GB, free: 1.867 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001501/0.8576, allocations: 27.62 kB / 0.6185 GB, free: 1.84 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004826/0.8581, allocations: 273.5 kB / 0.6188 GB, free: 1.531 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.891e-05/0.8581, allocations: 12 kB / 0.6188 GB, free: 1.52 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.29e-05/0.8582, allocations: 12 kB / 0.6188 GB, free: 1.508 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005112/0.8587, allocations: 204.1 kB / 0.619 GB, free: 1.293 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.8587, allocations: 4 kB / 0.619 GB, free: 1.289 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.136e-05/0.8588, allocations: 4 kB / 0.619 GB, free: 1.285 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.8588, allocations: 4 kB / 0.619 GB, free: 1.281 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001525/0.8603, allocations: 0.7334 MB / 0.6197 GB, free: 0.5469 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001374/0.8617, allocations: 0.5707 MB / 0.6203 GB, free: 15.92 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000822/0.8626, allocations: 300.1 kB / 0.6206 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002763/0.8628, allocations: 101.4 kB / 0.6207 GB, free: 15.51 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009633/0.8638, allocations: 465.6 kB / 0.6211 GB, free: 14.97 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004251/0.8643, allocations: 167.6 kB / 0.6213 GB, free: 14.79 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=35): time 2.695e-06/0.8643, allocations: 0 / 0.6213 GB, free: 14.79 MB / 0.5105 GB Notification: Performance of matching and sorting (n=35): time 0.0008292/0.8651, allocations: 280.9 kB / 0.6216 GB, free: 14.51 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.278e-05/0.8652, allocations: 110.8 kB / 0.6217 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004975/0.8657, allocations: 264.8 kB / 0.6219 GB, free: 14.11 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.401e-05/0.8658, allocations: 37.7 kB / 0.6219 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/0.8659, allocations: 120.8 kB / 0.6221 GB, free: 13.95 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001466/0.8661, allocations: 118.3 kB / 0.6222 GB, free: 13.83 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.328e-05/0.8661, allocations: 8 kB / 0.6222 GB, free: 13.82 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001753/0.8663, allocations: 338.8 kB / 0.6225 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002401/0.8665, allocations: 75.98 kB / 0.6226 GB, free: 13.41 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002926/0.8669, allocations: 106.5 kB / 0.6227 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003126/0.8672, allocations: 112.5 kB / 0.6228 GB, free: 13.19 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.8672, allocations: 0 / 0.6228 GB, free: 13.19 MB / 0.5105 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007336/0.8679, allocations: 269.2 kB / 0.623 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.868, allocations: 8.656 kB / 0.6231 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.868, allocations: 0 / 0.6231 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.868, allocations: 7.938 kB / 0.6231 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004418/0.8685, allocations: 67.86 kB / 0.6231 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.8685, allocations: 0 / 0.6231 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002406/0.8688, allocations: 27.83 kB / 0.6232 GB, free: 12.81 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.03e-05/0.8688, allocations: 8 kB / 0.6232 GB, free: 12.8 MB / 0.5105 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.tNext,conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.0001404/0.869, allocations: 128.9 kB / 0.6233 GB, free: 12.67 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.047e-05/0.869, allocations: 31.62 kB / 0.6233 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001237/0.8703, allocations: 392.8 kB / 0.6237 GB, free: 12.25 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/0.8703, allocations: 4 kB / 0.6237 GB, free: 12.24 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.8703, allocations: 3.953 kB / 0.6237 GB, free: 12.24 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.083e-05/0.8703, allocations: 7.969 kB / 0.6237 GB, free: 12.23 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000552/0.8709, allocations: 337.3 kB / 0.624 GB, free: 11.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.8709, allocations: 0 / 0.624 GB, free: 11.85 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003847/0.8713, allocations: 67.91 kB / 0.6241 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.8713, allocations: 0 / 0.6241 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.333e-05/0.8714, allocations: 8 kB / 0.6241 GB, free: 11.78 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/0.8714, allocations: 4 kB / 0.6241 GB, free: 11.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.8714, allocations: 0 / 0.6241 GB, free: 11.77 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008039/0.8722, allocations: 329.7 kB / 0.6244 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000268/0.8725, allocations: 160.6 kB / 0.6246 GB, free: 11.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.89e-05/0.8726, allocations: 4 kB / 0.6246 GB, free: 11.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002219/0.8728, allocations: 19.98 kB / 0.6246 GB, free: 11.23 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.731e-05/0.8729, allocations: 19.97 kB / 0.6246 GB, free: 11.21 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.889e-05/0.873, allocations: 12 kB / 0.6246 GB, free: 11.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003631/0.8733, allocations: 221.3 kB / 0.6248 GB, free: 10.99 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.21e-07/0.8734, allocations: 0 / 0.6248 GB, free: 10.99 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005361/0.8739, allocations: 91.88 kB / 0.6249 GB, free: 10.9 MB / 0.5105 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.tNext) * Number of discrete states: 1 (conTim.tNext) * 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.002225/0.8761, allocations: 1.173 MB / 0.6261 GB, free: 9.777 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0007088/0.8769, allocations: 219.7 kB / 0.6263 GB, free: 9.562 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.8769, allocations: 3.938 kB / 0.6263 GB, free: 9.559 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000325/0.8772, allocations: 127.8 kB / 0.6264 GB, free: 9.434 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003826/0.8776, allocations: 24.42 kB / 0.6264 GB, free: 9.406 MB / 0.5105 GB Warning: Could not resolve URI (OpenModelica_fmuLoadResource("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/BuildingSystems 2.0.0-beta/Resources/weatherdata/USA_IL_Chicago-OHare.Intl.AP.725300_TMY3.mos")) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001558/0.8792, allocations: 0.4975 MB / 0.6269 GB, free: 8.883 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004909/0.8797, allocations: 0.761 MB / 0.6277 GB, free: 8.098 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006264/0.8804, allocations: 154.8 kB / 0.6278 GB, free: 7.941 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002506/0.8806, allocations: 95.39 kB / 0.6279 GB, free: 7.848 MB / 0.5105 GB Notification: Performance of SimCode: time 1.022e-06/0.8806, allocations: 0 / 0.6279 GB, free: 7.848 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.368/1.249, allocations: 5.721 MB / 0.6335 GB, free: 2.207 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003745/1.249, allocations: 237.2 kB / 0.6337 GB, free: 1.895 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.559/3.809, allocations: 0 / 0.6337 GB, free: 1.895 MB / 0.5105 GB