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.001145/0.001145, 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.001228/0.001228, 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.38/1.38, 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.2229/0.2229, allocations: 44.18 MB / 337.4 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.681e-05/2.681e-05, allocations: 5.797 kB / 471.1 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001271/0.001306, allocations: 493.3 kB / 471.6 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00134/0.002657, allocations: 0.772 MB / 472.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.735e-05/0.002686, allocations: 4 kB / 472.4 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.499e-05/0.002706, allocations: 0 / 472.4 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.101e-06/0.002719, allocations: 0 / 472.4 MB, free: 11.97 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.001532/0.004261, allocations: 0.5749 MB / 473 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.437e-05/0.004324, allocations: 4 kB / 473 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.26e-05/0.004372, allocations: 4 kB / 473 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.516e-05/0.004391, allocations: 0 / 473 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.829e-05/0.004414, allocations: 3.984 kB / 473 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.715e-06/0.004426, allocations: 0 / 473 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005776/0.005008, allocations: 383.2 kB / 473.4 MB, free: 11.01 MB / 350.1 MB Notification: Performance of combineBinaries: time 2.341e-05/0.005043, allocations: 0 / 473.4 MB, free: 11.01 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 2.044e-06/0.005055, allocations: 15.84 kB / 473.4 MB, free: 11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.138e-05/0.005071, allocations: 0 / 473.4 MB, free: 11 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.921e-06/0.005081, allocations: 0 / 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.000243/0.005328, allocations: 165.4 kB / 473.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of FunctionAlias: time 9.088e-06/0.005345, allocations: 4 kB / 473.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of Early Inline: time 7.121e-05/0.00542, allocations: 48.33 kB / 473.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of simplify1: time 1.733e-06/0.005427, allocations: 0 / 473.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of Alias: time 5.236e-05/0.005484, allocations: 48.61 kB / 473.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of simplify2: time 1.803e-06/0.00549, allocations: 3.984 kB / 473.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of Events: time 1.296e-05/0.005509, allocations: 8 kB / 473.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of Detect States: time 5.823e-05/0.005573, allocations: 31.17 kB / 473.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of Partitioning: time 4.483e-05/0.005624, allocations: 20.11 kB / 473.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of Causalize: time 0.0001079/0.005737, allocations: 24.06 kB / 473.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 4.687e-05/0.00579, allocations: 48.34 kB / 473.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of Inline: time 6.729e-05/0.005863, allocations: 68.67 kB / 473.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of Partitioning: time 1.022e-05/0.00588, allocations: 12.11 kB / 473.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of Cleanup: time 9.698e-06/0.005894, allocations: 8 kB / 473.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of Causalize: time 5.472e-05/0.005953, allocations: 24.06 kB / 473.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of Tearing: time 4.859e-06/0.005965, allocations: 0 / 473.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of Initialization: time 3.01e-07/0.005969, allocations: 0 / 473.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of Tearing: time 6.71e-07/0.005974, allocations: 0 / 473.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of Categorize: time 8.657e-06/0.005987, allocations: 8.188 kB / 473.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of Solve: time 1.574e-05/0.00601, allocations: 7.984 kB / 473.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of Jacobian: time 4.338e-06/0.006018, allocations: 0 / 473.9 MB, free: 10.21 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.153e-05/0.006054, allocations: 24.44 kB / 473.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of SimCode: time 0.001083/0.007141, allocations: 1.116 MB / 475 MB, free: 9.059 MB / 350.1 MB Notification: Performance of Templates: time 0.004305/0.01146, allocations: 1.756 MB / 476.8 MB, free: 7.301 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