Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.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.TestReadFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile") translateModel(ModelicaTest.Utilities.TestReadFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002254/0.002254, allocations: 109.6 kB / 17.09 MB, free: 5.98 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.002731/0.002731, allocations: 200.2 kB / 18.03 MB, free: 5.062 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.942/1.942, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.2413/0.2413, allocations: 43.53 MB / 314.8 MB, free: 456 kB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.434e-05/3.434e-05, allocations: 2.281 kB / 442.4 MB, free: 5.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestReadFile): time 0.002101/0.002144, allocations: 498.2 kB / 442.9 MB, free: 5.277 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001181/0.003341, allocations: 0.7803 MB / 443.7 MB, free: 4.496 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.16e-05/0.003394, allocations: 0 / 443.7 MB, free: 4.496 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.352e-05/0.003424, allocations: 0 / 443.7 MB, free: 4.496 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002848/0.003715, allocations: 11.94 kB / 443.7 MB, free: 4.484 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008255/0.00457, allocations: 59.8 kB / 443.7 MB, free: 4.426 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.08e-05/0.004661, allocations: 4 kB / 443.7 MB, free: 4.422 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.92e-05/0.004707, allocations: 0 / 443.7 MB, free: 4.422 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.194e-05/0.004733, allocations: 7.984 kB / 443.7 MB, free: 4.414 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.346e-05/0.004831, allocations: 0 / 443.7 MB, free: 4.414 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.107e-06/0.004847, allocations: 3.938 kB / 443.8 MB, free: 4.41 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001395/0.004993, allocations: 63.94 kB / 443.8 MB, free: 4.348 MB / 318.1 MB Notification: Performance of combineBinaries: time 3.637e-05/0.005036, allocations: 3.906 kB / 443.8 MB, free: 4.344 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 5.631e-06/0.005048, allocations: 11.84 kB / 443.8 MB, free: 4.332 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.472e-05/0.005078, allocations: 8 kB / 443.8 MB, free: 4.324 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.278e-05/0.005095, allocations: 0 / 443.8 MB, free: 4.324 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.0003222/0.005422, allocations: 165.3 kB / 444 MB, free: 4.062 MB / 318.1 MB Notification: Performance of FunctionAlias: time 2.026e-05/0.00545, allocations: 3.953 kB / 444 MB, free: 4.059 MB / 318.1 MB Notification: Performance of Early Inline: time 6.204e-05/0.005516, allocations: 44.38 kB / 444 MB, free: 3.988 MB / 318.1 MB Notification: Performance of simplify1: time 1.744e-06/0.005523, allocations: 3.938 kB / 444 MB, free: 3.984 MB / 318.1 MB Notification: Performance of Alias: time 4.459e-05/0.005572, allocations: 60.61 kB / 444.1 MB, free: 3.887 MB / 318.1 MB Notification: Performance of simplify2: time 4.81e-07/0.005578, allocations: 0 / 444.1 MB, free: 3.887 MB / 318.1 MB Notification: Performance of Events: time 1.854e-05/0.005601, allocations: 7.953 kB / 444.1 MB, free: 3.879 MB / 318.1 MB Notification: Performance of Detect States: time 5.482e-05/0.005661, allocations: 20.88 kB / 444.1 MB, free: 3.844 MB / 318.1 MB Notification: Performance of Partitioning: time 4.881e-05/0.005715, allocations: 16.12 kB / 444.2 MB, free: 3.82 MB / 318.1 MB Notification: Performance of Causalize: time 0.0001319/0.005852, allocations: 24.11 kB / 444.2 MB, free: 3.789 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 3.204e-05/0.00589, allocations: 56.55 kB / 444.2 MB, free: 3.707 MB / 318.1 MB Notification: Performance of Inline: time 8.88e-05/0.005985, allocations: 64.48 kB / 444.3 MB, free: 3.609 MB / 318.1 MB Notification: Performance of Partitioning: time 1.412e-05/0.006005, allocations: 16.05 kB / 444.3 MB, free: 3.586 MB / 318.1 MB Notification: Performance of Cleanup: time 1.144e-05/0.006022, allocations: 4 kB / 444.3 MB, free: 3.582 MB / 318.1 MB Notification: Performance of Causalize: time 6.122e-05/0.006088, allocations: 28.05 kB / 444.3 MB, free: 3.547 MB / 318.1 MB Notification: Performance of Tearing: time 1.108e-05/0.006107, allocations: 4 kB / 444.3 MB, free: 3.543 MB / 318.1 MB Notification: Performance of Initialization: time 2.8e-07/0.006112, allocations: 4.188 kB / 444.3 MB, free: 3.539 MB / 318.1 MB Notification: Performance of Tearing: time 7.42e-07/0.006117, allocations: 0 / 444.3 MB, free: 3.539 MB / 318.1 MB Notification: Performance of Categorize: time 8.506e-06/0.00613, allocations: 3.938 kB / 444.4 MB, free: 3.535 MB / 318.1 MB Notification: Performance of Solve: time 1.436e-05/0.006148, allocations: 0 / 444.4 MB, free: 3.535 MB / 318.1 MB Notification: Performance of Jacobian: time 4.158e-06/0.006157, allocations: 0 / 444.4 MB, free: 3.535 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.287e-05/0.006203, allocations: 17.06 kB / 444.4 MB, free: 3.523 MB / 318.1 MB Notification: Performance of SimCode: time 0.0008183/0.007026, allocations: 0.8551 MB / 445.2 MB, free: 2.68 MB / 318.1 MB Notification: Performance of Templates: time 0.003282/0.01032, allocations: 0.5956 MB / 445.8 MB, free: 2.086 MB / 318.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.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_TestReadFile -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.TestReadFile.o ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.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_TestReadFile -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.TestReadFile_functions.o ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile_functions.c ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile_functions.c:93:12: error: use of undeclared identifier '_OMC_LIT3' _line1 = _OMC_LIT3; ^ ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile_functions.c:94:12: error: use of undeclared identifier '_OMC_LIT4' _line2 = _OMC_LIT4; ^ ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile_functions.c:95:12: error: use of undeclared identifier '_OMC_LIT5' _line3 = _OMC_LIT5; ^ ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile_functions.c:100:52: error: use of undeclared identifier '_OMC_LIT6' omc_Modelica_Utilities_Streams_print(threadData, _OMC_LIT6, _OMC_LIT0); ^ ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile_functions.c:100:63: error: use of undeclared identifier '_OMC_LIT0' omc_Modelica_Utilities_Streams_print(threadData, _OMC_LIT6, _OMC_LIT0); ^ ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile_functions.c:102:52: error: use of undeclared identifier '_OMC_LIT6' omc_Modelica_Utilities_Streams_print(threadData, _OMC_LIT6, _logFile); ^ ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile_functions.c:111:53: error: use of undeclared identifier '_OMC_LIT7' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT7)); ^ ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile_functions.c:123:53: error: use of undeclared identifier '_OMC_LIT8' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT8)); ^ ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile_functions.c:135:53: error: use of undeclared identifier '_OMC_LIT9' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT9)); ^ ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile_functions.c:147:53: error: use of undeclared identifier '_OMC_LIT10' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT10)); ^ ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile_functions.c:159:53: error: use of undeclared identifier '_OMC_LIT11' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT11)); ^ ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile_functions.c:167:31: error: use of undeclared identifier '_OMC_LIT0' if(!((stringEqual(_rline, _OMC_LIT0)) && _eof)) ^ ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile_functions.c:167:31: error: use of undeclared identifier '_OMC_LIT0' ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile_functions.c:171:53: error: use of undeclared identifier '_OMC_LIT12' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT12)); ^ 14 errors generated. make: *** [: ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile_functions.o] Error 1