Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexFunctions.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.ComplexMath.TestComplexFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexFunctions") translateModel(ModelicaTest.ComplexMath.TestComplexFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 111.3 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.001526/0.001526, allocations: 189.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.426/1.426, allocations: 222.9 MB / 243.1 MB, free: 15.05 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.2288/0.2288, allocations: 44.19 MB / 337.4 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.028e-05/3.029e-05, allocations: 2.281 kB / 471.1 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexFunctions): time 0.001139/0.001177, allocations: 476.1 kB / 471.6 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003145/0.004332, allocations: 2.287 MB / 473.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.198e-05/0.004366, allocations: 0 / 473.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.188e-05/0.004387, allocations: 4 kB / 473.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.871e-06/0.004398, allocations: 0 / 473.9 MB, free: 10.48 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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.002341/0.006749, allocations: 1.116 MB / 475 MB, free: 9.359 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.348e-05/0.006811, allocations: 8 kB / 475 MB, free: 9.352 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.5e-05/0.006851, allocations: 0 / 475 MB, free: 9.352 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.561e-05/0.006872, allocations: 3.984 kB / 475 MB, free: 9.348 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.096e-05/0.006898, allocations: 4 kB / 475 MB, free: 9.344 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.031e-06/0.006909, allocations: 0 / 475 MB, free: 9.344 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001292/0.008209, allocations: 0.9834 MB / 476 MB, free: 8.359 MB / 350.1 MB Notification: Performance of combineBinaries: time 2.433e-05/0.008245, allocations: 3.984 kB / 476 MB, free: 8.355 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 4.078e-06/0.008255, allocations: 15.83 kB / 476 MB, free: 8.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.406e-05/0.008274, allocations: 0 / 476 MB, free: 8.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.947e-06/0.008288, allocations: 0 / 476 MB, free: 8.34 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.0002589/0.008552, allocations: 171.1 kB / 476.2 MB, free: 8.07 MB / 350.1 MB Notification: Performance of FunctionAlias: time 1.282e-05/0.00857, allocations: 0 / 476.2 MB, free: 8.07 MB / 350.1 MB Notification: Performance of Early Inline: time 8.077e-05/0.008655, allocations: 64.23 kB / 476.2 MB, free: 7.98 MB / 350.1 MB Notification: Performance of simplify1: time 1.533e-06/0.008667, allocations: 11.94 kB / 476.3 MB, free: 7.969 MB / 350.1 MB Notification: Performance of Alias: time 4.212e-05/0.008713, allocations: 48.62 kB / 476.3 MB, free: 7.883 MB / 350.1 MB Notification: Performance of simplify2: time 5.31e-07/0.008719, allocations: 0 / 476.3 MB, free: 7.883 MB / 350.1 MB Notification: Performance of Events: time 1.512e-05/0.008738, allocations: 3.984 kB / 476.3 MB, free: 7.879 MB / 350.1 MB Notification: Performance of Detect States: time 5.569e-05/0.008797, allocations: 28.2 kB / 476.3 MB, free: 7.836 MB / 350.1 MB Notification: Performance of Partitioning: time 3.99e-05/0.008843, allocations: 12.12 kB / 476.3 MB, free: 7.816 MB / 350.1 MB Notification: Performance of Causalize: time 0.0001187/0.008969, allocations: 32.09 kB / 476.4 MB, free: 7.777 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 3.705e-05/0.009012, allocations: 48.38 kB / 476.4 MB, free: 7.703 MB / 350.1 MB Notification: Performance of Inline: time 7.258e-05/0.00909, allocations: 72.45 kB / 476.5 MB, free: 7.598 MB / 350.1 MB Notification: Performance of Partitioning: time 1.09e-05/0.009107, allocations: 12.06 kB / 476.5 MB, free: 7.578 MB / 350.1 MB Notification: Performance of Cleanup: time 7.925e-06/0.00912, allocations: 4.188 kB / 476.5 MB, free: 7.574 MB / 350.1 MB Notification: Performance of Causalize: time 4.719e-05/0.009182, allocations: 32.11 kB / 476.5 MB, free: 7.535 MB / 350.1 MB Notification: Performance of Tearing: time 5.05e-06/0.009193, allocations: 0 / 476.5 MB, free: 7.535 MB / 350.1 MB Notification: Performance of Initialization: time 3.21e-07/0.009198, allocations: 0 / 476.5 MB, free: 7.535 MB / 350.1 MB Notification: Performance of Tearing: time 6.91e-07/0.009203, allocations: 0 / 476.5 MB, free: 7.535 MB / 350.1 MB Notification: Performance of Categorize: time 8.326e-06/0.009215, allocations: 3.938 kB / 476.5 MB, free: 7.531 MB / 350.1 MB Notification: Performance of Solve: time 1.237e-05/0.009233, allocations: 4 kB / 476.5 MB, free: 7.527 MB / 350.1 MB Notification: Performance of Jacobian: time 5.28e-06/0.009242, allocations: 4 kB / 476.6 MB, free: 7.523 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.034e-05/0.009277, allocations: 22.41 kB / 476.6 MB, free: 7.508 MB / 350.1 MB Notification: Performance of SimCode: time 0.001337/0.01062, allocations: 1.282 MB / 477.9 MB, free: 6.211 MB / 350.1 MB Notification: Performance of Templates: time 0.006899/0.01753, allocations: 4.216 MB / 482.1 MB, free: 1.992 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexFunctions.makefile make -j1 -f ModelicaTest_4.0.0_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 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_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_4.0.0_ModelicaTest.ComplexMath.TestComplexFunctions.o ModelicaTest_4.0.0_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 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_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_4.0.0_ModelicaTest.ComplexMath.TestComplexFunctions_functions.o ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexFunctions_functions.c ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexFunctions_functions.c:1244: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.ComplexMath.TestComplexFunctions_functions.c:1453:52: error: use of undeclared identifier '_OMC_LIT5' omc_Modelica_Utilities_Streams_print(threadData, _OMC_LIT5, _OMC_LIT3); ^ ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexFunctions_functions.c:1453:63: error: use of undeclared identifier '_OMC_LIT3' omc_Modelica_Utilities_Streams_print(threadData, _OMC_LIT5, _OMC_LIT3); ^ ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexFunctions_functions.c:1455:52: error: use of undeclared identifier '_OMC_LIT5' omc_Modelica_Utilities_Streams_print(threadData, _OMC_LIT5, _logFile); ^ ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexFunctions_functions.c:1475:53: error: use of undeclared identifier '_OMC_LIT6' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT6)); ^ ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexFunctions_functions.c:1503:53: error: use of undeclared identifier '_OMC_LIT7' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT7)); ^ ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexFunctions_functions.c:1531:53: error: use of undeclared identifier '_OMC_LIT8' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT8)); ^ ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexFunctions_functions.c:1559:53: error: use of undeclared identifier '_OMC_LIT9' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT9)); ^ ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexFunctions_functions.c:1587:53: error: use of undeclared identifier '_OMC_LIT10' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT10)); ^ ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexFunctions_functions.c:1615:53: error: use of undeclared identifier '_OMC_LIT11' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT11)); ^ ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexFunctions_functions.c:1639:53: error: use of undeclared identifier '_OMC_LIT12' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT12)); ^ ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexFunctions_functions.c:1663:53: error: use of undeclared identifier '_OMC_LIT12' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT12)); ^ ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexFunctions_functions.c:1687:53: error: use of undeclared identifier '_OMC_LIT12' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT12)); ^ ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexFunctions_functions.c:1711:53: error: use of undeclared identifier '_OMC_LIT12' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT12)); ^ ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexFunctions_functions.c:1734:53: error: use of undeclared identifier '_OMC_LIT13' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT13)); ^ ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexFunctions_functions.c:1757:53: error: use of undeclared identifier '_OMC_LIT14' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT14)); ^ ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexFunctions_functions.c:1780:53: error: use of undeclared identifier '_OMC_LIT15' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT15)); ^ ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexFunctions_functions.c:1803:53: error: use of undeclared identifier '_OMC_LIT16' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT16)); ^ ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexFunctions_functions.c:1826:53: error: use of undeclared identifier '_OMC_LIT17' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT17)); ^ ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexFunctions_functions.c:1849: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_4.0.0_ModelicaTest.ComplexMath.TestComplexFunctions_functions.o] Error 1