Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams.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.TestStreams,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams") translateModel(ModelicaTest.Utilities.TestStreams,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001552/0.001552, allocations: 116.9 kB / 17.1 MB, free: 5.828 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.001828/0.001828, allocations: 192.2 kB / 18.03 MB, free: 4.941 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.731/1.731, 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.2267/0.2267, allocations: 43.52 MB / 314.8 MB, free: 464 kB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.164e-05/3.166e-05, allocations: 5.516 kB / 442.4 MB, free: 5.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStreams): time 0.00157/0.00161, allocations: 494.7 kB / 442.9 MB, free: 5.27 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007707/0.002392, allocations: 289.7 kB / 443.2 MB, free: 4.988 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.656e-05/0.00243, allocations: 0 / 443.2 MB, free: 4.988 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.109e-05/0.00246, allocations: 3.938 kB / 443.2 MB, free: 4.984 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.951e-06/0.00247, allocations: 0 / 443.2 MB, free: 4.984 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00116/0.003657, allocations: 93.17 kB / 443.3 MB, free: 4.895 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.81e-05/0.003749, allocations: 11.98 kB / 443.3 MB, free: 4.883 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.792e-05/0.003803, allocations: 0 / 443.3 MB, free: 4.883 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.04e-05/0.003828, allocations: 0 / 443.3 MB, free: 4.883 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.209e-05/0.003866, allocations: 8 kB / 443.3 MB, free: 4.875 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.003883, allocations: 0 / 443.3 MB, free: 4.875 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002696/0.004157, allocations: 115.8 kB / 443.4 MB, free: 4.762 MB / 318.1 MB Notification: Performance of combineBinaries: time 3.587e-05/0.004201, allocations: 7.844 kB / 443.4 MB, free: 4.754 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 5.01e-07/0.004208, allocations: 4 kB / 443.4 MB, free: 4.75 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.898e-05/0.004232, allocations: 0 / 443.4 MB, free: 4.75 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.427e-05/0.004252, allocations: 0 / 443.4 MB, free: 4.75 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.0002911/0.004547, allocations: 157.4 kB / 443.6 MB, free: 4.496 MB / 318.1 MB Notification: Performance of FunctionAlias: time 1.184e-05/0.004565, allocations: 7.891 kB / 443.6 MB, free: 4.488 MB / 318.1 MB Notification: Performance of Early Inline: time 6.764e-05/0.004638, allocations: 44.38 kB / 443.6 MB, free: 4.418 MB / 318.1 MB Notification: Performance of simplify1: time 2.364e-06/0.004646, allocations: 0 / 443.6 MB, free: 4.418 MB / 318.1 MB Notification: Performance of Alias: time 5.362e-05/0.004703, allocations: 60.59 kB / 443.7 MB, free: 4.32 MB / 318.1 MB Notification: Performance of simplify2: time 5.41e-07/0.004709, allocations: 3.938 kB / 443.7 MB, free: 4.316 MB / 318.1 MB Notification: Performance of Detect States: time 6.416e-05/0.004779, allocations: 36.59 kB / 443.7 MB, free: 4.27 MB / 318.1 MB Notification: Performance of Events: time 1.967e-05/0.004805, allocations: 0 / 443.7 MB, free: 4.27 MB / 318.1 MB Notification: Performance of Partitioning: time 5.295e-05/0.004862, allocations: 16.12 kB / 443.7 MB, free: 4.246 MB / 318.1 MB Notification: Performance of Causalize: time 0.0001399/0.005007, allocations: 24.11 kB / 443.8 MB, free: 4.215 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 3.741e-05/0.005051, allocations: 48.56 kB / 443.8 MB, free: 4.141 MB / 318.1 MB Notification: Performance of Inline: time 5.963e-05/0.005116, allocations: 64.47 kB / 443.9 MB, free: 4.043 MB / 318.1 MB Notification: Performance of Partitioning: time 1.035e-05/0.005133, allocations: 12.12 kB / 443.9 MB, free: 4.023 MB / 318.1 MB Notification: Performance of Cleanup: time 8.727e-06/0.005146, allocations: 0 / 443.9 MB, free: 4.023 MB / 318.1 MB Notification: Performance of Causalize: time 6.267e-05/0.005214, allocations: 32.05 kB / 443.9 MB, free: 3.984 MB / 318.1 MB Notification: Performance of Tearing: time 1.391e-05/0.005237, allocations: 4.188 kB / 443.9 MB, free: 3.98 MB / 318.1 MB Notification: Performance of Initialization: time 3.31e-07/0.005244, allocations: 7.938 kB / 443.9 MB, free: 3.973 MB / 318.1 MB Notification: Performance of Tearing: time 1.733e-06/0.00525, allocations: 0 / 443.9 MB, free: 3.973 MB / 318.1 MB Notification: Performance of Categorize: time 9.448e-06/0.005263, allocations: 0 / 443.9 MB, free: 3.973 MB / 318.1 MB Notification: Performance of Solve: time 1.867e-05/0.005286, allocations: 0 / 443.9 MB, free: 3.973 MB / 318.1 MB Notification: Performance of Jacobian: time 4.198e-06/0.005295, allocations: 0 / 443.9 MB, free: 3.973 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 3.587e-05/0.005336, allocations: 20.03 kB / 443.9 MB, free: 3.961 MB / 318.1 MB Notification: Performance of SimCode: time 0.001144/0.006486, allocations: 0.9539 MB / 444.9 MB, free: 3.043 MB / 318.1 MB Notification: Performance of Templates: time 0.004425/0.01093, allocations: 0.914 MB / 445.8 MB, free: 2.129 MB / 318.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams.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_TestStreams -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.TestStreams.o ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams.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_TestStreams -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.TestStreams_functions.o ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams_functions.c ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams_functions.c:32:31: error: use of undeclared identifier '_OMC_LIT0' tmpMeta1 = stringAppend(_OMC_LIT0,_fileName); ^ ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams_functions.c:33:40: error: use of undeclared identifier '_OMC_LIT1' tmpMeta2 = stringAppend(tmpMeta1,_OMC_LIT1); ^ ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams_functions.c:34:40: error: use of undeclared identifier '_OMC_LIT3' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT3); ^ ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams_functions.c:41:33: error: use of undeclared identifier '_OMC_LIT0' tmpMeta4 = stringAppend(_OMC_LIT0,_fileName); ^ ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams_functions.c:42:42: error: use of undeclared identifier '_OMC_LIT1' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT1); ^ ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams_functions.c:43:42: error: use of undeclared identifier '_OMC_LIT2' tmpMeta6 = stringAppend(tmpMeta5,_OMC_LIT2); ^ ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams_functions.c:178:12: error: use of undeclared identifier '_OMC_LIT6' _file1 = _OMC_LIT6; ^ ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams_functions.c:179:12: error: use of undeclared identifier '_OMC_LIT7' _file2 = _OMC_LIT7; ^ ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams_functions.c:180:12: error: use of undeclared identifier '_OMC_LIT8' _line1 = _OMC_LIT8; ^ ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams_functions.c:181:12: error: use of undeclared identifier '_OMC_LIT9' _line2 = _OMC_LIT9; ^ ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams_functions.c:182:12: error: use of undeclared identifier '_OMC_LIT10' _line3 = _OMC_LIT10; ^ ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams_functions.c:183:12: error: use of undeclared identifier '_OMC_LIT11' _line4 = _OMC_LIT11; ^ ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams_functions.c:184:12: error: use of undeclared identifier '_OMC_LIT12' _line5 = _OMC_LIT12; ^ ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams_functions.c:189:52: error: use of undeclared identifier '_OMC_LIT13' omc_Modelica_Utilities_Streams_print(threadData, _OMC_LIT13, _OMC_LIT4); ^ ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams_functions.c:189:64: error: use of undeclared identifier '_OMC_LIT4' omc_Modelica_Utilities_Streams_print(threadData, _OMC_LIT13, _OMC_LIT4); ^ ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams_functions.c:191:52: error: use of undeclared identifier '_OMC_LIT13' omc_Modelica_Utilities_Streams_print(threadData, _OMC_LIT13, _logFile); ^ ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams_functions.c:218:53: error: use of undeclared identifier '_OMC_LIT14' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT14)); ^ ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams_functions.c:230:53: error: use of undeclared identifier '_OMC_LIT15' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT15)); ^ ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams_functions.c:242:53: error: use of undeclared identifier '_OMC_LIT16' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT16)); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams_functions.o] Error 1