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.001194/0.001194, allocations: 112.7 kB / 16.42 MB, free: 6.477 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.001203/0.001203, allocations: 187.2 kB / 17.35 MB, free: 5.707 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.269/1.269, allocations: 222.9 MB / 241 MB, free: 15.07 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.8043/0.8043, allocations: 143 MB / 434.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.036e-05/2.037e-05, allocations: 4.578 kB / 0.5961 GB, free: 12.33 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.001464/0.001494, allocations: 1.245 MB / 0.5974 GB, free: 11.1 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009664/0.002472, allocations: 1.008 MB / 0.5983 GB, free: 10.08 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.57e-05/0.00251, allocations: 1.031 kB / 0.5983 GB, free: 10.08 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.587e-05/0.002531, allocations: 0 / 0.5983 GB, free: 10.08 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003459/0.002881, allocations: 108.3 kB / 0.5984 GB, free: 9.977 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.436e-06/0.002902, allocations: 0 / 0.5984 GB, free: 9.977 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.809e-05/0.002946, allocations: 12.62 kB / 0.5985 GB, free: 9.965 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.413e-05/0.002995, allocations: 4 kB / 0.5985 GB, free: 9.961 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.402e-05/0.003014, allocations: 1.219 kB / 0.5985 GB, free: 9.961 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.399e-05/0.003102, allocations: 3.938 kB / 0.5985 GB, free: 9.957 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.412e-06/0.003115, allocations: 4 kB / 0.5985 GB, free: 9.953 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001423/0.003263, allocations: 124.3 kB / 0.5986 GB, free: 9.832 MB / 446.1 MB Notification: Performance of combineBinaries: time 2.059e-05/0.00329, allocations: 15.83 kB / 0.5986 GB, free: 9.816 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 3.046e-06/0.003298, allocations: 5.062 kB / 0.5986 GB, free: 9.812 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.322e-06/0.003309, allocations: 0 / 0.5986 GB, free: 9.812 MB / 446.1 MB Notification: Performance of FrontEnd: time 8.426e-06/0.003322, allocations: 4 kB / 0.5986 GB, free: 9.809 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.0001448/0.003471, allocations: 157.2 kB / 0.5988 GB, free: 9.559 MB / 446.1 MB Notification: Performance of FunctionAlias: time 6.863e-06/0.003484, allocations: 3.953 kB / 0.5988 GB, free: 9.555 MB / 446.1 MB Notification: Performance of Early Inline: time 2.917e-05/0.003517, allocations: 37.81 kB / 0.5988 GB, free: 9.492 MB / 446.1 MB Notification: Performance of simplify1: time 4.71e-07/0.003521, allocations: 0 / 0.5988 GB, free: 9.492 MB / 446.1 MB Notification: Performance of Alias: time 2.769e-05/0.003553, allocations: 49.83 kB / 0.5988 GB, free: 9.406 MB / 446.1 MB Notification: Performance of simplify2: time 1.413e-06/0.003559, allocations: 0 / 0.5988 GB, free: 9.406 MB / 446.1 MB Notification: Performance of Events: time 3.887e-06/0.003567, allocations: 9.156 kB / 0.5989 GB, free: 9.398 MB / 446.1 MB Notification: Performance of Detect States: time 3.464e-05/0.003605, allocations: 28.2 kB / 0.5989 GB, free: 9.355 MB / 446.1 MB Notification: Performance of Partitioning: time 7.864e-06/0.003619, allocations: 5.406 kB / 0.5989 GB, free: 9.352 MB / 446.1 MB Notification: Performance of Causalize: time 5.269e-06/0.003628, allocations: 3.984 kB / 0.5989 GB, free: 9.348 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 1.171e-05/0.003644, allocations: 37.84 kB / 0.5989 GB, free: 9.285 MB / 446.1 MB Notification: Performance of Inline: time 7.851e-05/0.003726, allocations: 65.28 kB / 0.599 GB, free: 9.188 MB / 446.1 MB Notification: Performance of Partitioning: time 6.893e-06/0.003741, allocations: 9.406 kB / 0.599 GB, free: 9.172 MB / 446.1 MB Notification: Performance of Cleanup: time 3.506e-06/0.003748, allocations: 3.938 kB / 0.599 GB, free: 9.168 MB / 446.1 MB Notification: Performance of Causalize: time 0.0001203/0.003873, allocations: 30.73 kB / 0.599 GB, free: 9.133 MB / 446.1 MB Notification: Performance of Tearing: time 7.074e-06/0.003888, allocations: 0 / 0.599 GB, free: 9.133 MB / 446.1 MB Notification: Performance of Initialization: time 4.11e-07/0.003893, allocations: 0 / 0.599 GB, free: 9.133 MB / 446.1 MB Notification: Performance of Tearing: time 6.71e-07/0.003897, allocations: 0 / 0.599 GB, free: 9.133 MB / 446.1 MB Notification: Performance of Categorize: time 1.723e-06/0.003903, allocations: 1.875 kB / 0.599 GB, free: 9.133 MB / 446.1 MB Notification: Performance of Solve: time 1.818e-05/0.003925, allocations: 7.938 kB / 0.599 GB, free: 9.125 MB / 446.1 MB Notification: Performance of Jacobian: time 2.394e-06/0.003931, allocations: 0 / 0.599 GB, free: 9.125 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.296e-05/0.003958, allocations: 13.7 kB / 0.5991 GB, free: 9.113 MB / 446.1 MB Notification: Performance of SimCode: time 0.0006436/0.004606, allocations: 0.9654 MB / 0.6 GB, free: 8.176 MB / 446.1 MB Notification: Performance of Templates: time 0.002559/0.007176, allocations: 0.9955 MB / 0.601 GB, free: 7.293 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