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.001313/0.001319, allocations: 106.2 kB / 18.46 MB, free: 4.594 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.001786/0.001786, allocations: 188.3 kB / 19.39 MB, free: 3.672 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.299/1.299, allocations: 222.9 MB / 243.1 MB, free: 15.05 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.1999/0.1999, allocations: 44.19 MB / 337.4 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.593e-05/2.594e-05, allocations: 5.234 kB / 471.1 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.00129/0.001324, allocations: 485.3 kB / 471.6 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001979/0.003314, allocations: 1.565 MB / 473.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.608e-05/0.003344, allocations: 3.938 kB / 473.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.589e-05/0.003365, allocations: 0 / 473.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.454e-06/0.00338, allocations: 0 / 473.2 MB, free: 11.17 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.0008345/0.004227, allocations: 274.5 kB / 473.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.512e-05/0.0043, allocations: 3.984 kB / 473.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.469e-05/0.004353, allocations: 4 kB / 473.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.695e-05/0.004376, allocations: 8 kB / 473.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.254e-05/0.004404, allocations: 0 / 473.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.252e-06/0.004415, allocations: 0 / 473.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006013/0.00502, allocations: 461.9 kB / 473.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of combineBinaries: time 2.667e-05/0.005057, allocations: 7.891 kB / 473.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 2.034e-06/0.005064, allocations: 4 kB / 473.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.219e-05/0.005081, allocations: 0 / 473.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.043e-06/0.005093, allocations: 0 / 473.9 MB, free: 10.43 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.0002754/0.005375, allocations: 157.3 kB / 474.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of FunctionAlias: time 1.185e-05/0.005393, allocations: 4 kB / 474.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of Early Inline: time 8.414e-05/0.005481, allocations: 48.33 kB / 474.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of simplify1: time 2.284e-06/0.005493, allocations: 0 / 474.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of Alias: time 5.603e-05/0.005557, allocations: 56.61 kB / 474.2 MB, free: 10 MB / 350.1 MB Notification: Performance of simplify2: time 3.226e-06/0.005566, allocations: 3.984 kB / 474.2 MB, free: 10 MB / 350.1 MB Notification: Performance of Events: time 1.352e-05/0.005584, allocations: 0 / 474.2 MB, free: 10 MB / 350.1 MB Notification: Performance of Detect States: time 6.095e-05/0.005649, allocations: 32.08 kB / 474.2 MB, free: 9.953 MB / 350.1 MB Notification: Performance of Partitioning: time 5.343e-05/0.005712, allocations: 24.11 kB / 474.3 MB, free: 9.922 MB / 350.1 MB Notification: Performance of Causalize: time 0.0001136/0.005831, allocations: 16.12 kB / 474.3 MB, free: 9.898 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 3.771e-05/0.005876, allocations: 48.41 kB / 474.3 MB, free: 9.824 MB / 350.1 MB Notification: Performance of Inline: time 6.063e-05/0.005942, allocations: 60.5 kB / 474.4 MB, free: 9.73 MB / 350.1 MB Notification: Performance of Partitioning: time 1.474e-05/0.005963, allocations: 20.28 kB / 474.4 MB, free: 9.703 MB / 350.1 MB Notification: Performance of Cleanup: time 7.614e-06/0.005975, allocations: 3.938 kB / 474.4 MB, free: 9.699 MB / 350.1 MB Notification: Performance of Causalize: time 5.437e-05/0.006035, allocations: 32.12 kB / 474.4 MB, free: 9.66 MB / 350.1 MB Notification: Performance of Tearing: time 4.879e-06/0.006047, allocations: 0 / 474.4 MB, free: 9.66 MB / 350.1 MB Notification: Performance of Initialization: time 2.9e-07/0.006051, allocations: 0 / 474.4 MB, free: 9.66 MB / 350.1 MB Notification: Performance of Tearing: time 6.11e-07/0.006057, allocations: 0 / 474.4 MB, free: 9.66 MB / 350.1 MB Notification: Performance of Categorize: time 6.372e-06/0.006067, allocations: 0 / 474.4 MB, free: 9.66 MB / 350.1 MB Notification: Performance of Solve: time 1.805e-05/0.00609, allocations: 15.86 kB / 474.4 MB, free: 9.645 MB / 350.1 MB Notification: Performance of Jacobian: time 4.739e-06/0.006099, allocations: 0 / 474.4 MB, free: 9.645 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.124e-05/0.006136, allocations: 22.41 kB / 474.5 MB, free: 9.629 MB / 350.1 MB Notification: Performance of SimCode: time 0.001024/0.007165, allocations: 1.038 MB / 475.5 MB, free: 8.574 MB / 350.1 MB Notification: Performance of Templates: time 0.004342/0.01152, allocations: 1.156 MB / 476.7 MB, free: 7.418 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