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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.255/4.255, allocations: 432.6 MB / 445.2 MB, free: 15.7 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.015e-05/4.023e-05, allocations: 4.438 kB / 0.5383 GB, free: 10.26 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2016/0.2017, allocations: 98.73 MB / 0.6347 GB, free: 1.848 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2304/0.4322, allocations: 127.8 MB / 0.7596 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003185/0.4325, allocations: 83.94 kB / 0.7596 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03585/0.4684, allocations: 8.208 MB / 0.7677 GB, free: 9.523 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.613e-06/0.4684, allocations: 0 / 0.7677 GB, free: 9.523 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.895e-05/0.4685, allocations: 7.938 kB / 0.7677 GB, free: 9.516 MB / 0.6511 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.0008372/0.4693, allocations: 0.5138 MB / 0.7682 GB, free: 8.953 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.4694, allocations: 12.03 kB / 0.7682 GB, free: 8.941 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.002e-05/0.4695, allocations: 54.55 kB / 0.7682 GB, free: 8.879 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001452/0.4696, allocations: 27.72 kB / 0.7683 GB, free: 8.852 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004545/0.4701, allocations: 278.4 kB / 0.7685 GB, free: 8.539 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.371e-05/0.4701, allocations: 8 kB / 0.7685 GB, free: 8.531 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.899e-05/0.4702, allocations: 20 kB / 0.7686 GB, free: 8.512 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000533/0.4707, allocations: 211.7 kB / 0.7688 GB, free: 8.289 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.4708, allocations: 0 / 0.7688 GB, free: 8.289 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.56e-05/0.4708, allocations: 7.984 kB / 0.7688 GB, free: 8.281 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.677e-06/0.4708, allocations: 4 kB / 0.7688 GB, free: 8.277 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00165/0.4725, allocations: 0.7764 MB / 0.7695 GB, free: 7.5 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001307/0.4738, allocations: 0.5903 MB / 0.7701 GB, free: 6.855 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008829/0.4747, allocations: 320.4 kB / 0.7704 GB, free: 6.535 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000303/0.475, allocations: 113.4 kB / 0.7705 GB, free: 6.422 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009235/0.476, allocations: 465.7 kB / 0.771 GB, free: 5.875 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000469/0.4765, allocations: 175.6 kB / 0.7711 GB, free: 5.691 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=35): time 3.106e-06/0.4765, allocations: 0 / 0.7711 GB, free: 5.691 MB / 0.6511 GB Notification: Performance of matching and sorting (n=35): time 0.0008806/0.4774, allocations: 312.9 kB / 0.7714 GB, free: 5.379 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.271e-05/0.4775, allocations: 114.8 kB / 0.7715 GB, free: 5.242 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004408/0.4779, allocations: 251 kB / 0.7718 GB, free: 4.984 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.253e-05/0.478, allocations: 29.7 kB / 0.7718 GB, free: 4.949 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.627e-05/0.4781, allocations: 120.8 kB / 0.7719 GB, free: 4.828 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001322/0.4782, allocations: 122.3 kB / 0.772 GB, free: 4.707 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.777e-05/0.4783, allocations: 8 kB / 0.772 GB, free: 4.699 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.4784, allocations: 334.8 kB / 0.7724 GB, free: 4.363 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002957/0.4787, allocations: 95.98 kB / 0.7724 GB, free: 4.27 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003412/0.4791, allocations: 142.4 kB / 0.7726 GB, free: 4.121 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003861/0.4795, allocations: 149.6 kB / 0.7727 GB, free: 3.969 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.4795, allocations: 0 / 0.7727 GB, free: 3.969 MB / 0.6511 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009898/0.4805, allocations: 414.9 kB / 0.7731 GB, free: 3.551 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.951e-05/0.4805, allocations: 37.64 kB / 0.7732 GB, free: 3.508 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.4806, allocations: 0 / 0.7732 GB, free: 3.508 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.4806, allocations: 7.938 kB / 0.7732 GB, free: 3.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004495/0.481, allocations: 63.97 kB / 0.7732 GB, free: 3.438 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.421e-05/0.4811, allocations: 3.938 kB / 0.7732 GB, free: 3.434 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002246/0.4813, allocations: 35.77 kB / 0.7733 GB, free: 3.398 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.344e-05/0.4814, allocations: 8 kB / 0.7733 GB, free: 3.391 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 () * 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.0001409/0.4815, allocations: 123.5 kB / 0.7734 GB, free: 3.266 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.373e-05/0.4816, allocations: 31.66 kB / 0.7734 GB, free: 3.234 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001271/0.4829, allocations: 428.5 kB / 0.7738 GB, free: 2.809 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.784e-06/0.4829, allocations: 4 kB / 0.7738 GB, free: 2.805 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-06/0.4829, allocations: 3.953 kB / 0.7738 GB, free: 2.801 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.4829, allocations: 3.984 kB / 0.7738 GB, free: 2.797 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005007/0.4834, allocations: 345.1 kB / 0.7742 GB, free: 2.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.4835, allocations: 4 kB / 0.7742 GB, free: 2.406 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003917/0.4839, allocations: 59.91 kB / 0.7742 GB, free: 2.348 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.4839, allocations: 0 / 0.7742 GB, free: 2.348 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.319e-05/0.484, allocations: 11.98 kB / 0.7742 GB, free: 2.336 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.536e-06/0.484, allocations: 4 kB / 0.7742 GB, free: 2.332 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.484, allocations: 4 kB / 0.7743 GB, free: 2.328 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008421/0.4849, allocations: 357.5 kB / 0.7746 GB, free: 1.961 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002471/0.4851, allocations: 156.7 kB / 0.7747 GB, free: 1.789 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.963e-05/0.4852, allocations: 4 kB / 0.7747 GB, free: 1.785 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002089/0.4854, allocations: 12 kB / 0.7748 GB, free: 1.773 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.976e-05/0.4855, allocations: 31.95 kB / 0.7748 GB, free: 1.742 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.16e-05/0.4856, allocations: 8 kB / 0.7748 GB, free: 1.734 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003167/0.4859, allocations: 221.5 kB / 0.775 GB, free: 1.52 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.11e-07/0.4859, allocations: 7.938 kB / 0.775 GB, free: 1.512 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004858/0.4864, allocations: 87.92 kB / 0.7751 GB, free: 1.426 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) * 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.002124/0.4885, allocations: 1.118 MB / 0.7762 GB, free: 360 kB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0007836/0.4893, allocations: 319.1 kB / 0.7765 GB, free: 28 kB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4894, allocations: 0 / 0.7765 GB, free: 28 kB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.4933/0.9827, allocations: 129.4 kB / 0.7766 GB, free: 139.8 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003251/0.983, allocations: 23.3 kB / 0.7766 GB, free: 139.7 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.00152/0.9846, allocations: 0.5071 MB / 0.7771 GB, free: 139.6 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002607/0.9848, allocations: 0.7602 MB / 0.7779 GB, free: 138.9 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0006348/0.9855, allocations: 157.5 kB / 0.778 GB, free: 138.9 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002217/0.9857, allocations: 92.89 kB / 0.7781 GB, free: 138.9 MB / 0.6511 GB Notification: Performance of SimCode: time 1.192e-06/0.9857, allocations: 0 / 0.7781 GB, free: 138.9 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9115/1.897, allocations: 5.613 MB / 0.7836 GB, free: 138.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002487/1.898, allocations: 231.4 kB / 0.7838 GB, free: 138.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.542/5.439, allocations: 0 / 0.7838 GB, free: 138.2 MB / 0.6511 GB