Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.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.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors") translateModel(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 106.8 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.00174/0.00174, allocations: 181.2 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.41/1.41, 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.237/0.237, allocations: 44.19 MB / 337.4 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.813e-05/2.815e-05, allocations: 2.281 kB / 471.1 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001823/0.001862, allocations: 0.4888 MB / 471.6 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00166/0.003534, allocations: 0.7681 MB / 472.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.078e-05/0.003568, allocations: 0 / 472.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.919e-05/0.003594, allocations: 0 / 472.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.276e-06/0.003611, allocations: 4 kB / 472.4 MB, free: 11.98 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Math.mo:612:3-661:14:writable] Warning: Pure function 'ModelicaTest.Math.Vectors' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001931/0.005568, allocations: 0.5835 MB / 473 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.97e-05/0.005638, allocations: 4 kB / 473 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.308e-05/0.005687, allocations: 3.984 kB / 473 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.196e-05/0.005714, allocations: 0 / 473 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.314e-05/0.005744, allocations: 4 kB / 473 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.706e-06/0.005758, allocations: 7.922 kB / 473 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007011/0.006465, allocations: 375.3 kB / 473.4 MB, free: 11.01 MB / 350.1 MB Notification: Performance of combineBinaries: time 4.642e-05/0.006522, allocations: 0 / 473.4 MB, free: 11.01 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 2.915e-06/0.006535, allocations: 3.906 kB / 473.4 MB, free: 11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.445e-05/0.006555, allocations: 0 / 473.4 MB, free: 11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.049e-05/0.00657, allocations: 4 kB / 473.4 MB, free: 11 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.0002934/0.00687, allocations: 165.4 kB / 473.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of FunctionAlias: time 1.087e-05/0.006888, allocations: 0 / 473.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of Early Inline: time 8.941e-05/0.006982, allocations: 60.31 kB / 473.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of simplify1: time 1.984e-06/0.006991, allocations: 0 / 473.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of Alias: time 4.989e-05/0.007045, allocations: 48.62 kB / 473.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of simplify2: time 6.01e-07/0.007052, allocations: 0 / 473.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of Detect States: time 6.161e-05/0.007118, allocations: 24.25 kB / 473.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of Events: time 1.904e-05/0.007144, allocations: 7.938 kB / 473.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of Partitioning: time 4.808e-05/0.007198, allocations: 16.12 kB / 473.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of Causalize: time 0.0001205/0.007324, allocations: 24.06 kB / 473.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 6.135e-05/0.007392, allocations: 52.36 kB / 473.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of Inline: time 7.964e-05/0.007478, allocations: 68.47 kB / 473.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of Partitioning: time 1.354e-05/0.007498, allocations: 12.31 kB / 473.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of Cleanup: time 9.999e-06/0.007513, allocations: 3.984 kB / 473.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of Causalize: time 8.445e-05/0.007603, allocations: 39.97 kB / 473.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of Tearing: time 1.078e-05/0.007621, allocations: 0 / 473.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of Initialization: time 4e-07/0.007626, allocations: 0 / 473.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of Tearing: time 1.533e-06/0.007632, allocations: 0 / 473.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of Categorize: time 7.644e-06/0.007644, allocations: 0 / 473.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of Solve: time 1.827e-05/0.007669, allocations: 7.938 kB / 473.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of Jacobian: time 5.129e-06/0.007679, allocations: 3.938 kB / 473.9 MB, free: 10.2 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.918e-05/0.007723, allocations: 22.47 kB / 473.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of SimCode: time 0.001339/0.009067, allocations: 1.117 MB / 475 MB, free: 9.055 MB / 350.1 MB Notification: Performance of Templates: time 0.004931/0.01401, allocations: 1.756 MB / 476.8 MB, free: 7.297 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.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_TestVectors -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.TestVectors.o ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.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_TestVectors -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.TestVectors_functions.o ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors_functions.c ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors_functions.c:238:28: error: use of undeclared identifier '_OMC_LIT1' _job = (_eigenValuesOnly?_OMC_LIT1:_OMC_LIT2); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors_functions.c:238:38: error: use of undeclared identifier '_OMC_LIT2' _job = (_eigenValuesOnly?_OMC_LIT1:_OMC_LIT2); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors_functions.c:336:97: error: use of undeclared identifier '_OMC_LIT0' real_array_copy_data(omc_Modelica_Math_Matrices_LAPACK_dhseqr(threadData, _H, 1 /* true */, _OMC_LIT0, _H ,&_alphaImag ,&_info, NULL, NULL, NULL), _alphaReal); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors_functions.c:430:55: error: use of undeclared identifier '_OMC_LIT3' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT3)); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors_functions.c:504:53: error: use of undeclared identifier '_OMC_LIT4' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT4)); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors_functions.c:549:55: error: use of undeclared identifier '_OMC_LIT5' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT5)); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors_functions.c:581: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.TestVectors_functions.c:630:24: error: use of undeclared identifier '_OMC_LIT7' real_array_copy_data(_OMC_LIT7, _a); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors_functions.c:635:25: error: use of undeclared identifier '_OMC_LIT8' real_array_alloc_copy(_OMC_LIT8, _x); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors_functions.c:655:24: error: use of undeclared identifier '_OMC_LIT9' real_array_copy_data(_OMC_LIT9, _y); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors_functions.c:701:28: error: use of undeclared identifier '_OMC_LIT10' tmpMeta21 = stringAppend(_OMC_LIT10,tmp20); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors_functions.c:702:63: error: use of undeclared identifier '_OMC_LIT6' omc_Modelica_Utilities_Streams_print(threadData, tmpMeta21, _OMC_LIT6); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors_functions.c:709:53: error: use of undeclared identifier '_OMC_LIT11' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT11)); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors_functions.c:714:96: warning: incompatible pointer types passing 'modelica_real *' (aka 'double *') to parameter of type 'modelica_integer *' (aka 'long *') [-Wincompatible-pointer-types] _yi = omc_Modelica_Math_Vectors_interpolate(threadData, _x, _y, 6.5, ((modelica_integer) 4) ,&_iNew); ^~~~~~ ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors_functions.c:475:171: note: passing argument to parameter 'out_iNew' here modelica_real omc_Modelica_Math_Vectors_interpolate(threadData_t *threadData, real_array _x, real_array _y, modelica_real _xi, modelica_integer _iLast, modelica_integer *out_iNew) ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors_functions.c:721:53: error: use of undeclared identifier '_OMC_LIT12' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT12)); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors_functions.c:726:96: warning: incompatible pointer types passing 'modelica_real *' (aka 'double *') to parameter of type 'modelica_integer *' (aka 'long *') [-Wincompatible-pointer-types] _yi = omc_Modelica_Math_Vectors_interpolate(threadData, _x, _y, 6.5, ((modelica_integer) 9) ,&_iNew); ^~~~~~ ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors_functions.c:475:171: note: passing argument to parameter 'out_iNew' here modelica_real omc_Modelica_Math_Vectors_interpolate(threadData_t *threadData, real_array _x, real_array _y, modelica_real _xi, modelica_integer _iLast, modelica_integer *out_iNew) ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors_functions.c:733:53: error: use of undeclared identifier '_OMC_LIT12' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT12)); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors_functions.c:738:96: warning: incompatible pointer types passing 'modelica_real *' (aka 'double *') to parameter of type 'modelica_integer *' (aka 'long *') [-Wincompatible-pointer-types] _yi = omc_Modelica_Math_Vectors_interpolate(threadData, _x, _y, 4.0, ((modelica_integer) 2) ,&_iNew); ^~~~~~ ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors_functions.c:475:171: note: passing argument to parameter 'out_iNew' here modelica_real omc_Modelica_Math_Vectors_interpolate(threadData_t *threadData, real_array _x, real_array _y, modelica_real _xi, modelica_integer _iLast, modelica_integer *out_iNew) ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors_functions.c:745:53: error: use of undeclared identifier '_OMC_LIT12' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT12)); ^ 4 warnings and 15 errors generated. make: *** [: ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors_functions.o] Error 1