Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.ReadReal_m.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.ReadReal_m,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadReal_m") translateModel(KeyWordIO.Examples.ReadReal_m,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadReal_m") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001579/0.00158, allocations: 104 kB / 16.37 MB, free: 5.895 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.001683/0.001683, allocations: 191.3 kB / 17.3 MB, free: 5.535 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.268/1.268, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/package.mo): time 0.005783/0.005783, allocations: 1.013 MB / 292.2 MB, free: 13.79 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.086e-05/3.114e-05, allocations: 9.312 kB / 353.4 MB, free: 484 kB / 286.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadReal_m): time 0.002309/0.002357, allocations: 1.198 MB / 354.6 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003169/0.00554, allocations: 2.068 MB / 356.7 MB, free: 13.19 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.045e-05/0.005573, allocations: 3.938 kB / 356.7 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.052e-05/0.005599, allocations: 0 / 356.7 MB, free: 13.18 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/readReal_m.mo:2:1-79:15:writable] Warning: Pure function 'KeyWordIO.readReal_m' contains a call to impure function 'KeyWordIO.readLine'. Notification: Performance of NFTyping.typeBindings: time 0.001198/0.006807, allocations: 494.4 kB / 357.2 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.037e-06/0.006821, allocations: 4 kB / 357.2 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.263e-05/0.006878, allocations: 15.92 kB / 357.2 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.974e-05/0.006924, allocations: 0 / 357.2 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.971e-05/0.006948, allocations: 7.938 kB / 357.2 MB, free: 12.67 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.007061, allocations: 4 kB / 357.2 MB, free: 12.67 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.664e-06/0.007076, allocations: 0 / 357.2 MB, free: 12.67 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007503/0.007833, allocations: 0.5267 MB / 357.7 MB, free: 12.14 MB / 302.1 MB Notification: Performance of combineBinaries: time 3.675e-05/0.00788, allocations: 23.69 kB / 357.8 MB, free: 12.12 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 9.878e-06/0.007897, allocations: 19.81 kB / 357.8 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.574e-06/0.00791, allocations: 0 / 357.8 MB, free: 12.1 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.778e-06/0.007924, allocations: 0 / 357.8 MB, free: 12.1 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.0002679/0.008196, allocations: 192.9 kB / 358 MB, free: 11.81 MB / 302.1 MB Notification: Performance of FunctionAlias: time 9.548e-06/0.008306, allocations: 11.98 kB / 358 MB, free: 11.8 MB / 302.1 MB Notification: Performance of Early Inline: time 4.731e-05/0.008358, allocations: 36.33 kB / 358 MB, free: 11.73 MB / 302.1 MB Notification: Performance of simplify1: time 5.41e-07/0.008366, allocations: 4 kB / 358 MB, free: 11.73 MB / 302.1 MB Notification: Performance of Alias: time 4.402e-05/0.008414, allocations: 44.62 kB / 358.1 MB, free: 11.65 MB / 302.1 MB Notification: Performance of simplify2: time 4.81e-07/0.00842, allocations: 0 / 358.1 MB, free: 11.65 MB / 302.1 MB Notification: Performance of Events: time 5.45e-06/0.00843, allocations: 3.984 kB / 358.1 MB, free: 11.64 MB / 302.1 MB Notification: Performance of Detect States: time 4.401e-05/0.00848, allocations: 28.2 kB / 358.1 MB, free: 11.6 MB / 302.1 MB Notification: Performance of Partitioning: time 1.17e-05/0.008498, allocations: 7.938 kB / 358.1 MB, free: 11.59 MB / 302.1 MB Notification: Performance of Causalize: time 6.152e-06/0.008509, allocations: 3.938 kB / 358.1 MB, free: 11.59 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 4.328e-05/0.008556, allocations: 32.38 kB / 358.1 MB, free: 11.53 MB / 302.1 MB Notification: Performance of Inline: time 0.0001334/0.008694, allocations: 81.34 kB / 358.2 MB, free: 11.42 MB / 302.1 MB Notification: Performance of Partitioning: time 1.471e-05/0.008718, allocations: 16.12 kB / 358.2 MB, free: 11.39 MB / 302.1 MB Notification: Performance of Cleanup: time 5.44e-06/0.008728, allocations: 3.938 kB / 358.2 MB, free: 11.39 MB / 302.1 MB Notification: Performance of Causalize: time 0.00017/0.008902, allocations: 68.41 kB / 358.3 MB, free: 11.32 MB / 302.1 MB Notification: Performance of Tearing: time 5.381e-06/0.008917, allocations: 144 / 358.3 MB, free: 11.32 MB / 302.1 MB Notification: Performance of Initialization: time 3.01e-07/0.008923, allocations: 4.125 kB / 358.3 MB, free: 11.31 MB / 302.1 MB Notification: Performance of Tearing: time 2.014e-06/0.008929, allocations: 3.984 kB / 358.3 MB, free: 11.31 MB / 302.1 MB Notification: Performance of Categorize: time 1.674e-06/0.008936, allocations: 4 kB / 358.3 MB, free: 11.3 MB / 302.1 MB Notification: Performance of Solve: time 2.882e-05/0.00897, allocations: 7.984 kB / 358.3 MB, free: 11.3 MB / 302.1 MB Notification: Performance of Jacobian: time 4.328e-06/0.00898, allocations: 7.938 kB / 358.3 MB, free: 11.29 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:4, 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.064e-05/0.009015, allocations: 15.7 kB / 358.4 MB, free: 11.27 MB / 302.1 MB Notification: Performance of SimCode: time 0.001628/0.01065, allocations: 1.417 MB / 359.8 MB, free: 9.91 MB / 302.1 MB Notification: Performance of Templates: time 0.005505/0.01616, allocations: 2.965 MB / 362.7 MB, free: 6.945 MB / 302.1 MB make -j1 -f KeyWordIO_KeyWordIO.Examples.ReadReal_m.makefile make -j1 -f KeyWordIO_KeyWordIO.Examples.ReadReal_m.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_ReadReal_m -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.ReadReal_m.o KeyWordIO_KeyWordIO.Examples.ReadReal_m.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_ReadReal_m -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.ReadReal_m_functions.o KeyWordIO_KeyWordIO.Examples.ReadReal_m_functions.c KeyWordIO_KeyWordIO.Examples.ReadReal_m_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.ReadReal_m_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.ReadReal_m_functions.c:103:27: error: use of undeclared identifier '_OMC_LIT0' tmpMeta1 = stringAppend(_OMC_LIT0,_fileName); ^ KeyWordIO_KeyWordIO.Examples.ReadReal_m_functions.c:104:36: error: use of undeclared identifier '_OMC_LIT1' tmpMeta2 = stringAppend(tmpMeta1,_OMC_LIT1); ^ KeyWordIO_KeyWordIO.Examples.ReadReal_m_functions.c:113:170: error: use of undeclared identifier '_OMC_LIT7' if(((omc_Modelica_Utilities_Strings_isEqual(threadData, omc_Modelica_Utilities_Strings_substring(threadData, _line, ((modelica_integer) 1), ((modelica_integer) 2)), _OMC_LIT7, 1 /* true */) || omc_Modelica_Utilities_Strings_isEqual(threadData, omc_Modelica_Utilities_Strings_substring(threadData, _line, ((modelica_integer) 1), ((modelica_integer) 1)), _OMC_LIT8, 1 /* true */)) || omc_Modelica_Utilities_Strings_isEqual(threadData, omc_Modelica_Utilities_Strings_substring(threadData, _line, ((modelica_integer) 1), ((modelica_integer) 1)), _OMC_LIT3, 1 /* true */))) ^ KeyWordIO_KeyWordIO.Examples.ReadReal_m_functions.c:113:358: error: use of undeclared identifier '_OMC_LIT8' if(((omc_Modelica_Utilities_Strings_isEqual(threadData, omc_Modelica_Utilities_Strings_substring(threadData, _line, ((modelica_integer) 1), ((modelica_integer) 2)), _OMC_LIT7, 1 /* true */) || omc_Modelica_Utilities_Strings_isEqual(threadData, omc_Modelica_Utilities_Strings_substring(threadData, _line, ((modelica_integer) 1), ((modelica_integer) 1)), _OMC_LIT8, 1 /* true */)) || omc_Modelica_Utilities_Strings_isEqual(threadData, omc_Modelica_Utilities_Strings_substring(threadData, _line, ((modelica_integer) 1), ((modelica_integer) 1)), _OMC_LIT3, 1 /* true */))) ^ KeyWordIO_KeyWordIO.Examples.ReadReal_m_functions.c:113:547: error: use of undeclared identifier '_OMC_LIT3' if(((omc_Modelica_Utilities_Strings_isEqual(threadData, omc_Modelica_Utilities_Strings_substring(threadData, _line, ((modelica_integer) 1), ((modelica_integer) 2)), _OMC_LIT7, 1 /* true */) || omc_Modelica_Utilities_Strings_isEqual(threadData, omc_Modelica_Utilities_Strings_substring(threadData, _line, ((modelica_integer) 1), ((modelica_integer) 1)), _OMC_LIT8, 1 /* true */)) || omc_Modelica_Utilities_Strings_isEqual(threadData, omc_Modelica_Utilities_Strings_substring(threadData, _line, ((modelica_integer) 1), ((modelica_integer) 1)), _OMC_LIT3, 1 /* true */))) ^ KeyWordIO_KeyWordIO.Examples.ReadReal_m_functions.c:119:71: error: use of undeclared identifier '_OMC_LIT2' _index = omc_Modelica_Utilities_Strings_find(threadData, _line, _OMC_LIT2, ((modelica_integer) 1), 1 /* true */); ^ KeyWordIO_KeyWordIO.Examples.ReadReal_m_functions.c:123:33: error: use of undeclared identifier '_OMC_LIT6' tmpMeta3 = stringAppend(_OMC_LIT6,_message); ^ KeyWordIO_KeyWordIO.Examples.ReadReal_m_functions.c:130:76: error: use of undeclared identifier '_OMC_LIT3' _lenIdent = omc_Modelica_Utilities_Strings_find(threadData, _line, _OMC_LIT3, ((modelica_integer) 1), 1 /* true */); ^ KeyWordIO_KeyWordIO.Examples.ReadReal_m_functions.c:142:70: error: use of undeclared identifier '_OMC_LIT5' if((omc_Modelica_Utilities_Strings_find(threadData, _line, _OMC_LIT5, _index + ((modelica_integer) 1), 1 /* true */) <= ((modelica_integer) 0))) ^ KeyWordIO_KeyWordIO.Examples.ReadReal_m_functions.c:144:37: error: use of undeclared identifier '_OMC_LIT4' tmpMeta6 = stringAppend(_OMC_LIT4,_message); ^ KeyWordIO_KeyWordIO.Examples.ReadReal_m_functions.c:166:30: error: use of undeclared identifier '_OMC_LIT9' tmpMeta11 = stringAppend(_OMC_LIT9,_name); ^ KeyWordIO_KeyWordIO.Examples.ReadReal_m_functions.c:167:40: error: use of undeclared identifier '_OMC_LIT10' tmpMeta12 = stringAppend(tmpMeta11,_OMC_LIT10); ^ KeyWordIO_KeyWordIO.Examples.ReadReal_m_functions.c:169:40: error: use of undeclared identifier '_OMC_LIT11' tmpMeta14 = stringAppend(tmpMeta13,_OMC_LIT11); ^ KeyWordIO_KeyWordIO.Examples.ReadReal_m_functions.c:202:98: error: use of undeclared identifier '_OMC_LIT15' _signOfNumber = omc_Modelica_Utilities_Strings_scanDelimiter(threadData, _string, _startIndex, _OMC_LIT15, _message ,&_nextIndex); ^ KeyWordIO_KeyWordIO.Examples.ReadReal_m_functions.c:206:34: error: use of undeclared identifier '_OMC_LIT14' if((stringEqual(_signOfNumber, _OMC_LIT14))) ^ KeyWordIO_KeyWordIO.Examples.ReadReal_m_functions.c:206:34: error: use of undeclared identifier '_OMC_LIT14' KeyWordIO_KeyWordIO.Examples.ReadReal_m_functions.c:214:95: error: use of undeclared identifier '_OMC_LIT15' _opString = omc_Modelica_Utilities_Strings_scanDelimiter(threadData, _string, _nextIndex, _OMC_LIT15, _message ,&_nextIndex); ^ KeyWordIO_KeyWordIO.Examples.ReadReal_m_functions.c:216:32: error: use of undeclared identifier '_OMC_LIT12' if((stringEqual(_opString, _OMC_LIT12))) ^ KeyWordIO_KeyWordIO.Examples.ReadReal_m_functions.c:216:32: error: use of undeclared identifier '_OMC_LIT12' fatal error: too many errors emitted, stopping now [-ferror-limit=] 2 warnings and 20 errors generated. make: *** [: KeyWordIO_KeyWordIO.Examples.ReadReal_m_functions.o] Error 1