Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.ReadRealCSV.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/KeyWordIO 0.11.0+X/package.mo", uses=false) Using package KeyWordIO with version 0.11.X (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/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(KeyWordIO.Examples.ReadRealCSV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadRealCSV") translateModel(KeyWordIO.Examples.ReadRealCSV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadRealCSV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 103.2 kB / 16.37 MB, free: 6.309 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.001142/0.001142, allocations: 193 kB / 17.31 MB, free: 5.891 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.272/1.272, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/package.mo): time 0.005923/0.005923, allocations: 1.006 MB / 292.2 MB, free: 13.8 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.876e-05/2.91e-05, allocations: 2.281 kB / 353.4 MB, free: 496 kB / 286.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealCSV): time 0.002687/0.002733, allocations: 1.248 MB / 354.7 MB, free: 15.23 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0019/0.004651, allocations: 1.223 MB / 355.9 MB, free: 14 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.079e-05/0.004696, allocations: 0 / 355.9 MB, free: 14 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/readLine.mo:2:1-36:13:writable] Warning: Pure function 'KeyWordIO.readLine' contains a call to impure function 'KeyWordIO.readLineWithoutCache'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/readRealCSV.mo:2:1-72:16:writable] Warning: Pure function 'KeyWordIO.readRealCSV' contains a call to impure function 'KeyWordIO.readLine'. Notification: Performance of NFTyping.typeComponents: time 0.001342/0.006045, allocations: 260.4 kB / 356.2 MB, free: 13.75 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001128/0.006168, allocations: 55.86 kB / 356.2 MB, free: 13.69 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.27e-06/0.006182, allocations: 0 / 356.2 MB, free: 13.69 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001238/0.006311, allocations: 47.78 kB / 356.3 MB, free: 13.64 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.685e-05/0.006406, allocations: 4 kB / 356.3 MB, free: 13.64 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.088e-05/0.006453, allocations: 19.91 kB / 356.3 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001613/0.00662, allocations: 39.84 kB / 356.3 MB, free: 13.58 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.339e-05/0.006644, allocations: 0 / 356.3 MB, free: 13.58 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004189/0.007069, allocations: 263.6 kB / 356.6 MB, free: 13.32 MB / 302.1 MB Notification: Performance of combineBinaries: time 9.689e-05/0.007175, allocations: 55.47 kB / 356.6 MB, free: 13.27 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 4.254e-05/0.007223, allocations: 51.39 kB / 356.7 MB, free: 13.22 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 1.226e-05/0.007242, allocations: 0 / 356.7 MB, free: 13.22 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.116e-05/0.007271, allocations: 7.984 kB / 356.7 MB, free: 13.21 MB / 302.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.0004163/0.007693, allocations: 256.6 kB / 356.9 MB, free: 12.86 MB / 302.1 MB Notification: Performance of FunctionAlias: time 1.567e-05/0.007721, allocations: 11.98 kB / 357 MB, free: 12.85 MB / 302.1 MB Notification: Performance of Early Inline: time 8.586e-05/0.007812, allocations: 40.33 kB / 357 MB, free: 12.78 MB / 302.1 MB Notification: Performance of simplify1: time 9.82e-07/0.007822, allocations: 0 / 357 MB, free: 12.78 MB / 302.1 MB Notification: Performance of Alias: time 9.654e-05/0.007924, allocations: 56.61 kB / 357 MB, free: 12.69 MB / 302.1 MB Notification: Performance of simplify2: time 9.02e-07/0.007934, allocations: 0 / 357 MB, free: 12.69 MB / 302.1 MB Notification: Performance of Events: time 1.14e-05/0.007952, allocations: 3.984 kB / 357.1 MB, free: 12.68 MB / 302.1 MB Notification: Performance of Detect States: time 6.189e-05/0.008022, allocations: 32.2 kB / 357.1 MB, free: 12.64 MB / 302.1 MB Notification: Performance of Partitioning: time 1.857e-05/0.008046, allocations: 11.88 kB / 357.1 MB, free: 12.62 MB / 302.1 MB Notification: Performance of Causalize: time 1.212e-05/0.008064, allocations: 0 / 357.1 MB, free: 12.62 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 3.187e-05/0.008101, allocations: 28.44 kB / 357.1 MB, free: 12.57 MB / 302.1 MB Notification: Performance of Inline: time 0.0002775/0.008385, allocations: 109.9 kB / 357.2 MB, free: 12.43 MB / 302.1 MB Notification: Performance of Partitioning: time 1.809e-05/0.008411, allocations: 16.06 kB / 357.2 MB, free: 12.4 MB / 302.1 MB Notification: Performance of Cleanup: time 4.368e-06/0.008421, allocations: 0 / 357.2 MB, free: 12.4 MB / 302.1 MB Notification: Performance of Causalize: time 0.0003751/0.008802, allocations: 184.9 kB / 357.4 MB, free: 12.21 MB / 302.1 MB Notification: Performance of Tearing: time 1.013e-05/0.008823, allocations: 3.938 kB / 357.4 MB, free: 12.21 MB / 302.1 MB Notification: Performance of Initialization: time 2.304e-06/0.00883, allocations: 0 / 357.4 MB, free: 12.21 MB / 302.1 MB Notification: Performance of Tearing: time 7.72e-07/0.008835, allocations: 3.938 kB / 357.4 MB, free: 12.21 MB / 302.1 MB Notification: Performance of Categorize: time 3.106e-06/0.008843, allocations: 4 kB / 357.4 MB, free: 12.2 MB / 302.1 MB Notification: Performance of Solve: time 4.701e-05/0.008895, allocations: 15.97 kB / 357.5 MB, free: 12.19 MB / 302.1 MB Notification: Performance of Jacobian: time 3.497e-06/0.008904, allocations: 0 / 357.5 MB, free: 12.19 MB / 302.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: ........... 4 (scalar:0, array:4, 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 5.163e-05/0.00896, allocations: 23.91 kB / 357.5 MB, free: 12.16 MB / 302.1 MB Notification: Performance of SimCode: time 0.001504/0.01047, allocations: 1.243 MB / 358.7 MB, free: 10.95 MB / 302.1 MB Notification: Performance of Templates: time 0.004284/0.01477, allocations: 1.799 MB / 360.5 MB, free: 9.156 MB / 302.1 MB make -j1 -f KeyWordIO_KeyWordIO.Examples.ReadRealCSV.makefile make -j1 -f KeyWordIO_KeyWordIO.Examples.ReadRealCSV.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=KeyWordIO_KeyWordIO_Examples_ReadRealCSV -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 KeyWordIO_KeyWordIO.Examples.ReadRealCSV.o KeyWordIO_KeyWordIO.Examples.ReadRealCSV.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=KeyWordIO_KeyWordIO_Examples_ReadRealCSV -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 KeyWordIO_KeyWordIO.Examples.ReadRealCSV_functions.o KeyWordIO_KeyWordIO.Examples.ReadRealCSV_functions.c KeyWordIO_KeyWordIO.Examples.ReadRealCSV_functions.c:54:17: warning: implicit declaration of function 'ReadLine' is invalid in C99 [-Wimplicit-function-declaration] _string_ext = ReadLine(MMC_STRINGDATA(_fileName), _lineNumber_ext, &_endOfFile_ext); ^ KeyWordIO_KeyWordIO.Examples.ReadRealCSV_functions.c:54:15: warning: incompatible integer to pointer conversion assigning to 'const char *' from 'int' [-Wint-conversion] _string_ext = ReadLine(MMC_STRINGDATA(_fileName), _lineNumber_ext, &_endOfFile_ext); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ KeyWordIO_KeyWordIO.Examples.ReadRealCSV_functions.c:104:54: error: use of undeclared identifier '_OMC_LIT1' omc_Modelica_Utilities_Streams_error(threadData, _OMC_LIT1); ^ KeyWordIO_KeyWordIO.Examples.ReadRealCSV_functions.c:109:54: error: use of undeclared identifier '_OMC_LIT2' omc_Modelica_Utilities_Streams_error(threadData, _OMC_LIT2); ^ KeyWordIO_KeyWordIO.Examples.ReadRealCSV_functions.c:115:29: error: use of undeclared identifier '_OMC_LIT3' tmpMeta2 = stringAppend(_OMC_LIT3,tmp1); ^ KeyWordIO_KeyWordIO.Examples.ReadRealCSV_functions.c:116:38: error: use of undeclared identifier '_OMC_LIT4' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT4); ^ KeyWordIO_KeyWordIO.Examples.ReadRealCSV_functions.c:119:38: error: use of undeclared identifier '_OMC_LIT5' tmpMeta6 = stringAppend(tmpMeta5,_OMC_LIT5); ^ KeyWordIO_KeyWordIO.Examples.ReadRealCSV_functions.c:150:101: error: use of undeclared identifier '_OMC_LIT6' _val = omc_Modelica_Utilities_Strings_scanReal(threadData, _line, _indx, 0 /* false */, _OMC_LIT6 ,&_indx); ^ KeyWordIO_KeyWordIO.Examples.ReadRealCSV_functions.c:220:3: warning: implicit declaration of function 'ModelicaError' is invalid in C99 [-Wimplicit-function-declaration] ModelicaError(MMC_STRINGDATA(_string)); ^ KeyWordIO_KeyWordIO.Examples.ReadRealCSV_functions.c:234: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); ^ KeyWordIO_KeyWordIO.Examples.ReadRealCSV_functions.c:234: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); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ KeyWordIO_KeyWordIO.Examples.ReadRealCSV_functions.c:259: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); ^ KeyWordIO_KeyWordIO.Examples.ReadRealCSV_functions.c:386:17: warning: implicit declaration of function 'ModelicaStrings_length' is invalid in C99 [-Wimplicit-function-declaration] _result_ext = ModelicaStrings_length(MMC_STRINGDATA(_string)); ^ KeyWordIO_KeyWordIO.Examples.ReadRealCSV_functions.c:409:21: error: use of undeclared identifier '_OMC_LIT6' _repeatedString = _OMC_LIT6; ^ KeyWordIO_KeyWordIO.Examples.ReadRealCSV_functions.c:452:31: error: use of undeclared identifier '_OMC_LIT9' tmpMeta1 = stringAppend(_OMC_LIT9,_message); ^ KeyWordIO_KeyWordIO.Examples.ReadRealCSV_functions.c:457:31: error: use of undeclared identifier '_OMC_LIT8' tmpMeta2 = stringAppend(_OMC_LIT8,_message); ^ KeyWordIO_KeyWordIO.Examples.ReadRealCSV_functions.c:489: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); ^ KeyWordIO_KeyWordIO.Examples.ReadRealCSV_functions.c:489: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); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ KeyWordIO_KeyWordIO.Examples.ReadRealCSV_functions.c:536:29: error: use of undeclared identifier '_OMC_LIT10' tmpMeta1 = stringAppend(_OMC_LIT10,omc_Modelica_Utilities_Strings_substring(threadData, _string, _index2 - _maxIndex, _lenString)); ^ KeyWordIO_KeyWordIO.Examples.ReadRealCSV_functions.c:544:133: error: use of undeclared identifier '_OMC_LIT11' tmpMeta2 = stringAppend(omc_Modelica_Utilities_Strings_substring(threadData, _errString, ((modelica_integer) 1), _maxLenString),_OMC_LIT11); ^ KeyWordIO_KeyWordIO.Examples.ReadRealCSV_functions.c:549:27: error: use of undeclared identifier '_OMC_LIT12' tmpMeta4 = stringAppend(_OMC_LIT12,tmp3); ^ KeyWordIO_KeyWordIO.Examples.ReadRealCSV_functions.c:550:36: error: use of undeclared identifier '_OMC_LIT13' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT13); ^ KeyWordIO_KeyWordIO.Examples.ReadRealCSV_functions.c:552:36: error: use of undeclared identifier '_OMC_LIT14' tmpMeta7 = stringAppend(tmpMeta6,_OMC_LIT14); ^ KeyWordIO_KeyWordIO.Examples.ReadRealCSV_functions.c:553:120: error: use of undeclared identifier '_OMC_LIT7' tmpMeta8 = stringAppend(tmpMeta7,omc_Modelica_Utilities_Strings_repeat(threadData, _index2 - ((modelica_integer) 1), _OMC_LIT7)); ^ KeyWordIO_KeyWordIO.Examples.ReadRealCSV_functions.c:554:36: error: use of undeclared identifier '_OMC_LIT15' tmpMeta9 = stringAppend(tmpMeta8,_OMC_LIT15); ^ KeyWordIO_KeyWordIO.Examples.ReadRealCSV_functions.c:555:37: error: use of undeclared identifier '_OMC_LIT14' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT14); ^ KeyWordIO_KeyWordIO.Examples.ReadRealCSV_functions.c:581: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); ^ KeyWordIO_KeyWordIO.Examples.ReadRealCSV_functions.c:609:20: warning: implicit declaration of function 'ModelicaStrings_skipWhiteSpace' is invalid in C99 [-Wimplicit-function-declaration] _nextIndex_ext = ModelicaStrings_skipWhiteSpace(MMC_STRINGDATA(_string), _startIndex_ext); ^ 11 warnings and 17 errors generated. make: *** [: KeyWordIO_KeyWordIO.Examples.ReadRealCSV_functions.o] Error 1