Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3") translateModel(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 106.1 kB / 16.42 MB, free: 6.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 192.3 kB / 17.36 MB, free: 5.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9614/0.9614, allocations: 143 MB / 434.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.197e-05/2.197e-05, allocations: 2.281 kB / 0.5961 GB, free: 12.35 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.001757/0.001788, allocations: 1.241 MB / 0.5973 GB, free: 11.11 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001067/0.002868, allocations: 1.005 MB / 0.5983 GB, free: 10.1 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.857e-05/0.002908, allocations: 0 / 0.5983 GB, free: 10.1 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.48e-05/0.00293, allocations: 1.531 kB / 0.5983 GB, free: 10.1 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003946/0.00333, allocations: 111.5 kB / 0.5984 GB, free: 9.992 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.436e-06/0.00335, allocations: 0 / 0.5984 GB, free: 9.992 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.894e-05/0.003418, allocations: 4 kB / 0.5984 GB, free: 9.988 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.229e-05/0.003467, allocations: 10.19 kB / 0.5984 GB, free: 9.98 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.454e-05/0.003487, allocations: 0 / 0.5984 GB, free: 9.98 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.003592, allocations: 9.203 kB / 0.5985 GB, free: 9.973 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.095e-06/0.003607, allocations: 0 / 0.5985 GB, free: 9.973 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001736/0.003785, allocations: 127.8 kB / 0.5986 GB, free: 9.848 MB / 446.1 MB Notification: Performance of combineBinaries: time 2.354e-05/0.003816, allocations: 7.891 kB / 0.5986 GB, free: 9.84 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 4.579e-06/0.003827, allocations: 9.406 kB / 0.5986 GB, free: 9.832 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.7e-06/0.003837, allocations: 0 / 0.5986 GB, free: 9.832 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.278e-06/0.00385, allocations: 0 / 0.5986 GB, free: 9.832 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 (0) * Number of variables: 0 (0) Notification: Performance of Bindings: time 0.0001799/0.004034, allocations: 156 kB / 0.5987 GB, free: 9.582 MB / 446.1 MB Notification: Performance of FunctionAlias: time 1.3e-05/0.004054, allocations: 9.297 kB / 0.5988 GB, free: 9.574 MB / 446.1 MB Notification: Performance of Early Inline: time 3.014e-05/0.004089, allocations: 36.36 kB / 0.5988 GB, free: 9.512 MB / 446.1 MB Notification: Performance of simplify1: time 5.31e-07/0.004095, allocations: 0.9062 kB / 0.5988 GB, free: 9.512 MB / 446.1 MB Notification: Performance of Alias: time 3.193e-05/0.004131, allocations: 50 kB / 0.5988 GB, free: 9.426 MB / 446.1 MB Notification: Performance of simplify2: time 1.142e-06/0.004137, allocations: 7.922 kB / 0.5988 GB, free: 9.418 MB / 446.1 MB Notification: Performance of Detect States: time 3.962e-05/0.004181, allocations: 37.39 kB / 0.5989 GB, free: 9.371 MB / 446.1 MB Notification: Performance of Events: time 5.249e-06/0.004191, allocations: 0 / 0.5989 GB, free: 9.371 MB / 446.1 MB Notification: Performance of Partitioning: time 1.143e-05/0.004207, allocations: 0 / 0.5989 GB, free: 9.371 MB / 446.1 MB Notification: Performance of Causalize: time 5.52e-06/0.004218, allocations: 5.297 kB / 0.5989 GB, free: 9.367 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 1.606e-05/0.004238, allocations: 37.84 kB / 0.5989 GB, free: 9.305 MB / 446.1 MB Notification: Performance of Inline: time 0.0004544/0.004697, allocations: 90.89 kB / 0.599 GB, free: 9.188 MB / 446.1 MB Notification: Performance of Partitioning: time 9.317e-06/0.004715, allocations: 12.12 kB / 0.599 GB, free: 9.168 MB / 446.1 MB Notification: Performance of Cleanup: time 4.198e-06/0.004725, allocations: 4.844 kB / 0.599 GB, free: 9.164 MB / 446.1 MB Notification: Performance of Causalize: time 0.0001344/0.004864, allocations: 34.34 kB / 0.5991 GB, free: 9.125 MB / 446.1 MB Notification: Performance of Tearing: time 9.908e-06/0.004882, allocations: 0 / 0.5991 GB, free: 9.125 MB / 446.1 MB Notification: Performance of Initialization: time 3.41e-07/0.004887, allocations: 0 / 0.5991 GB, free: 9.125 MB / 446.1 MB Notification: Performance of Tearing: time 7.62e-07/0.004893, allocations: 1.406 kB / 0.5991 GB, free: 9.125 MB / 446.1 MB Notification: Performance of Categorize: time 1.954e-06/0.004899, allocations: 0 / 0.5991 GB, free: 9.125 MB / 446.1 MB Notification: Performance of Solve: time 2.498e-05/0.004928, allocations: 7.938 kB / 0.5991 GB, free: 9.117 MB / 446.1 MB Notification: Performance of Jacobian: time 2.826e-06/0.004936, allocations: 1.469 kB / 0.5991 GB, free: 9.117 MB / 446.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 0 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 0 (scalar:0, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 1 (scalar:1, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 2.754e-05/0.004967, allocations: 9.891 kB / 0.5991 GB, free: 9.109 MB / 446.1 MB Notification: Performance of SimCode: time 0.000834/0.005806, allocations: 0.9706 MB / 0.6 GB, free: 8.164 MB / 446.1 MB Notification: Performance of Templates: time 0.003118/0.008936, allocations: 0.9895 MB / 0.601 GB, free: 7.281 MB / 446.1 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.o BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_functions.o BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_functions.c BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_functions.c:20:125: error: use of undeclared identifier '_OMC_LIT2' _element = omc_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_getLastHeaderElementTMY3(threadData, _filNam, _OMC_LIT2, _OMC_LIT3); ^ BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_functions.c:20:136: error: use of undeclared identifier '_OMC_LIT3' _element = omc_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_getLastHeaderElementTMY3(threadData, _filNam, _OMC_LIT2, _OMC_LIT3); ^ BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_functions.c:74:31: error: use of undeclared identifier '_OMC_LIT4' tmpMeta1 = stringAppend(_OMC_LIT4,_start); ^ BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_functions.c:75:40: error: use of undeclared identifier '_OMC_LIT5' tmpMeta2 = stringAppend(tmpMeta1,_OMC_LIT5); ^ BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_functions.c:76:40: error: use of undeclared identifier '_OMC_LIT6' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT6); ^ BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_functions.c:84:71: error: use of undeclared identifier '_OMC_LIT7' _staInd = omc_Modelica_Utilities_Strings_findLast(threadData, _lin, _OMC_LIT7, ((modelica_integer) 0), 1 /* true */); ^ BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_functions.c:103:17: warning: implicit declaration of function 'ModelicaInternal_readLine' is invalid in C99 [-Wimplicit-function-declaration] _string_ext = ModelicaInternal_readLine(MMC_STRINGDATA(_fileName), _lineNumber_ext, &_endOfFile_ext); ^ BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_functions.c:103:15: warning: incompatible integer to pointer conversion assigning to 'const char *' from 'int' [-Wint-conversion] _string_ext = ModelicaInternal_readLine(MMC_STRINGDATA(_fileName), _lineNumber_ext, &_endOfFile_ext); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_functions.c:128:17: warning: implicit declaration of function 'ModelicaStrings_compare' is invalid in C99 [-Wimplicit-function-declaration] _result_ext = ModelicaStrings_compare(MMC_STRINGDATA(_string1), MMC_STRINGDATA(_string2), _caseSensitive_ext); ^ BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_functions.c:263:17: warning: implicit declaration of function 'ModelicaStrings_length' is invalid in C99 [-Wimplicit-function-declaration] _result_ext = ModelicaStrings_length(MMC_STRINGDATA(_string)); ^ BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_functions.c:285:17: warning: implicit declaration of function 'ModelicaStrings_substring' is invalid in C99 [-Wimplicit-function-declaration] _result_ext = ModelicaStrings_substring(MMC_STRINGDATA(_string), _startIndex_ext, _endIndex_ext); ^ BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_functions.c:285:15: warning: incompatible integer to pointer conversion assigning to 'const char *' from 'int' [-Wint-conversion] _result_ext = ModelicaStrings_substring(MMC_STRINGDATA(_string), _startIndex_ext, _endIndex_ext); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_functions.c:313:3: warning: implicit declaration of function 'ModelicaStrings_scanReal' is invalid in C99 [-Wimplicit-function-declaration] ModelicaStrings_scanReal(MMC_STRINGDATA(_string), _startIndex_ext, _unsigned_ext, &_nextIndex_ext, &_number_ext); ^ 7 warnings and 6 errors generated. make: *** [: BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_functions.o] Error 1