Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations.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.TestComplexOperations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations") translateModel(ModelicaTest.ComplexMath.TestComplexOperations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001166/0.001166, allocations: 119 kB / 18.47 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001427/0.001427, allocations: 213.1 kB / 19.42 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.141/1.141, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1786/0.1786, allocations: 46.11 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.638e-05/1.639e-05, allocations: 4.531 kB / 481.9 MB, free: 4.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexOperations): time 0.001042/0.001066, allocations: 477.5 kB / 482.3 MB, free: 3.719 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002878/0.003954, allocations: 2.416 MB / 484.8 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.399e-05/0.003979, allocations: 0 / 484.8 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.616e-06/0.003993, allocations: 0 / 484.8 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.418e-06/0.004003, allocations: 4 kB / 484.8 MB, free: 1.277 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.002285/0.006299, allocations: 1.14 MB / 485.9 MB, free: 140 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.334e-05/0.006351, allocations: 0 / 485.9 MB, free: 140 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.247e-05/0.006391, allocations: 8 kB / 485.9 MB, free: 132 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.133e-05/0.006408, allocations: 4 kB / 485.9 MB, free: 128 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.662e-05/0.006429, allocations: 3.938 kB / 485.9 MB, free: 124 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.899e-06/0.006438, allocations: 0 / 485.9 MB, free: 124 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001369/0.007812, allocations: 1.03 MB / 487 MB, free: 15.09 MB / 366.1 MB Notification: Performance of combineBinaries: time 1.884e-05/0.007842, allocations: 3.984 kB / 487 MB, free: 15.08 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 3.336e-06/0.007851, allocations: 7.906 kB / 487 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.261e-05/0.007868, allocations: 0 / 487 MB, free: 15.07 MB / 366.1 MB Notification: Performance of FrontEnd: time 5.7e-06/0.007878, allocations: 0 / 487 MB, free: 15.07 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.0002177/0.0081, allocations: 175 kB / 487.1 MB, free: 14.81 MB / 366.1 MB Notification: Performance of FunctionAlias: time 1.279e-05/0.008118, allocations: 11.89 kB / 487.1 MB, free: 14.8 MB / 366.1 MB Notification: Performance of Early Inline: time 7.705e-05/0.008199, allocations: 58.05 kB / 487.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of simplify1: time 1.493e-06/0.008207, allocations: 0 / 487.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of Alias: time 4.027e-05/0.008251, allocations: 52.62 kB / 487.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simplify2: time 4.81e-07/0.008256, allocations: 0 / 487.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of Events: time 1.242e-05/0.008273, allocations: 3.984 kB / 487.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of Detect States: time 0.000103/0.00838, allocations: 28.2 kB / 487.3 MB, free: 14.58 MB / 366.1 MB Notification: Performance of Partitioning: time 4.542e-05/0.008432, allocations: 16.12 kB / 487.3 MB, free: 14.55 MB / 366.1 MB Notification: Performance of Causalize: time 8.584e-05/0.008523, allocations: 32.05 kB / 487.3 MB, free: 14.52 MB / 366.1 MB Notification: Performance of After Index Reduction Inline: time 3.414e-05/0.008564, allocations: 40.38 kB / 487.4 MB, free: 14.45 MB / 366.1 MB Notification: Performance of Inline: time 7.622e-05/0.008645, allocations: 74.16 kB / 487.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of Partitioning: time 1.61e-05/0.008668, allocations: 8.312 kB / 487.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of Cleanup: time 8.166e-06/0.008681, allocations: 12 kB / 487.5 MB, free: 14.31 MB / 366.1 MB Notification: Performance of Causalize: time 4.72e-05/0.008733, allocations: 35.97 kB / 487.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of Tearing: time 6.022e-06/0.008746, allocations: 0 / 487.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of Initialization: time 3.51e-07/0.008751, allocations: 0 / 487.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of Tearing: time 1.252e-06/0.008755, allocations: 0 / 487.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of Categorize: time 6.592e-06/0.008766, allocations: 4 kB / 487.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of Solve: time 1.097e-05/0.008781, allocations: 0 / 487.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of Jacobian: time 3.927e-06/0.008788, allocations: 3.938 kB / 487.5 MB, free: 14.26 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.238e-05/0.008815, allocations: 18.52 kB / 487.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of SimCode: time 0.001235/0.01006, allocations: 1.321 MB / 488.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of Templates: time 0.006418/0.01648, allocations: 4.528 MB / 493.4 MB, free: 8.375 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations.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_TestComplexOperations -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.TestComplexOperations.o ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations.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_TestComplexOperations -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.TestComplexOperations_functions.o ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations_functions.c ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations_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.TestComplexOperations_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.TestComplexOperations_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.TestComplexOperations_functions.c:1604:52: error: use of undeclared identifier '_OMC_LIT5' omc_Modelica_Utilities_Streams_print(threadData, _OMC_LIT5, _logFile); ^ ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations_functions.c:1624:53: error: use of undeclared identifier '_OMC_LIT6' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT6)); ^ ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations_functions.c:1652:53: error: use of undeclared identifier '_OMC_LIT7' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT7)); ^ ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations_functions.c:1680:53: error: use of undeclared identifier '_OMC_LIT8' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT8)); ^ ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations_functions.c:1708:53: error: use of undeclared identifier '_OMC_LIT9' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT9)); ^ ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations_functions.c:1736:53: error: use of undeclared identifier '_OMC_LIT10' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT10)); ^ ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations_functions.c:1764:53: error: use of undeclared identifier '_OMC_LIT11' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT11)); ^ ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations_functions.c:1788:53: error: use of undeclared identifier '_OMC_LIT12' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT12)); ^ ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations_functions.c:1812:53: error: use of undeclared identifier '_OMC_LIT12' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT12)); ^ ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations_functions.c:1836:53: error: use of undeclared identifier '_OMC_LIT12' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT12)); ^ ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations_functions.c:1860:53: error: use of undeclared identifier '_OMC_LIT12' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT12)); ^ ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations_functions.c:1883:53: error: use of undeclared identifier '_OMC_LIT13' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT13)); ^ ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations_functions.c:1906:53: error: use of undeclared identifier '_OMC_LIT14' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT14)); ^ ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations_functions.c:1929:53: error: use of undeclared identifier '_OMC_LIT15' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT15)); ^ ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations_functions.c:1952:53: error: use of undeclared identifier '_OMC_LIT16' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT16)); ^ ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations_functions.c:1975:53: error: use of undeclared identifier '_OMC_LIT17' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT17)); ^ ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations_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.TestComplexOperations_functions.o] Error 1