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.001212/0.001212, allocations: 111.7 kB / 18.47 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00131/0.00131, allocations: 213.1 kB / 19.42 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.317/1.317, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.869e-05/2.87e-05, allocations: 8.469 kB / 359.3 MB, free: 12.99 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.001921/0.001958, allocations: 1.19 MB / 360.5 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002924/0.004893, allocations: 2.08 MB / 362.6 MB, free: 9.699 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.527e-05/0.00493, allocations: 0 / 362.6 MB, free: 9.699 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.749e-05/0.004954, allocations: 0 / 362.6 MB, free: 9.699 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.001176/0.006148, allocations: 458.6 kB / 363 MB, free: 9.25 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.83e-05/0.006185, allocations: 11.91 kB / 363 MB, free: 9.238 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 6.306e-05/0.006256, allocations: 8 kB / 363 MB, free: 9.23 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.075e-05/0.006302, allocations: 4 kB / 363 MB, free: 9.227 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.543e-05/0.006333, allocations: 7.938 kB / 363.1 MB, free: 9.219 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000267/0.006605, allocations: 15.92 kB / 363.1 MB, free: 9.203 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.277e-06/0.006623, allocations: 0 / 363.1 MB, free: 9.203 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006595/0.007288, allocations: 0.5112 MB / 363.6 MB, free: 8.691 MB / 302.1 MB Notification: Performance of combineBinaries: time 4.127e-05/0.00734, allocations: 19.73 kB / 363.6 MB, free: 8.672 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 7.655e-06/0.007357, allocations: 15.91 kB / 363.6 MB, free: 8.656 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 1.517e-05/0.007378, allocations: 7.938 kB / 363.6 MB, free: 8.648 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.585e-06/0.00739, allocations: 0 / 363.6 MB, free: 8.648 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.0002726/0.007668, allocations: 197.5 kB / 363.8 MB, free: 8.352 MB / 302.1 MB Notification: Performance of FunctionAlias: time 1.239e-05/0.007692, allocations: 7.984 kB / 363.8 MB, free: 8.344 MB / 302.1 MB Notification: Performance of Early Inline: time 5.181e-05/0.007749, allocations: 44.31 kB / 363.9 MB, free: 8.273 MB / 302.1 MB Notification: Performance of simplify1: time 3.026e-06/0.007758, allocations: 7.984 kB / 363.9 MB, free: 8.266 MB / 302.1 MB Notification: Performance of Alias: time 5.097e-05/0.007813, allocations: 48.62 kB / 363.9 MB, free: 8.18 MB / 302.1 MB Notification: Performance of simplify2: time 4.91e-07/0.007818, allocations: 0 / 363.9 MB, free: 8.18 MB / 302.1 MB Notification: Performance of Events: time 4.488e-06/0.007827, allocations: 0 / 363.9 MB, free: 8.18 MB / 302.1 MB Notification: Performance of Detect States: time 0.0002071/0.008041, allocations: 32.19 kB / 364 MB, free: 8.133 MB / 302.1 MB Notification: Performance of Partitioning: time 1.306e-05/0.00806, allocations: 0 / 364 MB, free: 8.133 MB / 302.1 MB Notification: Performance of Causalize: time 6.092e-06/0.00807, allocations: 0 / 364 MB, free: 8.133 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 3.012e-05/0.008105, allocations: 32.38 kB / 364 MB, free: 8.074 MB / 302.1 MB Notification: Performance of Inline: time 0.0001589/0.00827, allocations: 101.2 kB / 364.1 MB, free: 7.941 MB / 302.1 MB Notification: Performance of Partitioning: time 1.48e-05/0.008293, allocations: 12.12 kB / 364.1 MB, free: 7.922 MB / 302.1 MB Notification: Performance of Cleanup: time 3.606e-06/0.008302, allocations: 0 / 364.1 MB, free: 7.922 MB / 302.1 MB Notification: Performance of Causalize: time 0.0001834/0.008491, allocations: 52.17 kB / 364.1 MB, free: 7.863 MB / 302.1 MB Notification: Performance of Tearing: time 6.362e-06/0.008506, allocations: 144 / 364.1 MB, free: 7.863 MB / 302.1 MB Notification: Performance of Initialization: time 3.31e-07/0.008512, allocations: 4 kB / 364.2 MB, free: 7.859 MB / 302.1 MB Notification: Performance of Tearing: time 2.765e-06/0.008519, allocations: 3.984 kB / 364.2 MB, free: 7.855 MB / 302.1 MB Notification: Performance of Categorize: time 2.806e-06/0.008526, allocations: 4 kB / 364.2 MB, free: 7.852 MB / 302.1 MB Notification: Performance of Solve: time 2.703e-05/0.008556, allocations: 4 kB / 364.2 MB, free: 7.848 MB / 302.1 MB Notification: Performance of Jacobian: time 3.376e-06/0.008564, allocations: 0 / 364.2 MB, free: 7.848 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.183e-05/0.0086, allocations: 19.5 kB / 364.2 MB, free: 7.84 MB / 302.1 MB Notification: Performance of SimCode: time 0.001701/0.01031, allocations: 1.416 MB / 365.6 MB, free: 6.465 MB / 302.1 MB Notification: Performance of Templates: time 0.005544/0.01586, allocations: 3.008 MB / 368.6 MB, free: 3.453 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