Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|latitude|longitude|timeZone",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|latitude|longitude|timeZone",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 99.36 kB / 15.71 MB, free: 452 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 178.7 kB / 16.58 MB, free: 6.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.602/1.602, allocations: 223.3 MB / 240.6 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.731/2.731, allocations: 436.7 MB / 0.7113 GB, free: 7.844 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004109/0.0004112, allocations: 12.22 kB / 0.8717 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7854/0.7859, allocations: 153.7 MB / 1.022 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001733/0.7877, allocations: 0.9994 MB / 1.023 GB, free: 112 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002675/0.7904, allocations: 1.339 MB / 1.024 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.022e-05/0.7904, allocations: 0 / 1.024 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.7e-05/0.7905, allocations: 0 / 1.024 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002169/0.7907, allocations: 19.92 kB / 1.024 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000585/0.7913, allocations: 184.7 kB / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.562e-05/0.7914, allocations: 23.92 kB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.498e-05/0.7914, allocations: 4 kB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.956e-05/0.7915, allocations: 19.92 kB / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001383/0.7917, allocations: 13.7 kB / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.7917, allocations: 4 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002459/0.7919, allocations: 135.8 kB / 1.024 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.212e-05/0.792, allocations: 0 / 1.024 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.026e-05/0.792, allocations: 29.7 kB / 1.024 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001961/0.7922, allocations: 95.88 kB / 1.025 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 9.638e-06/0.7922, allocations: 3.938 kB / 1.025 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.386e-06/0.7922, allocations: 0 / 1.025 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.7922, allocations: 4 kB / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004965/0.7927, allocations: 365.2 kB / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.7928, allocations: 11.98 kB / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.753e-05/0.7929, allocations: 75.28 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000216/0.7931, allocations: 246.3 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.441e-05/0.7932, allocations: 150.6 kB / 1.025 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.357e-05/0.7933, allocations: 154.6 kB / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.708e-05/0.7934, allocations: 108.9 kB / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.912e-05/0.7934, allocations: 75.28 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.792e-05/0.7935, allocations: 150.6 kB / 1.026 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-05/0.7936, allocations: 150.6 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.535e-05/0.7936, allocations: 158.5 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003531/0.794, allocations: 457.9 kB / 1.027 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.779e-05/0.7941, allocations: 169.1 kB / 1.027 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.008e-05/0.7941, allocations: 80.14 kB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.192e-05/0.7942, allocations: 75.28 kB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.929e-05/0.7942, allocations: 117.7 kB / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.7942, allocations: 0 / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 8.689e-05/0.7943, allocations: 37.69 kB / 1.027 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.554e-05/0.7944, allocations: 126.7 kB / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.7945, allocations: 109.8 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.7946, allocations: 29.64 kB / 1.027 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.305e-05/0.7946, allocations: 84.12 kB / 1.027 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.194e-06/0.7946, allocations: 0 / 1.027 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.926e-06/0.7946, allocations: 4 kB / 1.027 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.7948, allocations: 318.8 kB / 1.028 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.113e-05/0.7948, allocations: 3.938 kB / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.753e-05/0.7949, allocations: 30.5 kB / 1.028 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.432e-05/0.7949, allocations: 4 kB / 1.028 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.7949, allocations: 4 kB / 1.028 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001319/0.795, allocations: 49.77 kB / 1.028 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.7951, allocations: 4 kB / 1.028 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.7951, allocations: 3.953 kB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.7951, allocations: 7.984 kB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.099e-05/0.7952, allocations: 4 kB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.902e-06/0.7952, allocations: 0 / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001472/0.7953, allocations: 11.98 kB / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.375e-05/0.7954, allocations: 4 kB / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.0001273/0.7955, allocations: 185.3 kB / 1.028 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.282e-05/0.7956, allocations: 112.9 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001083/0.7957, allocations: 108.1 kB / 1.028 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001186/0.7958, allocations: 184.2 kB / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.04e-05/0.7959, allocations: 184.2 kB / 1.028 GB, free: 9.891 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.754e-05/0.796, allocations: 180.3 kB / 1.029 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002542/0.7962, allocations: 413.1 kB / 1.029 GB, free: 9.246 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.895e-05/0.7963, allocations: 101 kB / 1.029 GB, free: 9.141 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.279e-05/0.7963, allocations: 101 kB / 1.029 GB, free: 9.035 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.912e-05/0.7964, allocations: 180.2 kB / 1.029 GB, free: 8.852 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.981e-05/0.7965, allocations: 180.3 kB / 1.03 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.656e-05/0.7966, allocations: 192.2 kB / 1.03 GB, free: 8.473 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.576e-05/0.7967, allocations: 180.2 kB / 1.03 GB, free: 8.289 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001484/0.7968, allocations: 303.7 kB / 1.03 GB, free: 7.969 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.014e-05/0.7969, allocations: 186.1 kB / 1.03 GB, free: 7.762 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.115e-05/0.797, allocations: 188.2 kB / 1.031 GB, free: 7.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.461e-05/0.7971, allocations: 105 kB / 1.031 GB, free: 7.461 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.806e-05/0.7972, allocations: 184.2 kB / 1.031 GB, free: 7.273 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.335e-05/0.7972, allocations: 101.3 kB / 1.031 GB, free: 7.168 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.517e-05/0.7973, allocations: 91.45 kB / 1.031 GB, free: 7.078 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7973, allocations: 0 / 1.031 GB, free: 7.078 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003311/0.7976, allocations: 55.98 kB / 1.031 GB, free: 7.023 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0006123/0.7982, allocations: 340.9 kB / 1.031 GB, free: 6.723 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.696e-05/0.7983, allocations: 11.94 kB / 1.031 GB, free: 6.711 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.7983, allocations: 0 / 1.031 GB, free: 6.711 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.253e-06/0.7984, allocations: 0 / 1.031 GB, free: 6.711 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003837/0.7987, allocations: 0.5265 MB / 1.032 GB, free: 6.18 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002755/0.799, allocations: 199.6 kB / 1.032 GB, free: 5.949 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002648/0.7993, allocations: 0.6731 MB / 1.033 GB, free: 5.25 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.524e-05/0.7993, allocations: 11.44 kB / 1.033 GB, free: 5.238 MB / 0.7794 GB Notification: Performance of SimCode: time 1.9e-07/0.7993, allocations: 0 / 1.033 GB, free: 5.238 MB / 0.7794 GB Notification: Performance of Templates: time 0.003625/0.803, allocations: 1.592 MB / 1.034 GB, free: 3.652 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElementCalcHelperMain.o OMCppBuildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElementCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElementCalcHelperMain.o] Error 1