Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.Math.TestScalarFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestScalarFunctions") translateModel(ModelicaTest.Math.TestScalarFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestScalarFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 108 kB / 18.46 MB, free: 4.461 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.001691/0.001691, allocations: 194.5 kB / 19.39 MB, free: 3.539 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.443/1.443, allocations: 222.9 MB / 243.1 MB, free: 15.09 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.2087/0.2087, allocations: 44.19 MB / 337.4 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.2e-05/2.201e-05, allocations: 2.281 kB / 471.1 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestScalarFunctions): time 0.001249/0.001279, allocations: 496 kB / 471.6 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00185/0.003141, allocations: 1.381 MB / 473 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.687e-05/0.00318, allocations: 4 kB / 473 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.327e-05/0.0032, allocations: 4 kB / 473 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.501e-06/0.00321, allocations: 0 / 473 MB, free: 11.36 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+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.0005487/0.00377, allocations: 107.4 kB / 473.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.59e-05/0.003834, allocations: 0 / 473.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.693e-05/0.003886, allocations: 3.984 kB / 473.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.527e-05/0.003909, allocations: 4 kB / 473.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.305e-05/0.003936, allocations: 3.938 kB / 473.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.384e-06/0.003948, allocations: 0 / 473.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002946/0.004246, allocations: 71.92 kB / 473.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of combineBinaries: time 2.195e-05/0.00428, allocations: 3.938 kB / 473.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 2.916e-06/0.004288, allocations: 3.906 kB / 473.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.616e-05/0.004308, allocations: 8 kB / 473.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.923e-06/0.004319, allocations: 0 / 473.2 MB, free: 11.16 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.0002858/0.00461, allocations: 157.4 kB / 473.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of FunctionAlias: time 1.269e-05/0.004628, allocations: 0 / 473.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of Early Inline: time 7.903e-05/0.004712, allocations: 56.3 kB / 473.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of simplify1: time 1.754e-06/0.00472, allocations: 0 / 473.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of Alias: time 4.727e-05/0.004771, allocations: 44.62 kB / 473.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of simplify2: time 6.21e-07/0.00478, allocations: 4 kB / 473.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of Events: time 1.322e-05/0.004797, allocations: 0 / 473.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of Detect States: time 7.572e-05/0.004876, allocations: 32.19 kB / 473.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of Partitioning: time 6e-05/0.004944, allocations: 16.11 kB / 473.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of Causalize: time 0.0001279/0.005078, allocations: 32.05 kB / 473.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 4.111e-05/0.005126, allocations: 44.56 kB / 473.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of Inline: time 6.827e-05/0.005202, allocations: 64.48 kB / 473.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of Partitioning: time 2.507e-05/0.005233, allocations: 12.12 kB / 473.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of Cleanup: time 8.546e-06/0.005247, allocations: 0 / 473.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of Causalize: time 6.075e-05/0.005312, allocations: 32.05 kB / 473.7 MB, free: 10.4 MB / 350.1 MB Notification: Performance of Tearing: time 6.823e-06/0.005326, allocations: 0 / 473.7 MB, free: 10.4 MB / 350.1 MB Notification: Performance of Initialization: time 3.11e-07/0.005332, allocations: 0 / 473.7 MB, free: 10.4 MB / 350.1 MB Notification: Performance of Tearing: time 7.72e-07/0.00534, allocations: 8.188 kB / 473.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of Categorize: time 7.464e-06/0.005352, allocations: 0 / 473.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of Solve: time 1.459e-05/0.005371, allocations: 0 / 473.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of Jacobian: time 2.865e-06/0.005377, allocations: 0 / 473.7 MB, free: 10.39 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.935e-05/0.00542, allocations: 26.2 kB / 473.7 MB, free: 10.37 MB / 350.1 MB Notification: Performance of SimCode: time 0.0006704/0.006096, allocations: 0.7959 MB / 474.5 MB, free: 9.559 MB / 350.1 MB Notification: Performance of Templates: time 0.002544/0.008651, allocations: 456.7 kB / 475 MB, free: 9.113 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestScalarFunctions.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestScalarFunctions.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_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_4.0.0_ModelicaTest.Math.TestScalarFunctions.o ModelicaTest_4.0.0_ModelicaTest.Math.TestScalarFunctions.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_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_4.0.0_ModelicaTest.Math.TestScalarFunctions_functions.o ModelicaTest_4.0.0_ModelicaTest.Math.TestScalarFunctions_functions.c ModelicaTest_4.0.0_ModelicaTest.Math.TestScalarFunctions_functions.c:12: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.Math.TestScalarFunctions_functions.c:47:52: error: use of undeclared identifier '_OMC_LIT2' omc_Modelica_Utilities_Streams_print(threadData, _OMC_LIT2, _OMC_LIT0); ^ ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Math.TestScalarFunctions_functions.c:49:52: error: use of undeclared identifier '_OMC_LIT2' omc_Modelica_Utilities_Streams_print(threadData, _OMC_LIT2, _logFile); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestScalarFunctions_functions.c:56:53: error: use of undeclared identifier '_OMC_LIT3' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT3)); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestScalarFunctions_functions.c:68:53: error: use of undeclared identifier '_OMC_LIT4' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT4)); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestScalarFunctions_functions.c:80:53: error: use of undeclared identifier '_OMC_LIT5' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT5)); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestScalarFunctions_functions.c:92:53: error: use of undeclared identifier '_OMC_LIT6' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT6)); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestScalarFunctions_functions.c:102:53: error: use of undeclared identifier '_OMC_LIT7' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT7)); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestScalarFunctions_functions.c:114:53: error: use of undeclared identifier '_OMC_LIT8' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT8)); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestScalarFunctions_functions.c:126:53: error: use of undeclared identifier '_OMC_LIT9' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT9)); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestScalarFunctions_functions.c:136:53: error: use of undeclared identifier '_OMC_LIT10' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT10)); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestScalarFunctions_functions.c:146:53: error: use of undeclared identifier '_OMC_LIT11' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT11)); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestScalarFunctions_functions.c:156:53: error: use of undeclared identifier '_OMC_LIT12' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT12)); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestScalarFunctions_functions.c:166:53: error: use of undeclared identifier '_OMC_LIT13' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT13)); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestScalarFunctions_functions.c:176:53: error: use of undeclared identifier '_OMC_LIT14' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT14)); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestScalarFunctions_functions.c:186:53: error: use of undeclared identifier '_OMC_LIT15' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT15)); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestScalarFunctions_functions.c:196:53: error: use of undeclared identifier '_OMC_LIT16' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT16)); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestScalarFunctions_functions.c:206:53: error: use of undeclared identifier '_OMC_LIT17' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT17)); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestScalarFunctions_functions.c:216:53: error: use of undeclared identifier '_OMC_LIT18' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT18)); ^ 1 warning and 19 errors generated. make: *** [: ModelicaTest_4.0.0_ModelicaTest.Math.TestScalarFunctions_functions.o] Error 1