Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.0006854/0.0006854, allocations: 76.5 kB / 19.93 MB, free: 4.621 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.0007599/0.0007599, allocations: 177.9 kB / 23.21 MB, free: 1.34 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.8543/0.8543, 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/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.6979/0.6979, allocations: 154.6 MB / 414.5 MB, free: 0.8164 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 0.6193 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.177e-05/3.359e-05, allocations: 9.062 kB / 0.6194 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.00179/0.001823, allocations: 1.285 MB / 0.6206 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001785/0.003609, allocations: 1.543 MB / 0.6221 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.323e-05/0.003642, allocations: 0 / 0.6221 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.731e-05/0.003659, allocations: 0 / 0.6221 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002118/0.003871, allocations: 15.91 kB / 0.6221 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004442/0.004315, allocations: 220.9 kB / 0.6223 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.01e-05/0.004385, allocations: 23.86 kB / 0.6224 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.43e-05/0.00443, allocations: 4 kB / 0.6224 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001428/0.004573, allocations: 35.78 kB / 0.6224 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.356e-05/0.004626, allocations: 8 kB / 0.6224 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.004641, allocations: 4 kB / 0.6224 GB, free: 10 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002033/0.004844, allocations: 143.8 kB / 0.6226 GB, free: 9.863 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.579e-05/0.00486, allocations: 15.92 kB / 0.6226 GB, free: 9.848 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.947e-05/0.00488, allocations: 7.984 kB / 0.6226 GB, free: 9.84 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002259/0.005106, allocations: 167.5 kB / 0.6227 GB, free: 9.676 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.005108, allocations: 0 / 0.6227 GB, free: 9.676 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.183e-06/0.005109, allocations: 0 / 0.6227 GB, free: 9.676 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.005114, allocations: 0 / 0.6227 GB, free: 9.676 MB / 0.5886 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.000275/0.005389, allocations: 294 kB / 0.623 GB, free: 9.359 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.005426, allocations: 16.03 kB / 0.623 GB, free: 9.344 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.017e-05/0.005487, allocations: 76.22 kB / 0.6231 GB, free: 9.27 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.005605, allocations: 185 kB / 0.6233 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.826e-05/0.005643, allocations: 150.9 kB / 0.6234 GB, free: 8.914 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.931e-05/0.005682, allocations: 158.9 kB / 0.6236 GB, free: 8.758 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.94e-05/0.005732, allocations: 101.5 kB / 0.6237 GB, free: 8.652 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.257e-05/0.005754, allocations: 79.22 kB / 0.6237 GB, free: 8.574 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.796e-05/0.005792, allocations: 158.5 kB / 0.6239 GB, free: 8.418 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.079e-05/0.005823, allocations: 150.6 kB / 0.624 GB, free: 8.27 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.592e-05/0.005859, allocations: 154.5 kB / 0.6242 GB, free: 8.117 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001876/0.006047, allocations: 401.6 kB / 0.6246 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.018e-05/0.006107, allocations: 173.2 kB / 0.6247 GB, free: 7.516 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.628e-05/0.006133, allocations: 96.08 kB / 0.6248 GB, free: 7.418 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.006153, allocations: 75.28 kB / 0.6249 GB, free: 7.344 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.006184, allocations: 109.8 kB / 0.625 GB, free: 7.227 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 7.41e-07/0.006185, allocations: 3.938 kB / 0.625 GB, free: 7.223 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 6.199e-05/0.006247, allocations: 33.62 kB / 0.625 GB, free: 7.184 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/0.006289, allocations: 126.7 kB / 0.6252 GB, free: 7.047 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.803e-05/0.006367, allocations: 101.9 kB / 0.6253 GB, free: 6.938 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.081e-05/0.006378, allocations: 25.7 kB / 0.6253 GB, free: 6.906 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.329e-05/0.006411, allocations: 92.12 kB / 0.6254 GB, free: 6.812 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.645e-06/0.006414, allocations: 4 kB / 0.6254 GB, free: 6.809 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.608e-05/0.00644, allocations: 13.72 kB / 0.6254 GB, free: 6.789 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.407e-05/0.006514, allocations: 318.8 kB / 0.6257 GB, free: 6.469 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.155e-05/0.006526, allocations: 3.984 kB / 0.6257 GB, free: 6.465 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.683e-05/0.006582, allocations: 99.69 kB / 0.6258 GB, free: 6.34 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.259e-05/0.006615, allocations: 26.52 kB / 0.6258 GB, free: 6.305 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.00662, allocations: 11.92 kB / 0.6258 GB, free: 6.293 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001065/0.006726, allocations: 49.67 kB / 0.6259 GB, free: 6.238 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.006738, allocations: 4 kB / 0.6259 GB, free: 6.234 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.006742, allocations: 0 / 0.6259 GB, free: 6.234 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.006756, allocations: 7.938 kB / 0.6259 GB, free: 6.227 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.88e-05/0.006814, allocations: 7.984 kB / 0.6259 GB, free: 6.219 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.006818, allocations: 0 / 0.6259 GB, free: 6.219 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.729e-05/0.006915, allocations: 11.89 kB / 0.6259 GB, free: 6.207 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.006924, allocations: 7.938 kB / 0.6259 GB, free: 6.199 MB / 0.5886 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 7.442e-05/0.006998, allocations: 194.1 kB / 0.6261 GB, free: 6 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.535e-05/0.007034, allocations: 101 kB / 0.6262 GB, free: 5.895 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.99e-05/0.007064, allocations: 108.1 kB / 0.6263 GB, free: 5.781 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.219e-05/0.007106, allocations: 188.1 kB / 0.6265 GB, free: 5.59 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.99e-05/0.007146, allocations: 176.3 kB / 0.6266 GB, free: 5.41 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.199e-05/0.007188, allocations: 188.2 kB / 0.6268 GB, free: 5.219 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000122/0.00731, allocations: 348.9 kB / 0.6272 GB, free: 4.84 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-05/0.007333, allocations: 105 kB / 0.6273 GB, free: 4.73 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.498e-05/0.007358, allocations: 108.9 kB / 0.6274 GB, free: 4.617 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.152e-05/0.007399, allocations: 180.3 kB / 0.6275 GB, free: 4.434 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.216e-05/0.007441, allocations: 184.2 kB / 0.6277 GB, free: 4.246 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.861e-05/0.00748, allocations: 180.2 kB / 0.6279 GB, free: 4.062 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.941e-05/0.00752, allocations: 188.1 kB / 0.6281 GB, free: 3.871 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.14e-05/0.007611, allocations: 311.8 kB / 0.6284 GB, free: 3.543 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.971e-05/0.007641, allocations: 104.9 kB / 0.6285 GB, free: 3.434 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.576e-05/0.007686, allocations: 176.5 kB / 0.6286 GB, free: 3.254 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.938e-05/0.007736, allocations: 116.9 kB / 0.6287 GB, free: 3.133 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.915e-05/0.007785, allocations: 180.2 kB / 0.6289 GB, free: 2.949 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002852/0.00807, allocations: 101 kB / 0.629 GB, free: 2.844 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.347e-05/0.008104, allocations: 87.28 kB / 0.6291 GB, free: 2.758 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.008104, allocations: 0 / 0.6291 GB, free: 2.758 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002179/0.008322, allocations: 51.8 kB / 0.6291 GB, free: 2.707 MB / 0.5886 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.000419/0.008741, allocations: 361 kB / 0.6295 GB, free: 2.398 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 7.793e-05/0.008818, allocations: 8 kB / 0.6295 GB, free: 2.391 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.00882, allocations: 0 / 0.6295 GB, free: 2.391 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.804e-06/0.008822, allocations: 7.922 kB / 0.6295 GB, free: 2.383 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002267/0.009049, allocations: 455.7 kB / 0.6299 GB, free: 1.934 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002137/0.009262, allocations: 197.8 kB / 0.6301 GB, free: 1.707 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.783e-05/0.0093, allocations: 59.34 kB / 0.6302 GB, free: 1.629 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.576e-05/0.009316, allocations: 16.69 kB / 0.6302 GB, free: 1.609 MB / 0.5886 GB Notification: Performance of SimCode: time 4.81e-07/0.009316, allocations: 0 / 0.6302 GB, free: 1.609 MB / 0.5886 GB Notification: Performance of Templates: time 0.002312/0.01163, allocations: 1.602 MB / 0.6318 GB, free: 16 kB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile [Timeout 660] make -j1 -f IDEAS_IDEAS.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 OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElementCalcHelperMain.o OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElementCalcHelperMain.cpp In file included from OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElementCalcHelperMain.cpp:28: ./OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElementFunctions.cpp:93:3: error: unknown type name 'OpenModelica__uriToFilenameRetType' 93 | OpenModelica__uriToFilenameRetType tmp8; | ^ 1 error generated. make: *** [: OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElementCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 3.206205563619733] Failed to read output from testmodel.py, exit status != 0: 0.01670086942613125 0.024959283000000002 0.018257393 Calling exit ...