Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.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.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles") translateModel(ModelicaTest.Utilities.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00106/0.00106, allocations: 109.9 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.001127/0.001127, allocations: 218.2 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.14/1.14, 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.1736/0.1736, allocations: 46.1 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.778e-06/9.788e-06, allocations: 4.953 kB / 481.9 MB, free: 4.168 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestFiles): time 0.0009781/0.000996, allocations: 0.4975 MB / 482.4 MB, free: 3.676 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001472/0.002479, allocations: 1.261 MB / 483.6 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.722e-05/0.002506, allocations: 0 / 483.6 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.272e-05/0.002524, allocations: 3.938 kB / 483.6 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001158/0.002645, allocations: 7.984 kB / 483.7 MB, free: 2.395 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Utilities.mo:455:3-487:12:writable] Warning: Pure function 'ModelicaTest.Utilities.Files' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0008498/0.003507, allocations: 241.8 kB / 483.9 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.567e-05/0.00356, allocations: 11.98 kB / 483.9 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.858e-05/0.003596, allocations: 7.922 kB / 483.9 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.404e-05/0.003615, allocations: 4 kB / 483.9 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.868e-05/0.003678, allocations: 11.94 kB / 483.9 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.072e-06/0.00369, allocations: 0 / 483.9 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002554/0.006248, allocations: 0.6697 MB / 484.6 MB, free: 1.574 MB / 350.1 MB Notification: Performance of combineBinaries: time 2.183e-05/0.006284, allocations: 11.83 kB / 484.6 MB, free: 1.562 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 3.987e-06/0.006294, allocations: 11.84 kB / 484.6 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.011e-05/0.00631, allocations: 4 kB / 484.6 MB, free: 1.547 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.244e-06/0.006321, allocations: 0 / 484.6 MB, free: 1.547 MB / 350.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.0002053/0.006531, allocations: 177.3 kB / 484.8 MB, free: 1.273 MB / 350.1 MB Notification: Performance of FunctionAlias: time 1.019e-05/0.006546, allocations: 7.891 kB / 484.8 MB, free: 1.266 MB / 350.1 MB Notification: Performance of Early Inline: time 5.675e-05/0.006607, allocations: 48.42 kB / 484.8 MB, free: 1.191 MB / 350.1 MB Notification: Performance of simplify1: time 2.936e-06/0.006615, allocations: 7.938 kB / 484.9 MB, free: 1.184 MB / 350.1 MB Notification: Performance of Alias: time 3.826e-05/0.006659, allocations: 52.62 kB / 484.9 MB, free: 1.094 MB / 350.1 MB Notification: Performance of simplify2: time 6.01e-07/0.006664, allocations: 0 / 484.9 MB, free: 1.094 MB / 350.1 MB Notification: Performance of Events: time 9.278e-06/0.006677, allocations: 0 / 484.9 MB, free: 1.094 MB / 350.1 MB Notification: Performance of Detect States: time 5.238e-05/0.006733, allocations: 40.17 kB / 484.9 MB, free: 1.039 MB / 350.1 MB Notification: Performance of Partitioning: time 4.468e-05/0.006784, allocations: 24.09 kB / 485 MB, free: 1.008 MB / 350.1 MB Notification: Performance of Causalize: time 7.464e-05/0.006864, allocations: 24.06 kB / 485 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 4.053e-05/0.006912, allocations: 56.36 kB / 485 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of Inline: time 7.673e-05/0.006994, allocations: 72.48 kB / 485.1 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of Partitioning: time 8.516e-06/0.00701, allocations: 8.125 kB / 485.1 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of Cleanup: time 1.038e-05/0.007025, allocations: 4 kB / 485.1 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of Causalize: time 4.872e-05/0.007078, allocations: 36.23 kB / 485.2 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of Tearing: time 5.641e-06/0.007091, allocations: 0 / 485.2 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of Initialization: time 2.9e-07/0.007095, allocations: 0 / 485.2 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of Tearing: time 1.012e-06/0.0071, allocations: 0 / 485.2 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of Categorize: time 6.362e-06/0.007109, allocations: 4 kB / 485.2 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of Solve: time 1.013e-05/0.007123, allocations: 0 / 485.2 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of Jacobian: time 3.426e-06/0.00713, allocations: 3.938 kB / 485.2 MB, free: 0.7188 MB / 350.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.012e-05/0.007154, allocations: 13.67 kB / 485.2 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of SimCode: time 0.0009415/0.0081, allocations: 1.107 MB / 486.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of Templates: time 0.00334/0.01145, allocations: 1.514 MB / 487.8 MB, free: 14.13 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.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_TestFiles -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.TestFiles.o ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.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_TestFiles -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.TestFiles_functions.o ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles_functions.c ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles_functions.c:38:33: error: use of undeclared identifier '_OMC_LIT3' tmpMeta1 = stringAppend(_OMC_LIT3,_name); ^ ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles_functions.c:39:42: error: use of undeclared identifier '_OMC_LIT1' tmpMeta2 = stringAppend(tmpMeta1,_OMC_LIT1); ^ ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles_functions.c:40:42: error: use of undeclared identifier '_OMC_LIT4' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT4); ^ ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles_functions.c:45:33: error: use of undeclared identifier '_OMC_LIT0' tmpMeta4 = stringAppend(_OMC_LIT0,_name); ^ ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles_functions.c:46:42: error: use of undeclared identifier '_OMC_LIT1' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT1); ^ ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles_functions.c:47:42: error: use of undeclared identifier '_OMC_LIT2' tmpMeta6 = stringAppend(tmpMeta5,_OMC_LIT2); ^ ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles_functions.c:78:29: error: use of undeclared identifier '_OMC_LIT8' tmpMeta1 = stringAppend(_OMC_LIT8,_directoryName); ^ ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles_functions.c:79:38: error: use of undeclared identifier '_OMC_LIT9' tmpMeta2 = stringAppend(tmpMeta1,_OMC_LIT9); ^ ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles_functions.c:80:64: error: use of undeclared identifier '_OMC_LIT7' omc_Modelica_Utilities_Streams_print(threadData, tmpMeta2, _OMC_LIT7); ^ ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles_functions.c:88:56: error: use of undeclared identifier '_OMC_LIT10' omc_Modelica_Utilities_Streams_print(threadData, _OMC_LIT10, _OMC_LIT7); ^ ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles_functions.c:88:68: error: use of undeclared identifier '_OMC_LIT7' omc_Modelica_Utilities_Streams_print(threadData, _OMC_LIT10, _OMC_LIT7); ^ ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles_functions.c:96:35: error: use of undeclared identifier '_OMC_LIT11' tmpMeta3 = stringAppend(_OMC_LIT11,string_array_get(_files, 1, _i)); ^ ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles_functions.c:97:70: error: use of undeclared identifier '_OMC_LIT7' omc_Modelica_Utilities_Streams_print(threadData, tmpMeta3, _OMC_LIT7); ^ ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles_functions.c:101:56: error: use of undeclared identifier '_OMC_LIT12' omc_Modelica_Utilities_Streams_print(threadData, _OMC_LIT12, _OMC_LIT7); ^ ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles_functions.c:101:68: error: use of undeclared identifier '_OMC_LIT7' omc_Modelica_Utilities_Streams_print(threadData, _OMC_LIT12, _OMC_LIT7); ^ ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles_functions.c:106:56: error: use of undeclared identifier '_OMC_LIT13' omc_Modelica_Utilities_Streams_print(threadData, _OMC_LIT13, _OMC_LIT7); ^ ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles_functions.c:106:68: error: use of undeclared identifier '_OMC_LIT7' omc_Modelica_Utilities_Streams_print(threadData, _OMC_LIT13, _OMC_LIT7); ^ ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles_functions.c:114:35: error: use of undeclared identifier '_OMC_LIT11' tmpMeta7 = stringAppend(_OMC_LIT11,string_array_get(_files, 1, _i)); ^ ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles_functions.c:115:70: error: use of undeclared identifier '_OMC_LIT7' omc_Modelica_Utilities_Streams_print(threadData, tmpMeta7, _OMC_LIT7); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles_functions.o] Error 1