Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal.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.TestInternal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal") translateModel(ModelicaTest.Utilities.TestInternal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 105.3 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.001083/0.001083, allocations: 192.2 kB / 17.35 MB, free: 5.754 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.3/1.3, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.184/0.184, allocations: 39.96 MB / 310.5 MB, free: 4.035 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.407e-05/2.407e-05, allocations: 6.016 kB / 436.4 MB, free: 11.81 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestInternal): time 0.001065/0.001097, allocations: 484.9 kB / 436.8 MB, free: 11.34 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000526/0.001635, allocations: 265.4 kB / 437.1 MB, free: 11.08 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.255e-05/0.001668, allocations: 0 / 437.1 MB, free: 11.08 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.244e-05/0.001686, allocations: 0 / 437.1 MB, free: 11.08 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.039e-06/0.001696, allocations: 0 / 437.1 MB, free: 11.08 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Utilities.mo:398:3-453:15:writable] Warning: Pure function 'ModelicaTest.Utilities.Internal' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0003101/0.002015, allocations: 55.81 kB / 437.2 MB, free: 11.02 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.691e-05/0.002079, allocations: 7.984 kB / 437.2 MB, free: 11.02 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.678e-05/0.002121, allocations: 0 / 437.2 MB, free: 11.02 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.575e-05/0.002141, allocations: 0 / 437.2 MB, free: 11.02 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.372e-05/0.002169, allocations: 4 kB / 437.2 MB, free: 11.01 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.456e-06/0.002182, allocations: 0 / 437.2 MB, free: 11.01 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001244/0.002311, allocations: 67.95 kB / 437.2 MB, free: 10.95 MB / 318.1 MB Notification: Performance of combineBinaries: time 2.486e-05/0.002342, allocations: 0 / 437.2 MB, free: 10.95 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 1.483e-06/0.002348, allocations: 3.984 kB / 437.2 MB, free: 10.94 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.689e-05/0.002369, allocations: 4 kB / 437.2 MB, free: 10.94 MB / 318.1 MB Notification: Performance of FrontEnd: time 6.813e-06/0.00238, allocations: 0 / 437.2 MB, free: 10.94 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.0002052/0.002589, allocations: 153.3 kB / 437.4 MB, free: 10.69 MB / 318.1 MB Notification: Performance of FunctionAlias: time 2.078e-05/0.002615, allocations: 11.95 kB / 437.4 MB, free: 10.68 MB / 318.1 MB Notification: Performance of Early Inline: time 4.466e-05/0.002664, allocations: 44.38 kB / 437.4 MB, free: 10.61 MB / 318.1 MB Notification: Performance of simplify1: time 1.723e-06/0.002671, allocations: 0 / 437.4 MB, free: 10.61 MB / 318.1 MB Notification: Performance of Alias: time 3.862e-05/0.002714, allocations: 48.61 kB / 437.5 MB, free: 10.52 MB / 318.1 MB Notification: Performance of simplify2: time 5.11e-07/0.002721, allocations: 7.938 kB / 437.5 MB, free: 10.51 MB / 318.1 MB Notification: Performance of Events: time 1.27e-05/0.002737, allocations: 7.891 kB / 437.5 MB, free: 10.5 MB / 318.1 MB Notification: Performance of Detect States: time 5.137e-05/0.002793, allocations: 24.25 kB / 437.5 MB, free: 10.46 MB / 318.1 MB Notification: Performance of Partitioning: time 4.527e-05/0.002844, allocations: 16.11 kB / 437.6 MB, free: 10.44 MB / 318.1 MB Notification: Performance of Causalize: time 0.0001204/0.002969, allocations: 28.12 kB / 437.6 MB, free: 10.41 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 4.245e-05/0.003018, allocations: 56.61 kB / 437.6 MB, free: 10.32 MB / 318.1 MB Notification: Performance of Inline: time 5.382e-05/0.003077, allocations: 64.47 kB / 437.7 MB, free: 10.23 MB / 318.1 MB Notification: Performance of Partitioning: time 8.967e-06/0.003091, allocations: 12.11 kB / 437.7 MB, free: 10.21 MB / 318.1 MB Notification: Performance of Cleanup: time 8.807e-06/0.003104, allocations: 7.938 kB / 437.7 MB, free: 10.2 MB / 318.1 MB Notification: Performance of Causalize: time 4.525e-05/0.003153, allocations: 32.11 kB / 437.7 MB, free: 10.16 MB / 318.1 MB Notification: Performance of Tearing: time 5.391e-06/0.003165, allocations: 0 / 437.7 MB, free: 10.16 MB / 318.1 MB Notification: Performance of Initialization: time 8.41e-07/0.00317, allocations: 4.25 kB / 437.8 MB, free: 10.16 MB / 318.1 MB Notification: Performance of Tearing: time 6.52e-07/0.003175, allocations: 0 / 437.8 MB, free: 10.16 MB / 318.1 MB Notification: Performance of Categorize: time 6.723e-06/0.003185, allocations: 0 / 437.8 MB, free: 10.16 MB / 318.1 MB Notification: Performance of Solve: time 1.401e-05/0.003203, allocations: 3.938 kB / 437.8 MB, free: 10.15 MB / 318.1 MB Notification: Performance of Jacobian: time 2.424e-06/0.003209, allocations: 0 / 437.8 MB, free: 10.15 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.136e-05/0.003244, allocations: 18.47 kB / 437.8 MB, free: 10.14 MB / 318.1 MB Notification: Performance of SimCode: time 0.000712/0.00396, allocations: 0.936 MB / 438.7 MB, free: 9.238 MB / 318.1 MB Notification: Performance of Templates: time 0.002624/0.006595, allocations: 0.7307 MB / 439.4 MB, free: 8.508 MB / 318.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal.makefile make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal.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_TestInternal -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.TestInternal.o ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal.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_TestInternal -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.TestInternal_functions.o ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal_functions.c ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal_functions.c:143:52: error: use of undeclared identifier '_OMC_LIT2' omc_Modelica_Utilities_Streams_print(threadData, _OMC_LIT2, _OMC_LIT0); ^ ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal_functions.c:143:63: error: use of undeclared identifier '_OMC_LIT0' omc_Modelica_Utilities_Streams_print(threadData, _OMC_LIT2, _OMC_LIT0); ^ ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal_functions.c:145:52: error: use of undeclared identifier '_OMC_LIT2' omc_Modelica_Utilities_Streams_print(threadData, _OMC_LIT2, _logFile); ^ ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal_functions.c:149:33: error: use of undeclared identifier '_OMC_LIT3' tmpMeta1 = stringAppend(_dir1,_OMC_LIT3); ^ ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal_functions.c:168:53: error: use of undeclared identifier '_OMC_LIT4' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT4)); ^ ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal_functions.c:180:31: error: use of undeclared identifier '_OMC_LIT5' tmpMeta3 = stringAppend(_OMC_LIT5,_dir1); ^ ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal_functions.c:181:40: error: use of undeclared identifier '_OMC_LIT6' tmpMeta4 = stringAppend(tmpMeta3,_OMC_LIT6); ^ ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal_functions.c:182:40: error: use of undeclared identifier '_OMC_LIT7' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT7); ^ ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal_functions.c:184:40: error: use of undeclared identifier '_OMC_LIT6' tmpMeta7 = stringAppend(tmpMeta6,_OMC_LIT6); ^ ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal_functions.c:192:62: error: use of undeclared identifier '_OMC_LIT8' omc_Modelica_Utilities_System_setWorkDirectory(threadData, _OMC_LIT8); ^ ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal_functions.c:194:33: error: use of undeclared identifier '_OMC_LIT9' tmpMeta9 = stringAppend(_dir1,_OMC_LIT9); ^ ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal_functions.c:201:68: error: use of undeclared identifier '_OMC_LIT10' omc_Modelica_Utilities_System_setEnvironmentVariable(threadData, _OMC_LIT10, _OMC_LIT11, 1 /* true */); ^ ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal_functions.c:201:80: error: use of undeclared identifier '_OMC_LIT11' omc_Modelica_Utilities_System_setEnvironmentVariable(threadData, _OMC_LIT10, _OMC_LIT11, 1 /* true */); ^ ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal_functions.c:203:75: error: use of undeclared identifier '_OMC_LIT10' _env = omc_Modelica_Utilities_System_getEnvironmentVariable(threadData, _OMC_LIT10, 1 /* true */ ,&_exist); ^ ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal_functions.c:210:53: error: use of undeclared identifier '_OMC_LIT12' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT12)); ^ ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal_functions.c:216:28: error: use of undeclared identifier '_OMC_LIT11' if(!(stringEqual(_env, _OMC_LIT11))) ^ ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal_functions.c:216:28: error: use of undeclared identifier '_OMC_LIT11' ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal_functions.c:218:32: error: use of undeclared identifier '_OMC_LIT13' tmpMeta11 = stringAppend(_OMC_LIT13,_env); ^ 18 errors generated. make: *** [: ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal_functions.o] Error 1