Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions.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.Random.TestDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions") translateModel(ModelicaTest.Math.Random.TestDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0011/0.0011, allocations: 115.6 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.001135/0.001135, allocations: 210.3 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.14/1.14, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1762/0.1762, allocations: 46.1 MB / 345 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.1e-05/1.101e-05, allocations: 2.281 kB / 481.9 MB, free: 4.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestDistributions): time 0.001018/0.001037, allocations: 0.5002 MB / 482.4 MB, free: 3.688 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002529/0.003576, allocations: 2.101 MB / 484.5 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.124e-05/0.003598, allocations: 0 / 484.5 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.858e-06/0.003613, allocations: 0 / 484.5 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.022e-06/0.003631, allocations: 7.938 kB / 484.5 MB, free: 1.555 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:1013:5-1096:22:writable] Warning: Pure function 'ModelicaTest.Math.Random.distributions' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001224/0.004859, allocations: 0.4944 MB / 485 MB, free: 1.062 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.817e-05/0.004907, allocations: 7.938 kB / 485 MB, free: 1.055 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.202e-05/0.004944, allocations: 4 kB / 485 MB, free: 1.051 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.223e-05/0.00496, allocations: 3.984 kB / 485 MB, free: 1.047 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.425e-05/0.004979, allocations: 3.984 kB / 485 MB, free: 1.043 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.909e-06/0.004988, allocations: 0 / 485 MB, free: 1.043 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000847/0.00584, allocations: 0.624 MB / 485.7 MB, free: 428 kB / 350.1 MB Notification: Performance of combineBinaries: time 2.013e-05/0.00587, allocations: 7.938 kB / 485.7 MB, free: 420 kB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 1.643e-06/0.005877, allocations: 3.906 kB / 485.7 MB, free: 416 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.088e-05/0.005892, allocations: 0 / 485.7 MB, free: 416 kB / 350.1 MB Notification: Performance of FrontEnd: time 5.79e-06/0.005902, allocations: 0 / 485.7 MB, free: 416 kB / 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.0002118/0.006118, allocations: 165.4 kB / 485.8 MB, free: 148 kB / 350.1 MB Notification: Performance of FunctionAlias: time 9.397e-06/0.006133, allocations: 7.891 kB / 485.8 MB, free: 140 kB / 350.1 MB Notification: Performance of Early Inline: time 5.714e-05/0.006194, allocations: 44.44 kB / 485.9 MB, free: 68 kB / 350.1 MB Notification: Performance of simplify1: time 2.565e-06/0.006203, allocations: 7.922 kB / 485.9 MB, free: 60 kB / 350.1 MB Notification: Performance of Alias: time 6.122e-05/0.006268, allocations: 52.66 kB / 485.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of simplify2: time 6.31e-07/0.006273, allocations: 0 / 485.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of Events: time 1.195e-05/0.006291, allocations: 8 kB / 485.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of Detect States: time 4.499e-05/0.00634, allocations: 28.19 kB / 486 MB, free: 15.91 MB / 366.1 MB Notification: Performance of Partitioning: time 3.841e-05/0.006385, allocations: 16.12 kB / 486 MB, free: 15.89 MB / 366.1 MB Notification: Performance of Causalize: time 8.805e-05/0.006478, allocations: 20.11 kB / 486 MB, free: 15.86 MB / 366.1 MB Notification: Performance of After Index Reduction Inline: time 4.1e-05/0.006525, allocations: 48.56 kB / 486.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of Inline: time 7.181e-05/0.006603, allocations: 72.41 kB / 486.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of Partitioning: time 1.105e-05/0.00662, allocations: 12.12 kB / 486.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of Cleanup: time 6.272e-06/0.00663, allocations: 0 / 486.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of Causalize: time 4.695e-05/0.006681, allocations: 32.11 kB / 486.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of Tearing: time 7.684e-06/0.006696, allocations: 4.125 kB / 486.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of Initialization: time 3.7e-07/0.006703, allocations: 8 kB / 486.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of Tearing: time 9.12e-07/0.006708, allocations: 0 / 486.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of Categorize: time 4.659e-06/0.006716, allocations: 0 / 486.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of Solve: time 1.195e-05/0.006732, allocations: 0 / 486.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of Jacobian: time 2.043e-06/0.006737, allocations: 0 / 486.2 MB, free: 15.61 MB / 366.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.557e-05/0.006767, allocations: 14.77 kB / 486.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of SimCode: time 0.001254/0.008025, allocations: 1.211 MB / 487.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of Templates: time 0.00558/0.01362, allocations: 3.3 MB / 490.7 MB, free: 11.07 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions.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_Random_TestDistributions -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.Random.TestDistributions.o ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions.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_Random_TestDistributions -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.Random.TestDistributions_functions.o ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions_functions.c ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions_functions.c:621:24: error: use of undeclared identifier '_OMC_LIT0' real_array_copy_data(_OMC_LIT0, _P); ^ ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions_functions.c:624:24: error: use of undeclared identifier '_OMC_LIT1' real_array_copy_data(_OMC_LIT1, _Q); ^ ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions_functions.c:789:24: error: use of undeclared identifier '_OMC_LIT2' real_array_copy_data(_OMC_LIT2, _P1); ^ ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions_functions.c:792:24: error: use of undeclared identifier '_OMC_LIT3' real_array_copy_data(_OMC_LIT3, _Q1); ^ ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions_functions.c:796:24: error: use of undeclared identifier '_OMC_LIT4' real_array_copy_data(_OMC_LIT4, _P2); ^ ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions_functions.c:799:24: error: use of undeclared identifier '_OMC_LIT5' real_array_copy_data(_OMC_LIT5, _Q2); ^ ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions_functions.c:803:24: error: use of undeclared identifier '_OMC_LIT6' real_array_copy_data(_OMC_LIT6, _P3); ^ ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions_functions.c:806:24: error: use of undeclared identifier '_OMC_LIT7' real_array_copy_data(_OMC_LIT7, _Q3); ^ ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions_functions.c:810:24: error: use of undeclared identifier '_OMC_LIT8' real_array_copy_data(_OMC_LIT8, _P4); ^ ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions_functions.c:813:24: error: use of undeclared identifier '_OMC_LIT9' real_array_copy_data(_OMC_LIT9, _Q4); ^ ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions_functions.c:817:24: error: use of undeclared identifier '_OMC_LIT10' real_array_copy_data(_OMC_LIT10, _P5); ^ ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions_functions.c:820:24: error: use of undeclared identifier '_OMC_LIT11' real_array_copy_data(_OMC_LIT11, _Q5); ^ ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions_functions.c:824:24: error: use of undeclared identifier '_OMC_LIT12' real_array_copy_data(_OMC_LIT12, _P6); ^ ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions_functions.c:827:24: error: use of undeclared identifier '_OMC_LIT13' real_array_copy_data(_OMC_LIT13, _Q6); ^ ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions_functions.c:831:24: error: use of undeclared identifier '_OMC_LIT14' real_array_copy_data(_OMC_LIT14, _P7); ^ ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions_functions.c:834:24: error: use of undeclared identifier '_OMC_LIT15' real_array_copy_data(_OMC_LIT15, _Q7); ^ ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions_functions.c:982:24: error: use of undeclared identifier '_OMC_LIT16' real_array_copy_data(_OMC_LIT16, _P1); ^ ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions_functions.c:985:24: error: use of undeclared identifier '_OMC_LIT17' real_array_copy_data(_OMC_LIT17, _Q1); ^ ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions_functions.c:989:24: error: use of undeclared identifier '_OMC_LIT18' real_array_copy_data(_OMC_LIT18, _P2); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions_functions.o] Error 1