Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Utilities.TestStrings,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings") translateModel(ModelicaTest.Utilities.TestStrings,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001165/0.001166, allocations: 115.8 kB / 17.1 MB, free: 5.969 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.0009802/0.0009802, allocations: 198.7 kB / 18.03 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.502/1.502, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2389/0.2389, allocations: 43.53 MB / 314.8 MB, free: 456 kB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.66e-05/2.661e-05, allocations: 5.938 kB / 442.4 MB, free: 5.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.001343/0.001378, allocations: 490.7 kB / 442.9 MB, free: 5.258 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00228/0.003668, allocations: 1.295 MB / 444.2 MB, free: 3.957 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.015e-05/0.0037, allocations: 0 / 444.2 MB, free: 3.957 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.605e-05/0.003724, allocations: 0 / 444.2 MB, free: 3.957 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.396e-06/0.003737, allocations: 4 kB / 444.2 MB, free: 3.953 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00132/0.00507, allocations: 0.5761 MB / 444.8 MB, free: 3.379 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.995e-05/0.00516, allocations: 3.938 kB / 444.8 MB, free: 3.375 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.373e-05/0.005241, allocations: 7.922 kB / 444.8 MB, free: 3.367 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.293e-05/0.005279, allocations: 4 kB / 444.8 MB, free: 3.363 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.708e-05/0.005321, allocations: 0 / 444.8 MB, free: 3.363 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.979e-06/0.005335, allocations: 0 / 444.8 MB, free: 3.363 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01154/0.01688, allocations: 2.519 MB / 447.3 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of combineBinaries: time 3.922e-05/0.01694, allocations: 11.89 kB / 447.3 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 1.473e-06/0.01694, allocations: 3.938 kB / 447.3 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.682e-05/0.01696, allocations: 0 / 447.3 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.923e-05/0.01702, allocations: 0 / 447.3 MB, free: 0.9336 MB / 318.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.000253/0.01728, allocations: 157.3 kB / 447.5 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of FunctionAlias: time 2.395e-05/0.0173, allocations: 8 kB / 447.5 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of Early Inline: time 5.401e-05/0.01737, allocations: 44.33 kB / 447.5 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of simplify1: time 1.543e-06/0.01737, allocations: 0 / 447.5 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of Alias: time 4.285e-05/0.01742, allocations: 56.55 kB / 447.6 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of simplify2: time 1.142e-06/0.01743, allocations: 7.984 kB / 447.6 MB, free: 0.5 MB / 318.1 MB Notification: Performance of Events: time 1.591e-05/0.01745, allocations: 0 / 447.6 MB, free: 0.5 MB / 318.1 MB Notification: Performance of Detect States: time 6.299e-05/0.01751, allocations: 28.2 kB / 447.6 MB, free: 468 kB / 318.1 MB Notification: Performance of Partitioning: time 5.021e-05/0.01757, allocations: 12.12 kB / 447.6 MB, free: 448 kB / 318.1 MB Notification: Performance of Causalize: time 0.000126/0.0177, allocations: 32.09 kB / 447.6 MB, free: 408 kB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 2.447e-05/0.01773, allocations: 52.61 kB / 447.7 MB, free: 328 kB / 318.1 MB Notification: Performance of Inline: time 5.155e-05/0.01779, allocations: 60.5 kB / 447.8 MB, free: 232 kB / 318.1 MB Notification: Performance of Partitioning: time 8.566e-06/0.01781, allocations: 16.05 kB / 447.8 MB, free: 208 kB / 318.1 MB Notification: Performance of Cleanup: time 9.247e-06/0.01782, allocations: 7.938 kB / 447.8 MB, free: 200 kB / 318.1 MB Notification: Performance of Causalize: time 4.271e-05/0.01787, allocations: 24.28 kB / 447.8 MB, free: 168 kB / 318.1 MB Notification: Performance of Tearing: time 7.324e-06/0.01788, allocations: 8.078 kB / 447.8 MB, free: 160 kB / 318.1 MB Notification: Performance of Initialization: time 3.01e-07/0.01789, allocations: 0 / 447.8 MB, free: 160 kB / 318.1 MB Notification: Performance of Tearing: time 6.81e-07/0.01789, allocations: 0 / 447.8 MB, free: 160 kB / 318.1 MB Notification: Performance of Categorize: time 8.135e-06/0.0179, allocations: 4 kB / 447.8 MB, free: 156 kB / 318.1 MB Notification: Performance of Solve: time 1.661e-05/0.01792, allocations: 7.922 kB / 447.8 MB, free: 148 kB / 318.1 MB Notification: Performance of Jacobian: time 3.056e-06/0.01793, allocations: 0 / 447.8 MB, free: 148 kB / 318.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.978e-05/0.01797, allocations: 14.42 kB / 447.8 MB, free: 140 kB / 318.1 MB Notification: Performance of SimCode: time 0.001462/0.01943, allocations: 1.133 MB / 449 MB, free: 14.98 MB / 334.1 MB Notification: Performance of Templates: time 0.004678/0.02412, allocations: 1.971 MB / 450.9 MB, free: 13.01 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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_3_2_3_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_3.2.3_ModelicaTest.Utilities.TestStrings.o ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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_3_2_3_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_3.2.3_ModelicaTest.Utilities.TestStrings_functions.o ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings_functions.c ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings_functions.c:346:52: error: use of undeclared identifier '_OMC_LIT2' omc_Modelica_Utilities_Streams_print(threadData, _OMC_LIT2, _OMC_LIT0); ^ ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings_functions.c:346:63: error: use of undeclared identifier '_OMC_LIT0' omc_Modelica_Utilities_Streams_print(threadData, _OMC_LIT2, _OMC_LIT0); ^ ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings_functions.c:348:52: error: use of undeclared identifier '_OMC_LIT2' omc_Modelica_Utilities_Streams_print(threadData, _OMC_LIT2, _logFile); ^ ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings_functions.c:350:58: error: use of undeclared identifier '_OMC_LIT3' _i = omc_Modelica_Utilities_Strings_length(threadData, _OMC_LIT3); ^ ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings_functions.c:357:53: error: use of undeclared identifier '_OMC_LIT4' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT4)); ^ ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings_functions.c:362:61: error: use of undeclared identifier '_OMC_LIT5' _s = omc_Modelica_Utilities_Strings_substring(threadData, _OMC_LIT5, ((modelica_integer) 3), ((modelica_integer) 3)); ^ ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings_functions.c:365:26: error: use of undeclared identifier '_OMC_LIT6' if(!(stringEqual(_s, _OMC_LIT6))) ^ ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings_functions.c:365:26: error: use of undeclared identifier '_OMC_LIT6' ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings_functions.c:369:53: error: use of undeclared identifier '_OMC_LIT7' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT7)); ^ ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings_functions.c:374:61: error: use of undeclared identifier '_OMC_LIT5' _s = omc_Modelica_Utilities_Strings_substring(threadData, _OMC_LIT5, ((modelica_integer) 3), ((modelica_integer) 5)); ^ ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings_functions.c:377:26: error: use of undeclared identifier '_OMC_LIT8' if(!(stringEqual(_s, _OMC_LIT8))) ^ ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings_functions.c:377:26: error: use of undeclared identifier '_OMC_LIT8' ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings_functions.c:381:53: error: use of undeclared identifier '_OMC_LIT9' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT9)); ^ ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings_functions.c:386:8: error: use of undeclared identifier '_OMC_LIT10' _s = _OMC_LIT10; ^ ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings_functions.c:389:26: error: use of undeclared identifier '_OMC_LIT10' if(!(stringEqual(_s, _OMC_LIT10))) ^ ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings_functions.c:389:26: error: use of undeclared identifier '_OMC_LIT10' ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings_functions.c:393:53: error: use of undeclared identifier '_OMC_LIT11' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT11)); ^ ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings_functions.c:398:59: error: use of undeclared identifier '_OMC_LIT12' _c = omc_Modelica_Utilities_Strings_compare(threadData, _OMC_LIT12, _OMC_LIT13, 0 /* false */); ^ ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings_functions.c:398: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=] 20 errors generated. make: *** [: ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings_functions.o] Error 1