Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 111.3 kB / 18.47 MB, free: 4.59 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.001111/0.001111, allocations: 183.7 kB / 19.4 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.18/1.18, allocations: 222.9 MB / 243.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1761/0.1761, allocations: 44.19 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.723e-05/1.723e-05, allocations: 2.281 kB / 471.2 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001089/0.001114, allocations: 481.3 kB / 471.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002578/0.003702, allocations: 2.103 MB / 473.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.529e-05/0.003729, allocations: 0 / 473.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.264e-05/0.003747, allocations: 0 / 473.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.659e-06/0.003756, allocations: 0 / 473.7 MB, free: 10.65 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Math.mo:485:3-574:17:writable] Warning: Pure function 'ModelicaTest.Math.Matrices2b' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001847/0.005613, allocations: 0.728 MB / 474.5 MB, free: 9.926 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.386e-05/0.005665, allocations: 0 / 474.5 MB, free: 9.926 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.755e-05/0.005707, allocations: 7.984 kB / 474.5 MB, free: 9.918 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.343e-05/0.005727, allocations: 4 kB / 474.5 MB, free: 9.914 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.579e-05/0.005746, allocations: 0 / 474.5 MB, free: 9.914 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.324e-06/0.005758, allocations: 0 / 474.5 MB, free: 9.914 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00179/0.007551, allocations: 1.478 MB / 475.9 MB, free: 8.434 MB / 350.1 MB Notification: Performance of combineBinaries: time 1.911e-05/0.007581, allocations: 3.906 kB / 475.9 MB, free: 8.43 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 1.218e-05/0.007599, allocations: 11.98 kB / 476 MB, free: 8.418 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.026e-05/0.007614, allocations: 0 / 476 MB, free: 8.418 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.961e-06/0.007625, allocations: 4 kB / 476 MB, free: 8.414 MB / 350.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.0002068/0.007836, allocations: 149.3 kB / 476.1 MB, free: 8.168 MB / 350.1 MB Notification: Performance of FunctionAlias: time 1.121e-05/0.007853, allocations: 11.89 kB / 476.1 MB, free: 8.156 MB / 350.1 MB Notification: Performance of Early Inline: time 5.281e-05/0.007912, allocations: 52.36 kB / 476.2 MB, free: 8.078 MB / 350.1 MB Notification: Performance of simplify1: time 1.783e-06/0.007919, allocations: 0 / 476.2 MB, free: 8.078 MB / 350.1 MB Notification: Performance of Alias: time 4.037e-05/0.007964, allocations: 48.62 kB / 476.2 MB, free: 7.992 MB / 350.1 MB Notification: Performance of simplify2: time 5.91e-07/0.007969, allocations: 0 / 476.2 MB, free: 7.992 MB / 350.1 MB Notification: Performance of Detect States: time 5.456e-05/0.008027, allocations: 32.22 kB / 476.3 MB, free: 7.945 MB / 350.1 MB Notification: Performance of Events: time 1.42e-05/0.008049, allocations: 11.95 kB / 476.3 MB, free: 7.934 MB / 350.1 MB Notification: Performance of Partitioning: time 3.526e-05/0.008089, allocations: 12.12 kB / 476.3 MB, free: 7.914 MB / 350.1 MB Notification: Performance of Causalize: time 8.117e-05/0.008175, allocations: 20.06 kB / 476.3 MB, free: 7.887 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 3.689e-05/0.008218, allocations: 56.33 kB / 476.4 MB, free: 7.805 MB / 350.1 MB Notification: Performance of Inline: time 6.359e-05/0.008288, allocations: 64.61 kB / 476.4 MB, free: 7.707 MB / 350.1 MB Notification: Performance of Partitioning: time 8.556e-06/0.008306, allocations: 16.12 kB / 476.4 MB, free: 7.684 MB / 350.1 MB Notification: Performance of Cleanup: time 6.021e-06/0.00832, allocations: 0 / 476.4 MB, free: 7.684 MB / 350.1 MB Notification: Performance of Causalize: time 4.689e-05/0.008371, allocations: 32.05 kB / 476.5 MB, free: 7.645 MB / 350.1 MB Notification: Performance of Tearing: time 7.484e-06/0.008386, allocations: 4 kB / 476.5 MB, free: 7.641 MB / 350.1 MB Notification: Performance of Initialization: time 3e-07/0.008391, allocations: 0 / 476.5 MB, free: 7.641 MB / 350.1 MB Notification: Performance of Tearing: time 1.292e-06/0.008396, allocations: 0 / 476.5 MB, free: 7.641 MB / 350.1 MB Notification: Performance of Categorize: time 5.591e-06/0.008405, allocations: 0 / 476.5 MB, free: 7.641 MB / 350.1 MB Notification: Performance of Solve: time 1.169e-05/0.008421, allocations: 0 / 476.5 MB, free: 7.641 MB / 350.1 MB Notification: Performance of Jacobian: time 2.384e-06/0.00843, allocations: 8.188 kB / 476.5 MB, free: 7.633 MB / 350.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.668e-05/0.008461, allocations: 24.97 kB / 476.5 MB, free: 7.617 MB / 350.1 MB Notification: Performance of SimCode: time 0.002672/0.01114, allocations: 2.229 MB / 478.7 MB, free: 5.379 MB / 350.1 MB Notification: Performance of Templates: time 0.01098/0.02213, allocations: 7.214 MB / 485.9 MB, free: 14.16 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -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_4_0_0_ModelicaTest_Math_TestMatrices2b -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_4.0.0_ModelicaTest.Math.TestMatrices2b.o ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -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_4_0_0_ModelicaTest_Math_TestMatrices2b -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_4.0.0_ModelicaTest.Math.TestMatrices2b_functions.o ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b_functions.c ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b_functions.c:570:53: error: use of undeclared identifier '_OMC_LIT0' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT0)); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b_functions.c:730:40: error: use of undeclared identifier '_OMC_LIT1' tmpMeta27 = stringAppend(_OMC_LIT1,tmp26); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b_functions.c:731:50: error: use of undeclared identifier '_OMC_LIT2' tmpMeta28 = stringAppend(tmpMeta27,_OMC_LIT2); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b_functions.c:816:55: error: use of undeclared identifier '_OMC_LIT3' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT3)); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b_functions.c:883:8: error: use of undeclared identifier '_OMC_LIT4' _s = _OMC_LIT4; ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b_functions.c:884:83: error: use of undeclared identifier '_OMC_LIT5' _blanks = omc_Modelica_Utilities_Strings_repeat(threadData, _significantDigits, _OMC_LIT5); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b_functions.c:885:12: error: use of undeclared identifier '_OMC_LIT6' _space = _OMC_LIT6; ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b_functions.c:886:13: error: use of undeclared identifier '_OMC_LIT7' _space2 = _OMC_LIT7; ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b_functions.c:893:35: error: use of undeclared identifier '_OMC_LIT10' tmpMeta3 = stringAppend(_name,_OMC_LIT10); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b_functions.c:898:50: error: use of undeclared identifier '_OMC_LIT4' tmp6 = (modelica_boolean)(stringEqual(_name, _OMC_LIT4)); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b_functions.c:898:50: error: use of undeclared identifier '_OMC_LIT4' ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b_functions.c:901:14: error: use of undeclared identifier '_OMC_LIT8' tmp7 = _OMC_LIT8; ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b_functions.c:905:31: error: use of undeclared identifier '_OMC_LIT8' tmpMeta4 = stringAppend(_OMC_LIT8,_name); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b_functions.c:906:40: error: use of undeclared identifier '_OMC_LIT9' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT9); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b_functions.c:928:42: error: use of undeclared identifier '_OMC_LIT5' tmpMeta9 = stringAppend(_s,_OMC_LIT5); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b_functions.c:935:202: error: use of undeclared identifier '_OMC_LIT5' tmpMeta13 = stringAppend(tmpMeta11,omc_Modelica_Utilities_Strings_repeat(threadData, _significantDigits + ((modelica_integer) 8) - omc_Modelica_Utilities_Strings_length(threadData, tmp12), _OMC_LIT5)); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b_functions.c:940:37: error: use of undeclared identifier '_OMC_LIT8' tmpMeta17 = stringAppend(_s,_OMC_LIT8); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b_functions.c:1264:8: error: use of undeclared identifier '_OMC_LIT4' _s = _OMC_LIT4; ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b_functions.c:1265:83: error: use of undeclared identifier '_OMC_LIT5' _blanks = omc_Modelica_Utilities_Strings_repeat(threadData, _significantDigits, _OMC_LIT5); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b_functions.o] Error 1