Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001197/0.001197, allocations: 107.8 kB / 16.42 MB, free: 6.488 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.001229/0.001229, allocations: 190 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.479/1.479, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002392/0.002392, allocations: 284.8 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9698/0.9698, allocations: 169.3 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.115e-05/3.123e-05, allocations: 2.281 kB / 0.682 GB, free: 7.059 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002561/0.002601, allocations: 1.248 MB / 0.6833 GB, free: 5.805 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00161/0.004226, allocations: 1.008 MB / 0.6842 GB, free: 4.789 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.803e-05/0.004266, allocations: 0 / 0.6842 GB, free: 4.789 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.622e-05/0.004289, allocations: 0 / 0.6842 GB, free: 4.789 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005641/0.004858, allocations: 107.6 kB / 0.6843 GB, free: 4.684 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.088e-06/0.004921, allocations: 0 / 0.6843 GB, free: 4.684 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.982e-05/0.004975, allocations: 3.938 kB / 0.6843 GB, free: 4.68 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.218e-05/0.005035, allocations: 7.984 kB / 0.6844 GB, free: 4.672 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.649e-05/0.005059, allocations: 4 kB / 0.6844 GB, free: 4.668 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001123/0.005176, allocations: 7.984 kB / 0.6844 GB, free: 4.66 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.654e-06/0.005191, allocations: 0 / 0.6844 GB, free: 4.66 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002665/0.005461, allocations: 123.8 kB / 0.6845 GB, free: 4.539 MB / 494.1 MB Notification: Performance of combineBinaries: time 3.209e-05/0.005503, allocations: 7.938 kB / 0.6845 GB, free: 4.531 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 6.762e-06/0.005515, allocations: 7.906 kB / 0.6845 GB, free: 4.523 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.578e-06/0.00553, allocations: 0 / 0.6845 GB, free: 4.523 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.158e-05/0.005546, allocations: 0 / 0.6845 GB, free: 4.523 MB / 494.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.0002536/0.005804, allocations: 161.2 kB / 0.6846 GB, free: 4.266 MB / 494.1 MB Notification: Performance of FunctionAlias: time 1.115e-05/0.005821, allocations: 7.891 kB / 0.6847 GB, free: 4.258 MB / 494.1 MB Notification: Performance of Early Inline: time 6.69e-05/0.005893, allocations: 44.36 kB / 0.6847 GB, free: 4.188 MB / 494.1 MB Notification: Performance of simplify1: time 7.41e-07/0.0059, allocations: 3.938 kB / 0.6847 GB, free: 4.184 MB / 494.1 MB Notification: Performance of Alias: time 5.52e-05/0.00596, allocations: 48.62 kB / 0.6847 GB, free: 4.098 MB / 494.1 MB Notification: Performance of simplify2: time 6.02e-07/0.005966, allocations: 0 / 0.6847 GB, free: 4.098 MB / 494.1 MB Notification: Performance of Detect States: time 5.994e-05/0.00603, allocations: 28.17 kB / 0.6848 GB, free: 4.055 MB / 494.1 MB Notification: Performance of Events: time 7.164e-06/0.006044, allocations: 7.938 kB / 0.6848 GB, free: 4.047 MB / 494.1 MB Notification: Performance of Partitioning: time 9.969e-06/0.006058, allocations: 0 / 0.6848 GB, free: 4.047 MB / 494.1 MB Notification: Performance of Causalize: time 8.285e-06/0.00607, allocations: 3.984 kB / 0.6848 GB, free: 4.043 MB / 494.1 MB Notification: Performance of After Index Reduction Inline: time 3.447e-05/0.006109, allocations: 44.38 kB / 0.6848 GB, free: 3.973 MB / 494.1 MB Notification: Performance of Inline: time 0.0005592/0.006672, allocations: 87.2 kB / 0.6849 GB, free: 3.855 MB / 494.1 MB Notification: Performance of Partitioning: time 1.885e-05/0.006701, allocations: 12.12 kB / 0.6849 GB, free: 3.836 MB / 494.1 MB Notification: Performance of Cleanup: time 7.013e-06/0.006713, allocations: 4 kB / 0.6849 GB, free: 3.832 MB / 494.1 MB Notification: Performance of Causalize: time 0.0001769/0.006894, allocations: 28.05 kB / 0.685 GB, free: 3.797 MB / 494.1 MB Notification: Performance of Tearing: time 1.506e-05/0.006928, allocations: 4 kB / 0.685 GB, free: 3.793 MB / 494.1 MB Notification: Performance of Initialization: time 4.2e-07/0.006933, allocations: 0 / 0.685 GB, free: 3.793 MB / 494.1 MB Notification: Performance of Tearing: time 1.793e-06/0.006939, allocations: 0 / 0.685 GB, free: 3.793 MB / 494.1 MB Notification: Performance of Categorize: time 2.505e-06/0.006946, allocations: 0 / 0.685 GB, free: 3.793 MB / 494.1 MB Notification: Performance of Solve: time 2.332e-05/0.006973, allocations: 4 kB / 0.685 GB, free: 3.789 MB / 494.1 MB Notification: Performance of Jacobian: time 3.997e-06/0.006981, allocations: 3.938 kB / 0.685 GB, free: 3.785 MB / 494.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 3.736e-05/0.007023, allocations: 15.25 kB / 0.685 GB, free: 3.777 MB / 494.1 MB Notification: Performance of SimCode: time 0.001152/0.00818, allocations: 0.9624 MB / 0.6859 GB, free: 2.824 MB / 494.1 MB Notification: Performance of Templates: time 0.003339/0.01153, allocations: 0.9781 MB / 0.6869 GB, free: 1.883 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.makefile make -j1 -f BuildingSystems_BuildingSystems.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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.o BuildingSystems_BuildingSystems.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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_functions.o BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_functions.c BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_functions.c:20:123: error: use of undeclared identifier '_OMC_LIT2' _element = omc_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_getLastHeaderElementTMY3(threadData, _filNam, _OMC_LIT2, _OMC_LIT3); ^ BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_functions.c:20:134: error: use of undeclared identifier '_OMC_LIT3' _element = omc_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_getLastHeaderElementTMY3(threadData, _filNam, _OMC_LIT2, _OMC_LIT3); ^ BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_functions.c:74:31: error: use of undeclared identifier '_OMC_LIT4' tmpMeta1 = stringAppend(_OMC_LIT4,_start); ^ BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_functions.c:75:40: error: use of undeclared identifier '_OMC_LIT5' tmpMeta2 = stringAppend(tmpMeta1,_OMC_LIT5); ^ BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_functions.c:76:40: error: use of undeclared identifier '_OMC_LIT6' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT6); ^ BuildingSystems_BuildingSystems.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 */); ^ BuildingSystems_BuildingSystems.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); ^ BuildingSystems_BuildingSystems.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); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BuildingSystems_BuildingSystems.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); ^ BuildingSystems_BuildingSystems.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)); ^ BuildingSystems_BuildingSystems.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); ^ BuildingSystems_BuildingSystems.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); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BuildingSystems_BuildingSystems.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: *** [: BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_functions.o] Error 1