Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestDistributions.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.Random.TestDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestDistributions") translateModel(ModelicaTest.Math.Random.TestDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestDistributions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 110.8 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.001125/0.001125, allocations: 193.3 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.264/1.264, allocations: 222.9 MB / 243.1 MB, free: 15.07 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.2107/0.2107, allocations: 44.19 MB / 337.4 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.526e-05/2.527e-05, allocations: 5.375 kB / 471.2 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestDistributions): time 0.001284/0.001318, allocations: 0.5013 MB / 471.7 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002747/0.004078, allocations: 2.027 MB / 473.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.643e-05/0.004106, allocations: 3.938 kB / 473.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.554e-05/0.004128, allocations: 4 kB / 473.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.019e-06/0.004138, allocations: 0 / 473.7 MB, free: 10.7 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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.001281/0.005431, allocations: 0.4979 MB / 474.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.48e-05/0.005485, allocations: 4 kB / 474.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.811e-05/0.005531, allocations: 8 kB / 474.2 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.324e-05/0.005549, allocations: 0 / 474.2 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.352e-05/0.005568, allocations: 0 / 474.2 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.633e-06/0.005578, allocations: 0 / 474.2 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000825/0.006407, allocations: 0.6083 MB / 474.8 MB, free: 9.578 MB / 350.1 MB Notification: Performance of combineBinaries: time 2.289e-05/0.006441, allocations: 4 kB / 474.8 MB, free: 9.574 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 3.286e-06/0.00645, allocations: 3.906 kB / 474.8 MB, free: 9.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.151e-05/0.006467, allocations: 7.938 kB / 474.8 MB, free: 9.562 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.926e-06/0.00648, allocations: 3.984 kB / 474.8 MB, free: 9.559 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.0002841/0.006769, allocations: 161.5 kB / 475 MB, free: 9.301 MB / 350.1 MB Notification: Performance of FunctionAlias: time 1.211e-05/0.006787, allocations: 7.891 kB / 475 MB, free: 9.293 MB / 350.1 MB Notification: Performance of Early Inline: time 7.246e-05/0.006865, allocations: 48.38 kB / 475 MB, free: 9.219 MB / 350.1 MB Notification: Performance of simplify1: time 1.523e-06/0.006872, allocations: 0 / 475 MB, free: 9.219 MB / 350.1 MB Notification: Performance of Alias: time 4.705e-05/0.006924, allocations: 56.55 kB / 475.1 MB, free: 9.125 MB / 350.1 MB Notification: Performance of simplify2: time 5.81e-07/0.006929, allocations: 0 / 475.1 MB, free: 9.125 MB / 350.1 MB Notification: Performance of Events: time 1.227e-05/0.006946, allocations: 4 kB / 475.1 MB, free: 9.121 MB / 350.1 MB Notification: Performance of Detect States: time 0.0001964/0.007149, allocations: 32.14 kB / 475.1 MB, free: 9.074 MB / 350.1 MB Notification: Performance of Partitioning: time 4.601e-05/0.007201, allocations: 20.12 kB / 475.1 MB, free: 9.047 MB / 350.1 MB Notification: Performance of Causalize: time 0.0001058/0.007313, allocations: 20.11 kB / 475.2 MB, free: 9.02 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 5.639e-05/0.007377, allocations: 44.36 kB / 475.2 MB, free: 8.949 MB / 350.1 MB Notification: Performance of Inline: time 8.828e-05/0.007471, allocations: 72.67 kB / 475.3 MB, free: 8.844 MB / 350.1 MB Notification: Performance of Partitioning: time 1.198e-05/0.007491, allocations: 12.12 kB / 475.3 MB, free: 8.824 MB / 350.1 MB Notification: Performance of Cleanup: time 9.859e-06/0.007506, allocations: 3.938 kB / 475.3 MB, free: 8.82 MB / 350.1 MB Notification: Performance of Causalize: time 5.066e-05/0.007561, allocations: 28.09 kB / 475.3 MB, free: 8.785 MB / 350.1 MB Notification: Performance of Tearing: time 5.33e-06/0.007585, allocations: 4 kB / 475.3 MB, free: 8.781 MB / 350.1 MB Notification: Performance of Initialization: time 3.21e-07/0.00759, allocations: 0 / 475.3 MB, free: 8.781 MB / 350.1 MB Notification: Performance of Tearing: time 7.72e-07/0.007595, allocations: 0 / 475.3 MB, free: 8.781 MB / 350.1 MB Notification: Performance of Categorize: time 8.556e-06/0.007607, allocations: 3.938 kB / 475.3 MB, free: 8.777 MB / 350.1 MB Notification: Performance of Solve: time 1.306e-05/0.007625, allocations: 192 / 475.3 MB, free: 8.777 MB / 350.1 MB Notification: Performance of Jacobian: time 2.975e-06/0.007634, allocations: 4 kB / 475.3 MB, free: 8.773 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.106e-05/0.00767, allocations: 18.28 kB / 475.4 MB, free: 8.762 MB / 350.1 MB Notification: Performance of SimCode: time 0.0014/0.009076, allocations: 1.209 MB / 476.6 MB, free: 7.539 MB / 350.1 MB Notification: Performance of Templates: time 0.005955/0.01504, allocations: 3.214 MB / 479.8 MB, free: 4.32 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestDistributions.makefile make -j1 -f ModelicaTest_4.0.0_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 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_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_4.0.0_ModelicaTest.Math.Random.TestDistributions.o ModelicaTest_4.0.0_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 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_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_4.0.0_ModelicaTest.Math.Random.TestDistributions_functions.o ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestDistributions_functions.c ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestDistributions_functions.c:578:24: error: use of undeclared identifier '_OMC_LIT0' real_array_copy_data(_OMC_LIT0, _P); ^ ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestDistributions_functions.c:581:24: error: use of undeclared identifier '_OMC_LIT1' real_array_copy_data(_OMC_LIT1, _Q); ^ ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestDistributions_functions.c:748:24: error: use of undeclared identifier '_OMC_LIT2' real_array_copy_data(_OMC_LIT2, _P1); ^ ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestDistributions_functions.c:751:24: error: use of undeclared identifier '_OMC_LIT3' real_array_copy_data(_OMC_LIT3, _Q1); ^ ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestDistributions_functions.c:755:24: error: use of undeclared identifier '_OMC_LIT4' real_array_copy_data(_OMC_LIT4, _P2); ^ ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestDistributions_functions.c:758:24: error: use of undeclared identifier '_OMC_LIT5' real_array_copy_data(_OMC_LIT5, _Q2); ^ ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestDistributions_functions.c:762:24: error: use of undeclared identifier '_OMC_LIT6' real_array_copy_data(_OMC_LIT6, _P3); ^ ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestDistributions_functions.c:765:24: error: use of undeclared identifier '_OMC_LIT7' real_array_copy_data(_OMC_LIT7, _Q3); ^ ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestDistributions_functions.c:769:24: error: use of undeclared identifier '_OMC_LIT8' real_array_copy_data(_OMC_LIT8, _P4); ^ ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestDistributions_functions.c:772:24: error: use of undeclared identifier '_OMC_LIT9' real_array_copy_data(_OMC_LIT9, _Q4); ^ ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestDistributions_functions.c:776:24: error: use of undeclared identifier '_OMC_LIT10' real_array_copy_data(_OMC_LIT10, _P5); ^ ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestDistributions_functions.c:779:24: error: use of undeclared identifier '_OMC_LIT11' real_array_copy_data(_OMC_LIT11, _Q5); ^ ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestDistributions_functions.c:783:24: error: use of undeclared identifier '_OMC_LIT12' real_array_copy_data(_OMC_LIT12, _P6); ^ ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestDistributions_functions.c:786:24: error: use of undeclared identifier '_OMC_LIT13' real_array_copy_data(_OMC_LIT13, _Q6); ^ ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestDistributions_functions.c:790:24: error: use of undeclared identifier '_OMC_LIT14' real_array_copy_data(_OMC_LIT14, _P7); ^ ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestDistributions_functions.c:793:24: error: use of undeclared identifier '_OMC_LIT15' real_array_copy_data(_OMC_LIT15, _Q7); ^ ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestDistributions_functions.c:951:24: error: use of undeclared identifier '_OMC_LIT16' real_array_copy_data(_OMC_LIT16, _P1); ^ ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestDistributions_functions.c:954:24: error: use of undeclared identifier '_OMC_LIT17' real_array_copy_data(_OMC_LIT17, _Q1); ^ ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestDistributions_functions.c:958: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_4.0.0_ModelicaTest.Math.Random.TestDistributions_functions.o] Error 1