Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions.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.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+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.Math.TestScalarFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions") translateModel(ModelicaTest.Math.TestScalarFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 111.5 kB / 17.09 MB, free: 6.008 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.002036/0.002036, allocations: 198.7 kB / 18.02 MB, free: 5.086 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.995/1.995, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2641/0.2641, allocations: 43.52 MB / 314.8 MB, free: 476 kB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.942e-05/2.943e-05, allocations: 2.281 kB / 442.4 MB, free: 5.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestScalarFunctions): time 0.001682/0.001721, allocations: 0.4908 MB / 442.9 MB, free: 5.27 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002021/0.003755, allocations: 1.427 MB / 444.3 MB, free: 3.824 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.056e-05/0.003798, allocations: 0 / 444.3 MB, free: 3.824 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.438e-05/0.003819, allocations: 0 / 444.3 MB, free: 3.824 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.862e-06/0.00383, allocations: 0 / 444.3 MB, free: 3.824 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000529/0.004376, allocations: 107.5 kB / 444.4 MB, free: 3.723 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.595e-05/0.004483, allocations: 16 kB / 444.4 MB, free: 3.707 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.288e-05/0.004542, allocations: 0 / 444.4 MB, free: 3.707 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.206e-05/0.004569, allocations: 0 / 444.4 MB, free: 3.707 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.841e-05/0.004602, allocations: 4 kB / 444.4 MB, free: 3.703 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.488e-06/0.004616, allocations: 0 / 444.4 MB, free: 3.703 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003491/0.004969, allocations: 59.92 kB / 444.5 MB, free: 3.645 MB / 318.1 MB Notification: Performance of combineBinaries: time 2.949e-05/0.005008, allocations: 7.906 kB / 444.5 MB, free: 3.637 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 1.844e-06/0.005016, allocations: 4 kB / 444.5 MB, free: 3.633 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.512e-05/0.005036, allocations: 3.938 kB / 444.5 MB, free: 3.629 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.218e-06/0.005049, allocations: 0 / 444.5 MB, free: 3.629 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.000274/0.005328, allocations: 149.4 kB / 444.7 MB, free: 3.383 MB / 318.1 MB Notification: Performance of FunctionAlias: time 1.809e-05/0.005353, allocations: 11.89 kB / 444.7 MB, free: 3.371 MB / 318.1 MB Notification: Performance of Early Inline: time 5.335e-05/0.005412, allocations: 40.42 kB / 444.7 MB, free: 3.305 MB / 318.1 MB Notification: Performance of simplify1: time 1.473e-06/0.005418, allocations: 3.938 kB / 444.7 MB, free: 3.301 MB / 318.1 MB Notification: Performance of Alias: time 4.933e-05/0.005472, allocations: 60.55 kB / 444.8 MB, free: 3.203 MB / 318.1 MB Notification: Performance of simplify2: time 4.41e-07/0.005477, allocations: 0 / 444.8 MB, free: 3.203 MB / 318.1 MB Notification: Performance of Events: time 1.81e-05/0.0055, allocations: 7.953 kB / 444.8 MB, free: 3.195 MB / 318.1 MB Notification: Performance of Detect States: time 6.441e-05/0.005569, allocations: 32.19 kB / 444.8 MB, free: 3.148 MB / 318.1 MB Notification: Performance of Partitioning: time 6.281e-05/0.005638, allocations: 16.12 kB / 444.8 MB, free: 3.125 MB / 318.1 MB Notification: Performance of Causalize: time 0.0001622/0.005806, allocations: 20.11 kB / 444.9 MB, free: 3.098 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 4.348e-05/0.005855, allocations: 40.38 kB / 444.9 MB, free: 3.031 MB / 318.1 MB Notification: Performance of Inline: time 8.914e-05/0.00595, allocations: 80.66 kB / 445 MB, free: 2.918 MB / 318.1 MB Notification: Performance of Partitioning: time 1.204e-05/0.005968, allocations: 8.125 kB / 445 MB, free: 2.902 MB / 318.1 MB Notification: Performance of Cleanup: time 1.507e-05/0.005988, allocations: 3.938 kB / 445 MB, free: 2.898 MB / 318.1 MB Notification: Performance of Causalize: time 5.619e-05/0.006052, allocations: 32.05 kB / 445 MB, free: 2.859 MB / 318.1 MB Notification: Performance of Tearing: time 8.075e-06/0.006068, allocations: 0 / 445 MB, free: 2.859 MB / 318.1 MB Notification: Performance of Initialization: time 3.11e-07/0.006073, allocations: 0 / 445 MB, free: 2.859 MB / 318.1 MB Notification: Performance of Tearing: time 7.31e-07/0.006078, allocations: 0 / 445 MB, free: 2.859 MB / 318.1 MB Notification: Performance of Categorize: time 1.681e-05/0.006099, allocations: 8.125 kB / 445 MB, free: 2.852 MB / 318.1 MB Notification: Performance of Solve: time 2.623e-05/0.00613, allocations: 4 kB / 445 MB, free: 2.848 MB / 318.1 MB Notification: Performance of Jacobian: time 3.246e-06/0.006137, allocations: 0 / 445 MB, free: 2.848 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 3.811e-05/0.006179, allocations: 13.28 kB / 445 MB, free: 2.84 MB / 318.1 MB Notification: Performance of SimCode: time 0.0006308/0.006814, allocations: 0.7842 MB / 445.8 MB, free: 2.047 MB / 318.1 MB Notification: Performance of Templates: time 0.003033/0.009859, allocations: 472.6 kB / 446.3 MB, free: 1.586 MB / 318.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions.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_3_ModelicaTest_Math_TestScalarFunctions -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.3_ModelicaTest.Math.TestScalarFunctions.o ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions.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_3_ModelicaTest_Math_TestScalarFunctions -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.3_ModelicaTest.Math.TestScalarFunctions_functions.o ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions_functions.c ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions_functions.c:47:52: error: use of undeclared identifier '_OMC_LIT2' omc_Modelica_Utilities_Streams_print(threadData, _OMC_LIT2, _OMC_LIT0); ^ ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions_functions.c:47:63: error: use of undeclared identifier '_OMC_LIT0' omc_Modelica_Utilities_Streams_print(threadData, _OMC_LIT2, _OMC_LIT0); ^ ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions_functions.c:49:52: error: use of undeclared identifier '_OMC_LIT2' omc_Modelica_Utilities_Streams_print(threadData, _OMC_LIT2, _logFile); ^ ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions_functions.c:56:53: error: use of undeclared identifier '_OMC_LIT3' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT3)); ^ ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions_functions.c:68:53: error: use of undeclared identifier '_OMC_LIT4' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT4)); ^ ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions_functions.c:80:53: error: use of undeclared identifier '_OMC_LIT5' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT5)); ^ ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions_functions.c:92:53: error: use of undeclared identifier '_OMC_LIT6' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT6)); ^ ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions_functions.c:102:53: error: use of undeclared identifier '_OMC_LIT7' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT7)); ^ ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions_functions.c:114:53: error: use of undeclared identifier '_OMC_LIT8' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT8)); ^ ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions_functions.c:126:53: error: use of undeclared identifier '_OMC_LIT9' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT9)); ^ ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions_functions.c:136:53: error: use of undeclared identifier '_OMC_LIT10' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT10)); ^ ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions_functions.c:146:53: error: use of undeclared identifier '_OMC_LIT11' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT11)); ^ ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions_functions.c:156:53: error: use of undeclared identifier '_OMC_LIT12' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT12)); ^ ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions_functions.c:166:53: error: use of undeclared identifier '_OMC_LIT13' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT13)); ^ ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions_functions.c:176:53: error: use of undeclared identifier '_OMC_LIT14' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT14)); ^ ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions_functions.c:186:53: error: use of undeclared identifier '_OMC_LIT15' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT15)); ^ ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions_functions.c:196:53: error: use of undeclared identifier '_OMC_LIT16' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT16)); ^ ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions_functions.c:206:53: error: use of undeclared identifier '_OMC_LIT17' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT17)); ^ ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions_functions.c:216:53: error: use of undeclared identifier '_OMC_LIT18' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT18)); ^ 19 errors generated. make: *** [: ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions_functions.o] Error 1