Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions") translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009422/0.0009422, allocations: 110.1 kB / 18.47 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009795/0.0009796, allocations: 207.9 kB / 19.42 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.139/1.139, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1759/0.1759, allocations: 46.11 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.82e-05/1.82e-05, allocations: 10.16 kB / 481.9 MB, free: 4.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.00106/0.001086, allocations: 496.2 kB / 482.4 MB, free: 3.684 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000681/0.001778, allocations: 370.9 kB / 482.7 MB, free: 3.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.368e-05/0.001802, allocations: 0 / 482.7 MB, free: 3.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.238e-06/0.001818, allocations: 4 kB / 482.8 MB, free: 3.316 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.719e-06/0.001833, allocations: 0 / 482.8 MB, free: 3.316 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.000633/0.002471, allocations: 195.6 kB / 482.9 MB, free: 3.125 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.834e-05/0.002516, allocations: 7.938 kB / 483 MB, free: 3.117 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.472e-05/0.002546, allocations: 0 / 483 MB, free: 3.117 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.206e-05/0.002563, allocations: 7.984 kB / 483 MB, free: 3.109 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.472e-05/0.002582, allocations: 0 / 483 MB, free: 3.109 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.759e-06/0.002591, allocations: 0 / 483 MB, free: 3.109 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002568/0.002851, allocations: 183.6 kB / 483.1 MB, free: 2.93 MB / 350.1 MB Notification: Performance of combineBinaries: time 1.579e-05/0.002875, allocations: 0 / 483.1 MB, free: 2.93 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 3.446e-06/0.002883, allocations: 7.891 kB / 483.1 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.788e-06/0.002897, allocations: 0 / 483.1 MB, free: 2.922 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.94e-06/0.002907, allocations: 4 kB / 483.1 MB, free: 2.918 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.0002077/0.003119, allocations: 149.4 kB / 483.3 MB, free: 2.672 MB / 350.1 MB Notification: Performance of FunctionAlias: time 1.23e-05/0.003139, allocations: 11.89 kB / 483.3 MB, free: 2.66 MB / 350.1 MB Notification: Performance of Early Inline: time 5.111e-05/0.003195, allocations: 48.38 kB / 483.4 MB, free: 2.586 MB / 350.1 MB Notification: Performance of simplify1: time 1.743e-06/0.003204, allocations: 4 kB / 483.4 MB, free: 2.582 MB / 350.1 MB Notification: Performance of Alias: time 4.127e-05/0.003249, allocations: 52.61 kB / 483.4 MB, free: 2.492 MB / 350.1 MB Notification: Performance of simplify2: time 5.61e-07/0.003254, allocations: 0 / 483.4 MB, free: 2.492 MB / 350.1 MB Notification: Performance of Events: time 1.086e-05/0.003269, allocations: 4 kB / 483.4 MB, free: 2.488 MB / 350.1 MB Notification: Performance of Detect States: time 5.008e-05/0.003323, allocations: 26.55 kB / 483.4 MB, free: 2.449 MB / 350.1 MB Notification: Performance of Partitioning: time 3.889e-05/0.003368, allocations: 20.06 kB / 483.5 MB, free: 2.422 MB / 350.1 MB Notification: Performance of Causalize: time 7.912e-05/0.003455, allocations: 32.03 kB / 483.5 MB, free: 2.383 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 3.545e-05/0.003496, allocations: 48.36 kB / 483.5 MB, free: 2.309 MB / 350.1 MB Notification: Performance of Inline: time 6.931e-05/0.003571, allocations: 72.48 kB / 483.6 MB, free: 2.203 MB / 350.1 MB Notification: Performance of Partitioning: time 9.718e-06/0.003586, allocations: 8.125 kB / 483.6 MB, free: 2.188 MB / 350.1 MB Notification: Performance of Cleanup: time 8.235e-06/0.003598, allocations: 8.125 kB / 483.6 MB, free: 2.18 MB / 350.1 MB Notification: Performance of Causalize: time 4.31e-05/0.003647, allocations: 28.11 kB / 483.7 MB, free: 2.145 MB / 350.1 MB Notification: Performance of Tearing: time 6.352e-06/0.00366, allocations: 0 / 483.7 MB, free: 2.145 MB / 350.1 MB Notification: Performance of Initialization: time 3.31e-07/0.003664, allocations: 0 / 483.7 MB, free: 2.145 MB / 350.1 MB Notification: Performance of Tearing: time 1.242e-06/0.003669, allocations: 0 / 483.7 MB, free: 2.145 MB / 350.1 MB Notification: Performance of Categorize: time 4.779e-06/0.003677, allocations: 0 / 483.7 MB, free: 2.145 MB / 350.1 MB Notification: Performance of Solve: time 1.271e-05/0.003693, allocations: 7.938 kB / 483.7 MB, free: 2.137 MB / 350.1 MB Notification: Performance of Jacobian: time 2.314e-06/0.003699, allocations: 0 / 483.7 MB, free: 2.137 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 2.138e-05/0.003724, allocations: 14.52 kB / 483.7 MB, free: 2.129 MB / 350.1 MB Notification: Performance of SimCode: time 0.0007338/0.004462, allocations: 0.937 MB / 484.6 MB, free: 1.168 MB / 350.1 MB Notification: Performance of Templates: time 0.003155/0.007628, allocations: 1.464 MB / 486.1 MB, free: 15.7 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.makefile make -j1 -f ModelicaTest_trunk_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 trunk/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_trunk_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_trunk_ModelicaTest.Math.TestBooleanFunctions.o ModelicaTest_trunk_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 trunk/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_trunk_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_trunk_ModelicaTest.Math.TestBooleanFunctions_functions.o ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions_functions.c ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions_functions.c:276:3: warning: implicit declaration of function 'ModelicaInternal_print' is invalid in C99 [-Wimplicit-function-declaration] ModelicaInternal_print(MMC_STRINGDATA(_string), MMC_STRINGDATA(_fileName)); ^ ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions_functions.c:372:28: error: use of undeclared identifier '_OMC_LIT2' boolean_array_alloc_copy(_OMC_LIT2, _b1); ^ ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions_functions.c:374:28: error: use of undeclared identifier '_OMC_LIT3' boolean_array_alloc_copy(_OMC_LIT3, _b2); ^ ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions_functions.c:376:28: error: use of undeclared identifier '_OMC_LIT4' boolean_array_alloc_copy(_OMC_LIT4, _b3); ^ ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions_functions.c:378:28: error: use of undeclared identifier '_OMC_LIT5' boolean_array_alloc_copy(_OMC_LIT5, _b4); ^ ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions_functions.c:382:27: error: use of undeclared identifier '_OMC_LIT6' integer_array_copy_data(_OMC_LIT6, _b3Desired2); ^ ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions_functions.c:388:27: error: use of undeclared identifier '_OMC_LIT7' integer_array_copy_data(_OMC_LIT7, _b1Desired); ^ ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions_functions.c:394:27: error: use of undeclared identifier '_OMC_LIT8' integer_array_copy_data(_OMC_LIT8, _b2Desired); ^ ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions_functions.c:400:27: error: use of undeclared identifier '_OMC_LIT9' integer_array_copy_data(_OMC_LIT9, _b3Desired); ^ ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions_functions.c:404:52: error: use of undeclared identifier '_OMC_LIT10' omc_Modelica_Utilities_Streams_print(threadData, _OMC_LIT10, _OMC_LIT0); ^ ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions_functions.c:404:64: error: use of undeclared identifier '_OMC_LIT0' omc_Modelica_Utilities_Streams_print(threadData, _OMC_LIT10, _OMC_LIT0); ^ ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions_functions.c:406:52: error: use of undeclared identifier '_OMC_LIT10' omc_Modelica_Utilities_Streams_print(threadData, _OMC_LIT10, _logFile); ^ ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions_functions.c:415:53: error: use of undeclared identifier '_OMC_LIT11' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT11)); ^ ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions_functions.c:425:53: error: use of undeclared identifier '_OMC_LIT12' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT12)); ^ ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions_functions.c:435:53: error: use of undeclared identifier '_OMC_LIT13' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT13)); ^ ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions_functions.c:445:53: error: use of undeclared identifier '_OMC_LIT14' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT14)); ^ ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions_functions.c:457:53: error: use of undeclared identifier '_OMC_LIT15' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT15)); ^ ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions_functions.c:467:53: error: use of undeclared identifier '_OMC_LIT16' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT16)); ^ ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions_functions.c:477:53: error: use of undeclared identifier '_OMC_LIT17' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT17)); ^ ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions_functions.c:487: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_trunk_ModelicaTest.Math.TestBooleanFunctions_functions.o] Error 1