Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.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.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices") translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 103.4 kB / 18.46 MB, free: 4.625 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.001404/0.001404, allocations: 186.5 kB / 19.39 MB, free: 3.703 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.416/1.416, allocations: 222.9 MB / 243.1 MB, free: 15.07 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.2055/0.2055, allocations: 44.19 MB / 337.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.617e-05/2.618e-05, allocations: 2.281 kB / 471.1 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.00159/0.001624, allocations: 496.2 kB / 471.6 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002443/0.004081, allocations: 1.568 MB / 473.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.777e-05/0.00411, allocations: 0 / 473.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.142e-05/0.004139, allocations: 0 / 473.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.823e-06/0.004151, allocations: 0 / 473.2 MB, free: 11.19 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Math.mo:171:3-212:15:writable] Warning: Pure function 'ModelicaTest.Math.Matrices' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001138/0.005308, allocations: 263.3 kB / 473.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.33e-05/0.005401, allocations: 7.938 kB / 473.5 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.846e-05/0.005455, allocations: 0 / 473.5 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.644e-05/0.005478, allocations: 0 / 473.5 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.563e-05/0.005508, allocations: 7.984 kB / 473.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.853e-06/0.00552, allocations: 0 / 473.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007189/0.006243, allocations: 467 kB / 473.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of combineBinaries: time 2.64e-05/0.00628, allocations: 3.906 kB / 473.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 2.625e-06/0.006289, allocations: 4 kB / 473.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.582e-05/0.00631, allocations: 0 / 473.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.195e-06/0.006324, allocations: 0 / 473.9 MB, free: 10.45 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.0002973/0.006626, allocations: 157.3 kB / 474.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of FunctionAlias: time 1.565e-05/0.006651, allocations: 11.88 kB / 474.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of Early Inline: time 8.169e-05/0.006738, allocations: 44.39 kB / 474.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of simplify1: time 3.427e-06/0.006748, allocations: 3.938 kB / 474.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of Alias: time 9.24e-05/0.006846, allocations: 56.61 kB / 474.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of simplify2: time 4.098e-06/0.006857, allocations: 8 kB / 474.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of Detect States: time 6.664e-05/0.006929, allocations: 20.25 kB / 474.2 MB, free: 9.973 MB / 350.1 MB Notification: Performance of Events: time 2.824e-05/0.006964, allocations: 3.953 kB / 474.2 MB, free: 9.969 MB / 350.1 MB Notification: Performance of Partitioning: time 6.897e-05/0.007039, allocations: 20.06 kB / 474.3 MB, free: 9.941 MB / 350.1 MB Notification: Performance of Causalize: time 0.0001147/0.00716, allocations: 20.11 kB / 474.3 MB, free: 9.914 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 4.536e-05/0.007213, allocations: 44.56 kB / 474.3 MB, free: 9.844 MB / 350.1 MB Notification: Performance of Inline: time 9.207e-05/0.007311, allocations: 68.48 kB / 474.4 MB, free: 9.742 MB / 350.1 MB Notification: Performance of Partitioning: time 1.468e-05/0.007332, allocations: 8.125 kB / 474.4 MB, free: 9.727 MB / 350.1 MB Notification: Performance of Cleanup: time 1.516e-05/0.007352, allocations: 11.92 kB / 474.4 MB, free: 9.715 MB / 350.1 MB Notification: Performance of Causalize: time 7.071e-05/0.007428, allocations: 36.03 kB / 474.4 MB, free: 9.672 MB / 350.1 MB Notification: Performance of Tearing: time 1.087e-05/0.007447, allocations: 0 / 474.4 MB, free: 9.672 MB / 350.1 MB Notification: Performance of Initialization: time 4.71e-07/0.007453, allocations: 192 / 474.4 MB, free: 9.672 MB / 350.1 MB Notification: Performance of Tearing: time 1.493e-06/0.007461, allocations: 4 kB / 474.4 MB, free: 9.668 MB / 350.1 MB Notification: Performance of Categorize: time 1.096e-05/0.007476, allocations: 4 kB / 474.4 MB, free: 9.664 MB / 350.1 MB Notification: Performance of Solve: time 1.882e-05/0.007499, allocations: 3.938 kB / 474.5 MB, free: 9.66 MB / 350.1 MB Notification: Performance of Jacobian: time 2.845e-06/0.007507, allocations: 0 / 474.5 MB, free: 9.66 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.661e-05/0.007549, allocations: 14.28 kB / 474.5 MB, free: 9.652 MB / 350.1 MB Notification: Performance of SimCode: time 0.001308/0.008861, allocations: 1.031 MB / 475.5 MB, free: 8.605 MB / 350.1 MB Notification: Performance of Templates: time 0.004341/0.01322, allocations: 1.166 MB / 476.7 MB, free: 7.441 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.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_TestMatrices -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.TestMatrices.o ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.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_TestMatrices -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.TestMatrices_functions.o ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices_functions.c ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices_functions.c:53:31: error: use of undeclared identifier '_OMC_LIT0' tmpMeta9 = stringAppend(_OMC_LIT0,tmp7); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices_functions.c:54:41: error: use of undeclared identifier '_OMC_LIT1' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT1); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices_functions.c:58:42: error: use of undeclared identifier '_OMC_LIT2' tmpMeta14 = stringAppend(tmpMeta13,_OMC_LIT2); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices_functions.c:62:42: error: use of undeclared identifier '_OMC_LIT1' tmpMeta18 = stringAppend(tmpMeta17,_OMC_LIT1); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices_functions.c:66:42: error: use of undeclared identifier '_OMC_LIT3' tmpMeta22 = stringAppend(tmpMeta21,_OMC_LIT3); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices_functions.c:81:53: error: use of undeclared identifier '_OMC_LIT4' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT4)); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices_functions.c:145:55: error: use of undeclared identifier '_OMC_LIT5' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT5)); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices_functions.c:396:3: warning: implicit declaration of function 'ModelicaInternal_print' is invalid in C99 [-Wimplicit-function-declaration] ModelicaInternal_print(MMC_STRINGDATA(_string), MMC_STRINGDATA(_fileName)); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices_functions.c:422:24: error: use of undeclared identifier '_OMC_LIT8' real_array_copy_data(_OMC_LIT8, _A1); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices_functions.c:425:24: error: use of undeclared identifier '_OMC_LIT9' real_array_copy_data(_OMC_LIT9, _A2); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices_functions.c:428:24: error: use of undeclared identifier '_OMC_LIT10' real_array_copy_data(_OMC_LIT10, _b); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices_functions.c:431:24: error: use of undeclared identifier '_OMC_LIT8' real_array_copy_data(_OMC_LIT8, _A3); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices_functions.c:434:24: error: use of undeclared identifier '_OMC_LIT10' real_array_copy_data(_OMC_LIT10, _a3); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices_functions.c:437:24: error: use of undeclared identifier '_OMC_LIT11' real_array_copy_data(_OMC_LIT11, _B3); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices_functions.c:440:24: error: use of undeclared identifier '_OMC_LIT12' real_array_copy_data(_OMC_LIT12, _b3); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices_functions.c:443:24: error: use of undeclared identifier '_OMC_LIT13' real_array_copy_data(_OMC_LIT13, _A4); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices_functions.c:446:24: error: use of undeclared identifier '_OMC_LIT10' real_array_copy_data(_OMC_LIT10, _a4); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices_functions.c:449:24: error: use of undeclared identifier '_OMC_LIT14' real_array_copy_data(_OMC_LIT14, _B4); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices_functions.c:452:24: error: use of undeclared identifier '_OMC_LIT12' real_array_copy_data(_OMC_LIT12, _b4); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices_functions.c:460:52: error: use of undeclared identifier '_OMC_LIT15' omc_Modelica_Utilities_Streams_print(threadData, _OMC_LIT15, _OMC_LIT6); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 1 warning and 20 errors generated. make: *** [: ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices_functions.o] Error 1