Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials.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.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials") translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 110.3 kB / 18.42 MB, free: 4.656 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.0009635/0.0009634, allocations: 196.6 kB / 19.35 MB, free: 3.727 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.254/1.254, allocations: 222.9 MB / 243 MB, free: 15.16 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.2007/0.2007, allocations: 44.19 MB / 337.4 MB, free: 2.707 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.014e-05/2.023e-05, allocations: 6.219 kB / 409.8 MB, free: 26.59 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.001183/0.001216, allocations: 486.6 kB / 410.3 MB, free: 26.13 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001707/0.002935, allocations: 1.754 MB / 412.1 MB, free: 24.36 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.996e-06/0.002956, allocations: 4 kB / 412.1 MB, free: 24.36 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.142e-05/0.002973, allocations: 0 / 412.1 MB, free: 24.36 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 2.925e-06/0.002981, allocations: 0 / 412.1 MB, free: 24.36 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Math.mo:120:3-169:18:writable] Warning: Pure function 'ModelicaTest.Math.Polynomials' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0006477/0.003642, allocations: 227.2 kB / 412.3 MB, free: 24.13 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 3.091e-05/0.003681, allocations: 4 kB / 412.3 MB, free: 24.13 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.361e-05/0.00372, allocations: 4 kB / 412.3 MB, free: 24.12 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.088e-05/0.003736, allocations: 0 / 412.3 MB, free: 24.12 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.229e-05/0.003752, allocations: 3.984 kB / 412.3 MB, free: 24.12 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.968e-06/0.003761, allocations: 0 / 412.3 MB, free: 24.12 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004151/0.00418, allocations: 409.9 kB / 412.7 MB, free: 23.72 MB / 302.1 MB Notification: Performance of combineBinaries: time 1.671e-05/0.004207, allocations: 7.984 kB / 412.7 MB, free: 23.71 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 1.533e-06/0.004213, allocations: 3.906 kB / 412.7 MB, free: 23.71 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 1.055e-05/0.004228, allocations: 3.938 kB / 412.7 MB, free: 23.71 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.484e-06/0.00424, allocations: 0 / 412.7 MB, free: 23.71 MB / 302.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.0001678/0.004412, allocations: 145.5 kB / 412.9 MB, free: 23.46 MB / 302.1 MB Notification: Performance of FunctionAlias: time 1.759e-05/0.004435, allocations: 7.938 kB / 412.9 MB, free: 23.46 MB / 302.1 MB Notification: Performance of Early Inline: time 4.855e-05/0.004489, allocations: 48.31 kB / 412.9 MB, free: 23.38 MB / 302.1 MB Notification: Performance of simplify1: time 1.513e-06/0.004497, allocations: 4 kB / 412.9 MB, free: 23.38 MB / 302.1 MB Notification: Performance of Alias: time 3.381e-05/0.004535, allocations: 60.56 kB / 413 MB, free: 23.28 MB / 302.1 MB Notification: Performance of simplify2: time 5.01e-07/0.004541, allocations: 3.938 kB / 413 MB, free: 23.28 MB / 302.1 MB Notification: Performance of Events: time 8.786e-06/0.004554, allocations: 0 / 413 MB, free: 23.28 MB / 302.1 MB Notification: Performance of Detect States: time 3.921e-05/0.004598, allocations: 24.25 kB / 413 MB, free: 23.24 MB / 302.1 MB Notification: Performance of Partitioning: time 3.664e-05/0.00464, allocations: 20.12 kB / 413 MB, free: 23.21 MB / 302.1 MB Notification: Performance of Causalize: time 7.597e-05/0.004721, allocations: 32.09 kB / 413 MB, free: 23.17 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 2.535e-05/0.004753, allocations: 48.31 kB / 413.1 MB, free: 23.1 MB / 302.1 MB Notification: Performance of Inline: time 4.298e-05/0.004801, allocations: 64.5 kB / 413.2 MB, free: 23 MB / 302.1 MB Notification: Performance of Partitioning: time 7.103e-06/0.004815, allocations: 24.34 kB / 413.2 MB, free: 22.97 MB / 302.1 MB Notification: Performance of Cleanup: time 4.989e-06/0.004824, allocations: 3.938 kB / 413.2 MB, free: 22.96 MB / 302.1 MB Notification: Performance of Causalize: time 3.823e-05/0.004867, allocations: 24.12 kB / 413.2 MB, free: 22.93 MB / 302.1 MB Notification: Performance of Tearing: time 3.427e-06/0.004877, allocations: 0 / 413.2 MB, free: 22.93 MB / 302.1 MB Notification: Performance of Initialization: time 3.11e-07/0.004881, allocations: 0 / 413.2 MB, free: 22.93 MB / 302.1 MB Notification: Performance of Tearing: time 6.21e-07/0.004886, allocations: 0 / 413.2 MB, free: 22.93 MB / 302.1 MB Notification: Performance of Categorize: time 4.278e-06/0.004894, allocations: 0 / 413.2 MB, free: 22.93 MB / 302.1 MB Notification: Performance of Solve: time 1.014e-05/0.004908, allocations: 11.92 kB / 413.2 MB, free: 22.92 MB / 302.1 MB Notification: Performance of Jacobian: time 1.844e-06/0.004914, allocations: 256 / 413.2 MB, free: 22.92 MB / 302.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 2.574e-05/0.004944, allocations: 17.16 kB / 413.2 MB, free: 22.91 MB / 302.1 MB Notification: Performance of SimCode: time 0.0007441/0.005693, allocations: 1.073 MB / 414.3 MB, free: 21.82 MB / 302.1 MB Notification: Performance of Templates: time 0.003373/0.009078, allocations: 1.884 MB / 416.2 MB, free: 19.94 MB / 302.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials.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_TestPolynomials -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.TestPolynomials.o ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials.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_TestPolynomials -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.TestPolynomials_functions.o ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials_functions.c ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials_functions.c:57:55: error: use of undeclared identifier '_OMC_LIT0' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT0)); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials_functions.c:637: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.TestPolynomials_functions.c:666:24: error: use of undeclared identifier '_OMC_LIT3' real_array_copy_data(_OMC_LIT3, _p1); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials_functions.c:675:24: error: use of undeclared identifier '_OMC_LIT4' real_array_copy_data(_OMC_LIT4, _u); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials_functions.c:678:52: error: use of undeclared identifier '_OMC_LIT5' omc_Modelica_Utilities_Streams_print(threadData, _OMC_LIT5, _OMC_LIT1); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials_functions.c:678:63: error: use of undeclared identifier '_OMC_LIT1' omc_Modelica_Utilities_Streams_print(threadData, _OMC_LIT5, _OMC_LIT1); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials_functions.c:680:52: error: use of undeclared identifier '_OMC_LIT5' omc_Modelica_Utilities_Streams_print(threadData, _OMC_LIT5, _logFile); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials_functions.c:689:53: error: use of undeclared identifier '_OMC_LIT6' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT6)); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials_functions.c:701:53: error: use of undeclared identifier '_OMC_LIT7' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT7)); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials_functions.c:713:53: error: use of undeclared identifier '_OMC_LIT8' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT8)); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials_functions.c:727:53: error: use of undeclared identifier '_OMC_LIT9' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT9)); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials_functions.c:739:53: error: use of undeclared identifier '_OMC_LIT10' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT10)); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials_functions.c:761:53: error: use of undeclared identifier '_OMC_LIT11' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT11)); ^ 1 warning and 12 errors generated. make: *** [: ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials_functions.o] Error 1