Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Utilities.Examples.readRealParameterModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J|phi_rel0|w_rel0",fileNamePrefix="Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel") translateModel(Modelica.Utilities.Examples.readRealParameterModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J|phi_rel0|w_rel0",fileNamePrefix="Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001194/0.001194, allocations: 106.1 kB / 18.46 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001292/0.001292, allocations: 207.9 kB / 19.42 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.247/1.247, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.253e-05/1.255e-05, allocations: 2.281 kB / 359.3 MB, free: 13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.001766/0.001788, allocations: 1.201 MB / 360.5 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002749/0.00455, allocations: 2.084 MB / 362.6 MB, free: 9.695 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.376e-05/0.004586, allocations: 0 / 362.6 MB, free: 9.695 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.388e-05/0.004607, allocations: 0 / 362.6 MB, free: 9.695 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Utilities/Examples.mo:279:3-378:24:writable] Warning: Pure function 'Modelica.Utilities.Examples.readRealParameter' contains a call to impure function 'Modelica.Utilities.Streams.readLine'. Notification: Performance of NFTyping.typeBindings: time 0.001189/0.005806, allocations: 474.5 kB / 363 MB, free: 9.23 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.962e-05/0.005835, allocations: 0 / 363 MB, free: 9.23 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 4.869e-05/0.005889, allocations: 7.938 kB / 363.1 MB, free: 9.223 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.621e-05/0.005931, allocations: 11.98 kB / 363.1 MB, free: 9.211 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.705e-05/0.005953, allocations: 0 / 363.1 MB, free: 9.211 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.006058, allocations: 15.92 kB / 363.1 MB, free: 9.195 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.917e-06/0.006075, allocations: 0 / 363.1 MB, free: 9.195 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006989/0.006778, allocations: 0.5112 MB / 363.6 MB, free: 8.684 MB / 302.1 MB Notification: Performance of combineBinaries: time 3.785e-05/0.006826, allocations: 23.69 kB / 363.6 MB, free: 8.66 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 8.586e-06/0.00684, allocations: 11.91 kB / 363.6 MB, free: 8.648 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 1.312e-05/0.006862, allocations: 7.938 kB / 363.6 MB, free: 8.641 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.204e-06/0.006873, allocations: 0 / 363.6 MB, free: 8.641 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.0002492/0.007127, allocations: 201.5 kB / 363.8 MB, free: 8.34 MB / 302.1 MB Notification: Performance of FunctionAlias: time 1.003e-05/0.007142, allocations: 0 / 363.8 MB, free: 8.34 MB / 302.1 MB Notification: Performance of Early Inline: time 4.993e-05/0.007198, allocations: 44.33 kB / 363.9 MB, free: 8.27 MB / 302.1 MB Notification: Performance of simplify1: time 6.22e-07/0.007204, allocations: 0 / 363.9 MB, free: 8.27 MB / 302.1 MB Notification: Performance of Alias: time 4.304e-05/0.007251, allocations: 52.61 kB / 363.9 MB, free: 8.18 MB / 302.1 MB Notification: Performance of simplify2: time 5.41e-07/0.007257, allocations: 0 / 363.9 MB, free: 8.18 MB / 302.1 MB Notification: Performance of Detect States: time 4.477e-05/0.007305, allocations: 24.19 kB / 363.9 MB, free: 8.141 MB / 302.1 MB Notification: Performance of Events: time 7.293e-06/0.007319, allocations: 11.94 kB / 364 MB, free: 8.129 MB / 302.1 MB Notification: Performance of Partitioning: time 6.833e-06/0.00733, allocations: 0 / 364 MB, free: 8.129 MB / 302.1 MB Notification: Performance of Causalize: time 4.037e-06/0.007338, allocations: 0 / 364 MB, free: 8.129 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 2.577e-05/0.007367, allocations: 40.36 kB / 364 MB, free: 8.062 MB / 302.1 MB Notification: Performance of Inline: time 0.0002151/0.007587, allocations: 121.2 kB / 364.1 MB, free: 7.91 MB / 302.1 MB Notification: Performance of Partitioning: time 1.197e-05/0.007607, allocations: 8.125 kB / 364.1 MB, free: 7.895 MB / 302.1 MB Notification: Performance of Cleanup: time 3.847e-06/0.007616, allocations: 0 / 364.1 MB, free: 7.895 MB / 302.1 MB Notification: Performance of Causalize: time 0.0001703/0.00779, allocations: 64.02 kB / 364.2 MB, free: 7.824 MB / 302.1 MB Notification: Performance of Tearing: time 9.027e-06/0.007808, allocations: 0 / 364.2 MB, free: 7.824 MB / 302.1 MB Notification: Performance of Initialization: time 3.91e-07/0.007814, allocations: 4 kB / 364.2 MB, free: 7.82 MB / 302.1 MB Notification: Performance of Tearing: time 8.72e-07/0.007819, allocations: 0 / 364.2 MB, free: 7.82 MB / 302.1 MB Notification: Performance of Categorize: time 4.117e-06/0.007827, allocations: 4 kB / 364.2 MB, free: 7.816 MB / 302.1 MB Notification: Performance of Solve: time 3.257e-05/0.007863, allocations: 12.27 kB / 364.2 MB, free: 7.805 MB / 302.1 MB Notification: Performance of Jacobian: time 2.284e-06/0.00787, allocations: 0 / 364.2 MB, free: 7.805 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 2.517e-05/0.007899, allocations: 15.73 kB / 364.2 MB, free: 7.797 MB / 302.1 MB Notification: Performance of SimCode: time 0.001613/0.009518, allocations: 1.423 MB / 365.6 MB, free: 6.414 MB / 302.1 MB Notification: Performance of Templates: time 0.005795/0.01532, allocations: 2.988 MB / 368.6 MB, free: 3.422 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel.makefile make -j1 -f Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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=Modelica_trunk_Modelica_Utilities_Examples_readRealParameterModel -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 Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel.o Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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=Modelica_trunk_Modelica_Utilities_Examples_readRealParameterModel -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 Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel_functions.o Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel_functions.c Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel_functions.c:215:98: error: use of undeclared identifier '_OMC_LIT6' _signOfNumber = omc_Modelica_Utilities_Strings_scanDelimiter(threadData, _string, _startIndex, _OMC_LIT6, _message ,&_nextIndex); ^ Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel_functions.c:219:34: error: use of undeclared identifier '_OMC_LIT5' if((stringEqual(_signOfNumber, _OMC_LIT5))) ^ Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel_functions.c:219:34: error: use of undeclared identifier '_OMC_LIT5' Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel_functions.c:227:95: error: use of undeclared identifier '_OMC_LIT6' _opString = omc_Modelica_Utilities_Strings_scanDelimiter(threadData, _string, _nextIndex, _OMC_LIT6, _message ,&_nextIndex); ^ Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel_functions.c:229:32: error: use of undeclared identifier '_OMC_LIT3' if((stringEqual(_opString, _OMC_LIT3))) ^ Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel_functions.c:229:32: error: use of undeclared identifier '_OMC_LIT3' Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel_functions.c:237:42: error: use of undeclared identifier '_OMC_LIT4' _result = ((stringEqual(_opString, _OMC_LIT4))?_result + _result2:_result - _result2); ^ Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel_functions.c:237:42: error: use of undeclared identifier '_OMC_LIT4' Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel_functions.c:291:27: error: use of undeclared identifier '_OMC_LIT7' tmpMeta1 = stringAppend(_OMC_LIT7,_fileName); ^ Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel_functions.c:292:36: error: use of undeclared identifier '_OMC_LIT8' tmpMeta2 = stringAppend(tmpMeta1,_OMC_LIT8); ^ Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel_functions.c:323:100: error: use of undeclared identifier '_OMC_LIT11' _delimiter = omc_Modelica_Utilities_Strings_scanDelimiter(threadData, _line, _nextIndex, _OMC_LIT11, _message2 ,&_nextIndex); ^ Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel_functions.c:327:100: error: use of undeclared identifier '_OMC_LIT13' _delimiter = omc_Modelica_Utilities_Strings_scanDelimiter(threadData, _line, _nextIndex, _OMC_LIT13, _message2 ,&_nextIndex); ^ Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel_functions.c:340:33: error: use of undeclared identifier '_OMC_LIT9' tmpMeta6 = stringAppend(_OMC_LIT9,_message); ^ Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel_functions.c:358:31: error: use of undeclared identifier '_OMC_LIT14' tmpMeta9 = stringAppend(_OMC_LIT14,_name); ^ Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel_functions.c:359:41: error: use of undeclared identifier '_OMC_LIT15' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT15); ^ Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel_functions.c:361:42: error: use of undeclared identifier '_OMC_LIT16' tmpMeta12 = stringAppend(tmpMeta11,_OMC_LIT16); ^ Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel_functions.c:421:82: error: use of undeclared identifier '_OMC_LIT18' if((((modelica_integer)_token._tokenType == 6) && (stringEqual(_token._string, _OMC_LIT18)))) ^ Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel_functions.c:421:82: error: use of undeclared identifier '_OMC_LIT18' Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel_functions.c:425:96: error: use of undeclared identifier '_OMC_LIT21' _delimiter = omc_Modelica_Utilities_Strings_scanDelimiter(threadData, _string, _nextIndex, _OMC_LIT21, _message ,&_nextIndex); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel_functions.o] Error 1