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.001248/0.001248, allocations: 108.9 kB / 18.46 MB, free: 4.605 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.001319/0.001319, allocations: 183.1 kB / 19.39 MB, free: 3.684 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.388/1.388, allocations: 222.9 MB / 243.1 MB, free: 15.07 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.233/0.233, allocations: 44.2 MB / 337.4 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.119e-05/2.12e-05, allocations: 2.281 kB / 471.1 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexFunctions): time 0.001189/0.001219, allocations: 472.7 kB / 471.6 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003194/0.004424, allocations: 2.283 MB / 473.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.132e-05/0.004459, allocations: 0 / 473.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.322e-05/0.004478, allocations: 0 / 473.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.729e-06/0.004498, allocations: 4 kB / 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.002523/0.007026, allocations: 1.124 MB / 475 MB, free: 9.367 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.041e-05/0.007085, allocations: 8 kB / 475 MB, free: 9.359 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.821e-05/0.007129, allocations: 0 / 475 MB, free: 9.359 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.394e-05/0.007148, allocations: 0 / 475 MB, free: 9.359 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.093e-05/0.007173, allocations: 3.984 kB / 475 MB, free: 9.355 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.741e-06/0.007185, allocations: 4 kB / 475 MB, free: 9.352 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001424/0.008614, allocations: 0.9834 MB / 476 MB, free: 8.367 MB / 350.1 MB Notification: Performance of combineBinaries: time 1.799e-05/0.008644, allocations: 0 / 476 MB, free: 8.367 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 5.24e-06/0.008655, allocations: 11.84 kB / 476 MB, free: 8.355 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.071e-05/0.00867, allocations: 0 / 476 MB, free: 8.355 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.781e-06/0.008681, allocations: 0 / 476 MB, free: 8.355 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.0002674/0.008952, allocations: 186 kB / 476.2 MB, free: 8.074 MB / 350.1 MB Notification: Performance of FunctionAlias: time 8.095e-06/0.008967, allocations: 0 / 476.2 MB, free: 8.074 MB / 350.1 MB Notification: Performance of Early Inline: time 8.891e-05/0.00906, allocations: 60.23 kB / 476.2 MB, free: 7.988 MB / 350.1 MB Notification: Performance of simplify1: time 1.563e-06/0.009068, allocations: 0 / 476.2 MB, free: 7.988 MB / 350.1 MB Notification: Performance of Alias: time 5.219e-05/0.009128, allocations: 56.61 kB / 476.3 MB, free: 7.895 MB / 350.1 MB Notification: Performance of simplify2: time 6.01e-07/0.009133, allocations: 0 / 476.3 MB, free: 7.895 MB / 350.1 MB Notification: Performance of Detect States: time 5.972e-05/0.009197, allocations: 32.19 kB / 476.3 MB, free: 7.848 MB / 350.1 MB Notification: Performance of Events: time 1.476e-05/0.009218, allocations: 7.938 kB / 476.3 MB, free: 7.84 MB / 350.1 MB Notification: Performance of Partitioning: time 4.392e-05/0.009268, allocations: 12.12 kB / 476.4 MB, free: 7.82 MB / 350.1 MB Notification: Performance of Causalize: time 0.0001163/0.00939, allocations: 24.12 kB / 476.4 MB, free: 7.789 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 3.714e-05/0.009433, allocations: 44.36 kB / 476.4 MB, free: 7.719 MB / 350.1 MB Notification: Performance of Inline: time 7.915e-05/0.009519, allocations: 76.48 kB / 476.5 MB, free: 7.609 MB / 350.1 MB Notification: Performance of Partitioning: time 1.065e-05/0.009537, allocations: 12.06 kB / 476.5 MB, free: 7.59 MB / 350.1 MB Notification: Performance of Cleanup: time 8.586e-06/0.00955, allocations: 4 kB / 476.5 MB, free: 7.586 MB / 350.1 MB Notification: Performance of Causalize: time 6.132e-05/0.009616, allocations: 36.28 kB / 476.5 MB, free: 7.543 MB / 350.1 MB Notification: Performance of Tearing: time 1.019e-05/0.009634, allocations: 0 / 476.5 MB, free: 7.543 MB / 350.1 MB Notification: Performance of Initialization: time 2.8e-07/0.009639, allocations: 0 / 476.5 MB, free: 7.543 MB / 350.1 MB Notification: Performance of Tearing: time 6.322e-06/0.009649, allocations: 7.922 kB / 476.6 MB, free: 7.535 MB / 350.1 MB Notification: Performance of Categorize: time 7.654e-06/0.009661, allocations: 4 kB / 476.6 MB, free: 7.531 MB / 350.1 MB Notification: Performance of Solve: time 1.308e-05/0.009679, allocations: 0 / 476.6 MB, free: 7.531 MB / 350.1 MB Notification: Performance of Jacobian: time 2.064e-06/0.009686, allocations: 0 / 476.6 MB, free: 7.531 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.563e-05/0.009725, allocations: 22.45 kB / 476.6 MB, free: 7.516 MB / 350.1 MB Notification: Performance of SimCode: time 0.001374/0.0111, allocations: 1.29 MB / 477.9 MB, free: 6.211 MB / 350.1 MB Notification: Performance of Templates: time 0.007055/0.01817, allocations: 4.204 MB / 482.1 MB, free: 2.004 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