Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials") translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001371/0.001371, allocations: 115.5 kB / 18.47 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001475/0.001476, allocations: 210.3 kB / 19.42 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.146/1.146, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1768/0.1768, allocations: 46.11 MB / 345 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.632e-05/1.632e-05, allocations: 2.281 kB / 481.9 MB, free: 4.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.001123/0.001147, allocations: 0.5043 MB / 482.4 MB, free: 3.684 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002102/0.00326, allocations: 1.779 MB / 484.2 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.35e-05/0.003284, allocations: 4 kB / 484.2 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.167e-06/0.003298, allocations: 0 / 484.2 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.398e-06/0.003309, allocations: 0 / 484.2 MB, free: 1.879 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.0008239/0.004143, allocations: 231.2 kB / 484.4 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.845e-05/0.00419, allocations: 0 / 484.4 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.189e-05/0.004229, allocations: 7.938 kB / 484.4 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.108e-05/0.004245, allocations: 0 / 484.4 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.524e-05/0.004264, allocations: 7.922 kB / 484.4 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.049e-06/0.004274, allocations: 0 / 484.4 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000555/0.004832, allocations: 403.2 kB / 484.8 MB, free: 1.242 MB / 350.1 MB Notification: Performance of combineBinaries: time 2.476e-05/0.004868, allocations: 15.98 kB / 484.8 MB, free: 1.227 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 2.325e-06/0.004876, allocations: 3.906 kB / 484.8 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.057e-05/0.00489, allocations: 0 / 484.8 MB, free: 1.223 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.651e-06/0.0049, allocations: 0 / 484.8 MB, free: 1.223 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.0002186/0.005123, allocations: 165.4 kB / 485 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of FunctionAlias: time 1.096e-05/0.005141, allocations: 7.953 kB / 485 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of Early Inline: time 6.082e-05/0.005206, allocations: 48.36 kB / 485 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of simplify1: time 1.423e-06/0.005214, allocations: 0 / 485 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of Alias: time 3.901e-05/0.005257, allocations: 44.62 kB / 485.1 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of simplify2: time 6.01e-07/0.005264, allocations: 4 kB / 485.1 MB, free: 0.793 MB / 350.1 MB Notification: Performance of Events: time 2.045e-05/0.005288, allocations: 7.984 kB / 485.1 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of Detect States: time 4.79e-05/0.005341, allocations: 32.17 kB / 485.1 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of Partitioning: time 3.825e-05/0.005385, allocations: 16.12 kB / 485.1 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of Causalize: time 8.477e-05/0.005476, allocations: 20.06 kB / 485.2 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 3.903e-05/0.005521, allocations: 56.53 kB / 485.2 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of Inline: time 6.727e-05/0.005595, allocations: 68.48 kB / 485.3 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of Partitioning: time 7.944e-06/0.00561, allocations: 8.125 kB / 485.3 MB, free: 500 kB / 350.1 MB Notification: Performance of Cleanup: time 6.182e-06/0.00562, allocations: 0 / 485.3 MB, free: 500 kB / 350.1 MB Notification: Performance of Causalize: time 4.935e-05/0.005674, allocations: 36.05 kB / 485.3 MB, free: 456 kB / 350.1 MB Notification: Performance of Tearing: time 6.342e-06/0.005688, allocations: 0 / 485.3 MB, free: 456 kB / 350.1 MB Notification: Performance of Initialization: time 3.11e-07/0.005692, allocations: 0 / 485.3 MB, free: 456 kB / 350.1 MB Notification: Performance of Tearing: time 1.082e-06/0.005699, allocations: 4.188 kB / 485.3 MB, free: 452 kB / 350.1 MB Notification: Performance of Categorize: time 5.52e-06/0.005709, allocations: 0 / 485.3 MB, free: 452 kB / 350.1 MB Notification: Performance of Solve: time 1.282e-05/0.005725, allocations: 4 kB / 485.3 MB, free: 448 kB / 350.1 MB Notification: Performance of Jacobian: time 3.476e-06/0.005733, allocations: 0 / 485.3 MB, free: 448 kB / 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 2.402e-05/0.005761, allocations: 17.8 kB / 485.4 MB, free: 436 kB / 350.1 MB Notification: Performance of SimCode: time 0.0009916/0.006757, allocations: 1.079 MB / 486.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of Templates: time 0.003868/0.01064, allocations: 1.877 MB / 488.3 MB, free: 13.45 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.makefile make -j1 -f ModelicaTest_trunk_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 trunk/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_trunk_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_trunk_ModelicaTest.Math.TestPolynomials.o ModelicaTest_trunk_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 trunk/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_trunk_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_trunk_ModelicaTest.Math.TestPolynomials_functions.o ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials_functions.c ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials_functions.c:57:55: error: use of undeclared identifier '_OMC_LIT0' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT0)); ^ ModelicaTest_trunk_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_trunk_ModelicaTest.Math.TestPolynomials_functions.c:666:24: error: use of undeclared identifier '_OMC_LIT3' real_array_copy_data(_OMC_LIT3, _p1); ^ ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials_functions.c:675:24: error: use of undeclared identifier '_OMC_LIT4' real_array_copy_data(_OMC_LIT4, _u); ^ ModelicaTest_trunk_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_trunk_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_trunk_ModelicaTest.Math.TestPolynomials_functions.c:680:52: error: use of undeclared identifier '_OMC_LIT5' omc_Modelica_Utilities_Streams_print(threadData, _OMC_LIT5, _logFile); ^ ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials_functions.c:689:53: error: use of undeclared identifier '_OMC_LIT6' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT6)); ^ ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials_functions.c:701:53: error: use of undeclared identifier '_OMC_LIT7' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT7)); ^ ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials_functions.c:713:53: error: use of undeclared identifier '_OMC_LIT8' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT8)); ^ ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials_functions.c:727:53: error: use of undeclared identifier '_OMC_LIT9' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT9)); ^ ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials_functions.c:739:53: error: use of undeclared identifier '_OMC_LIT10' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT10)); ^ ModelicaTest_trunk_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_trunk_ModelicaTest.Math.TestPolynomials_functions.o] Error 1