Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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 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.TestComplexFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexFunctions") translateModel(ModelicaTest.ComplexMath.TestComplexFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 106.5 kB / 16.42 MB, free: 6.465 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.001253/0.001253, allocations: 191.7 kB / 17.36 MB, free: 5.707 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.306/1.306, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.1786/0.1786, allocations: 39.96 MB / 310.6 MB, free: 4.008 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.286e-05/2.287e-05, allocations: 5.656 kB / 436.4 MB, free: 11.81 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexFunctions): time 0.001115/0.001146, allocations: 485.1 kB / 436.8 MB, free: 11.34 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002377/0.003534, allocations: 2.31 MB / 439.1 MB, free: 9.008 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.076e-05/0.003566, allocations: 3.938 kB / 439.2 MB, free: 9.004 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.178e-05/0.003583, allocations: 0 / 439.2 MB, free: 9.004 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.888e-06/0.003605, allocations: 4 kB / 439.2 MB, free: 9 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.002065/0.005674, allocations: 1.127 MB / 440.3 MB, free: 7.875 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.328e-05/0.005747, allocations: 4 kB / 440.3 MB, free: 7.871 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.834e-05/0.0058, allocations: 7.984 kB / 440.3 MB, free: 7.863 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.464e-05/0.00582, allocations: 4 kB / 440.3 MB, free: 7.859 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.212e-05/0.005847, allocations: 3.984 kB / 440.3 MB, free: 7.855 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.671e-06/0.005857, allocations: 3.938 kB / 440.3 MB, free: 7.852 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001177/0.007039, allocations: 0.9834 MB / 441.3 MB, free: 6.867 MB / 318.1 MB Notification: Performance of combineBinaries: time 2.35e-05/0.007074, allocations: 3.938 kB / 441.3 MB, free: 6.863 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 7.31e-07/0.007079, allocations: 0 / 441.3 MB, free: 6.863 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.32e-05/0.007098, allocations: 0 / 441.3 MB, free: 6.863 MB / 318.1 MB Notification: Performance of FrontEnd: time 6.422e-06/0.007109, allocations: 4 kB / 441.3 MB, free: 6.859 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.0001722/0.007287, allocations: 149.3 kB / 441.4 MB, free: 6.613 MB / 318.1 MB Notification: Performance of FunctionAlias: time 1.953e-05/0.007312, allocations: 11.89 kB / 441.5 MB, free: 6.602 MB / 318.1 MB Notification: Performance of Early Inline: time 6.01e-05/0.007378, allocations: 56.36 kB / 441.5 MB, free: 6.52 MB / 318.1 MB Notification: Performance of simplify1: time 2.254e-06/0.007386, allocations: 0 / 441.5 MB, free: 6.52 MB / 318.1 MB Notification: Performance of Alias: time 3.469e-05/0.007424, allocations: 44.62 kB / 441.6 MB, free: 6.438 MB / 318.1 MB Notification: Performance of simplify2: time 4.91e-07/0.00743, allocations: 4 kB / 441.6 MB, free: 6.434 MB / 318.1 MB Notification: Performance of Events: time 1.551e-05/0.00745, allocations: 11.94 kB / 441.6 MB, free: 6.422 MB / 318.1 MB Notification: Performance of Detect States: time 5.042e-05/0.007504, allocations: 29.81 kB / 441.6 MB, free: 6.379 MB / 318.1 MB Notification: Performance of Partitioning: time 4.109e-05/0.007551, allocations: 16.12 kB / 441.6 MB, free: 6.355 MB / 318.1 MB Notification: Performance of Causalize: time 9.025e-05/0.007646, allocations: 20.11 kB / 441.6 MB, free: 6.328 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 2.314e-05/0.007676, allocations: 56.3 kB / 441.7 MB, free: 6.246 MB / 318.1 MB Notification: Performance of Inline: time 5.474e-05/0.007736, allocations: 84.58 kB / 441.8 MB, free: 6.129 MB / 318.1 MB Notification: Performance of Partitioning: time 6.231e-06/0.007748, allocations: 12.12 kB / 441.8 MB, free: 6.109 MB / 318.1 MB Notification: Performance of Cleanup: time 7.775e-06/0.00776, allocations: 7.984 kB / 441.8 MB, free: 6.102 MB / 318.1 MB Notification: Performance of Causalize: time 3.969e-05/0.007804, allocations: 32.11 kB / 441.8 MB, free: 6.062 MB / 318.1 MB Notification: Performance of Tearing: time 5.29e-06/0.007815, allocations: 0 / 441.8 MB, free: 6.062 MB / 318.1 MB Notification: Performance of Initialization: time 3.21e-07/0.00782, allocations: 3.938 kB / 441.8 MB, free: 6.059 MB / 318.1 MB Notification: Performance of Tearing: time 6.72e-07/0.007825, allocations: 0 / 441.8 MB, free: 6.059 MB / 318.1 MB Notification: Performance of Categorize: time 6.793e-06/0.007835, allocations: 0 / 441.8 MB, free: 6.059 MB / 318.1 MB Notification: Performance of Solve: time 1.264e-05/0.007852, allocations: 8.25 kB / 441.8 MB, free: 6.051 MB / 318.1 MB Notification: Performance of Jacobian: time 2.244e-06/0.007859, allocations: 0 / 441.8 MB, free: 6.051 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.625e-05/0.007888, allocations: 10.31 kB / 441.8 MB, free: 6.047 MB / 318.1 MB Notification: Performance of SimCode: time 0.0009723/0.008865, allocations: 1.273 MB / 443.1 MB, free: 4.766 MB / 318.1 MB Notification: Performance of Templates: time 0.005573/0.01445, allocations: 4.221 MB / 447.3 MB, free: 0.5391 MB / 318.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexFunctions.makefile make -j1 -f ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexFunctions.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_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_3.2.2_ModelicaTest.ComplexMath.TestComplexFunctions.o ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexFunctions.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_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_3.2.2_ModelicaTest.ComplexMath.TestComplexFunctions_functions.o ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexFunctions_functions.c ModelicaTest_3.2.2_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_3.2.2_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_3.2.2_ModelicaTest.ComplexMath.TestComplexFunctions_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.TestComplexFunctions_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.TestComplexFunctions_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.TestComplexFunctions_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.TestComplexFunctions_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.TestComplexFunctions_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.TestComplexFunctions_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.TestComplexFunctions_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.TestComplexFunctions_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.TestComplexFunctions_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.TestComplexFunctions_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.TestComplexFunctions_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.TestComplexFunctions_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.TestComplexFunctions_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.TestComplexFunctions_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.TestComplexFunctions_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.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=] 20 errors generated. make: *** [: ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexFunctions_functions.o] Error 1