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.01157/0.01157, allocations: 108.5 kB / 15.06 MB, free: 5.555 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.001207/0.001207, allocations: 181.4 kB / 15.95 MB, free: 5.52 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.124/2.124, allocations: 194.6 MB / 211.3 MB, free: 11.23 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.504/2.504, allocations: 236.2 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000516/0.0005161, allocations: 8 kB / 0.587 GB, free: 2.055 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6513/0.6518, allocations: 98.71 MB / 0.6834 GB, free: 16.79 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection): time 0.002417/0.6543, allocations: 1.404 MB / 0.6848 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.002742/0.6571, allocations: 1.485 MB / 0.6863 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.138e-05/0.6573, allocations: 0 / 0.6863 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0002143/0.6575, allocations: 14.09 kB / 0.6863 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0003023/0.6578, allocations: 52.58 kB / 0.6863 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004201/0.6582, allocations: 87.98 kB / 0.6864 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0002781/0.6585, allocations: 157.1 kB / 0.6865 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.6587, allocations: 21.39 kB / 0.6866 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001822/0.6589, allocations: 83 kB / 0.6866 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002402/0.6591, allocations: 65.69 kB / 0.6867 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 4.438e-05/0.6592, allocations: 9.781 kB / 0.6867 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003236/0.6595, allocations: 98 kB / 0.6868 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001138/0.6596, allocations: 71.5 kB / 0.6869 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 7.445e-05/0.6597, allocations: 55.03 kB / 0.6869 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0004522/0.6602, allocations: 233 kB / 0.6872 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.6602, allocations: 0 / 0.6872 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.994e-06/0.6602, allocations: 0 / 0.6872 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.068e-05/0.6603, allocations: 0.875 kB / 0.6872 GB, free: 14.35 MB / 0.5261 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.6612, allocations: 0.5196 MB / 0.6877 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.6613, allocations: 9 kB / 0.6877 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.627e-05/0.6614, allocations: 48.2 kB / 0.6877 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001434/0.6615, allocations: 31.14 kB / 0.6877 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003551/0.6619, allocations: 280.8 kB / 0.688 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.532e-05/0.6619, allocations: 14.22 kB / 0.688 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.886e-05/0.662, allocations: 19.25 kB / 0.688 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005508/0.6625, allocations: 210.3 kB / 0.6882 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.6626, allocations: 1.219 kB / 0.6883 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.393e-05/0.6626, allocations: 9.25 kB / 0.6883 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.6626, allocations: 4.5 kB / 0.6883 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001861/0.6645, allocations: 0.7831 MB / 0.689 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001513/0.6661, allocations: 0.5993 MB / 0.6896 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009121/0.667, allocations: 328.8 kB / 0.6899 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000869/0.6679, allocations: 463.3 kB / 0.6904 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005596/0.6685, allocations: 189.5 kB / 0.6906 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=35): time 3.386e-06/0.6685, allocations: 0 / 0.6906 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=35): time 0.001231/0.6697, allocations: 405.6 kB / 0.6909 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.132e-05/0.6698, allocations: 112.1 kB / 0.691 GB, free: 11.92 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004186/0.6702, allocations: 293.6 kB / 0.6913 GB, free: 11.76 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.306e-05/0.6703, allocations: 33.23 kB / 0.6914 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.181e-05/0.6704, allocations: 120.7 kB / 0.6915 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001183/0.6705, allocations: 118.5 kB / 0.6916 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.346e-05/0.6705, allocations: 6.656 kB / 0.6916 GB, free: 11.51 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.403e-05/0.6706, allocations: 336.8 kB / 0.6919 GB, free: 11.19 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003039/0.6709, allocations: 100.6 kB / 0.692 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003568/0.6713, allocations: 150.5 kB / 0.6922 GB, free: 11.08 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000375/0.6717, allocations: 153 kB / 0.6923 GB, free: 11 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.6717, allocations: 0.5625 kB / 0.6923 GB, free: 11 MB / 0.5261 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001446/0.6732, allocations: 412.2 kB / 0.6927 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.936e-05/0.6733, allocations: 32.14 kB / 0.6927 GB, free: 10.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/0.6733, allocations: 4.469 kB / 0.6927 GB, free: 10.81 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.009e-05/0.6733, allocations: 1.25 kB / 0.6927 GB, free: 10.81 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007747/0.6741, allocations: 66.91 kB / 0.6928 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.421e-05/0.6742, allocations: 2.375 kB / 0.6928 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004175/0.6746, allocations: 36.03 kB / 0.6928 GB, free: 10.78 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.255e-05/0.6747, allocations: 16.81 kB / 0.6928 GB, free: 10.77 MB / 0.5261 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.0003445/0.6751, allocations: 160.8 kB / 0.693 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.6752, allocations: 25.31 kB / 0.693 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002196/0.6774, allocations: 451.6 kB / 0.6935 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.53e-05/0.6775, allocations: 7.359 kB / 0.6935 GB, free: 10.42 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/0.6775, allocations: 1.438 kB / 0.6935 GB, free: 10.42 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.206e-05/0.6775, allocations: 2.062 kB / 0.6935 GB, free: 10.42 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007572/0.6783, allocations: 329.8 kB / 0.6938 GB, free: 10.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.6783, allocations: 0 / 0.6938 GB, free: 10.17 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006784/0.679, allocations: 64.52 kB / 0.6938 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.113e-05/0.679, allocations: 1.062 kB / 0.6938 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.813e-05/0.6791, allocations: 11.77 kB / 0.6938 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.707e-06/0.6791, allocations: 1.688 kB / 0.6939 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.6791, allocations: 4.922 kB / 0.6939 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001442/0.6806, allocations: 351 kB / 0.6942 GB, free: 9.992 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003263/0.681, allocations: 158.4 kB / 0.6943 GB, free: 9.859 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.496e-05/0.6811, allocations: 7 kB / 0.6943 GB, free: 9.855 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003814/0.6815, allocations: 14.25 kB / 0.6944 GB, free: 9.852 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001632/0.6817, allocations: 31.81 kB / 0.6944 GB, free: 9.844 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.989e-05/0.6818, allocations: 13.5 kB / 0.6944 GB, free: 9.844 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004736/0.6822, allocations: 230.2 kB / 0.6946 GB, free: 9.719 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.51e-07/0.6823, allocations: 0 / 0.6946 GB, free: 9.719 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0008405/0.6831, allocations: 78.69 kB / 0.6947 GB, free: 9.699 MB / 0.5261 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.002802/0.6859, allocations: 1.159 MB / 0.6958 GB, free: 8.891 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008481/0.6868, allocations: 327 kB / 0.6961 GB, free: 8.742 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.6869, allocations: 1.031 kB / 0.6961 GB, free: 8.742 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000372/0.6872, allocations: 139.1 kB / 0.6963 GB, free: 8.703 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002995/0.6876, allocations: 18.28 kB / 0.6963 GB, free: 8.695 MB / 0.5261 GB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001698/0.6893, allocations: 0.8713 MB / 0.6971 GB, free: 8.102 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000273/0.6896, allocations: 0.7632 MB / 0.6979 GB, free: 7.398 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006666/0.6902, allocations: 172.3 kB / 0.6981 GB, free: 7.34 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002267/0.6905, allocations: 100.9 kB / 0.6982 GB, free: 7.281 MB / 0.5261 GB Notification: Performance of SimCode: time 1.082e-06/0.6905, allocations: 0 / 0.6982 GB, free: 7.281 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4823/1.173, allocations: 5.54 MB / 0.7036 GB, free: 5.035 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002727/1.173, allocations: 301.2 kB / 0.7038 GB, free: 4.672 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.572/3.745, allocations: 0 / 0.7038 GB, free: 4.672 MB / 0.5261 GB