Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection,fileNamePrefix="Buildings_6_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckWindDirection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01139/0.01139, allocations: 106.6 kB / 15.05 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001289/0.001288, allocations: 185.5 kB / 15.94 MB, free: 5.938 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.096/2.096, allocations: 194.5 MB / 211.3 MB, free: 11.08 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.479/2.479, allocations: 236.1 MB / 492.6 MB, free: 11.33 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000487/0.000487, allocations: 12 kB / 0.587 GB, free: 2.059 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7293/0.7298, allocations: 98.71 MB / 0.6834 GB, free: 16.72 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2528/0.9827, allocations: 127.9 MB / 0.8084 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005207/0.9833, allocations: 95.88 kB / 0.8085 GB, free: 14.13 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.06005/1.043, allocations: 8.415 MB / 0.8167 GB, free: 5.699 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.006e-06/1.043, allocations: 0 / 0.8167 GB, free: 5.699 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.916e-05/1.043, allocations: 8 kB / 0.8167 GB, free: 5.691 MB / 0.6355 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.001523/1.045, allocations: 0.5438 MB / 0.8172 GB, free: 5.094 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.854e-05/1.045, allocations: 8.031 kB / 0.8172 GB, free: 5.086 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001444/1.045, allocations: 54.55 kB / 0.8173 GB, free: 5.023 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002284/1.045, allocations: 27.66 kB / 0.8173 GB, free: 4.996 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006482/1.046, allocations: 282.4 kB / 0.8176 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.415e-05/1.046, allocations: 12 kB / 0.8176 GB, free: 4.668 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.38e-05/1.046, allocations: 12 kB / 0.8176 GB, free: 4.656 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008278/1.047, allocations: 219.6 kB / 0.8178 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/1.047, allocations: 0 / 0.8178 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.2e-05/1.047, allocations: 11.98 kB / 0.8178 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.261e-05/1.047, allocations: 8 kB / 0.8178 GB, free: 4.406 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00244/1.05, allocations: 0.7764 MB / 0.8186 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002042/1.052, allocations: 0.5902 MB / 0.8192 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001444/1.053, allocations: 336.6 kB / 0.8195 GB, free: 2.645 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001378/1.055, allocations: 453.7 kB / 0.8199 GB, free: 2.109 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001221/1.056, allocations: 187.4 kB / 0.8201 GB, free: 1.914 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=35): time 9.077e-06/1.056, allocations: 0 / 0.8201 GB, free: 1.914 MB / 0.6355 GB Notification: Performance of matching and sorting (n=35): time 0.002725/1.059, allocations: 410.4 kB / 0.8205 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/1.059, allocations: 110.8 kB / 0.8206 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001163/1.06, allocations: 255.2 kB / 0.8208 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.935e-05/1.06, allocations: 33.7 kB / 0.8209 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000154/1.06, allocations: 116.7 kB / 0.821 GB, free: 0.9531 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002175/1.061, allocations: 122.3 kB / 0.8211 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.286e-05/1.061, allocations: 4 kB / 0.8211 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002538/1.061, allocations: 339.1 kB / 0.8214 GB, free: 500 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004979/1.061, allocations: 103.9 kB / 0.8215 GB, free: 396 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005735/1.062, allocations: 146.3 kB / 0.8217 GB, free: 240 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006164/1.063, allocations: 149.7 kB / 0.8218 GB, free: 84 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/1.063, allocations: 0 / 0.8218 GB, free: 84 kB / 0.6355 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001683/1.064, allocations: 419.1 kB / 0.8222 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 5.887e-05/1.064, allocations: 29.7 kB / 0.8222 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/1.065, allocations: 0 / 0.8222 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.78e-05/1.065, allocations: 4 kB / 0.8222 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007611/1.065, allocations: 67.84 kB / 0.8223 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.656e-05/1.065, allocations: 4 kB / 0.8223 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003972/1.066, allocations: 23.88 kB / 0.8223 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.172e-05/1.066, allocations: 19.98 kB / 0.8223 GB, free: 15.51 MB / 0.6511 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 () * Number of clocked 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.0003845/1.066, allocations: 157.8 kB / 0.8225 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001172/1.066, allocations: 23.72 kB / 0.8225 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002067/1.069, allocations: 444.3 kB / 0.8229 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.231e-05/1.069, allocations: 4 kB / 0.8229 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.999e-06/1.069, allocations: 3.953 kB / 0.8229 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.839e-06/1.069, allocations: 0 / 0.8229 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007854/1.069, allocations: 345.2 kB / 0.8233 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/1.069, allocations: 0 / 0.8233 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005914/1.07, allocations: 67.91 kB / 0.8233 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.708e-06/1.07, allocations: 0 / 0.8233 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.454e-05/1.07, allocations: 12 kB / 0.8234 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.017e-05/1.07, allocations: 7.938 kB / 0.8234 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/1.07, allocations: 0 / 0.8234 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001307/1.072, allocations: 357.5 kB / 0.8237 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003496/1.072, allocations: 160.6 kB / 0.8239 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.194e-05/1.072, allocations: 8 kB / 0.8239 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003267/1.072, allocations: 15.98 kB / 0.8239 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001321/1.073, allocations: 19.97 kB / 0.8239 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.846e-05/1.073, allocations: 19.98 kB / 0.8239 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0005014/1.073, allocations: 221.5 kB / 0.8241 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6.82e-07/1.073, allocations: 0 / 0.8241 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000848/1.074, allocations: 99.88 kB / 0.8242 GB, free: 13.48 MB / 0.6511 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) * Number of clocked states: 0 () * 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.003232/1.077, allocations: 1.155 MB / 0.8253 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001248/1.079, allocations: 323.1 kB / 0.8257 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/1.079, allocations: 0 / 0.8257 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.00058/1.079, allocations: 143.8 kB / 0.8258 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004105/1.08, allocations: 20.61 kB / 0.8258 GB, free: 11.92 MB / 0.6511 GB Warning: Could not resolve URI (OpenModelica_fmuLoadResource("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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.002927/1.083, allocations: 0.8922 MB / 0.8267 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005979/1.083, allocations: 0.767 MB / 0.8274 GB, free: 10.2 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0009598/1.084, allocations: 158.8 kB / 0.8276 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000345/1.085, allocations: 91.39 kB / 0.8277 GB, free: 9.949 MB / 0.6511 GB Notification: Performance of SimCode: time 1.142e-06/1.085, allocations: 0 / 0.8277 GB, free: 9.949 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4366/1.521, allocations: 5.53 MB / 0.8331 GB, free: 4.547 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003019/1.522, allocations: 265.6 kB / 0.8333 GB, free: 4.18 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.864/4.385, allocations: 0 / 0.8333 GB, free: 4.18 MB / 0.6511 GB