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.001322/0.001322, allocations: 109.1 kB / 18.47 MB, free: 4.609 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.001431/0.001431, allocations: 189.3 kB / 19.39 MB, free: 3.695 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.364/1.364, allocations: 222.9 MB / 243.1 MB, free: 15.06 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.2238/0.2238, allocations: 44.18 MB / 337.4 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.679e-05/2.68e-05, allocations: 2.281 kB / 471.1 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001464/0.001499, allocations: 492.6 kB / 471.6 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0033/0.004811, allocations: 2.102 MB / 473.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.613e-05/0.004849, allocations: 0 / 473.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.163e-05/0.004878, allocations: 0 / 473.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.856e-06/0.004891, allocations: 0 / 473.7 MB, free: 10.63 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.001908/0.006813, allocations: 0.724 MB / 474.5 MB, free: 9.914 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.471e-05/0.006886, allocations: 11.98 kB / 474.5 MB, free: 9.902 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.809e-05/0.00694, allocations: 0 / 474.5 MB, free: 9.902 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.704e-05/0.006962, allocations: 0 / 474.5 MB, free: 9.902 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.331e-05/0.00699, allocations: 0 / 474.5 MB, free: 9.902 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.636e-06/0.007002, allocations: 0 / 474.5 MB, free: 9.902 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001878/0.008884, allocations: 1.478 MB / 475.9 MB, free: 8.422 MB / 350.1 MB Notification: Performance of combineBinaries: time 1.528e-05/0.008912, allocations: 11.89 kB / 476 MB, free: 8.41 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 6.51e-07/0.00892, allocations: 4 kB / 476 MB, free: 8.406 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.362e-06/0.008932, allocations: 0 / 476 MB, free: 8.406 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.398e-06/0.008941, allocations: 0 / 476 MB, free: 8.406 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.0002055/0.00915, allocations: 161.3 kB / 476.1 MB, free: 8.148 MB / 350.1 MB Notification: Performance of FunctionAlias: time 6.903e-06/0.009163, allocations: 3.953 kB / 476.1 MB, free: 8.145 MB / 350.1 MB Notification: Performance of Early Inline: time 5.824e-05/0.009227, allocations: 48.36 kB / 476.2 MB, free: 8.07 MB / 350.1 MB Notification: Performance of simplify1: time 1.042e-06/0.009233, allocations: 0 / 476.2 MB, free: 8.07 MB / 350.1 MB Notification: Performance of Alias: time 4.732e-05/0.009285, allocations: 48.62 kB / 476.2 MB, free: 7.984 MB / 350.1 MB Notification: Performance of simplify2: time 5.41e-07/0.009291, allocations: 0 / 476.2 MB, free: 7.984 MB / 350.1 MB Notification: Performance of Events: time 9.568e-06/0.009308, allocations: 15.92 kB / 476.2 MB, free: 7.969 MB / 350.1 MB Notification: Performance of Detect States: time 0.0002807/0.009593, allocations: 32.17 kB / 476.3 MB, free: 7.922 MB / 350.1 MB Notification: Performance of Partitioning: time 3.084e-05/0.009631, allocations: 16.12 kB / 476.3 MB, free: 7.898 MB / 350.1 MB Notification: Performance of Causalize: time 5.526e-05/0.009693, allocations: 20.05 kB / 476.3 MB, free: 7.871 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 4.593e-05/0.009747, allocations: 48.38 kB / 476.3 MB, free: 7.797 MB / 350.1 MB Notification: Performance of Inline: time 6.499e-05/0.009819, allocations: 72.66 kB / 476.4 MB, free: 7.691 MB / 350.1 MB Notification: Performance of Partitioning: time 8.967e-06/0.009835, allocations: 8.125 kB / 476.4 MB, free: 7.676 MB / 350.1 MB Notification: Performance of Cleanup: time 3.747e-06/0.009843, allocations: 0 / 476.4 MB, free: 7.676 MB / 350.1 MB Notification: Performance of Causalize: time 4.662e-05/0.009895, allocations: 36.05 kB / 476.5 MB, free: 7.633 MB / 350.1 MB Notification: Performance of Tearing: time 2.956e-06/0.009905, allocations: 0 / 476.5 MB, free: 7.633 MB / 350.1 MB Notification: Performance of Initialization: time 3.01e-07/0.00991, allocations: 0 / 476.5 MB, free: 7.633 MB / 350.1 MB Notification: Performance of Tearing: time 6.92e-07/0.009915, allocations: 192 / 476.5 MB, free: 7.633 MB / 350.1 MB Notification: Performance of Categorize: time 3.567e-06/0.009924, allocations: 4 kB / 476.5 MB, free: 7.629 MB / 350.1 MB Notification: Performance of Solve: time 6.933e-06/0.009935, allocations: 0 / 476.5 MB, free: 7.629 MB / 350.1 MB Notification: Performance of Jacobian: time 4.308e-06/0.009944, allocations: 4 kB / 476.5 MB, free: 7.625 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 3.854e-05/0.009986, allocations: 14.28 kB / 476.5 MB, free: 7.617 MB / 350.1 MB Notification: Performance of SimCode: time 0.0025/0.01249, allocations: 2.237 MB / 478.7 MB, free: 5.375 MB / 350.1 MB Notification: Performance of Templates: time 0.012/0.0245, allocations: 7.213 MB / 485.9 MB, free: 14.15 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