Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001605/0.001605, allocations: 100.8 kB / 19.74 MB, free: 2.066 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001774/0.001774, allocations: 217.4 kB / 23.04 MB, free: 4.844 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.534/1.534, allocations: 230.6 MB / 256.8 MB, free: 7.734 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.176/3.176, allocations: 0.49 GB / 0.7959 GB, free: 35.55 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|latitude|longitude|timeZone",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|latitude|longitude|timeZone",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002055/0.002055, allocations: 71.02 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3548/0.3569, allocations: 176.1 MB / 1.327 GB, free: 0.9062 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002682/0.3595, allocations: 1.29 MB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002476/0.362, allocations: 1.524 MB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.433e-05/0.3621, allocations: 4 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.464e-05/0.3621, allocations: 3.938 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002561/0.3623, allocations: 19.91 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006508/0.363, allocations: 226 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.554e-05/0.3631, allocations: 23.92 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.957e-05/0.3631, allocations: 4 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001312/0.3632, allocations: 19.92 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.394e-05/0.3633, allocations: 11.92 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.3633, allocations: 4 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002925/0.3636, allocations: 147.9 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.665e-05/0.3636, allocations: 8 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.735e-05/0.3637, allocations: 11.94 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002599/0.3639, allocations: 143.6 kB / 1.331 GB, free: 13.47 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.3639, allocations: 0 / 1.331 GB, free: 13.47 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3639, allocations: 4 kB / 1.331 GB, free: 13.46 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.431e-06/0.3639, allocations: 0 / 1.331 GB, free: 13.46 MB / 1.029 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.0003915/0.3643, allocations: 289.9 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.3644, allocations: 12.03 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.285e-05/0.3644, allocations: 76.22 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001648/0.3646, allocations: 185.8 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.156e-05/0.3647, allocations: 154.9 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.335e-05/0.3647, allocations: 158.7 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.482e-05/0.3648, allocations: 108.9 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.288e-05/0.3649, allocations: 83.2 kB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.012e-05/0.3649, allocations: 150.6 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.676e-05/0.365, allocations: 154.6 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.243e-05/0.3651, allocations: 150.6 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002949/0.3654, allocations: 405.6 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.637e-05/0.3655, allocations: 169.1 kB / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.1e-05/0.3655, allocations: 84.08 kB / 1.333 GB, free: 11.22 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.053e-05/0.3655, allocations: 79.28 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.625e-05/0.3656, allocations: 117.8 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.51e-07/0.3656, allocations: 0 / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.17e-05/0.3657, allocations: 29.7 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.504e-05/0.3658, allocations: 126.7 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.3659, allocations: 113.7 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.3659, allocations: 25.7 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.679e-05/0.3659, allocations: 84.09 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.665e-06/0.3659, allocations: 0 / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.314e-05/0.366, allocations: 25.7 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.3661, allocations: 314.8 kB / 1.333 GB, free: 10.26 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.646e-05/0.3661, allocations: 8 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001/0.3662, allocations: 103.7 kB / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.972e-05/0.3663, allocations: 26.58 kB / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3663, allocations: 0 / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001363/0.3664, allocations: 53.56 kB / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.3664, allocations: 8 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.3665, allocations: 3.938 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.3665, allocations: 96 / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.576e-05/0.3665, allocations: 8 kB / 1.334 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.3665, allocations: 0 / 1.334 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001433/0.3667, allocations: 11.98 kB / 1.334 GB, free: 9.996 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.3667, allocations: 0 / 1.334 GB, free: 9.996 MB / 1.029 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001124/0.3668, allocations: 185.7 kB / 1.334 GB, free: 9.805 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.819e-05/0.3669, allocations: 113 kB / 1.334 GB, free: 9.688 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.307e-05/0.3669, allocations: 112.1 kB / 1.334 GB, free: 9.562 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.56e-05/0.367, allocations: 180.5 kB / 1.334 GB, free: 9.379 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.095e-05/0.3671, allocations: 180.2 kB / 1.334 GB, free: 9.195 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.009e-05/0.3672, allocations: 188.4 kB / 1.335 GB, free: 9.004 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002255/0.3674, allocations: 356.9 kB / 1.335 GB, free: 8.617 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.849e-05/0.3675, allocations: 108.9 kB / 1.335 GB, free: 8.504 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.551e-05/0.3675, allocations: 101 kB / 1.335 GB, free: 8.398 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.297e-05/0.3676, allocations: 188.1 kB / 1.335 GB, free: 8.207 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.527e-05/0.3677, allocations: 176.3 kB / 1.335 GB, free: 8.027 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.157e-05/0.3678, allocations: 188.2 kB / 1.336 GB, free: 7.836 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.899e-05/0.3678, allocations: 184.2 kB / 1.336 GB, free: 7.648 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001669/0.368, allocations: 307.7 kB / 1.336 GB, free: 7.324 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.884e-05/0.3681, allocations: 101 kB / 1.336 GB, free: 7.219 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.232e-05/0.3682, allocations: 188.2 kB / 1.336 GB, free: 7.027 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.249e-05/0.3682, allocations: 112.9 kB / 1.337 GB, free: 6.91 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.346e-05/0.3683, allocations: 176.3 kB / 1.337 GB, free: 6.73 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.885e-05/0.3684, allocations: 112.9 kB / 1.337 GB, free: 6.613 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.998e-05/0.3684, allocations: 87.27 kB / 1.337 GB, free: 6.527 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3684, allocations: 0 / 1.337 GB, free: 6.527 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003387/0.3688, allocations: 47.81 kB / 1.337 GB, free: 6.48 MB / 1.029 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006659/0.3694, allocations: 335.1 kB / 1.337 GB, free: 6.184 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.479e-05/0.3695, allocations: 12.11 kB / 1.337 GB, free: 6.172 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.3695, allocations: 8.062 kB / 1.337 GB, free: 6.164 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.253e-06/0.3695, allocations: 3.938 kB / 1.337 GB, free: 6.16 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003865/0.3699, allocations: 456.4 kB / 1.338 GB, free: 5.711 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002982/0.3702, allocations: 199.3 kB / 1.338 GB, free: 5.484 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.643e-05/0.3703, allocations: 59.34 kB / 1.338 GB, free: 5.406 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.563e-05/0.3703, allocations: 7.438 kB / 1.338 GB, free: 5.398 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.3703, allocations: 0 / 1.338 GB, free: 5.398 MB / 1.029 GB Notification: Performance of Templates: time 0.003606/0.3739, allocations: 1.616 MB / 1.34 GB, free: 3.789 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile [Timeout 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DOMC_BUILD -DUSE_THREAD -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.1.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElementCalcHelperMain.o OMCppBuildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElementCalcHelperMain.cpp In file included from OMCppBuildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElementCalcHelperMain.cpp:28: ./OMCppBuildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElementFunctions.cpp:93:3: error: unknown type name 'OpenModelica__uriToFilenameRetType' OpenModelica__uriToFilenameRetType tmp8; ^ 1 error generated. make: *** [: OMCppBuildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElementCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 8.251594189088792] Failed to read output from testmodel.py, exit status != 0: 0.38210390508174896 0.397055264 0.029973447 Calling exit ...