Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Utilities.TestStrings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings") translateModel(ModelicaTest.Utilities.TestStrings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00106/0.00106, allocations: 115.6 kB / 18.47 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00113/0.00113, allocations: 206.3 kB / 19.42 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.146/1.146, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1728/0.1728, allocations: 46.09 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.684e-05/1.686e-05, allocations: 2.281 kB / 481.9 MB, free: 4.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.0009828/0.001008, allocations: 489.5 kB / 482.4 MB, free: 3.684 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001927/0.002945, allocations: 1.297 MB / 483.7 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.287e-05/0.002969, allocations: 0 / 483.7 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.093e-05/0.002985, allocations: 3.938 kB / 483.7 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.008e-06/0.002993, allocations: 0 / 483.7 MB, free: 2.375 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Utilities.mo:4:3-219:14:writable] Warning: Pure function 'ModelicaTest.Utilities.Strings' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001051/0.004049, allocations: 0.5882 MB / 484.3 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.375e-05/0.004096, allocations: 0 / 484.3 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.656e-05/0.004128, allocations: 0 / 484.3 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.307e-05/0.004145, allocations: 7.984 kB / 484.3 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.211e-05/0.004162, allocations: 0 / 484.3 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.448e-06/0.00417, allocations: 0 / 484.3 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01064/0.01482, allocations: 2.523 MB / 486.8 MB, free: 15.77 MB / 366.1 MB Notification: Performance of combineBinaries: time 1.781e-05/0.01484, allocations: 3.984 kB / 486.8 MB, free: 15.77 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 1.884e-06/0.01485, allocations: 3.906 kB / 486.8 MB, free: 15.76 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.807e-06/0.01487, allocations: 3.938 kB / 486.8 MB, free: 15.76 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.313e-05/0.01489, allocations: 4 kB / 486.8 MB, free: 15.75 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 (1) * Number of variables: 1 (1) Notification: Performance of Bindings: time 0.0002044/0.0151, allocations: 161.4 kB / 487 MB, free: 15.5 MB / 366.1 MB Notification: Performance of FunctionAlias: time 6.963e-06/0.01512, allocations: 0 / 487 MB, free: 15.5 MB / 366.1 MB Notification: Performance of Early Inline: time 5.453e-05/0.01517, allocations: 48.36 kB / 487 MB, free: 15.42 MB / 366.1 MB Notification: Performance of simplify1: time 1.352e-06/0.01518, allocations: 0 / 487 MB, free: 15.42 MB / 366.1 MB Notification: Performance of Alias: time 4.016e-05/0.01523, allocations: 52.58 kB / 487.1 MB, free: 15.33 MB / 366.1 MB Notification: Performance of simplify2: time 5.71e-07/0.01523, allocations: 4 kB / 487.1 MB, free: 15.33 MB / 366.1 MB Notification: Performance of Events: time 1.172e-05/0.01525, allocations: 3.984 kB / 487.1 MB, free: 15.32 MB / 366.1 MB Notification: Performance of Detect States: time 4.725e-05/0.0153, allocations: 32.19 kB / 487.1 MB, free: 15.28 MB / 366.1 MB Notification: Performance of Partitioning: time 3.626e-05/0.01534, allocations: 16.11 kB / 487.1 MB, free: 15.25 MB / 366.1 MB Notification: Performance of Causalize: time 8.633e-05/0.01543, allocations: 24.06 kB / 487.1 MB, free: 15.22 MB / 366.1 MB Notification: Performance of After Index Reduction Inline: time 3.561e-05/0.01547, allocations: 48.55 kB / 487.2 MB, free: 15.15 MB / 366.1 MB Notification: Performance of Inline: time 5.257e-05/0.01553, allocations: 60.5 kB / 487.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of Partitioning: time 9.367e-06/0.01555, allocations: 12.11 kB / 487.3 MB, free: 15.04 MB / 366.1 MB Notification: Performance of Cleanup: time 7.364e-06/0.01556, allocations: 8 kB / 487.3 MB, free: 15.03 MB / 366.1 MB Notification: Performance of Causalize: time 4.972e-05/0.01561, allocations: 24.06 kB / 487.3 MB, free: 15 MB / 366.1 MB Notification: Performance of Tearing: time 5.581e-06/0.01563, allocations: 0 / 487.3 MB, free: 15 MB / 366.1 MB Notification: Performance of Initialization: time 1.784e-06/0.01563, allocations: 4.188 kB / 487.3 MB, free: 14.99 MB / 366.1 MB Notification: Performance of Tearing: time 1.052e-06/0.01564, allocations: 0 / 487.3 MB, free: 14.99 MB / 366.1 MB Notification: Performance of Categorize: time 8.145e-06/0.01565, allocations: 11.97 kB / 487.3 MB, free: 14.98 MB / 366.1 MB Notification: Performance of Solve: time 1.05e-05/0.01566, allocations: 0 / 487.3 MB, free: 14.98 MB / 366.1 MB Notification: Performance of Jacobian: time 3.407e-06/0.01567, allocations: 3.938 kB / 487.3 MB, free: 14.98 MB / 366.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: ......... 1 * 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: ................. 1 (1) {result} * 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: ............ 1 (algorithm:1, 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: ........... 0 (scalar:0, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, 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.016e-05/0.01569, allocations: 9.828 kB / 487.3 MB, free: 14.97 MB / 366.1 MB Notification: Performance of SimCode: time 0.001062/0.01676, allocations: 1.158 MB / 488.5 MB, free: 13.85 MB / 366.1 MB Notification: Performance of Templates: time 0.003674/0.02044, allocations: 1.997 MB / 490.5 MB, free: 11.86 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.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=ModelicaTest_trunk_ModelicaTest_Utilities_TestStrings -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 ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.o ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.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=ModelicaTest_trunk_ModelicaTest_Utilities_TestStrings -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 ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings_functions.o ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings_functions.c ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings_functions.c:12:3: warning: implicit declaration of function 'ModelicaInternal_print' is invalid in C99 [-Wimplicit-function-declaration] ModelicaInternal_print(MMC_STRINGDATA(_string), MMC_STRINGDATA(_fileName)); ^ ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings_functions.c:23: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); ^ ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings_functions.c:43:15: warning: implicit declaration of function 'ModelicaStrings_hashString' is invalid in C99 [-Wimplicit-function-declaration] _hash_ext = ModelicaStrings_hashString(MMC_STRINGDATA(_string)); ^ ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings_functions.c:61:17: warning: implicit declaration of function 'ModelicaStrings_length' is invalid in C99 [-Wimplicit-function-declaration] _result_ext = ModelicaStrings_length(MMC_STRINGDATA(_string)); ^ ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings_functions.c:83: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); ^ ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings_functions.c:83: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); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings_functions.c:109:3: warning: implicit declaration of function 'ModelicaStrings_scanIdentifier' is invalid in C99 [-Wimplicit-function-declaration] ModelicaStrings_scanIdentifier(MMC_STRINGDATA(_string), _startIndex_ext, &_nextIndex_ext, &_identifier_ext); ^ ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings_functions.c:139:3: warning: implicit declaration of function 'ModelicaStrings_scanInteger' is invalid in C99 [-Wimplicit-function-declaration] ModelicaStrings_scanInteger(MMC_STRINGDATA(_string), _startIndex_ext, _unsigned_ext, &_nextIndex_ext, &_number_ext); ^ ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings_functions.c:172: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); ^ ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings_functions.c:203:3: warning: implicit declaration of function 'ModelicaStrings_scanString' is invalid in C99 [-Wimplicit-function-declaration] ModelicaStrings_scanString(MMC_STRINGDATA(_string), _startIndex_ext, &_nextIndex_ext, &_string2_ext); ^ ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings_functions.c:228:20: warning: implicit declaration of function 'ModelicaStrings_skipWhiteSpace' is invalid in C99 [-Wimplicit-function-declaration] _nextIndex_ext = ModelicaStrings_skipWhiteSpace(MMC_STRINGDATA(_string), _startIndex_ext); ^ ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings_functions.c:348:52: error: use of undeclared identifier '_OMC_LIT2' omc_Modelica_Utilities_Streams_print(threadData, _OMC_LIT2, _OMC_LIT0); ^ ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings_functions.c:348:63: error: use of undeclared identifier '_OMC_LIT0' omc_Modelica_Utilities_Streams_print(threadData, _OMC_LIT2, _OMC_LIT0); ^ ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings_functions.c:350:52: error: use of undeclared identifier '_OMC_LIT2' omc_Modelica_Utilities_Streams_print(threadData, _OMC_LIT2, _logFile); ^ ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings_functions.c:352:58: error: use of undeclared identifier '_OMC_LIT3' _i = omc_Modelica_Utilities_Strings_length(threadData, _OMC_LIT3); ^ ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings_functions.c:359:53: error: use of undeclared identifier '_OMC_LIT4' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT4)); ^ ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings_functions.c:364:61: error: use of undeclared identifier '_OMC_LIT5' _s = omc_Modelica_Utilities_Strings_substring(threadData, _OMC_LIT5, ((modelica_integer) 3), ((modelica_integer) 3)); ^ ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings_functions.c:367:26: error: use of undeclared identifier '_OMC_LIT6' if(!(stringEqual(_s, _OMC_LIT6))) ^ ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings_functions.c:367:26: error: use of undeclared identifier '_OMC_LIT6' ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings_functions.c:371:53: error: use of undeclared identifier '_OMC_LIT7' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT7)); ^ ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings_functions.c:376:61: error: use of undeclared identifier '_OMC_LIT5' _s = omc_Modelica_Utilities_Strings_substring(threadData, _OMC_LIT5, ((modelica_integer) 3), ((modelica_integer) 5)); ^ ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings_functions.c:379:26: error: use of undeclared identifier '_OMC_LIT8' if(!(stringEqual(_s, _OMC_LIT8))) ^ ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings_functions.c:379:26: error: use of undeclared identifier '_OMC_LIT8' ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings_functions.c:383:53: error: use of undeclared identifier '_OMC_LIT9' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT9)); ^ ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings_functions.c:388:8: error: use of undeclared identifier '_OMC_LIT10' _s = _OMC_LIT10; ^ ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings_functions.c:391:26: error: use of undeclared identifier '_OMC_LIT10' if(!(stringEqual(_s, _OMC_LIT10))) ^ ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings_functions.c:391:26: error: use of undeclared identifier '_OMC_LIT10' ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings_functions.c:395:53: error: use of undeclared identifier '_OMC_LIT11' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT11)); ^ ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings_functions.c:400:59: error: use of undeclared identifier '_OMC_LIT12' _c = omc_Modelica_Utilities_Strings_compare(threadData, _OMC_LIT12, _OMC_LIT13, 0 /* false */); ^ ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings_functions.c:400:71: error: use of undeclared identifier '_OMC_LIT13' _c = omc_Modelica_Utilities_Strings_compare(threadData, _OMC_LIT12, _OMC_LIT13, 0 /* false */); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 11 warnings and 20 errors generated. make: *** [: ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings_functions.o] Error 1