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.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.001334/0.001334, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001575/0.001575, allocations: 222.3 kB / 23 MB, free: 4.91 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.554/1.554, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.339/3.339, allocations: 0.5107 GB / 0.8166 GB, free: 17.83 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002138/0.002138, allocations: 67.53 kB / 1.187 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3652/0.3673, allocations: 181.9 MB / 1.365 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002776/0.3701, allocations: 1.296 MB / 1.366 GB, free: 12.28 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002658/0.3727, allocations: 1.529 MB / 1.367 GB, free: 10.75 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.209e-05/0.3728, allocations: 0 / 1.367 GB, free: 10.75 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.048e-05/0.3728, allocations: 3.938 kB / 1.367 GB, free: 10.74 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002304/0.373, allocations: 11.94 kB / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006596/0.3737, allocations: 218 kB / 1.368 GB, free: 10.52 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.071e-05/0.3738, allocations: 23.86 kB / 1.368 GB, free: 10.5 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.097e-05/0.3738, allocations: 3.984 kB / 1.368 GB, free: 10.49 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001316/0.3739, allocations: 23.94 kB / 1.368 GB, free: 10.47 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.468e-05/0.374, allocations: 11.97 kB / 1.368 GB, free: 10.46 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.324e-05/0.374, allocations: 0 / 1.368 GB, free: 10.46 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003402/0.3744, allocations: 143.9 kB / 1.368 GB, free: 10.32 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.107e-05/0.3744, allocations: 15.92 kB / 1.368 GB, free: 10.3 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.156e-05/0.3744, allocations: 11.92 kB / 1.368 GB, free: 10.29 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003618/0.3748, allocations: 143.6 kB / 1.368 GB, free: 10.15 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.3748, allocations: 0 / 1.368 GB, free: 10.15 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.833e-06/0.3748, allocations: 0 / 1.368 GB, free: 10.15 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.3748, allocations: 0 / 1.368 GB, free: 10.15 MB / 1.061 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.0004308/0.3752, allocations: 299.5 kB / 1.368 GB, free: 9.828 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.3753, allocations: 12.03 kB / 1.368 GB, free: 9.816 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.031e-05/0.3753, allocations: 76.22 kB / 1.368 GB, free: 9.742 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001787/0.3755, allocations: 185.8 kB / 1.368 GB, free: 9.535 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001143/0.3756, allocations: 150.9 kB / 1.369 GB, free: 9.387 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.998e-05/0.3757, allocations: 158.7 kB / 1.369 GB, free: 9.23 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.44e-05/0.3758, allocations: 108.9 kB / 1.369 GB, free: 9.117 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.3e-05/0.3758, allocations: 75.28 kB / 1.369 GB, free: 9.043 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.485e-05/0.3759, allocations: 154.6 kB / 1.369 GB, free: 8.891 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.048e-05/0.376, allocations: 150.6 kB / 1.369 GB, free: 8.742 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.737e-05/0.3761, allocations: 150.6 kB / 1.369 GB, free: 8.594 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003688/0.3764, allocations: 413.6 kB / 1.37 GB, free: 8.16 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001388/0.3766, allocations: 169.1 kB / 1.37 GB, free: 7.984 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.194e-05/0.3766, allocations: 84.14 kB / 1.37 GB, free: 7.898 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.537e-05/0.3767, allocations: 75.28 kB / 1.37 GB, free: 7.824 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001528/0.3768, allocations: 121.8 kB / 1.37 GB, free: 7.695 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 9.61e-07/0.3768, allocations: 0 / 1.37 GB, free: 7.695 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 8.938e-05/0.3769, allocations: 25.7 kB / 1.37 GB, free: 7.664 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.505e-05/0.377, allocations: 130.7 kB / 1.37 GB, free: 7.523 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.3771, allocations: 105.8 kB / 1.37 GB, free: 7.41 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.3771, allocations: 29.64 kB / 1.371 GB, free: 7.375 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.527e-05/0.3772, allocations: 92.14 kB / 1.371 GB, free: 7.281 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.464e-06/0.3772, allocations: 0 / 1.371 GB, free: 7.281 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.23e-05/0.3773, allocations: 21.66 kB / 1.371 GB, free: 7.254 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001721/0.3774, allocations: 318.8 kB / 1.371 GB, free: 6.934 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.446e-05/0.3775, allocations: 0 / 1.371 GB, free: 6.934 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/0.3776, allocations: 107.7 kB / 1.371 GB, free: 6.801 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.511e-05/0.3776, allocations: 26.56 kB / 1.371 GB, free: 6.766 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3776, allocations: 0 / 1.371 GB, free: 6.766 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001447/0.3778, allocations: 53.58 kB / 1.371 GB, free: 6.707 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.3778, allocations: 9.656 kB / 1.371 GB, free: 6.699 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.3778, allocations: 7.984 kB / 1.371 GB, free: 6.691 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.3778, allocations: 0 / 1.371 GB, free: 6.691 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.33e-05/0.3779, allocations: 4 kB / 1.371 GB, free: 6.688 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.3779, allocations: 7.922 kB / 1.371 GB, free: 6.68 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000159/0.378, allocations: 7.953 kB / 1.371 GB, free: 6.672 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.426e-05/0.3781, allocations: 7.984 kB / 1.371 GB, free: 6.664 MB / 1.061 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.0001281/0.3782, allocations: 190.2 kB / 1.371 GB, free: 6.469 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.387e-05/0.3783, allocations: 113.1 kB / 1.371 GB, free: 6.352 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.137e-05/0.3783, allocations: 108.1 kB / 1.372 GB, free: 6.234 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.515e-05/0.3784, allocations: 180.3 kB / 1.372 GB, free: 6.051 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.599e-05/0.3785, allocations: 184.2 kB / 1.372 GB, free: 5.863 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-05/0.3786, allocations: 184.3 kB / 1.372 GB, free: 5.676 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002489/0.3788, allocations: 344.9 kB / 1.372 GB, free: 5.301 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-05/0.3789, allocations: 112.9 kB / 1.372 GB, free: 5.184 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.306e-05/0.3789, allocations: 101 kB / 1.373 GB, free: 5.078 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.412e-05/0.379, allocations: 188.1 kB / 1.373 GB, free: 4.887 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.961e-05/0.3791, allocations: 180.3 kB / 1.373 GB, free: 4.703 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.078e-05/0.3792, allocations: 180.3 kB / 1.373 GB, free: 4.52 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.405e-05/0.3793, allocations: 184.2 kB / 1.373 GB, free: 4.332 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001733/0.3795, allocations: 307.8 kB / 1.374 GB, free: 4.008 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.41e-05/0.3795, allocations: 101 kB / 1.374 GB, free: 3.902 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001139/0.3796, allocations: 192.1 kB / 1.374 GB, free: 3.707 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.181e-05/0.3797, allocations: 105.2 kB / 1.374 GB, free: 3.598 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.07e-05/0.3798, allocations: 176.3 kB / 1.374 GB, free: 3.418 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.575e-05/0.3799, allocations: 116.9 kB / 1.374 GB, free: 3.297 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.286e-05/0.3799, allocations: 79.28 kB / 1.374 GB, free: 3.219 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3799, allocations: 0 / 1.374 GB, free: 3.219 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003687/0.3803, allocations: 51.8 kB / 1.374 GB, free: 3.168 MB / 1.061 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.0007221/0.381, allocations: 342.7 kB / 1.375 GB, free: 2.863 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001179/0.3811, allocations: 15.98 kB / 1.375 GB, free: 2.848 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3811, allocations: 3.938 kB / 1.375 GB, free: 2.844 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.844e-06/0.3811, allocations: 0 / 1.375 GB, free: 2.844 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004185/0.3816, allocations: 453.2 kB / 1.375 GB, free: 2.398 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003327/0.3819, allocations: 195.3 kB / 1.375 GB, free: 2.176 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.52e-05/0.382, allocations: 63.52 kB / 1.375 GB, free: 2.094 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.231e-05/0.382, allocations: 15.44 kB / 1.375 GB, free: 2.078 MB / 1.061 GB Notification: Performance of SimCode: time 4.5e-07/0.382, allocations: 0 / 1.375 GB, free: 2.078 MB / 1.061 GB Notification: Performance of Templates: time 0.003825/0.3858, allocations: 1.598 MB / 1.377 GB, free: 500 kB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile [Timeout 300] make -j1 -f Buildings_latest_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_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElementCalcHelperMain.o OMCppBuildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElementCalcHelperMain.cpp In file included from OMCppBuildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElementCalcHelperMain.cpp:28: ./OMCppBuildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElementFunctions.cpp:93:3: error: unknown type name 'OpenModelica__uriToFilenameRetType' OpenModelica__uriToFilenameRetType tmp8; ^ 1 error generated. make: *** [: OMCppBuildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElementCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 8.472085217013955] Failed to read output from testmodel.py, exit status != 0: 0.3952505220659077 0.41121567800000003 0.033259669 Calling exit ...