Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.Math.Random.TestDistributions") translateModel(ModelicaTest.Math.Random.TestDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_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.001269/0.001269, allocations: 110.7 kB / 17.09 MB, free: 5.82 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.001367/0.001367, allocations: 200.2 kB / 18.03 MB, free: 4.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.03/2.03, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.279/0.279, allocations: 43.53 MB / 314.8 MB, free: 468 kB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.174e-05/3.175e-05, allocations: 2.281 kB / 442.4 MB, free: 5.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestDistributions): time 0.002365/0.002409, allocations: 0.5103 MB / 442.9 MB, free: 5.234 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003729/0.006154, allocations: 2.062 MB / 445 MB, free: 3.148 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.805e-05/0.006197, allocations: 0 / 445 MB, free: 3.148 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.673e-05/0.006222, allocations: 0 / 445 MB, free: 3.148 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.385e-06/0.006266, allocations: 0 / 445 MB, free: 3.148 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002445/0.008719, allocations: 0.4978 MB / 445.5 MB, free: 2.652 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001097/0.008843, allocations: 8 kB / 445.5 MB, free: 2.645 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.608e-05/0.008936, allocations: 3.984 kB / 445.5 MB, free: 2.641 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.797e-05/0.008975, allocations: 0 / 445.5 MB, free: 2.641 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.095e-05/0.009016, allocations: 7.938 kB / 445.5 MB, free: 2.633 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.093e-05/0.009035, allocations: 0 / 445.5 MB, free: 2.633 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001282/0.01032, allocations: 0.6005 MB / 446.1 MB, free: 2.031 MB / 318.1 MB Notification: Performance of combineBinaries: time 4.032e-05/0.01038, allocations: 3.906 kB / 446.1 MB, free: 2.027 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 1.182e-06/0.01039, allocations: 8 kB / 446.1 MB, free: 2.02 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.358e-05/0.01042, allocations: 4 kB / 446.1 MB, free: 2.016 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.498e-05/0.01044, allocations: 0 / 446.1 MB, free: 2.016 MB / 318.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.0003941/0.01084, allocations: 169.3 kB / 446.3 MB, free: 1.75 MB / 318.1 MB Notification: Performance of FunctionAlias: time 1.926e-05/0.01086, allocations: 3.953 kB / 446.3 MB, free: 1.746 MB / 318.1 MB Notification: Performance of Early Inline: time 8.419e-05/0.01095, allocations: 56.3 kB / 446.3 MB, free: 1.664 MB / 318.1 MB Notification: Performance of simplify1: time 2.455e-06/0.01096, allocations: 0 / 446.3 MB, free: 1.664 MB / 318.1 MB Notification: Performance of Alias: time 6.657e-05/0.01103, allocations: 56.52 kB / 446.4 MB, free: 1.57 MB / 318.1 MB Notification: Performance of simplify2: time 4.91e-07/0.01104, allocations: 0 / 446.4 MB, free: 1.57 MB / 318.1 MB Notification: Performance of Events: time 2.268e-05/0.01107, allocations: 7.984 kB / 446.4 MB, free: 1.562 MB / 318.1 MB Notification: Performance of Detect States: time 7.126e-05/0.01115, allocations: 28.25 kB / 446.4 MB, free: 1.52 MB / 318.1 MB Notification: Performance of Partitioning: time 7.602e-05/0.01123, allocations: 12.12 kB / 446.5 MB, free: 1.5 MB / 318.1 MB Notification: Performance of Causalize: time 0.0001792/0.01142, allocations: 24.05 kB / 446.5 MB, free: 1.469 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 4.118e-05/0.01147, allocations: 52.3 kB / 446.5 MB, free: 1.391 MB / 318.1 MB Notification: Performance of Inline: time 9.476e-05/0.01157, allocations: 76.67 kB / 446.6 MB, free: 1.281 MB / 318.1 MB Notification: Performance of Partitioning: time 1.131e-05/0.01159, allocations: 8.125 kB / 446.6 MB, free: 1.266 MB / 318.1 MB Notification: Performance of Cleanup: time 1.38e-05/0.01161, allocations: 4 kB / 446.6 MB, free: 1.262 MB / 318.1 MB Notification: Performance of Causalize: time 6.071e-05/0.01167, allocations: 28.05 kB / 446.6 MB, free: 1.227 MB / 318.1 MB Notification: Performance of Tearing: time 8.756e-06/0.01169, allocations: 0 / 446.6 MB, free: 1.227 MB / 318.1 MB Notification: Performance of Initialization: time 3.11e-07/0.01169, allocations: 0 / 446.6 MB, free: 1.227 MB / 318.1 MB Notification: Performance of Tearing: time 6.91e-07/0.0117, allocations: 0 / 446.6 MB, free: 1.227 MB / 318.1 MB Notification: Performance of Categorize: time 1.132e-05/0.01172, allocations: 4.188 kB / 446.6 MB, free: 1.223 MB / 318.1 MB Notification: Performance of Solve: time 2.662e-05/0.01175, allocations: 4 kB / 446.6 MB, free: 1.219 MB / 318.1 MB Notification: Performance of Jacobian: time 6.152e-06/0.01176, allocations: 0 / 446.6 MB, free: 1.219 MB / 318.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 5.146e-05/0.01182, allocations: 17.22 kB / 446.7 MB, free: 1.207 MB / 318.1 MB Notification: Performance of SimCode: time 0.001703/0.01353, allocations: 1.21 MB / 447.9 MB, free: 15.99 MB / 334.1 MB Notification: Performance of Templates: time 0.007827/0.02137, allocations: 3.218 MB / 451.1 MB, free: 12.77 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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_3_2_3_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_3.2.3_ModelicaTest.Math.Random.TestDistributions.o ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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_3_2_3_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_3.2.3_ModelicaTest.Math.Random.TestDistributions_functions.o ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions_functions.c ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions_functions.c:578:24: error: use of undeclared identifier '_OMC_LIT0' real_array_copy_data(_OMC_LIT0, _P); ^ ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions_functions.c:581:24: error: use of undeclared identifier '_OMC_LIT1' real_array_copy_data(_OMC_LIT1, _Q); ^ ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions_functions.c:748:24: error: use of undeclared identifier '_OMC_LIT2' real_array_copy_data(_OMC_LIT2, _P1); ^ ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions_functions.c:751:24: error: use of undeclared identifier '_OMC_LIT3' real_array_copy_data(_OMC_LIT3, _Q1); ^ ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions_functions.c:755:24: error: use of undeclared identifier '_OMC_LIT4' real_array_copy_data(_OMC_LIT4, _P2); ^ ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions_functions.c:758:24: error: use of undeclared identifier '_OMC_LIT5' real_array_copy_data(_OMC_LIT5, _Q2); ^ ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions_functions.c:762:24: error: use of undeclared identifier '_OMC_LIT6' real_array_copy_data(_OMC_LIT6, _P3); ^ ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions_functions.c:765:24: error: use of undeclared identifier '_OMC_LIT7' real_array_copy_data(_OMC_LIT7, _Q3); ^ ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions_functions.c:769:24: error: use of undeclared identifier '_OMC_LIT8' real_array_copy_data(_OMC_LIT8, _P4); ^ ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions_functions.c:772:24: error: use of undeclared identifier '_OMC_LIT9' real_array_copy_data(_OMC_LIT9, _Q4); ^ ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions_functions.c:776:24: error: use of undeclared identifier '_OMC_LIT10' real_array_copy_data(_OMC_LIT10, _P5); ^ ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions_functions.c:779:24: error: use of undeclared identifier '_OMC_LIT11' real_array_copy_data(_OMC_LIT11, _Q5); ^ ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions_functions.c:783:24: error: use of undeclared identifier '_OMC_LIT12' real_array_copy_data(_OMC_LIT12, _P6); ^ ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions_functions.c:786:24: error: use of undeclared identifier '_OMC_LIT13' real_array_copy_data(_OMC_LIT13, _Q6); ^ ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions_functions.c:790:24: error: use of undeclared identifier '_OMC_LIT14' real_array_copy_data(_OMC_LIT14, _P7); ^ ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions_functions.c:793:24: error: use of undeclared identifier '_OMC_LIT15' real_array_copy_data(_OMC_LIT15, _Q7); ^ ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions_functions.c:951:24: error: use of undeclared identifier '_OMC_LIT16' real_array_copy_data(_OMC_LIT16, _P1); ^ ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions_functions.c:954:24: error: use of undeclared identifier '_OMC_LIT17' real_array_copy_data(_OMC_LIT17, _Q1); ^ ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Math.Random.TestDistributions_functions.o] Error 1