Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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 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.TestFiles,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles") translateModel(ModelicaTest.Utilities.TestFiles,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 104.2 kB / 16.42 MB, free: 6.512 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.001073/0.001073, allocations: 188.3 kB / 17.36 MB, free: 5.73 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.299/1.299, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.1867/0.1867, allocations: 39.96 MB / 310.6 MB, free: 4.016 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.766e-05/1.767e-05, allocations: 2.281 kB / 436.4 MB, free: 11.79 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestFiles): time 0.001046/0.001072, allocations: 477.2 kB / 436.8 MB, free: 11.32 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005413/0.001623, allocations: 327.7 kB / 437.2 MB, free: 11 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.261e-05/0.001646, allocations: 0 / 437.2 MB, free: 11 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.681e-06/0.001658, allocations: 0 / 437.2 MB, free: 11 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 1.953e-06/0.001664, allocations: 0 / 437.2 MB, free: 11 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:261:3-308:15:writable] Warning: Pure function 'Modelica.Utilities.Strings.findLast' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Files.mo:610:1-680:18:writable] Warning: Pure function 'Modelica.Utilities.Files.splitPathName' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Utilities.mo:455:3-480: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.0002598/0.001937, allocations: 99.72 kB / 437.3 MB, free: 10.9 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 2.146e-05/0.001967, allocations: 3.938 kB / 437.3 MB, free: 10.9 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 1.912e-05/0.001991, allocations: 8 kB / 437.3 MB, free: 10.89 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.524e-06/0.002003, allocations: 3.984 kB / 437.3 MB, free: 10.89 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.307e-06/0.002017, allocations: 0 / 437.3 MB, free: 10.89 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.965e-06/0.002024, allocations: 3.938 kB / 437.3 MB, free: 10.88 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001327/0.002161, allocations: 131.9 kB / 437.4 MB, free: 10.75 MB / 318.1 MB Notification: Performance of combineBinaries: time 1.021e-05/0.002178, allocations: 0 / 437.4 MB, free: 10.75 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 1.784e-06/0.002184, allocations: 4 kB / 437.4 MB, free: 10.75 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.021e-06/0.002194, allocations: 0 / 437.4 MB, free: 10.75 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.016e-06/0.002201, allocations: 3.938 kB / 437.4 MB, free: 10.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.0001185/0.002324, allocations: 153.3 kB / 437.6 MB, free: 10.5 MB / 318.1 MB Notification: Performance of FunctionAlias: time 1.275e-05/0.002341, allocations: 3.953 kB / 437.6 MB, free: 10.49 MB / 318.1 MB Notification: Performance of Early Inline: time 3.781e-05/0.002384, allocations: 52.34 kB / 437.6 MB, free: 10.41 MB / 318.1 MB Notification: Performance of simplify1: time 9.51e-07/0.00239, allocations: 0 / 437.6 MB, free: 10.41 MB / 318.1 MB Notification: Performance of Alias: time 2.883e-05/0.002423, allocations: 60.61 kB / 437.7 MB, free: 10.32 MB / 318.1 MB Notification: Performance of simplify2: time 1.352e-06/0.002429, allocations: 0 / 437.7 MB, free: 10.32 MB / 318.1 MB Notification: Performance of Events: time 6.823e-06/0.00244, allocations: 11.89 kB / 437.7 MB, free: 10.3 MB / 318.1 MB Notification: Performance of Detect States: time 3.969e-05/0.002484, allocations: 29.8 kB / 437.7 MB, free: 10.26 MB / 318.1 MB Notification: Performance of Partitioning: time 2.368e-05/0.002513, allocations: 16.12 kB / 437.7 MB, free: 10.24 MB / 318.1 MB Notification: Performance of Causalize: time 5.651e-05/0.002574, allocations: 30.14 kB / 437.8 MB, free: 10.2 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 2.664e-05/0.002607, allocations: 40.38 kB / 437.8 MB, free: 10.14 MB / 318.1 MB Notification: Performance of Inline: time 4.542e-05/0.002657, allocations: 72.47 kB / 437.9 MB, free: 10.03 MB / 318.1 MB Notification: Performance of Partitioning: time 6.632e-06/0.002668, allocations: 12.12 kB / 437.9 MB, free: 10.01 MB / 318.1 MB Notification: Performance of Cleanup: time 5.441e-06/0.002678, allocations: 8.188 kB / 437.9 MB, free: 10 MB / 318.1 MB Notification: Performance of Causalize: time 3.439e-05/0.002717, allocations: 32.11 kB / 437.9 MB, free: 9.965 MB / 318.1 MB Notification: Performance of Tearing: time 2.515e-06/0.002726, allocations: 0 / 437.9 MB, free: 9.965 MB / 318.1 MB Notification: Performance of Initialization: time 2.91e-07/0.002732, allocations: 4 kB / 437.9 MB, free: 9.961 MB / 318.1 MB Notification: Performance of Tearing: time 6.21e-07/0.002736, allocations: 0 / 437.9 MB, free: 9.961 MB / 318.1 MB Notification: Performance of Categorize: time 3.236e-06/0.002743, allocations: 0 / 437.9 MB, free: 9.961 MB / 318.1 MB Notification: Performance of Solve: time 7.243e-06/0.002754, allocations: 3.938 kB / 437.9 MB, free: 9.957 MB / 318.1 MB Notification: Performance of Jacobian: time 1.793e-06/0.00276, allocations: 0 / 437.9 MB, free: 9.957 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.242e-05/0.002796, allocations: 22.72 kB / 438 MB, free: 9.941 MB / 318.1 MB Notification: Performance of SimCode: time 0.0004804/0.003281, allocations: 0.9112 MB / 438.9 MB, free: 9.043 MB / 318.1 MB Notification: Performance of Templates: time 0.001966/0.005257, allocations: 0.8242 MB / 439.7 MB, free: 8.219 MB / 318.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles.makefile make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles.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_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_3.2.2_ModelicaTest.Utilities.TestFiles.o ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles.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_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_3.2.2_ModelicaTest.Utilities.TestFiles_functions.o ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles_functions.c ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles_functions.c:35:25: error: use of undeclared identifier '_OMC_LIT1' if((stringEqual(_c, _OMC_LIT1))) ^ ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles_functions.c:35:25: error: use of undeclared identifier '_OMC_LIT1' ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles_functions.c:43:27: error: use of undeclared identifier '_OMC_LIT0' if((stringEqual(_c, _OMC_LIT0))) ^ ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles_functions.c:43:27: error: use of undeclared identifier '_OMC_LIT0' ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles_functions.c:60:13: error: use of undeclared identifier '_OMC_LIT2' _name = _OMC_LIT2; ^ ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles_functions.c:62:18: error: use of undeclared identifier '_OMC_LIT2' _extension = _OMC_LIT2; ^ ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles_functions.c:68:84: error: use of undeclared identifier '_OMC_LIT0' _indexSlash = omc_Modelica_Utilities_Strings_findLast(threadData, _pathName, _OMC_LIT0, _indexDot - ((modelica_integer) 1), 1 /* true */); ^ ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles_functions.c:72:22: error: use of undeclared identifier '_OMC_LIT2' _directory = _OMC_LIT2; ^ ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles_functions.c:87:20: error: use of undeclared identifier '_OMC_LIT2' _extension = _OMC_LIT2; ^ ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles_functions.c:97:22: error: use of undeclared identifier '_OMC_LIT2' _directory = _OMC_LIT2; ^ ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles_functions.c:263:52: error: use of undeclared identifier '_OMC_LIT4' omc_Modelica_Utilities_Streams_print(threadData, _OMC_LIT4, _OMC_LIT2); ^ ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles_functions.c:263:63: error: use of undeclared identifier '_OMC_LIT2' omc_Modelica_Utilities_Streams_print(threadData, _OMC_LIT4, _OMC_LIT2); ^ ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles_functions.c:265:52: error: use of undeclared identifier '_OMC_LIT4' omc_Modelica_Utilities_Streams_print(threadData, _OMC_LIT4, _logFile); ^ ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles_functions.c:267:71: error: use of undeclared identifier '_OMC_LIT5' _directory = omc_Modelica_Utilities_Files_splitPathName(threadData, _OMC_LIT5 ,&_name ,&_extension); ^ ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles_functions.c:270:36: error: use of undeclared identifier '_OMC_LIT6' if(!(((stringEqual(_directory, _OMC_LIT6)) && (stringEqual(_name, _OMC_LIT7))) && (stringEqual(_extension, _OMC_LIT8)))) ^ ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles_functions.c:270:36: error: use of undeclared identifier '_OMC_LIT6' ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles_functions.c:270:71: error: use of undeclared identifier '_OMC_LIT7' if(!(((stringEqual(_directory, _OMC_LIT6)) && (stringEqual(_name, _OMC_LIT7))) && (stringEqual(_extension, _OMC_LIT8)))) ^ ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles_functions.c:270:71: error: use of undeclared identifier '_OMC_LIT7' ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles_functions.c:270:112: error: use of undeclared identifier '_OMC_LIT8' if(!(((stringEqual(_directory, _OMC_LIT6)) && (stringEqual(_name, _OMC_LIT7))) && (stringEqual(_extension, _OMC_LIT8)))) ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles_functions.o] Error 1