Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexFunctions.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.ComplexMath.TestComplexFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexFunctions") translateModel(ModelicaTest.ComplexMath.TestComplexFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001127/0.001127, allocations: 111.8 kB / 18.47 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001158/0.001158, allocations: 218.2 kB / 19.42 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.127/1.127, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1709/0.1709, allocations: 46.09 MB / 344.9 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.495e-05/1.498e-05, allocations: 2.281 kB / 481.9 MB, free: 4.207 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexFunctions): time 0.001018/0.00104, allocations: 473.5 kB / 482.3 MB, free: 3.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002778/0.00383, allocations: 2.416 MB / 484.8 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.031e-05/0.003862, allocations: 0 / 484.8 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.406e-06/0.003876, allocations: 0 / 484.8 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.519e-06/0.00389, allocations: 0 / 484.8 MB, free: 1.312 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/ComplexMath.mo:4:3-189:23:writable] Warning: Pure function 'ModelicaTest.ComplexMath.ComplexFunctions' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.002231/0.006125, allocations: 1.152 MB / 485.9 MB, free: 164 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.171e-05/0.006175, allocations: 0 / 485.9 MB, free: 164 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.659e-05/0.006207, allocations: 3.984 kB / 485.9 MB, free: 160 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.271e-05/0.006224, allocations: 3.984 kB / 485.9 MB, free: 156 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.725e-05/0.006247, allocations: 7.938 kB / 485.9 MB, free: 148 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.009e-06/0.006265, allocations: 3.938 kB / 485.9 MB, free: 144 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001301/0.007571, allocations: 1.034 MB / 487 MB, free: 15.11 MB / 366.1 MB Notification: Performance of combineBinaries: time 1.638e-05/0.007598, allocations: 0 / 487 MB, free: 15.11 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 1.944e-06/0.007605, allocations: 3.906 kB / 487 MB, free: 15.1 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.084e-05/0.007623, allocations: 8 kB / 487 MB, free: 15.09 MB / 366.1 MB Notification: Performance of FrontEnd: time 5.129e-06/0.007632, allocations: 0 / 487 MB, free: 15.09 MB / 366.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.0002192/0.007855, allocations: 171.1 kB / 487.1 MB, free: 14.83 MB / 366.1 MB Notification: Performance of FunctionAlias: time 1.216e-05/0.007874, allocations: 11.89 kB / 487.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of Early Inline: time 7.378e-05/0.007952, allocations: 54.05 kB / 487.2 MB, free: 14.74 MB / 366.1 MB Notification: Performance of simplify1: time 1.483e-06/0.007959, allocations: 0 / 487.2 MB, free: 14.74 MB / 366.1 MB Notification: Performance of Alias: time 4.289e-05/0.008006, allocations: 56.61 kB / 487.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of simplify2: time 5.41e-07/0.008011, allocations: 0 / 487.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of Events: time 1.106e-05/0.008026, allocations: 4 kB / 487.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of Detect States: time 4.436e-05/0.008075, allocations: 34.73 kB / 487.3 MB, free: 14.59 MB / 366.1 MB Notification: Performance of Partitioning: time 3.664e-05/0.008118, allocations: 12.12 kB / 487.3 MB, free: 14.57 MB / 366.1 MB Notification: Performance of Causalize: time 8.708e-05/0.00821, allocations: 24.05 kB / 487.3 MB, free: 14.54 MB / 366.1 MB Notification: Performance of After Index Reduction Inline: time 3.461e-05/0.008253, allocations: 48.36 kB / 487.4 MB, free: 14.47 MB / 366.1 MB Notification: Performance of Inline: time 7.121e-05/0.008329, allocations: 70.38 kB / 487.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of Partitioning: time 9.658e-06/0.008345, allocations: 12.12 kB / 487.5 MB, free: 14.34 MB / 366.1 MB Notification: Performance of Cleanup: time 9.097e-06/0.008358, allocations: 7.984 kB / 487.5 MB, free: 14.34 MB / 366.1 MB Notification: Performance of Causalize: time 4.67e-05/0.008409, allocations: 24.06 kB / 487.5 MB, free: 14.3 MB / 366.1 MB Notification: Performance of Tearing: time 6.802e-06/0.008423, allocations: 0 / 487.5 MB, free: 14.3 MB / 366.1 MB Notification: Performance of Initialization: time 4.31e-07/0.008427, allocations: 0 / 487.5 MB, free: 14.3 MB / 366.1 MB Notification: Performance of Tearing: time 8.31e-07/0.008432, allocations: 0 / 487.5 MB, free: 14.3 MB / 366.1 MB Notification: Performance of Categorize: time 6.512e-06/0.008442, allocations: 3.984 kB / 487.5 MB, free: 14.3 MB / 366.1 MB Notification: Performance of Solve: time 1.696e-05/0.008463, allocations: 16.17 kB / 487.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of Jacobian: time 3.717e-06/0.008471, allocations: 0 / 487.5 MB, free: 14.29 MB / 366.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.066e-05/0.008495, allocations: 10.77 kB / 487.5 MB, free: 14.28 MB / 366.1 MB Notification: Performance of SimCode: time 0.001206/0.009705, allocations: 1.321 MB / 488.8 MB, free: 12.94 MB / 366.1 MB Notification: Performance of Templates: time 0.006456/0.01617, allocations: 4.536 MB / 493.4 MB, free: 8.395 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexFunctions.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexFunctions.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_ComplexMath_TestComplexFunctions -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.ComplexMath.TestComplexFunctions.o ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexFunctions.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_ComplexMath_TestComplexFunctions -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.ComplexMath.TestComplexFunctions_functions.o ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexFunctions_functions.c ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexFunctions_functions.c:1393: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.ComplexMath.TestComplexFunctions_functions.c:1602:52: error: use of undeclared identifier '_OMC_LIT5' omc_Modelica_Utilities_Streams_print(threadData, _OMC_LIT5, _OMC_LIT3); ^ ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexFunctions_functions.c:1602:63: error: use of undeclared identifier '_OMC_LIT3' omc_Modelica_Utilities_Streams_print(threadData, _OMC_LIT5, _OMC_LIT3); ^ ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexFunctions_functions.c:1604:52: error: use of undeclared identifier '_OMC_LIT5' omc_Modelica_Utilities_Streams_print(threadData, _OMC_LIT5, _logFile); ^ ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexFunctions_functions.c:1624:53: error: use of undeclared identifier '_OMC_LIT6' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT6)); ^ ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexFunctions_functions.c:1652:53: error: use of undeclared identifier '_OMC_LIT7' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT7)); ^ ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexFunctions_functions.c:1680:53: error: use of undeclared identifier '_OMC_LIT8' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT8)); ^ ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexFunctions_functions.c:1708:53: error: use of undeclared identifier '_OMC_LIT9' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT9)); ^ ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexFunctions_functions.c:1736:53: error: use of undeclared identifier '_OMC_LIT10' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT10)); ^ ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexFunctions_functions.c:1764:53: error: use of undeclared identifier '_OMC_LIT11' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT11)); ^ ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexFunctions_functions.c:1788:53: error: use of undeclared identifier '_OMC_LIT12' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT12)); ^ ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexFunctions_functions.c:1812:53: error: use of undeclared identifier '_OMC_LIT12' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT12)); ^ ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexFunctions_functions.c:1836:53: error: use of undeclared identifier '_OMC_LIT12' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT12)); ^ ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexFunctions_functions.c:1860:53: error: use of undeclared identifier '_OMC_LIT12' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT12)); ^ ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexFunctions_functions.c:1883:53: error: use of undeclared identifier '_OMC_LIT13' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT13)); ^ ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexFunctions_functions.c:1906:53: error: use of undeclared identifier '_OMC_LIT14' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT14)); ^ ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexFunctions_functions.c:1929:53: error: use of undeclared identifier '_OMC_LIT15' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT15)); ^ ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexFunctions_functions.c:1952:53: error: use of undeclared identifier '_OMC_LIT16' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT16)); ^ ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexFunctions_functions.c:1975:53: error: use of undeclared identifier '_OMC_LIT17' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT17)); ^ ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexFunctions_functions.c:1998:53: error: use of undeclared identifier '_OMC_LIT18' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT18)); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 1 warning and 20 errors generated. make: *** [: ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexFunctions_functions.o] Error 1