Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001581/0.001581, 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.001908/0.001908, 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.506/1.506, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.754/2.754, allocations: 476 MB / 0.7707 GB, free: 4.754 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.00207/0.00207, allocations: 66.94 kB / 1.118 GB, free: 41.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3281/0.3301, allocations: 169.9 MB / 1.284 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.003183/0.3333, allocations: 1.3 MB / 1.285 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002703/0.336, allocations: 1.533 MB / 1.287 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.511e-05/0.336, allocations: 0 / 1.287 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.437e-05/0.3361, allocations: 3.938 kB / 1.287 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002193/0.3363, allocations: 11.94 kB / 1.287 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006149/0.3369, allocations: 213.9 kB / 1.287 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.021e-05/0.337, allocations: 23.92 kB / 1.287 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.919e-05/0.337, allocations: 7.984 kB / 1.287 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001306/0.3372, allocations: 23.92 kB / 1.287 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.546e-05/0.3372, allocations: 11.92 kB / 1.287 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.3372, allocations: 4 kB / 1.287 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002836/0.3375, allocations: 139.9 kB / 1.287 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.658e-05/0.3375, allocations: 15.98 kB / 1.287 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.37e-05/0.3376, allocations: 11.92 kB / 1.287 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002682/0.3378, allocations: 143.5 kB / 1.287 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.3378, allocations: 0 / 1.287 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3378, allocations: 4 kB / 1.287 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.541e-06/0.3378, allocations: 0 / 1.287 GB, free: 8.504 MB / 0.9825 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.0004324/0.3383, allocations: 292.1 kB / 1.287 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.3383, allocations: 8.031 kB / 1.287 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.757e-05/0.3384, allocations: 80.17 kB / 1.287 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000169/0.3386, allocations: 181.8 kB / 1.288 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.418e-05/0.3386, allocations: 162.9 kB / 1.288 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/0.3388, allocations: 158.7 kB / 1.288 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.843e-05/0.3388, allocations: 105 kB / 1.288 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.077e-05/0.3389, allocations: 79.22 kB / 1.288 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-05/0.339, allocations: 150.6 kB / 1.288 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.955e-05/0.339, allocations: 150.6 kB / 1.288 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.63e-05/0.3391, allocations: 150.6 kB / 1.289 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000322/0.3394, allocations: 405.6 kB / 1.289 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001097/0.3395, allocations: 169.1 kB / 1.289 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.435e-05/0.3396, allocations: 84.08 kB / 1.289 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.385e-05/0.3396, allocations: 83.27 kB / 1.289 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.611e-05/0.3397, allocations: 117.7 kB / 1.289 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 9.41e-07/0.3397, allocations: 0 / 1.289 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 8.303e-05/0.3398, allocations: 33.69 kB / 1.289 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.124e-05/0.3398, allocations: 126.7 kB / 1.29 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.34, allocations: 109.8 kB / 1.29 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.34, allocations: 25.7 kB / 1.29 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.023e-05/0.34, allocations: 88.12 kB / 1.29 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.705e-06/0.34, allocations: 0 / 1.29 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.929e-05/0.3401, allocations: 21.72 kB / 1.29 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.3402, allocations: 310.8 kB / 1.29 GB, free: 5.305 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.664e-05/0.3402, allocations: 15.92 kB / 1.29 GB, free: 5.289 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.531e-05/0.3403, allocations: 99.69 kB / 1.29 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.646e-05/0.3404, allocations: 26.56 kB / 1.29 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3404, allocations: 0 / 1.29 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001265/0.3405, allocations: 53.53 kB / 1.29 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.3405, allocations: 8 kB / 1.29 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.3405, allocations: 0 / 1.29 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.3405, allocations: 4.094 kB / 1.29 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.767e-05/0.3406, allocations: 11.92 kB / 1.29 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.3406, allocations: 4 kB / 1.29 GB, free: 5.043 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001443/0.3408, allocations: 4 kB / 1.29 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.3408, allocations: 0 / 1.29 GB, free: 5.039 MB / 0.9825 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.0001225/0.3409, allocations: 193.1 kB / 1.29 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.055e-05/0.341, allocations: 109 kB / 1.291 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.088e-05/0.341, allocations: 112.1 kB / 1.291 GB, free: 4.613 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.725e-05/0.3411, allocations: 176.3 kB / 1.291 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.96e-05/0.3412, allocations: 188.2 kB / 1.291 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.014e-05/0.3413, allocations: 188.2 kB / 1.291 GB, free: 4.051 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002253/0.3415, allocations: 348.9 kB / 1.292 GB, free: 3.672 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.697e-05/0.3415, allocations: 108.9 kB / 1.292 GB, free: 3.559 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.785e-05/0.3416, allocations: 105 kB / 1.292 GB, free: 3.449 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.542e-05/0.3417, allocations: 192.1 kB / 1.292 GB, free: 3.254 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.603e-05/0.3418, allocations: 176.3 kB / 1.292 GB, free: 3.074 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.044e-05/0.3419, allocations: 176.3 kB / 1.292 GB, free: 2.895 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.984e-05/0.3419, allocations: 184.2 kB / 1.292 GB, free: 2.707 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001753/0.3421, allocations: 311.7 kB / 1.293 GB, free: 2.379 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.734e-05/0.3422, allocations: 104.9 kB / 1.293 GB, free: 2.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.318e-05/0.3423, allocations: 188.2 kB / 1.293 GB, free: 2.078 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.816e-05/0.3424, allocations: 108.9 kB / 1.293 GB, free: 1.965 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.503e-05/0.3425, allocations: 180.3 kB / 1.293 GB, free: 1.781 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.908e-05/0.3425, allocations: 109.2 kB / 1.293 GB, free: 1.668 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.828e-05/0.3426, allocations: 83.28 kB / 1.293 GB, free: 1.586 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3426, allocations: 0 / 1.293 GB, free: 1.586 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003487/0.3429, allocations: 51.8 kB / 1.294 GB, free: 1.535 MB / 0.9825 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.0006617/0.3436, allocations: 346.9 kB / 1.294 GB, free: 1.23 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001054/0.3437, allocations: 12 kB / 1.294 GB, free: 1.219 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/0.3437, allocations: 0 / 1.294 GB, free: 1.219 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.607e-06/0.3437, allocations: 3.938 kB / 1.294 GB, free: 1.215 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004024/0.3441, allocations: 461.7 kB / 1.294 GB, free: 0.7617 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002857/0.3444, allocations: 203.2 kB / 1.295 GB, free: 0.5312 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.895e-05/0.3444, allocations: 59.34 kB / 1.295 GB, free: 464 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.787e-05/0.3445, allocations: 7.438 kB / 1.295 GB, free: 456 kB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.3445, allocations: 0 / 1.295 GB, free: 456 kB / 0.9825 GB Notification: Performance of Templates: time 0.003614/0.3481, allocations: 1.589 MB / 1.296 GB, free: 14.86 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile [Timeout 300] make -j1 -f Buildings_11_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_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElementCalcHelperMain.o OMCppBuildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElementCalcHelperMain.cpp In file included from OMCppBuildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElementCalcHelperMain.cpp:28: ./OMCppBuildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElementFunctions.cpp:93:3: error: unknown type name 'OpenModelica__uriToFilenameRetType' OpenModelica__uriToFilenameRetType tmp8; ^ 1 error generated. make: *** [: OMCppBuildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElementCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 7.998563317582011] Failed to read output from testmodel.py, exit status != 0: 0.844525711145252 0.37048216199999995 0.029594307 Calling exit ...