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.0007874/0.0007874, allocations: 80.48 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007817/0.0007817, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8663/0.8663, allocations: 177.1 MB / 203.5 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.621/1.621, allocations: 359 MB / 0.6044 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 0.9517 GB, free: 1.863 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.71e-05/1.841e-05, allocations: 2.281 kB / 0.9517 GB, free: 1.859 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001407/0.001425, allocations: 1.286 MB / 0.953 GB, free: 0.5547 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001385/0.00281, allocations: 1.532 MB / 0.9545 GB, free: 15.02 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.032e-05/0.002841, allocations: 3.938 kB / 0.9545 GB, free: 15.01 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 1.853e-05/0.002859, allocations: 0 / 0.9545 GB, free: 15.01 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.0002044/0.003064, allocations: 23.91 kB / 0.9545 GB, free: 14.99 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004453/0.003509, allocations: 217.7 kB / 0.9547 GB, free: 14.78 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 6.469e-05/0.003573, allocations: 23.92 kB / 0.9548 GB, free: 14.76 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.767e-05/0.003611, allocations: 3.984 kB / 0.9548 GB, free: 14.75 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001252/0.003736, allocations: 23.98 kB / 0.9548 GB, free: 14.73 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.871e-05/0.003785, allocations: 18.14 kB / 0.9548 GB, free: 14.71 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 1.142e-05/0.003797, allocations: 4 kB / 0.9548 GB, free: 14.71 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001768/0.003973, allocations: 143.8 kB / 0.9549 GB, free: 14.57 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 1.362e-05/0.003987, allocations: 7.969 kB / 0.9549 GB, free: 14.56 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 1.659e-05/0.004004, allocations: 11.88 kB / 0.955 GB, free: 14.55 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001993/0.004203, allocations: 167.6 kB / 0.9551 GB, free: 14.39 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.004204, allocations: 0 / 0.9551 GB, free: 14.39 MB / 0.8698 GB Notification: Performance of FrontEnd: time 7.61e-07/0.004205, allocations: 0 / 0.9551 GB, free: 14.39 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.978e-06/0.004209, allocations: 0 / 0.9551 GB, free: 14.39 MB / 0.8698 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.0002691/0.004478, allocations: 297.8 kB / 0.9554 GB, free: 14.07 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.004512, allocations: 16.03 kB / 0.9554 GB, free: 14.05 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.017e-05/0.004562, allocations: 76.22 kB / 0.9555 GB, free: 13.98 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.004673, allocations: 189.1 kB / 0.9557 GB, free: 13.77 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.695e-05/0.00471, allocations: 150.9 kB / 0.9558 GB, free: 13.62 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.696e-05/0.004747, allocations: 154.9 kB / 0.956 GB, free: 13.46 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.885e-05/0.004796, allocations: 101.5 kB / 0.9561 GB, free: 13.36 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.079e-05/0.004817, allocations: 79.22 kB / 0.9561 GB, free: 13.28 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.654e-05/0.004853, allocations: 158.5 kB / 0.9563 GB, free: 13.12 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.382e-05/0.004887, allocations: 150.6 kB / 0.9564 GB, free: 12.98 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.188e-05/0.004919, allocations: 150.6 kB / 0.9566 GB, free: 12.83 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001746/0.005093, allocations: 409.6 kB / 0.957 GB, free: 12.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.656e-05/0.00515, allocations: 173.2 kB / 0.9571 GB, free: 12.22 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.137e-05/0.005171, allocations: 80.14 kB / 0.9572 GB, free: 12.14 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.005192, allocations: 79.22 kB / 0.9573 GB, free: 12.06 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.005222, allocations: 113.8 kB / 0.9574 GB, free: 11.94 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 6.71e-07/0.005223, allocations: 0 / 0.9574 GB, free: 11.94 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 5.598e-05/0.005279, allocations: 33.59 kB / 0.9574 GB, free: 11.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/0.005322, allocations: 130.7 kB / 0.9575 GB, free: 11.76 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.936e-05/0.005391, allocations: 101.8 kB / 0.9576 GB, free: 11.65 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/0.005404, allocations: 33.7 kB / 0.9577 GB, free: 11.61 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 2.948e-05/0.005433, allocations: 80.14 kB / 0.9577 GB, free: 11.53 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.993e-06/0.005435, allocations: 4 kB / 0.9578 GB, free: 11.52 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.061e-05/0.005466, allocations: 29.59 kB / 0.9578 GB, free: 11.49 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.741e-05/0.005533, allocations: 314.8 kB / 0.9581 GB, free: 11.17 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.298e-06/0.005542, allocations: 0 / 0.9581 GB, free: 11.17 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.321e-05/0.005596, allocations: 111.6 kB / 0.9582 GB, free: 11.04 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.563e-05/0.005631, allocations: 26.56 kB / 0.9582 GB, free: 11 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.005634, allocations: 0 / 0.9582 GB, free: 11 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.849e-05/0.005732, allocations: 49.67 kB / 0.9583 GB, free: 10.95 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.005743, allocations: 6.188 kB / 0.9583 GB, free: 10.94 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.005749, allocations: 7.984 kB / 0.9583 GB, free: 10.93 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.005762, allocations: 3.938 kB / 0.9583 GB, free: 10.93 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.639e-05/0.005818, allocations: 7.938 kB / 0.9583 GB, free: 10.92 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.005822, allocations: 0 / 0.9583 GB, free: 10.92 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.803e-05/0.00591, allocations: 8 kB / 0.9583 GB, free: 10.91 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.005919, allocations: 7.984 kB / 0.9583 GB, free: 10.91 MB / 0.8698 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 6.045e-05/0.00598, allocations: 185.1 kB / 0.9585 GB, free: 10.71 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.05e-05/0.00601, allocations: 105 kB / 0.9586 GB, free: 10.61 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.966e-05/0.00604, allocations: 116.1 kB / 0.9587 GB, free: 10.48 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.559e-05/0.006076, allocations: 180.2 kB / 0.9589 GB, free: 10.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.548e-05/0.006111, allocations: 180.2 kB / 0.959 GB, free: 10.12 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.499e-05/0.006146, allocations: 184.2 kB / 0.9592 GB, free: 9.93 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001105/0.006257, allocations: 348.9 kB / 0.9595 GB, free: 9.551 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.263e-05/0.006279, allocations: 112.9 kB / 0.9596 GB, free: 9.434 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.014e-05/0.006299, allocations: 101.2 kB / 0.9597 GB, free: 9.328 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.604e-05/0.006335, allocations: 180.2 kB / 0.9599 GB, free: 9.145 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.126e-05/0.006377, allocations: 184.3 kB / 0.9601 GB, free: 8.957 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.482e-05/0.006411, allocations: 176.3 kB / 0.9603 GB, free: 8.777 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.763e-05/0.006449, allocations: 192.2 kB / 0.9604 GB, free: 8.582 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.011e-05/0.006529, allocations: 315.7 kB / 0.9607 GB, free: 8.25 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.927e-05/0.006558, allocations: 101 kB / 0.9608 GB, free: 8.145 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.249e-05/0.006601, allocations: 180.3 kB / 0.961 GB, free: 7.961 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.286e-05/0.006644, allocations: 108.9 kB / 0.9611 GB, free: 7.848 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.006684, allocations: 184.2 kB / 0.9613 GB, free: 7.66 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.112e-05/0.006705, allocations: 108.9 kB / 0.9614 GB, free: 7.547 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 2.625e-05/0.006731, allocations: 79.28 kB / 0.9615 GB, free: 7.469 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.006731, allocations: 0 / 0.9615 GB, free: 7.469 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00019/0.006921, allocations: 55.73 kB / 0.9615 GB, free: 7.414 MB / 0.8698 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.0004366/0.007358, allocations: 367.3 kB / 0.9619 GB, free: 7.09 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 6.762e-05/0.007426, allocations: 11.98 kB / 0.9619 GB, free: 7.078 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.007427, allocations: 0 / 0.9619 GB, free: 7.078 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.693e-06/0.007429, allocations: 3.938 kB / 0.9619 GB, free: 7.074 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002238/0.007653, allocations: 459.6 kB / 0.9623 GB, free: 6.621 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001892/0.007842, allocations: 193.9 kB / 0.9625 GB, free: 6.398 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.613e-05/0.007878, allocations: 63.33 kB / 0.9626 GB, free: 6.316 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.241e-05/0.007891, allocations: 12.69 kB / 0.9626 GB, free: 6.305 MB / 0.8698 GB Notification: Performance of SimCode: time 3.6e-07/0.007891, allocations: 0 / 0.9626 GB, free: 6.305 MB / 0.8698 GB Notification: Performance of Templates: time 0.002096/0.009987, allocations: 1.606 MB / 0.9642 GB, free: 4.707 MB / 0.8698 GB " [Timeout remaining time 300] 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/jenkins/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/jenkins/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' 93 | OpenModelica__uriToFilenameRetType tmp8; | ^ 1 error generated. make: *** [: OMCppBuildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElementCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 4.421302462927997] Failed to read output from testmodel.py, exit status != 0: 0.014131439849734306 0.021305975 0.015633761 Calling exit ...