Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.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.Math.TestScalarFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.TestScalarFunctions") translateModel(ModelicaTest.Math.TestScalarFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.TestScalarFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 107.5 kB / 16.42 MB, free: 6.457 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.00119/0.00119, allocations: 187.1 kB / 17.35 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.27/1.27, 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.1672/0.1672, allocations: 39.96 MB / 310.6 MB, free: 4 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.155e-05/2.156e-05, allocations: 6.219 kB / 436.4 MB, free: 11.78 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestScalarFunctions): time 0.001114/0.001143, allocations: 497 kB / 436.9 MB, free: 11.3 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00153/0.002685, allocations: 1.419 MB / 438.3 MB, free: 9.859 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.41e-05/0.00272, allocations: 0 / 438.3 MB, free: 9.859 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.445e-05/0.00274, allocations: 0 / 438.3 MB, free: 9.859 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.448e-06/0.002749, allocations: 0 / 438.3 MB, free: 9.859 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Math.mo:4:3-36:22:writable] Warning: Pure function 'ModelicaTest.Math.ScalarFunctions' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0004567/0.003219, allocations: 107.6 kB / 438.4 MB, free: 9.754 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.813e-05/0.003275, allocations: 7.938 kB / 438.4 MB, free: 9.746 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.91e-05/0.00332, allocations: 4 kB / 438.4 MB, free: 9.742 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.451e-05/0.003339, allocations: 3.984 kB / 438.4 MB, free: 9.738 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.985e-05/0.003364, allocations: 4 kB / 438.4 MB, free: 9.734 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.624e-06/0.003376, allocations: 0 / 438.4 MB, free: 9.734 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002484/0.003629, allocations: 63.92 kB / 438.5 MB, free: 9.672 MB / 318.1 MB Notification: Performance of combineBinaries: time 1.827e-05/0.003656, allocations: 3.938 kB / 438.5 MB, free: 9.668 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 1.323e-06/0.003662, allocations: 4 kB / 438.5 MB, free: 9.664 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.043e-05/0.003677, allocations: 0 / 438.5 MB, free: 9.664 MB / 318.1 MB Notification: Performance of FrontEnd: time 5.961e-06/0.003687, allocations: 0 / 438.5 MB, free: 9.664 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.000165/0.003856, allocations: 161.3 kB / 438.6 MB, free: 9.406 MB / 318.1 MB Notification: Performance of FunctionAlias: time 1.752e-05/0.003879, allocations: 0 / 438.6 MB, free: 9.406 MB / 318.1 MB Notification: Performance of Early Inline: time 3.578e-05/0.003919, allocations: 48.38 kB / 438.7 MB, free: 9.332 MB / 318.1 MB Notification: Performance of simplify1: time 2.314e-06/0.003927, allocations: 0 / 438.7 MB, free: 9.332 MB / 318.1 MB Notification: Performance of Alias: time 2.881e-05/0.00396, allocations: 56.56 kB / 438.7 MB, free: 9.238 MB / 318.1 MB Notification: Performance of simplify2: time 5.11e-07/0.003965, allocations: 0 / 438.7 MB, free: 9.238 MB / 318.1 MB Notification: Performance of Events: time 1.257e-05/0.003981, allocations: 4 kB / 438.7 MB, free: 9.234 MB / 318.1 MB Notification: Performance of Detect States: time 4.246e-05/0.004028, allocations: 29.75 kB / 438.8 MB, free: 9.191 MB / 318.1 MB Notification: Performance of Partitioning: time 3.841e-05/0.004072, allocations: 24.05 kB / 438.8 MB, free: 9.16 MB / 318.1 MB Notification: Performance of Causalize: time 9.567e-05/0.004173, allocations: 32.11 kB / 438.8 MB, free: 9.121 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 2.057e-05/0.0042, allocations: 48.36 kB / 438.9 MB, free: 9.047 MB / 318.1 MB Notification: Performance of Inline: time 3.952e-05/0.004245, allocations: 60.44 kB / 438.9 MB, free: 8.953 MB / 318.1 MB Notification: Performance of Partitioning: time 7.244e-06/0.004258, allocations: 16.38 kB / 438.9 MB, free: 8.93 MB / 318.1 MB Notification: Performance of Cleanup: time 7.164e-06/0.004269, allocations: 4 kB / 439 MB, free: 8.926 MB / 318.1 MB Notification: Performance of Causalize: time 3.99e-05/0.004313, allocations: 40.05 kB / 439 MB, free: 8.879 MB / 318.1 MB Notification: Performance of Tearing: time 5.09e-06/0.004325, allocations: 0 / 439 MB, free: 8.879 MB / 318.1 MB Notification: Performance of Initialization: time 2.91e-07/0.00433, allocations: 0 / 439 MB, free: 8.879 MB / 318.1 MB Notification: Performance of Tearing: time 6.51e-07/0.004334, allocations: 0 / 439 MB, free: 8.879 MB / 318.1 MB Notification: Performance of Categorize: time 5.42e-06/0.004343, allocations: 0 / 439 MB, free: 8.879 MB / 318.1 MB Notification: Performance of Solve: time 1.28e-05/0.00436, allocations: 4 kB / 439 MB, free: 8.875 MB / 318.1 MB Notification: Performance of Jacobian: time 3.386e-06/0.004367, allocations: 3.938 kB / 439 MB, free: 8.871 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.473e-05/0.004396, allocations: 22.34 kB / 439 MB, free: 8.859 MB / 318.1 MB Notification: Performance of SimCode: time 0.0004159/0.004817, allocations: 0.779 MB / 439.8 MB, free: 8.066 MB / 318.1 MB Notification: Performance of Templates: time 0.002239/0.007067, allocations: 472.5 kB / 440.3 MB, free: 7.605 MB / 318.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Math.TestScalarFunctions.makefile make -j1 -f ModelicaTest_3.2.2_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_2_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.2_ModelicaTest.Math.TestScalarFunctions.o ModelicaTest_3.2.2_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_2_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.2_ModelicaTest.Math.TestScalarFunctions_functions.o ModelicaTest_3.2.2_ModelicaTest.Math.TestScalarFunctions_functions.c ModelicaTest_3.2.2_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.2_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.2_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.2_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.2_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.2_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.2_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.2_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.2_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.2_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.2_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.2_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.2_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.2_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.2_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.2_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.2_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.2_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.2_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.2_ModelicaTest.Math.TestScalarFunctions_functions.o] Error 1