Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.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.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions") translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009917/0.0009918, allocations: 104 kB / 18.46 MB, free: 4.613 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.000986/0.000986, allocations: 194.5 kB / 19.4 MB, free: 3.688 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.328/1.328, 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.193/0.193, allocations: 44.19 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.702e-05/2.703e-05, allocations: 2.281 kB / 471.1 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001609/0.001644, allocations: 0.4924 MB / 471.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009994/0.002654, allocations: 363 kB / 472 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.117e-05/0.002686, allocations: 0 / 472 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.932e-05/0.00272, allocations: 8 kB / 472 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.646e-06/0.002734, allocations: 0 / 472 MB, free: 12.4 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Math.mo:38:3-118:23:writable] Warning: Pure function 'ModelicaTest.Math.BooleanFunctions' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0009327/0.003676, allocations: 199.5 kB / 472.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.189e-05/0.003756, allocations: 4 kB / 472.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.35e-05/0.003807, allocations: 4 kB / 472.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.833e-05/0.00383, allocations: 3.938 kB / 472.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.656e-05/0.003861, allocations: 0 / 472.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.433e-06/0.003875, allocations: 3.938 kB / 472.2 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003225/0.004202, allocations: 191.7 kB / 472.4 MB, free: 12 MB / 350.1 MB Notification: Performance of combineBinaries: time 2.767e-05/0.004239, allocations: 3.984 kB / 472.4 MB, free: 12 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 4.238e-06/0.00425, allocations: 11.91 kB / 472.4 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.629e-05/0.004271, allocations: 0 / 472.4 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.795e-06/0.004284, allocations: 0 / 472.4 MB, free: 11.99 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.0003316/0.00462, allocations: 157.4 kB / 472.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of FunctionAlias: time 1.237e-05/0.004639, allocations: 3.953 kB / 472.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of Early Inline: time 8.257e-05/0.004726, allocations: 48.36 kB / 472.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of simplify1: time 1.693e-06/0.004734, allocations: 0 / 472.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of Alias: time 5.762e-05/0.004796, allocations: 48.62 kB / 472.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of simplify2: time 7.81e-07/0.004802, allocations: 0 / 472.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of Events: time 1.787e-05/0.004823, allocations: 8 kB / 472.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of Detect States: time 6.739e-05/0.004895, allocations: 32.19 kB / 472.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of Partitioning: time 6.007e-05/0.004961, allocations: 20.11 kB / 472.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of Causalize: time 0.0001295/0.005097, allocations: 20.06 kB / 472.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 7.072e-05/0.005174, allocations: 48.36 kB / 472.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of Inline: time 9.496e-05/0.005275, allocations: 72.67 kB / 472.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of Partitioning: time 1.332e-05/0.005295, allocations: 8.125 kB / 472.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of Cleanup: time 1.167e-05/0.005311, allocations: 4 kB / 472.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of Causalize: time 7.19e-05/0.005388, allocations: 35.98 kB / 472.9 MB, free: 11.22 MB / 350.1 MB Notification: Performance of Tearing: time 7.574e-06/0.005403, allocations: 3.984 kB / 472.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of Initialization: time 3.11e-07/0.005408, allocations: 0 / 472.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of Tearing: time 6.72e-07/0.005414, allocations: 0 / 472.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of Categorize: time 1.233e-05/0.005431, allocations: 8.188 kB / 472.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of Solve: time 1.992e-05/0.005455, allocations: 0 / 472.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of Jacobian: time 5.38e-06/0.005464, allocations: 3.938 kB / 472.9 MB, free: 11.2 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 4.342e-05/0.005512, allocations: 14.28 kB / 472.9 MB, free: 11.2 MB / 350.1 MB Notification: Performance of SimCode: time 0.001165/0.006683, allocations: 0.9466 MB / 473.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of Templates: time 0.004713/0.01141, allocations: 1.514 MB / 475.4 MB, free: 8.719 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.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_TestBooleanFunctions -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.TestBooleanFunctions.o ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.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_TestBooleanFunctions -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.TestBooleanFunctions_functions.o ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions_functions.c ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions_functions.c:314: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.TestBooleanFunctions_functions.c:410:28: error: use of undeclared identifier '_OMC_LIT2' boolean_array_alloc_copy(_OMC_LIT2, _b1); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions_functions.c:412:28: error: use of undeclared identifier '_OMC_LIT3' boolean_array_alloc_copy(_OMC_LIT3, _b2); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions_functions.c:414:28: error: use of undeclared identifier '_OMC_LIT4' boolean_array_alloc_copy(_OMC_LIT4, _b3); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions_functions.c:416:28: error: use of undeclared identifier '_OMC_LIT5' boolean_array_alloc_copy(_OMC_LIT5, _b4); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions_functions.c:420:27: error: use of undeclared identifier '_OMC_LIT6' integer_array_copy_data(_OMC_LIT6, _b3Desired2); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions_functions.c:426:27: error: use of undeclared identifier '_OMC_LIT7' integer_array_copy_data(_OMC_LIT7, _b1Desired); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions_functions.c:432:27: error: use of undeclared identifier '_OMC_LIT8' integer_array_copy_data(_OMC_LIT8, _b2Desired); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions_functions.c:438:27: error: use of undeclared identifier '_OMC_LIT9' integer_array_copy_data(_OMC_LIT9, _b3Desired); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions_functions.c:442:52: error: use of undeclared identifier '_OMC_LIT10' omc_Modelica_Utilities_Streams_print(threadData, _OMC_LIT10, _OMC_LIT0); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions_functions.c:442:64: error: use of undeclared identifier '_OMC_LIT0' omc_Modelica_Utilities_Streams_print(threadData, _OMC_LIT10, _OMC_LIT0); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions_functions.c:444:52: error: use of undeclared identifier '_OMC_LIT10' omc_Modelica_Utilities_Streams_print(threadData, _OMC_LIT10, _logFile); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions_functions.c:453:53: error: use of undeclared identifier '_OMC_LIT11' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT11)); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions_functions.c:463:53: error: use of undeclared identifier '_OMC_LIT12' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT12)); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions_functions.c:473:53: error: use of undeclared identifier '_OMC_LIT13' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT13)); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions_functions.c:483:53: error: use of undeclared identifier '_OMC_LIT14' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT14)); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions_functions.c:495:53: error: use of undeclared identifier '_OMC_LIT15' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT15)); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions_functions.c:505:53: error: use of undeclared identifier '_OMC_LIT16' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT16)); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions_functions.c:515:53: error: use of undeclared identifier '_OMC_LIT17' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT17)); ^ ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions_functions.c:525: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.Math.TestBooleanFunctions_functions.o] Error 1