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.001745/0.001745, 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.001918/0.001918, allocations: 222.9 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.491/1.491, allocations: 230.6 MB / 256.8 MB, free: 7.824 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.171/3.171, allocations: 0.4892 GB / 0.7951 GB, free: 35.64 MB / 0.6231 GB " [Timeout remaining time 176] 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.00207/0.00207, allocations: 66.73 kB / 1.154 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3192/0.3213, allocations: 176.1 MB / 1.326 GB, free: 1.871 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002448/0.3237, allocations: 1.291 MB / 1.328 GB, free: 0.5742 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002526/0.3262, allocations: 1.52 MB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.35e-05/0.3263, allocations: 0 / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.997e-05/0.3263, allocations: 0 / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002032/0.3265, allocations: 23.92 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006073/0.3271, allocations: 206.9 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 7.802e-05/0.3272, allocations: 27.92 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.755e-05/0.3272, allocations: 0 / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001283/0.3273, allocations: 31.84 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.354e-05/0.3274, allocations: 11.94 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.138e-05/0.3274, allocations: 0 / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003019/0.3277, allocations: 155.8 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.281e-05/0.3277, allocations: 4 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.248e-05/0.3278, allocations: 11.97 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002477/0.328, allocations: 139.6 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.328, allocations: 0 / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.362e-06/0.328, allocations: 0 / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.099e-06/0.328, allocations: 0 / 1.33 GB, free: 14.45 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.0003975/0.3284, allocations: 293.9 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.3285, allocations: 12.03 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.682e-05/0.3285, allocations: 80.22 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001705/0.3287, allocations: 185.8 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.801e-05/0.3288, allocations: 158.9 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.841e-05/0.3288, allocations: 158.7 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.352e-05/0.3289, allocations: 101 kB / 1.331 GB, free: 13.42 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.471e-05/0.329, allocations: 75.28 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.308e-05/0.329, allocations: 154.6 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.508e-05/0.3291, allocations: 150.6 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.287e-05/0.3292, allocations: 150.6 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003143/0.3295, allocations: 417.5 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000102/0.3296, allocations: 165.1 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.867e-05/0.3297, allocations: 84.14 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.781e-05/0.3297, allocations: 75.28 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.663e-05/0.3298, allocations: 113.8 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.3298, allocations: 0 / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.874e-05/0.3298, allocations: 29.64 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.402e-05/0.3299, allocations: 138.7 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.33, allocations: 105.8 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.3301, allocations: 25.7 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.069e-05/0.3301, allocations: 84.14 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.633e-06/0.3301, allocations: 0 / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.363e-05/0.3302, allocations: 33.64 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.3303, allocations: 310.8 kB / 1.333 GB, free: 11.24 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.184e-05/0.3303, allocations: 0 / 1.333 GB, free: 11.24 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.339e-05/0.3304, allocations: 107.7 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.864e-05/0.3305, allocations: 30.52 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3305, allocations: 0 / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001269/0.3306, allocations: 49.56 kB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.3306, allocations: 12.03 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.3306, allocations: 4 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.3306, allocations: 144 / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.412e-05/0.3307, allocations: 8.234 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.3307, allocations: 0 / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001511/0.3308, allocations: 15.98 kB / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.3309, allocations: 4 kB / 1.333 GB, free: 10.97 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.0001113/0.331, allocations: 185.7 kB / 1.333 GB, free: 10.78 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.296e-05/0.331, allocations: 116.9 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.918e-05/0.3311, allocations: 108.1 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.712e-05/0.3312, allocations: 188.2 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-05/0.3313, allocations: 176.3 kB / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.352e-05/0.3314, allocations: 180.3 kB / 1.334 GB, free: 9.98 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002546/0.3316, allocations: 356.8 kB / 1.334 GB, free: 9.594 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-05/0.3317, allocations: 105 kB / 1.334 GB, free: 9.484 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.468e-05/0.3317, allocations: 104.9 kB / 1.334 GB, free: 9.375 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.078e-05/0.3318, allocations: 184.2 kB / 1.334 GB, free: 9.188 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.471e-05/0.3319, allocations: 180.3 kB / 1.335 GB, free: 9.004 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.147e-05/0.332, allocations: 180.2 kB / 1.335 GB, free: 8.82 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.613e-05/0.3321, allocations: 180.3 kB / 1.335 GB, free: 8.637 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001801/0.3322, allocations: 315.7 kB / 1.335 GB, free: 8.305 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.178e-05/0.3323, allocations: 104.9 kB / 1.335 GB, free: 8.195 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.46e-05/0.3324, allocations: 188.2 kB / 1.336 GB, free: 8.004 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.795e-05/0.3325, allocations: 105 kB / 1.336 GB, free: 7.895 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.279e-05/0.3326, allocations: 184.2 kB / 1.336 GB, free: 7.707 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.362e-05/0.3326, allocations: 105 kB / 1.336 GB, free: 7.598 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.956e-05/0.3327, allocations: 83.28 kB / 1.336 GB, free: 7.516 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3327, allocations: 0 / 1.336 GB, free: 7.516 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003105/0.333, allocations: 51.73 kB / 1.336 GB, free: 7.465 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.0006719/0.3336, allocations: 354.1 kB / 1.336 GB, free: 7.152 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.019e-05/0.3337, allocations: 11.94 kB / 1.336 GB, free: 7.141 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3337, allocations: 0 / 1.336 GB, free: 7.141 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.362e-06/0.3337, allocations: 0 / 1.336 GB, free: 7.141 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004178/0.3342, allocations: 459.7 kB / 1.337 GB, free: 6.688 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002748/0.3344, allocations: 199.2 kB / 1.337 GB, free: 6.461 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.189e-05/0.3345, allocations: 59.34 kB / 1.337 GB, free: 6.383 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.84e-05/0.3345, allocations: 11.44 kB / 1.337 GB, free: 6.371 MB / 1.029 GB Notification: Performance of SimCode: time 4.91e-07/0.3345, allocations: 4.188 kB / 1.337 GB, free: 6.367 MB / 1.029 GB Notification: Performance of Templates: time 0.003471/0.338, allocations: 1.589 MB / 1.339 GB, free: 4.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.132372807711363] Failed to read output from testmodel.py, exit status != 0: 0.3456885409541428 0.360532034 0.029459413 Calling exit ...