Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexOperations.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.TestComplexOperations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexOperations") translateModel(ModelicaTest.ComplexMath.TestComplexOperations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexOperations") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 108.9 kB / 18.46 MB, free: 4.609 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.001074/0.001074, allocations: 187.1 kB / 19.39 MB, free: 3.688 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.152/1.152, 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.1756/0.1756, allocations: 44.18 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.217e-05/1.218e-05, allocations: 4.812 kB / 471.1 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexOperations): time 0.00101/0.001031, allocations: 477.4 kB / 471.6 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002881/0.003925, allocations: 2.279 MB / 473.9 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.891e-05/0.003958, allocations: 3.938 kB / 473.9 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.125e-05/0.003975, allocations: 0 / 473.9 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.909e-06/0.003984, allocations: 0 / 473.9 MB, free: 10.49 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.002386/0.006385, allocations: 1.125 MB / 475 MB, free: 9.363 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.074e-05/0.006436, allocations: 4 kB / 475 MB, free: 9.359 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.063e-05/0.006473, allocations: 0 / 475 MB, free: 9.359 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.354e-05/0.006491, allocations: 3.984 kB / 475 MB, free: 9.355 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.029e-05/0.006516, allocations: 8 kB / 475 MB, free: 9.348 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.889e-06/0.006526, allocations: 0 / 475 MB, free: 9.348 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001415/0.007945, allocations: 0.9911 MB / 476 MB, free: 8.355 MB / 350.1 MB Notification: Performance of combineBinaries: time 2.018e-05/0.007976, allocations: 4 kB / 476 MB, free: 8.352 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 3.316e-06/0.007985, allocations: 7.844 kB / 476 MB, free: 8.344 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.115e-05/0.008001, allocations: 0 / 476 MB, free: 8.344 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.542e-06/0.008013, allocations: 0 / 476 MB, free: 8.344 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.0002547/0.008272, allocations: 175.1 kB / 476.2 MB, free: 8.07 MB / 350.1 MB Notification: Performance of FunctionAlias: time 6.893e-06/0.008285, allocations: 0 / 476.2 MB, free: 8.07 MB / 350.1 MB Notification: Performance of Early Inline: time 7.5e-05/0.008364, allocations: 64.25 kB / 476.2 MB, free: 7.98 MB / 350.1 MB Notification: Performance of simplify1: time 1.512e-06/0.008373, allocations: 0 / 476.2 MB, free: 7.98 MB / 350.1 MB Notification: Performance of Alias: time 4.727e-05/0.008424, allocations: 48.62 kB / 476.3 MB, free: 7.895 MB / 350.1 MB Notification: Performance of simplify2: time 5.61e-07/0.008431, allocations: 4 kB / 476.3 MB, free: 7.891 MB / 350.1 MB Notification: Performance of Events: time 1.51e-05/0.00845, allocations: 11.91 kB / 476.3 MB, free: 7.879 MB / 350.1 MB Notification: Performance of Detect States: time 4.835e-05/0.008504, allocations: 32.14 kB / 476.3 MB, free: 7.832 MB / 350.1 MB Notification: Performance of Partitioning: time 3.511e-05/0.008547, allocations: 12.12 kB / 476.4 MB, free: 7.812 MB / 350.1 MB Notification: Performance of Causalize: time 8.033e-05/0.008635, allocations: 20.11 kB / 476.4 MB, free: 7.785 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 4.166e-05/0.008683, allocations: 48.56 kB / 476.4 MB, free: 7.711 MB / 350.1 MB Notification: Performance of Inline: time 7.144e-05/0.008761, allocations: 72.48 kB / 476.5 MB, free: 7.605 MB / 350.1 MB Notification: Performance of Partitioning: time 1.059e-05/0.008778, allocations: 16.06 kB / 476.5 MB, free: 7.582 MB / 350.1 MB Notification: Performance of Cleanup: time 5.821e-06/0.008789, allocations: 4 kB / 476.5 MB, free: 7.578 MB / 350.1 MB Notification: Performance of Causalize: time 4.392e-05/0.008838, allocations: 24.11 kB / 476.5 MB, free: 7.547 MB / 350.1 MB Notification: Performance of Tearing: time 6.141e-06/0.008851, allocations: 0 / 476.5 MB, free: 7.547 MB / 350.1 MB Notification: Performance of Initialization: time 4.91e-07/0.008856, allocations: 192 / 476.5 MB, free: 7.547 MB / 350.1 MB Notification: Performance of Tearing: time 3.777e-06/0.008865, allocations: 11.94 kB / 476.5 MB, free: 7.535 MB / 350.1 MB Notification: Performance of Categorize: time 5.12e-06/0.008875, allocations: 0 / 476.5 MB, free: 7.535 MB / 350.1 MB Notification: Performance of Solve: time 1.064e-05/0.008889, allocations: 0 / 476.5 MB, free: 7.535 MB / 350.1 MB Notification: Performance of Jacobian: time 2.264e-06/0.008895, allocations: 0 / 476.5 MB, free: 7.535 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.423e-05/0.008933, allocations: 24.67 kB / 476.6 MB, free: 7.52 MB / 350.1 MB Notification: Performance of SimCode: time 0.001251/0.01019, allocations: 1.29 MB / 477.9 MB, free: 6.215 MB / 350.1 MB Notification: Performance of Templates: time 0.006176/0.01638, allocations: 4.209 MB / 482.1 MB, free: 2.004 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexOperations.makefile make -j1 -f ModelicaTest_4.0.0_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 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_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_4.0.0_ModelicaTest.ComplexMath.TestComplexOperations.o ModelicaTest_4.0.0_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 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_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_4.0.0_ModelicaTest.ComplexMath.TestComplexOperations_functions.o ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexOperations_functions.c ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexOperations_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.TestComplexOperations_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.TestComplexOperations_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.TestComplexOperations_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.TestComplexOperations_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.TestComplexOperations_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.TestComplexOperations_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.TestComplexOperations_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.TestComplexOperations_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.TestComplexOperations_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.TestComplexOperations_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.TestComplexOperations_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.TestComplexOperations_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.TestComplexOperations_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.TestComplexOperations_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.TestComplexOperations_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.TestComplexOperations_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.TestComplexOperations_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.TestComplexOperations_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.TestComplexOperations_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.TestComplexOperations_functions.o] Error 1