Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexOperations") translateModel(ModelicaTest.ComplexMath.TestComplexOperations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexOperations") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 108.5 kB / 16.42 MB, free: 6.527 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.001164/0.001164, allocations: 192.3 kB / 17.36 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.29/1.29, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1789/0.1789, allocations: 39.96 MB / 310.5 MB, free: 4.02 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.9e-05/1.901e-05, allocations: 2.281 kB / 436.4 MB, free: 11.83 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexOperations): time 0.001025/0.001052, allocations: 489 kB / 436.8 MB, free: 11.35 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00252/0.003583, allocations: 2.314 MB / 439.2 MB, free: 9.016 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.566e-05/0.003619, allocations: 0 / 439.2 MB, free: 9.016 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.294e-05/0.003638, allocations: 0 / 439.2 MB, free: 9.016 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.24e-06/0.003654, allocations: 0 / 439.2 MB, free: 9.016 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.001917/0.005575, allocations: 1.136 MB / 440.3 MB, free: 7.879 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.164e-05/0.005624, allocations: 0 / 440.3 MB, free: 7.879 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.267e-05/0.005663, allocations: 7.984 kB / 440.3 MB, free: 7.871 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.302e-05/0.005681, allocations: 0 / 440.3 MB, free: 7.871 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.737e-05/0.005702, allocations: 0 / 440.3 MB, free: 7.871 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.109e-06/0.005711, allocations: 0 / 440.3 MB, free: 7.871 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009703/0.006685, allocations: 0.995 MB / 441.3 MB, free: 6.875 MB / 318.1 MB Notification: Performance of combineBinaries: time 1.903e-05/0.006715, allocations: 7.938 kB / 441.3 MB, free: 6.867 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 1.703e-06/0.006722, allocations: 4 kB / 441.3 MB, free: 6.863 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.09e-05/0.006737, allocations: 0 / 441.3 MB, free: 6.863 MB / 318.1 MB Notification: Performance of FrontEnd: time 5.891e-06/0.006747, allocations: 0 / 441.3 MB, free: 6.863 MB / 318.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.0001661/0.006917, allocations: 145.4 kB / 441.4 MB, free: 6.621 MB / 318.1 MB Notification: Performance of FunctionAlias: time 1.75e-05/0.00694, allocations: 3.953 kB / 441.5 MB, free: 6.617 MB / 318.1 MB Notification: Performance of Early Inline: time 4.974e-05/0.006994, allocations: 56.36 kB / 441.5 MB, free: 6.535 MB / 318.1 MB Notification: Performance of simplify1: time 1.563e-06/0.007001, allocations: 0 / 441.5 MB, free: 6.535 MB / 318.1 MB Notification: Performance of Alias: time 2.63e-05/0.007032, allocations: 56.61 kB / 441.6 MB, free: 6.441 MB / 318.1 MB Notification: Performance of simplify2: time 5.01e-07/0.007036, allocations: 0 / 441.6 MB, free: 6.441 MB / 318.1 MB Notification: Performance of Events: time 1.316e-05/0.007054, allocations: 7.891 kB / 441.6 MB, free: 6.434 MB / 318.1 MB Notification: Performance of Detect States: time 4.555e-05/0.007103, allocations: 33.8 kB / 441.6 MB, free: 6.387 MB / 318.1 MB Notification: Performance of Partitioning: time 3.97e-05/0.007149, allocations: 12.12 kB / 441.6 MB, free: 6.367 MB / 318.1 MB Notification: Performance of Causalize: time 9.317e-05/0.007247, allocations: 28.11 kB / 441.6 MB, free: 6.332 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 2.115e-05/0.007275, allocations: 48.62 kB / 441.7 MB, free: 6.258 MB / 318.1 MB Notification: Performance of Inline: time 4.953e-05/0.007329, allocations: 76.41 kB / 441.8 MB, free: 6.148 MB / 318.1 MB Notification: Performance of Partitioning: time 5.431e-06/0.00734, allocations: 12.06 kB / 441.8 MB, free: 6.129 MB / 318.1 MB Notification: Performance of Cleanup: time 5.881e-06/0.00735, allocations: 0 / 441.8 MB, free: 6.129 MB / 318.1 MB Notification: Performance of Causalize: time 3.934e-05/0.007394, allocations: 36.11 kB / 441.8 MB, free: 6.086 MB / 318.1 MB Notification: Performance of Tearing: time 4.929e-06/0.007406, allocations: 4.25 kB / 441.8 MB, free: 6.082 MB / 318.1 MB Notification: Performance of Initialization: time 2.8e-07/0.00741, allocations: 3.938 kB / 441.8 MB, free: 6.078 MB / 318.1 MB Notification: Performance of Tearing: time 6.41e-07/0.007415, allocations: 0 / 441.8 MB, free: 6.078 MB / 318.1 MB Notification: Performance of Categorize: time 6.592e-06/0.007425, allocations: 7.984 kB / 441.8 MB, free: 6.07 MB / 318.1 MB Notification: Performance of Solve: time 1.143e-05/0.007441, allocations: 3.938 kB / 441.8 MB, free: 6.066 MB / 318.1 MB Notification: Performance of Jacobian: time 2.154e-06/0.007447, allocations: 0 / 441.8 MB, free: 6.066 MB / 318.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.529e-05/0.007476, allocations: 8.203 kB / 441.8 MB, free: 6.062 MB / 318.1 MB Notification: Performance of SimCode: time 0.0008868/0.008368, allocations: 1.27 MB / 443.1 MB, free: 4.781 MB / 318.1 MB Notification: Performance of Templates: time 0.005116/0.01349, allocations: 4.208 MB / 447.3 MB, free: 0.5703 MB / 318.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexOperations.makefile make -j1 -f ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexOperations.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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_3_2_2_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_3.2.2_ModelicaTest.ComplexMath.TestComplexOperations.o ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexOperations.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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_3_2_2_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_3.2.2_ModelicaTest.ComplexMath.TestComplexOperations_functions.o ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexOperations_functions.c ModelicaTest_3.2.2_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_3.2.2_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_3.2.2_ModelicaTest.ComplexMath.TestComplexOperations_functions.c:1455:52: error: use of undeclared identifier '_OMC_LIT5' omc_Modelica_Utilities_Streams_print(threadData, _OMC_LIT5, _logFile); ^ ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexOperations_functions.c:1475:53: error: use of undeclared identifier '_OMC_LIT6' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT6)); ^ ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexOperations_functions.c:1503:53: error: use of undeclared identifier '_OMC_LIT7' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT7)); ^ ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexOperations_functions.c:1531:53: error: use of undeclared identifier '_OMC_LIT8' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT8)); ^ ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexOperations_functions.c:1559:53: error: use of undeclared identifier '_OMC_LIT9' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT9)); ^ ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexOperations_functions.c:1587:53: error: use of undeclared identifier '_OMC_LIT10' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT10)); ^ ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexOperations_functions.c:1615:53: error: use of undeclared identifier '_OMC_LIT11' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT11)); ^ ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexOperations_functions.c:1639:53: error: use of undeclared identifier '_OMC_LIT12' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT12)); ^ ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexOperations_functions.c:1663:53: error: use of undeclared identifier '_OMC_LIT12' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT12)); ^ ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexOperations_functions.c:1687:53: error: use of undeclared identifier '_OMC_LIT12' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT12)); ^ ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexOperations_functions.c:1711:53: error: use of undeclared identifier '_OMC_LIT12' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT12)); ^ ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexOperations_functions.c:1734:53: error: use of undeclared identifier '_OMC_LIT13' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT13)); ^ ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexOperations_functions.c:1757:53: error: use of undeclared identifier '_OMC_LIT14' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT14)); ^ ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexOperations_functions.c:1780:53: error: use of undeclared identifier '_OMC_LIT15' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT15)); ^ ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexOperations_functions.c:1803:53: error: use of undeclared identifier '_OMC_LIT16' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT16)); ^ ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexOperations_functions.c:1826:53: error: use of undeclared identifier '_OMC_LIT17' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT17)); ^ ModelicaTest_3.2.2_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=] 20 errors generated. make: *** [: ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexOperations_functions.o] Error 1