Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Utilities.TestFiles.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Utilities.TestFiles") translateModel(ModelicaTest.Utilities.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Utilities.TestFiles") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001645/0.001645, allocations: 106.2 kB / 18.46 MB, free: 4.594 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.00191/0.00191, allocations: 188.3 kB / 19.39 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 222.9 MB / 243.1 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2366/0.2366, allocations: 44.19 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.102e-05/3.103e-05, allocations: 2.281 kB / 471.1 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestFiles): time 0.001449/0.001488, allocations: 496.5 kB / 471.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00201/0.003509, allocations: 1.269 MB / 472.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.956e-05/0.00355, allocations: 0 / 472.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.99e-05/0.003578, allocations: 0 / 472.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002103/0.003793, allocations: 4 kB / 472.9 MB, free: 11.49 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Utilities.mo:456:3-488: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.001222/0.005031, allocations: 250 kB / 473.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.372e-05/0.005124, allocations: 7.984 kB / 473.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.107e-05/0.005181, allocations: 4 kB / 473.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.252e-05/0.005211, allocations: 4 kB / 473.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.672e-05/0.005302, allocations: 7.984 kB / 473.2 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.028e-05/0.005318, allocations: 0 / 473.2 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002896/0.008219, allocations: 0.6839 MB / 473.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of combineBinaries: time 4.122e-05/0.008271, allocations: 15.83 kB / 473.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 6.041e-06/0.008282, allocations: 7.906 kB / 473.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.483e-05/0.008301, allocations: 7.875 kB / 473.9 MB, free: 10.63 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.109e-05/0.008316, allocations: 0 / 473.9 MB, free: 10.63 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.0003092/0.00863, allocations: 181.3 kB / 474 MB, free: 10.36 MB / 350.1 MB Notification: Performance of FunctionAlias: time 1.126e-05/0.008647, allocations: 4 kB / 474 MB, free: 10.35 MB / 350.1 MB Notification: Performance of Early Inline: time 6.735e-05/0.008719, allocations: 52.31 kB / 474.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of simplify1: time 1.783e-06/0.00873, allocations: 3.938 kB / 474.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of Alias: time 4.817e-05/0.008783, allocations: 52.62 kB / 474.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of simplify2: time 5.31e-07/0.008791, allocations: 4 kB / 474.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of Events: time 1.396e-05/0.008811, allocations: 7.984 kB / 474.2 MB, free: 10.17 MB / 350.1 MB Notification: Performance of Detect States: time 7.167e-05/0.008886, allocations: 32.19 kB / 474.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of Partitioning: time 4.94e-05/0.008941, allocations: 12.12 kB / 474.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of Causalize: time 0.0001107/0.009058, allocations: 28.05 kB / 474.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 4.867e-05/0.009113, allocations: 60.55 kB / 474.3 MB, free: 9.98 MB / 350.1 MB Notification: Performance of Inline: time 8.13e-05/0.009201, allocations: 72.47 kB / 474.4 MB, free: 9.875 MB / 350.1 MB Notification: Performance of Partitioning: time 9.618e-06/0.009217, allocations: 8.125 kB / 474.4 MB, free: 9.859 MB / 350.1 MB Notification: Performance of Cleanup: time 9.928e-06/0.009231, allocations: 4 kB / 474.4 MB, free: 9.855 MB / 350.1 MB Notification: Performance of Causalize: time 5.416e-05/0.009289, allocations: 36.03 kB / 474.4 MB, free: 9.812 MB / 350.1 MB Notification: Performance of Tearing: time 4.919e-06/0.009302, allocations: 0 / 474.4 MB, free: 9.812 MB / 350.1 MB Notification: Performance of Initialization: time 2.91e-07/0.009306, allocations: 192 / 474.4 MB, free: 9.812 MB / 350.1 MB Notification: Performance of Tearing: time 6.71e-07/0.009313, allocations: 4 kB / 474.4 MB, free: 9.809 MB / 350.1 MB Notification: Performance of Categorize: time 6.442e-06/0.009323, allocations: 0 / 474.4 MB, free: 9.809 MB / 350.1 MB Notification: Performance of Solve: time 1.454e-05/0.009341, allocations: 0 / 474.4 MB, free: 9.809 MB / 350.1 MB Notification: Performance of Jacobian: time 4.097e-06/0.009349, allocations: 4 kB / 474.4 MB, free: 9.805 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 3.557e-05/0.009389, allocations: 14.28 kB / 474.4 MB, free: 9.797 MB / 350.1 MB Notification: Performance of SimCode: time 0.001208/0.0106, allocations: 1.122 MB / 475.6 MB, free: 8.734 MB / 350.1 MB Notification: Performance of Templates: time 0.004248/0.01486, allocations: 1.511 MB / 477.1 MB, free: 7.223 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestFiles.makefile make -j1 -f ModelicaTest_4.0.0_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 4.0.0+maint.om/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_4_0_0_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_4.0.0_ModelicaTest.Utilities.TestFiles.o ModelicaTest_4.0.0_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 4.0.0+maint.om/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_4_0_0_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_4.0.0_ModelicaTest.Utilities.TestFiles_functions.o ModelicaTest_4.0.0_ModelicaTest.Utilities.TestFiles_functions.c ModelicaTest_4.0.0_ModelicaTest.Utilities.TestFiles_functions.c:38:33: error: use of undeclared identifier '_OMC_LIT3' tmpMeta1 = stringAppend(_OMC_LIT3,_name); ^ ModelicaTest_4.0.0_ModelicaTest.Utilities.TestFiles_functions.c:39:42: error: use of undeclared identifier '_OMC_LIT1' tmpMeta2 = stringAppend(tmpMeta1,_OMC_LIT1); ^ ModelicaTest_4.0.0_ModelicaTest.Utilities.TestFiles_functions.c:40:42: error: use of undeclared identifier '_OMC_LIT4' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT4); ^ ModelicaTest_4.0.0_ModelicaTest.Utilities.TestFiles_functions.c:45:33: error: use of undeclared identifier '_OMC_LIT0' tmpMeta4 = stringAppend(_OMC_LIT0,_name); ^ ModelicaTest_4.0.0_ModelicaTest.Utilities.TestFiles_functions.c:46:42: error: use of undeclared identifier '_OMC_LIT1' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT1); ^ ModelicaTest_4.0.0_ModelicaTest.Utilities.TestFiles_functions.c:47:42: error: use of undeclared identifier '_OMC_LIT2' tmpMeta6 = stringAppend(tmpMeta5,_OMC_LIT2); ^ ModelicaTest_4.0.0_ModelicaTest.Utilities.TestFiles_functions.c:78:29: error: use of undeclared identifier '_OMC_LIT8' tmpMeta1 = stringAppend(_OMC_LIT8,_directoryName); ^ ModelicaTest_4.0.0_ModelicaTest.Utilities.TestFiles_functions.c:79:38: error: use of undeclared identifier '_OMC_LIT9' tmpMeta2 = stringAppend(tmpMeta1,_OMC_LIT9); ^ ModelicaTest_4.0.0_ModelicaTest.Utilities.TestFiles_functions.c:80:64: error: use of undeclared identifier '_OMC_LIT7' omc_Modelica_Utilities_Streams_print(threadData, tmpMeta2, _OMC_LIT7); ^ ModelicaTest_4.0.0_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_4.0.0_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_4.0.0_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_4.0.0_ModelicaTest.Utilities.TestFiles_functions.c:97:70: error: use of undeclared identifier '_OMC_LIT7' omc_Modelica_Utilities_Streams_print(threadData, tmpMeta3, _OMC_LIT7); ^ ModelicaTest_4.0.0_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_4.0.0_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_4.0.0_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_4.0.0_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_4.0.0_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_4.0.0_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_4.0.0_ModelicaTest.Utilities.TestFiles_functions.o] Error 1