Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.ReadRealParameter.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.ReadRealParameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadRealParameter") translateModel(KeyWordIO.Examples.ReadRealParameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadRealParameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 107.5 kB / 16.42 MB, free: 6.473 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.001475/0.001475, allocations: 190 kB / 17.36 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.388/1.388, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/package.mo): time 0.00595/0.005951, allocations: 1.001 MB / 292.2 MB, free: 13.78 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.05e-05/3.051e-05, allocations: 3.812 kB / 403.6 MB, free: 31.8 MB / 302.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealParameter): time 0.001988/0.002027, allocations: 1.188 MB / 404.8 MB, free: 30.59 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002491/0.00453, allocations: 2.027 MB / 406.8 MB, free: 28.56 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.622e-05/0.004568, allocations: 4 kB / 406.8 MB, free: 28.55 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.11e-05/0.004594, allocations: 3.938 kB / 406.8 MB, free: 28.55 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/readRealParameter.mo:2:1-99:22:writable] Warning: Pure function 'KeyWordIO.readRealParameter' contains a call to impure function 'KeyWordIO.readLine'. Notification: Performance of NFTyping.typeBindings: time 0.001086/0.005703, allocations: 449.3 kB / 407.2 MB, free: 28.11 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.797e-06/0.005715, allocations: 0 / 407.2 MB, free: 28.11 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.368e-05/0.005775, allocations: 11.98 kB / 407.2 MB, free: 28.1 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.478e-05/0.005825, allocations: 7.922 kB / 407.3 MB, free: 28.09 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.871e-05/0.005849, allocations: 4 kB / 407.3 MB, free: 28.09 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008117/0.01397, allocations: 11.94 kB / 407.3 MB, free: 28.08 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.565e-05/0.01402, allocations: 0 / 407.3 MB, free: 28.08 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001164/0.0152, allocations: 495.5 kB / 407.8 MB, free: 27.59 MB / 302.1 MB Notification: Performance of combineBinaries: time 5.153e-05/0.01526, allocations: 19.84 kB / 407.8 MB, free: 27.57 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 9.698e-06/0.01528, allocations: 11.81 kB / 407.8 MB, free: 27.56 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 1.417e-05/0.0153, allocations: 0 / 407.8 MB, free: 27.56 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.724e-05/0.01532, allocations: 0 / 407.8 MB, free: 27.56 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.0002701/0.01559, allocations: 193 kB / 408 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FunctionAlias: time 1.349e-05/0.01561, allocations: 3.953 kB / 408 MB, free: 27.27 MB / 302.1 MB Notification: Performance of Early Inline: time 5.447e-05/0.01568, allocations: 44.36 kB / 408 MB, free: 27.2 MB / 302.1 MB Notification: Performance of simplify1: time 5.01e-07/0.01568, allocations: 0 / 408 MB, free: 27.2 MB / 302.1 MB Notification: Performance of Alias: time 3.316e-05/0.01572, allocations: 52.62 kB / 408.1 MB, free: 27.11 MB / 302.1 MB Notification: Performance of simplify2: time 1.062e-06/0.01573, allocations: 0 / 408.1 MB, free: 27.11 MB / 302.1 MB Notification: Performance of Events: time 4.549e-06/0.01574, allocations: 0 / 408.1 MB, free: 27.11 MB / 302.1 MB Notification: Performance of Detect States: time 5.65e-05/0.0158, allocations: 28.19 kB / 408.1 MB, free: 27.07 MB / 302.1 MB Notification: Performance of Partitioning: time 1.439e-05/0.01582, allocations: 0 / 408.1 MB, free: 27.07 MB / 302.1 MB Notification: Performance of Causalize: time 7.253e-06/0.01583, allocations: 0 / 408.1 MB, free: 27.07 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 2.163e-05/0.01585, allocations: 44.38 kB / 408.1 MB, free: 27 MB / 302.1 MB Notification: Performance of Inline: time 0.0001499/0.01601, allocations: 84.33 kB / 408.2 MB, free: 26.88 MB / 302.1 MB Notification: Performance of Partitioning: time 1.533e-05/0.01603, allocations: 12.12 kB / 408.2 MB, free: 26.86 MB / 302.1 MB Notification: Performance of Cleanup: time 5.32e-06/0.01604, allocations: 0 / 408.2 MB, free: 26.86 MB / 302.1 MB Notification: Performance of Causalize: time 0.0002163/0.01627, allocations: 60.02 kB / 408.3 MB, free: 26.79 MB / 302.1 MB Notification: Performance of Tearing: time 7.344e-06/0.01628, allocations: 0 / 408.3 MB, free: 26.79 MB / 302.1 MB Notification: Performance of Initialization: time 2.81e-07/0.01629, allocations: 0 / 408.3 MB, free: 26.79 MB / 302.1 MB Notification: Performance of Tearing: time 6.41e-07/0.01629, allocations: 0 / 408.3 MB, free: 26.79 MB / 302.1 MB Notification: Performance of Categorize: time 2.484e-06/0.0163, allocations: 0 / 408.3 MB, free: 26.79 MB / 302.1 MB Notification: Performance of Solve: time 3.595e-05/0.01634, allocations: 11.94 kB / 408.3 MB, free: 26.78 MB / 302.1 MB Notification: Performance of Jacobian: time 3.456e-06/0.01635, allocations: 0 / 408.3 MB, free: 26.78 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: ........... 3 (scalar:3, 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.852e-05/0.01639, allocations: 17.88 kB / 408.3 MB, free: 26.77 MB / 302.1 MB Notification: Performance of SimCode: time 0.001716/0.01811, allocations: 1.385 MB / 409.7 MB, free: 25.43 MB / 302.1 MB Notification: Performance of Templates: time 0.00528/0.02341, allocations: 2.759 MB / 412.5 MB, free: 22.66 MB / 302.1 MB make -j1 -f KeyWordIO_KeyWordIO.Examples.ReadRealParameter.makefile make -j1 -f KeyWordIO_KeyWordIO.Examples.ReadRealParameter.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_ReadRealParameter -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.ReadRealParameter.o KeyWordIO_KeyWordIO.Examples.ReadRealParameter.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_ReadRealParameter -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.ReadRealParameter_functions.o KeyWordIO_KeyWordIO.Examples.ReadRealParameter_functions.c KeyWordIO_KeyWordIO.Examples.ReadRealParameter_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.ReadRealParameter_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.ReadRealParameter_functions.c:106:27: error: use of undeclared identifier '_OMC_LIT0' tmpMeta1 = stringAppend(_OMC_LIT0,_fileName); ^ KeyWordIO_KeyWordIO.Examples.ReadRealParameter_functions.c:107:36: error: use of undeclared identifier '_OMC_LIT1' tmpMeta2 = stringAppend(tmpMeta1,_OMC_LIT1); ^ KeyWordIO_KeyWordIO.Examples.ReadRealParameter_functions.c:138:100: error: use of undeclared identifier '_OMC_LIT4' _delimiter = omc_Modelica_Utilities_Strings_scanDelimiter(threadData, _line, _nextIndex, _OMC_LIT4, _message2 ,&_nextIndex); ^ KeyWordIO_KeyWordIO.Examples.ReadRealParameter_functions.c:142:100: error: use of undeclared identifier '_OMC_LIT7' _delimiter = omc_Modelica_Utilities_Strings_scanDelimiter(threadData, _line, _nextIndex, _OMC_LIT7, _message2 ,&_nextIndex); ^ KeyWordIO_KeyWordIO.Examples.ReadRealParameter_functions.c:155:33: error: use of undeclared identifier '_OMC_LIT2' tmpMeta6 = stringAppend(_OMC_LIT2,_message); ^ KeyWordIO_KeyWordIO.Examples.ReadRealParameter_functions.c:167:29: error: use of undeclared identifier '_OMC_LIT8' tmpMeta9 = stringAppend(_OMC_LIT8,_name); ^ KeyWordIO_KeyWordIO.Examples.ReadRealParameter_functions.c:168:39: error: use of undeclared identifier '_OMC_LIT9' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT9); ^ KeyWordIO_KeyWordIO.Examples.ReadRealParameter_functions.c:170:40: error: use of undeclared identifier '_OMC_LIT10' tmpMeta12 = stringAppend(tmpMeta11,_OMC_LIT10); ^ KeyWordIO_KeyWordIO.Examples.ReadRealParameter_functions.c:203:98: error: use of undeclared identifier '_OMC_LIT13' _signOfNumber = omc_Modelica_Utilities_Strings_scanDelimiter(threadData, _string, _startIndex, _OMC_LIT13, _message ,&_nextIndex); ^ KeyWordIO_KeyWordIO.Examples.ReadRealParameter_functions.c:207:34: error: use of undeclared identifier '_OMC_LIT12' if((stringEqual(_signOfNumber, _OMC_LIT12))) ^ KeyWordIO_KeyWordIO.Examples.ReadRealParameter_functions.c:207:34: error: use of undeclared identifier '_OMC_LIT12' KeyWordIO_KeyWordIO.Examples.ReadRealParameter_functions.c:215:95: error: use of undeclared identifier '_OMC_LIT13' _opString = omc_Modelica_Utilities_Strings_scanDelimiter(threadData, _string, _nextIndex, _OMC_LIT13, _message ,&_nextIndex); ^ KeyWordIO_KeyWordIO.Examples.ReadRealParameter_functions.c:217:32: error: use of undeclared identifier '_OMC_LIT6' if((stringEqual(_opString, _OMC_LIT6))) ^ KeyWordIO_KeyWordIO.Examples.ReadRealParameter_functions.c:217:32: error: use of undeclared identifier '_OMC_LIT6' KeyWordIO_KeyWordIO.Examples.ReadRealParameter_functions.c:225:42: error: use of undeclared identifier '_OMC_LIT11' _result = ((stringEqual(_opString, _OMC_LIT11))?_result + _result2:_result - _result2); ^ KeyWordIO_KeyWordIO.Examples.ReadRealParameter_functions.c:225:42: error: use of undeclared identifier '_OMC_LIT11' KeyWordIO_KeyWordIO.Examples.ReadRealParameter_functions.c:288:82: error: use of undeclared identifier '_OMC_LIT15' if((((modelica_integer)_token._tokenType == 6) && (stringEqual(_token._string, _OMC_LIT15)))) ^ KeyWordIO_KeyWordIO.Examples.ReadRealParameter_functions.c:288:82: error: use of undeclared identifier '_OMC_LIT15' KeyWordIO_KeyWordIO.Examples.ReadRealParameter_functions.c:292:96: error: use of undeclared identifier '_OMC_LIT18' _delimiter = omc_Modelica_Utilities_Strings_scanDelimiter(threadData, _string, _nextIndex, _OMC_LIT18, _message ,&_nextIndex); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 2 warnings and 20 errors generated. make: *** [: KeyWordIO_KeyWordIO.Examples.ReadRealParameter_functions.o] Error 1