Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_ModelicaTest.Utilities.TestStrings") translateModel(ModelicaTest.Utilities.TestStrings,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 109.1 kB / 16.42 MB, free: 5.98 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.001172/0.001172, allocations: 193 kB / 17.36 MB, free: 5.578 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.308/1.308, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1835/0.1835, allocations: 39.96 MB / 310.6 MB, free: 4.016 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.733e-05/1.733e-05, allocations: 9.453 kB / 436.4 MB, free: 11.79 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.0009535/0.0009787, allocations: 488.9 kB / 436.9 MB, free: 11.31 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001731/0.00272, allocations: 1.272 MB / 438.1 MB, free: 10.03 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.402e-05/0.002745, allocations: 0 / 438.1 MB, free: 10.03 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.032e-05/0.002762, allocations: 4 kB / 438.1 MB, free: 10.03 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.398e-06/0.002772, allocations: 7.938 kB / 438.1 MB, free: 10.02 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:177:3-214:12:writable] Warning: Pure function 'Modelica.Utilities.Strings.count' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:261:3-308:15:writable] Warning: Pure function 'Modelica.Utilities.Strings.findLast' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:310:3-383:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.replace' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:1211:5-1277:25:writable] Warning: Pure function 'Modelica.Utilities.Strings.Advanced.skipLineComments' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:497:3-636:16:writable] Warning: Pure function 'Modelica.Utilities.Strings.scanToken' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipLineComments'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:965:3-1021:18:writable] Warning: Pure function 'Modelica.Utilities.Strings.syntaxError' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:638:3-686:15:writable] Warning: Pure function 'Modelica.Utilities.Strings.scanReal' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.scanReal'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:688:3-727:18:writable] Warning: Pure function 'Modelica.Utilities.Strings.scanInteger' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.scanInteger'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:729:3-776:18:writable] Warning: Pure function 'Modelica.Utilities.Strings.scanBoolean' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.scanIdentifier'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:778:3-810:17:writable] Warning: Pure function 'Modelica.Utilities.Strings.scanString' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.scanString'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:812:3-844:21:writable] Warning: Pure function 'Modelica.Utilities.Strings.scanIdentifier' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.scanIdentifier'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:846:3-933:20:writable] Warning: Pure function 'Modelica.Utilities.Strings.scanDelimiter' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:935:3-963:18:writable] Warning: Pure function 'Modelica.Utilities.Strings.scanNoToken' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipLineComments'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/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.001058/0.003844, allocations: 0.5725 MB / 438.7 MB, free: 9.445 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.399e-05/0.003905, allocations: 4 kB / 438.7 MB, free: 9.441 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.606e-05/0.003946, allocations: 0 / 438.7 MB, free: 9.441 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.505e-05/0.003966, allocations: 0 / 438.7 MB, free: 9.441 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.827e-05/0.003988, allocations: 3.938 kB / 438.7 MB, free: 9.438 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.12e-06/0.003997, allocations: 0 / 438.7 MB, free: 9.438 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00115/0.005154, allocations: 0.7379 MB / 439.5 MB, free: 8.707 MB / 318.1 MB Notification: Performance of combineBinaries: time 2.045e-05/0.005184, allocations: 7.984 kB / 439.5 MB, free: 8.699 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 9.12e-07/0.005189, allocations: 0 / 439.5 MB, free: 8.699 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.478e-05/0.005209, allocations: 0 / 439.5 MB, free: 8.699 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.601e-05/0.005238, allocations: 0 / 439.5 MB, free: 8.699 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.0001694/0.005412, allocations: 157.3 kB / 439.6 MB, free: 8.445 MB / 318.1 MB Notification: Performance of FunctionAlias: time 1.594e-05/0.005434, allocations: 3.953 kB / 439.6 MB, free: 8.441 MB / 318.1 MB Notification: Performance of Early Inline: time 4.441e-05/0.005482, allocations: 52.36 kB / 439.7 MB, free: 8.363 MB / 318.1 MB Notification: Performance of simplify1: time 1.502e-06/0.005489, allocations: 0 / 439.7 MB, free: 8.363 MB / 318.1 MB Notification: Performance of Alias: time 3.229e-05/0.005525, allocations: 56.62 kB / 439.7 MB, free: 8.27 MB / 318.1 MB Notification: Performance of simplify2: time 5.41e-07/0.00553, allocations: 0 / 439.7 MB, free: 8.27 MB / 318.1 MB Notification: Performance of Events: time 1.124e-05/0.005545, allocations: 3.953 kB / 439.7 MB, free: 8.266 MB / 318.1 MB Notification: Performance of Detect States: time 4.04e-05/0.005589, allocations: 35.62 kB / 439.8 MB, free: 8.219 MB / 318.1 MB Notification: Performance of Partitioning: time 3.279e-05/0.005627, allocations: 16.12 kB / 439.8 MB, free: 8.195 MB / 318.1 MB Notification: Performance of Causalize: time 8.606e-05/0.005717, allocations: 28.06 kB / 439.8 MB, free: 8.16 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 2.181e-05/0.005745, allocations: 48.67 kB / 439.9 MB, free: 8.086 MB / 318.1 MB Notification: Performance of Inline: time 4.762e-05/0.005798, allocations: 68.47 kB / 439.9 MB, free: 7.984 MB / 318.1 MB Notification: Performance of Partitioning: time 6.922e-06/0.005809, allocations: 12.12 kB / 439.9 MB, free: 7.965 MB / 318.1 MB Notification: Performance of Cleanup: time 6.432e-06/0.00582, allocations: 3.938 kB / 439.9 MB, free: 7.961 MB / 318.1 MB Notification: Performance of Causalize: time 3.993e-05/0.005864, allocations: 39.98 kB / 440 MB, free: 7.914 MB / 318.1 MB Notification: Performance of Tearing: time 5.21e-06/0.005876, allocations: 8.234 kB / 440 MB, free: 7.906 MB / 318.1 MB Notification: Performance of Initialization: time 3.11e-07/0.00588, allocations: 0 / 440 MB, free: 7.906 MB / 318.1 MB Notification: Performance of Tearing: time 6.52e-07/0.005885, allocations: 0 / 440 MB, free: 7.906 MB / 318.1 MB Notification: Performance of Categorize: time 5.681e-06/0.005894, allocations: 0 / 440 MB, free: 7.906 MB / 318.1 MB Notification: Performance of Solve: time 1.137e-05/0.005909, allocations: 4 kB / 440 MB, free: 7.902 MB / 318.1 MB Notification: Performance of Jacobian: time 2.585e-06/0.005915, allocations: 0 / 440 MB, free: 7.902 MB / 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.538e-05/0.005943, allocations: 14.47 kB / 440 MB, free: 7.895 MB / 318.1 MB Notification: Performance of SimCode: time 0.001348/0.007297, allocations: 1.554 MB / 441.6 MB, free: 6.379 MB / 318.1 MB Notification: Performance of Templates: time 0.005656/0.01296, allocations: 3.975 MB / 445.5 MB, free: 2.398 MB / 318.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings.makefile make -j1 -f ModelicaTest_3.2.2_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_2_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.2_ModelicaTest.Utilities.TestStrings.o ModelicaTest_3.2.2_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_2_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.2_ModelicaTest.Utilities.TestStrings_functions.o ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings_functions.c ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings_functions.c:261:21: error: use of undeclared identifier '_OMC_LIT0' _repeatedString = _OMC_LIT0; ^ ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings_functions.c:306:54: error: use of undeclared identifier '_OMC_LIT0' _result = ((_startIndex == ((modelica_integer) 1))?_OMC_LIT0:omc_Modelica_Utilities_Strings_substring(threadData, _string, ((modelica_integer) 1), _startIndex - ((modelica_integer) 1))); ^ ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings_functions.c:322:83: error: use of undeclared identifier '_OMC_LIT0' tmpMeta1 = stringAppend(_result,((_i_found - ((modelica_integer) 1) < _i)?_OMC_LIT0:omc_Modelica_Utilities_Strings_substring(threadData, _string, _i, _i_found - ((modelica_integer) 1)))); ^ ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings_functions.c:392:34: error: use of undeclared identifier '_OMC_LIT3' if((stringEqual(_identifier, _OMC_LIT3))) ^ ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings_functions.c:392:34: error: use of undeclared identifier '_OMC_LIT3' ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings_functions.c:398:36: error: use of undeclared identifier '_OMC_LIT2' if((stringEqual(_identifier, _OMC_LIT2))) ^ ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings_functions.c:398:36: error: use of undeclared identifier '_OMC_LIT2' ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings_functions.c:413:29: error: use of undeclared identifier '_OMC_LIT4' tmpMeta1 = stringAppend(_OMC_LIT4,_message); ^ ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings_functions.c:477:20: error: use of undeclared identifier '_OMC_LIT0' _delimiter = _OMC_LIT0; ^ ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings_functions.c:506:31: error: use of undeclared identifier '_OMC_LIT9' tmpMeta3 = stringAppend(_OMC_LIT9,string_array_get(_requiredDelimiters, 1, ((modelica_integer) 1))); ^ ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings_functions.c:507:40: error: use of undeclared identifier '_OMC_LIT10' tmpMeta4 = stringAppend(tmpMeta3,_OMC_LIT10); ^ ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings_functions.c:513:31: error: use of undeclared identifier '_OMC_LIT7' tmpMeta6 = stringAppend(_OMC_LIT7,omc_Modelica_Utilities_Strings_scanDelimiter_concatenate(threadData, _requiredDelimiters)); ^ ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings_functions.c:514:40: error: use of undeclared identifier '_OMC_LIT8' tmpMeta7 = stringAppend(tmpMeta6,_OMC_LIT8); ^ ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings_functions.c:550:29: error: use of undeclared identifier '_OMC_LIT11' tmpMeta1 = stringAppend(_OMC_LIT11,_message); ^ ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings_functions.c:587:31: error: use of undeclared identifier '_OMC_LIT13' tmpMeta1 = stringAppend(_OMC_LIT13,_message); ^ ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings_functions.c:592:31: error: use of undeclared identifier '_OMC_LIT12' tmpMeta2 = stringAppend(_OMC_LIT12,_message); ^ ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings_functions.c:626:29: error: use of undeclared identifier '_OMC_LIT14' tmpMeta1 = stringAppend(_OMC_LIT14,_message); ^ ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings_functions.c:658:31: error: use of undeclared identifier '_OMC_LIT16' tmpMeta1 = stringAppend(_OMC_LIT16,_message); ^ ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings_functions.c:663:31: error: use of undeclared identifier '_OMC_LIT15' tmpMeta2 = stringAppend(_OMC_LIT15,_message); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings_functions.o] Error 1