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.001316/0.001316, allocations: 107.3 kB / 18.46 MB, free: 4.594 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.001374/0.001374, allocations: 179.8 kB / 19.39 MB, free: 3.672 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.478/1.478, 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.2077/0.2077, allocations: 44.19 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.843e-05/2.845e-05, allocations: 3.406 kB / 471.2 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001674/0.001711, allocations: 488.5 kB / 471.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009809/0.002703, allocations: 374.9 kB / 472 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.074e-05/0.002737, allocations: 4 kB / 472 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.338e-05/0.002756, allocations: 0 / 472 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.071e-06/0.002769, 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.0009376/0.003726, allocations: 195.6 kB / 472.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.062e-05/0.003797, allocations: 0 / 472.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.562e-05/0.003848, allocations: 4 kB / 472.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.047e-05/0.003874, allocations: 7.938 kB / 472.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.274e-05/0.003911, allocations: 3.984 kB / 472.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.087e-05/0.003927, allocations: 0 / 472.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003751/0.004307, allocations: 187.6 kB / 472.4 MB, free: 12.01 MB / 350.1 MB Notification: Performance of combineBinaries: time 3.395e-05/0.004353, allocations: 7.984 kB / 472.4 MB, free: 12 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 2.876e-06/0.004362, allocations: 3.906 kB / 472.4 MB, free: 12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.973e-05/0.004386, allocations: 8 kB / 472.4 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.288e-06/0.0044, 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.0003595/0.004765, allocations: 149.4 kB / 472.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of FunctionAlias: time 1.961e-05/0.004792, allocations: 3.953 kB / 472.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of Early Inline: time 9.236e-05/0.004889, allocations: 52.38 kB / 472.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of simplify1: time 2.073e-06/0.004898, allocations: 0 / 472.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of Alias: time 5.581e-05/0.004959, allocations: 48.61 kB / 472.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of simplify2: time 5.41e-07/0.004965, allocations: 0 / 472.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of Detect States: time 6.965e-05/0.00504, allocations: 32.23 kB / 472.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of Events: time 1.998e-05/0.005067, allocations: 7.891 kB / 472.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of Partitioning: time 5.206e-05/0.005125, allocations: 16.11 kB / 472.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of Causalize: time 0.000124/0.005256, allocations: 24.06 kB / 472.7 MB, free: 11.47 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 4.5e-05/0.005308, allocations: 48.42 kB / 472.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of Inline: time 7.768e-05/0.005398, allocations: 64.69 kB / 472.8 MB, free: 11.3 MB / 350.1 MB Notification: Performance of Partitioning: time 1.346e-05/0.005419, allocations: 12.11 kB / 472.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of Cleanup: time 1.111e-05/0.005436, allocations: 4 kB / 472.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of Causalize: time 7.599e-05/0.005518, allocations: 47.92 kB / 472.9 MB, free: 11.22 MB / 350.1 MB Notification: Performance of Tearing: time 1.214e-05/0.005537, allocations: 3.984 kB / 472.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of Initialization: time 3.11e-07/0.005542, allocations: 0 / 472.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of Tearing: time 1.533e-06/0.005548, allocations: 192 / 472.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of Categorize: time 6.773e-06/0.005563, allocations: 7.938 kB / 472.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of Solve: time 2.003e-05/0.005589, allocations: 7.984 kB / 472.9 MB, free: 11.2 MB / 350.1 MB Notification: Performance of Jacobian: time 4.689e-06/0.005599, 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 3.523e-05/0.005638, allocations: 14.28 kB / 472.9 MB, free: 11.19 MB / 350.1 MB Notification: Performance of SimCode: time 0.001156/0.006798, allocations: 0.9415 MB / 473.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of Templates: time 0.004344/0.01116, allocations: 1.499 MB / 475.4 MB, free: 8.734 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