Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.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.TestStreams,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStreams") translateModel(ModelicaTest.Utilities.TestStreams,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStreams") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 105 kB / 16.42 MB, free: 6.469 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.001163/0.001163, allocations: 190 kB / 17.36 MB, free: 5.707 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.312/1.312, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.1721/0.1721, allocations: 39.96 MB / 310.5 MB, free: 4.012 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.248e-05/2.249e-05, allocations: 5.656 kB / 436.4 MB, free: 11.8 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStreams): time 0.001046/0.001077, allocations: 492.8 kB / 436.9 MB, free: 11.32 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005846/0.001673, allocations: 293.4 kB / 437.1 MB, free: 11.04 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.792e-05/0.001701, allocations: 0 / 437.1 MB, free: 11.04 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.594e-05/0.001723, allocations: 4 kB / 437.1 MB, free: 11.04 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.499e-06/0.001732, allocations: 0 / 437.1 MB, free: 11.04 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Utilities.mo:221:3-287:14:writable] Warning: Pure function 'ModelicaTest.Utilities.Streams' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0007609/0.002501, allocations: 93.2 kB / 437.2 MB, free: 10.95 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.875e-05/0.002559, allocations: 11.98 kB / 437.2 MB, free: 10.93 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.351e-05/0.002598, allocations: 4 kB / 437.3 MB, free: 10.93 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.542e-05/0.002619, allocations: 0 / 437.3 MB, free: 10.93 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.031e-05/0.002643, allocations: 4 kB / 437.3 MB, free: 10.93 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.741e-06/0.002653, allocations: 0 / 437.3 MB, free: 10.93 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001374/0.002794, allocations: 115.8 kB / 437.4 MB, free: 10.81 MB / 318.1 MB Notification: Performance of combineBinaries: time 2.397e-05/0.002825, allocations: 0 / 437.4 MB, free: 10.81 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 1.123e-06/0.002831, allocations: 7.938 kB / 437.4 MB, free: 10.8 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.694e-05/0.002852, allocations: 0 / 437.4 MB, free: 10.8 MB / 318.1 MB Notification: Performance of FrontEnd: time 8.155e-06/0.002864, allocations: 0 / 437.4 MB, free: 10.8 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.0001655/0.003033, allocations: 145.4 kB / 437.5 MB, free: 10.56 MB / 318.1 MB Notification: Performance of FunctionAlias: time 1.838e-05/0.003057, allocations: 11.94 kB / 437.5 MB, free: 10.55 MB / 318.1 MB Notification: Performance of Early Inline: time 3.9e-05/0.003101, allocations: 48.36 kB / 437.6 MB, free: 10.48 MB / 318.1 MB Notification: Performance of simplify1: time 1.593e-06/0.003108, allocations: 0 / 437.6 MB, free: 10.48 MB / 318.1 MB Notification: Performance of Alias: time 2.89e-05/0.003141, allocations: 52.56 kB / 437.6 MB, free: 10.39 MB / 318.1 MB Notification: Performance of simplify2: time 4.51e-07/0.003146, allocations: 0 / 437.6 MB, free: 10.39 MB / 318.1 MB Notification: Performance of Events: time 1.4e-05/0.003164, allocations: 11.95 kB / 437.6 MB, free: 10.38 MB / 318.1 MB Notification: Performance of Detect States: time 4.11e-05/0.003209, allocations: 32.17 kB / 437.7 MB, free: 10.33 MB / 318.1 MB Notification: Performance of Partitioning: time 3.543e-05/0.003249, allocations: 12.12 kB / 437.7 MB, free: 10.31 MB / 318.1 MB Notification: Performance of Causalize: time 8.815e-05/0.003342, allocations: 32.11 kB / 437.7 MB, free: 10.27 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 2.077e-05/0.003369, allocations: 44.38 kB / 437.8 MB, free: 10.2 MB / 318.1 MB Notification: Performance of Inline: time 4.063e-05/0.003414, allocations: 64.47 kB / 437.8 MB, free: 10.1 MB / 318.1 MB Notification: Performance of Partitioning: time 5.831e-06/0.003425, allocations: 12.12 kB / 437.8 MB, free: 10.08 MB / 318.1 MB Notification: Performance of Cleanup: time 7.424e-06/0.003437, allocations: 4.188 kB / 437.8 MB, free: 10.08 MB / 318.1 MB Notification: Performance of Causalize: time 3.87e-05/0.00348, allocations: 40.09 kB / 437.9 MB, free: 10.03 MB / 318.1 MB Notification: Performance of Tearing: time 4.559e-06/0.003491, allocations: 0 / 437.9 MB, free: 10.03 MB / 318.1 MB Notification: Performance of Initialization: time 3.01e-07/0.003496, allocations: 0 / 437.9 MB, free: 10.03 MB / 318.1 MB Notification: Performance of Tearing: time 6.41e-07/0.0035, allocations: 0 / 437.9 MB, free: 10.03 MB / 318.1 MB Notification: Performance of Categorize: time 7.514e-06/0.003512, allocations: 3.984 kB / 437.9 MB, free: 10.03 MB / 318.1 MB Notification: Performance of Solve: time 1.148e-05/0.003527, allocations: 7.938 kB / 437.9 MB, free: 10.02 MB / 318.1 MB Notification: Performance of Jacobian: time 2.795e-06/0.003533, allocations: 0 / 437.9 MB, free: 10.02 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.862e-05/0.003565, allocations: 18.3 kB / 437.9 MB, free: 10.01 MB / 318.1 MB Notification: Performance of SimCode: time 0.0006814/0.004251, allocations: 0.9519 MB / 438.9 MB, free: 9.09 MB / 318.1 MB Notification: Performance of Templates: time 0.002667/0.006928, allocations: 0.9179 MB / 439.8 MB, free: 8.172 MB / 318.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStreams.makefile make -j1 -f ModelicaTest_3.2.2_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_2_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.2_ModelicaTest.Utilities.TestStreams.o ModelicaTest_3.2.2_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_2_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.2_ModelicaTest.Utilities.TestStreams_functions.o ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStreams_functions.c ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStreams_functions.c:32:31: error: use of undeclared identifier '_OMC_LIT0' tmpMeta1 = stringAppend(_OMC_LIT0,_fileName); ^ ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStreams_functions.c:33:40: error: use of undeclared identifier '_OMC_LIT1' tmpMeta2 = stringAppend(tmpMeta1,_OMC_LIT1); ^ ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStreams_functions.c:34:40: error: use of undeclared identifier '_OMC_LIT3' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT3); ^ ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStreams_functions.c:41:33: error: use of undeclared identifier '_OMC_LIT0' tmpMeta4 = stringAppend(_OMC_LIT0,_fileName); ^ ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStreams_functions.c:42:42: error: use of undeclared identifier '_OMC_LIT1' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT1); ^ ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStreams_functions.c:43:42: error: use of undeclared identifier '_OMC_LIT2' tmpMeta6 = stringAppend(tmpMeta5,_OMC_LIT2); ^ ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStreams_functions.c:178:12: error: use of undeclared identifier '_OMC_LIT6' _file1 = _OMC_LIT6; ^ ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStreams_functions.c:179:12: error: use of undeclared identifier '_OMC_LIT7' _file2 = _OMC_LIT7; ^ ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStreams_functions.c:180:12: error: use of undeclared identifier '_OMC_LIT8' _line1 = _OMC_LIT8; ^ ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStreams_functions.c:181:12: error: use of undeclared identifier '_OMC_LIT9' _line2 = _OMC_LIT9; ^ ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStreams_functions.c:182:12: error: use of undeclared identifier '_OMC_LIT10' _line3 = _OMC_LIT10; ^ ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStreams_functions.c:183:12: error: use of undeclared identifier '_OMC_LIT11' _line4 = _OMC_LIT11; ^ ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStreams_functions.c:184:12: error: use of undeclared identifier '_OMC_LIT12' _line5 = _OMC_LIT12; ^ ModelicaTest_3.2.2_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.2_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.2_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.2_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.2_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.2_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.2_ModelicaTest.Utilities.TestStreams_functions.o] Error 1