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.001185/0.001185, allocations: 112.8 kB / 17.1 MB, free: 5.953 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.001229/0.00123, allocations: 197.4 kB / 18.03 MB, free: 5.035 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.862/1.862, allocations: 205.1 MB / 223.9 MB, free: 12.23 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.2914/0.2914, allocations: 43.52 MB / 314.8 MB, free: 456 kB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.63e-05/2.631e-05, allocations: 5.516 kB / 442.4 MB, free: 5.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStreams): time 0.001473/0.001508, allocations: 482.7 kB / 442.9 MB, free: 5.273 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000761/0.002281, allocations: 301.8 kB / 443.2 MB, free: 4.98 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.677e-05/0.002318, allocations: 0 / 443.2 MB, free: 4.98 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.822e-05/0.002344, allocations: 0 / 443.2 MB, free: 4.98 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.296e-06/0.002358, allocations: 3.938 kB / 443.2 MB, free: 4.977 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001058/0.003426, allocations: 97.27 kB / 443.3 MB, free: 4.883 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.249e-05/0.00351, allocations: 4 kB / 443.3 MB, free: 4.879 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.074e-05/0.003567, allocations: 7.984 kB / 443.3 MB, free: 4.871 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.111e-05/0.003593, allocations: 0 / 443.3 MB, free: 4.871 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.894e-05/0.003656, allocations: 0 / 443.3 MB, free: 4.871 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.007e-05/0.003672, allocations: 4 kB / 443.3 MB, free: 4.867 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001947/0.003873, allocations: 111.8 kB / 443.4 MB, free: 4.758 MB / 318.1 MB Notification: Performance of combineBinaries: time 4.048e-05/0.00392, allocations: 11.83 kB / 443.4 MB, free: 4.746 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 1.944e-06/0.003927, allocations: 4 kB / 443.4 MB, free: 4.742 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.891e-05/0.00395, allocations: 0 / 443.4 MB, free: 4.742 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.155e-05/0.003966, allocations: 0 / 443.4 MB, free: 4.742 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.0003426/0.004313, allocations: 157.3 kB / 443.6 MB, free: 4.488 MB / 318.1 MB Notification: Performance of FunctionAlias: time 1.565e-05/0.004334, allocations: 7.891 kB / 443.6 MB, free: 4.48 MB / 318.1 MB Notification: Performance of Early Inline: time 5.687e-05/0.004396, allocations: 44.36 kB / 443.6 MB, free: 4.41 MB / 318.1 MB Notification: Performance of simplify1: time 2.184e-06/0.004406, allocations: 4 kB / 443.6 MB, free: 4.406 MB / 318.1 MB Notification: Performance of Alias: time 6.409e-05/0.004474, allocations: 56.62 kB / 443.7 MB, free: 4.312 MB / 318.1 MB Notification: Performance of simplify2: time 4.71e-07/0.00448, allocations: 0 / 443.7 MB, free: 4.312 MB / 318.1 MB Notification: Performance of Events: time 2.789e-05/0.004512, allocations: 11.88 kB / 443.7 MB, free: 4.301 MB / 318.1 MB Notification: Performance of Detect States: time 6.252e-05/0.004579, allocations: 28.39 kB / 443.7 MB, free: 4.262 MB / 318.1 MB Notification: Performance of Partitioning: time 8.329e-05/0.004668, allocations: 16.12 kB / 443.7 MB, free: 4.238 MB / 318.1 MB Notification: Performance of Causalize: time 0.0001586/0.004844, allocations: 20.11 kB / 443.7 MB, free: 4.211 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 4.217e-05/0.004893, allocations: 52.55 kB / 443.8 MB, free: 4.133 MB / 318.1 MB Notification: Performance of Inline: time 6.395e-05/0.004963, allocations: 60.48 kB / 443.9 MB, free: 4.039 MB / 318.1 MB Notification: Performance of Partitioning: time 9.648e-06/0.004978, allocations: 8.125 kB / 443.9 MB, free: 4.023 MB / 318.1 MB Notification: Performance of Cleanup: time 1.009e-05/0.004995, allocations: 8 kB / 443.9 MB, free: 4.016 MB / 318.1 MB Notification: Performance of Causalize: time 4.942e-05/0.005049, allocations: 24.11 kB / 443.9 MB, free: 3.984 MB / 318.1 MB Notification: Performance of Tearing: time 8.717e-06/0.005065, allocations: 0 / 443.9 MB, free: 3.984 MB / 318.1 MB Notification: Performance of Initialization: time 1.312e-06/0.005072, allocations: 8.125 kB / 443.9 MB, free: 3.977 MB / 318.1 MB Notification: Performance of Tearing: time 2.335e-06/0.005078, allocations: 7.938 kB / 443.9 MB, free: 3.969 MB / 318.1 MB Notification: Performance of Categorize: time 8.456e-06/0.005091, allocations: 0 / 443.9 MB, free: 3.969 MB / 318.1 MB Notification: Performance of Solve: time 1.986e-05/0.005115, allocations: 0 / 443.9 MB, free: 3.969 MB / 318.1 MB Notification: Performance of Jacobian: time 4.728e-06/0.005123, allocations: 0 / 443.9 MB, free: 3.969 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 4.273e-05/0.00517, allocations: 20.2 kB / 443.9 MB, free: 3.957 MB / 318.1 MB Notification: Performance of SimCode: time 0.001018/0.006193, allocations: 0.9607 MB / 444.9 MB, free: 3.027 MB / 318.1 MB Notification: Performance of Templates: time 0.003958/0.01016, allocations: 0.914 MB / 445.8 MB, free: 2.113 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