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.001537/0.001537, allocations: 119.5 kB / 17.1 MB, free: 5.938 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.001808/0.001808, allocations: 194.8 kB / 18.03 MB, free: 5.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.787/1.787, allocations: 205.1 MB / 223.9 MB, free: 12.22 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.2539/0.2539, allocations: 43.53 MB / 314.8 MB, free: 444 kB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.845e-05/2.846e-05, allocations: 2.281 kB / 442.4 MB, free: 5.723 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestDistributions): time 0.001559/0.001595, allocations: 0.5026 MB / 442.9 MB, free: 5.223 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002789/0.004398, allocations: 2.073 MB / 445 MB, free: 3.125 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.883e-05/0.004429, allocations: 4 kB / 445 MB, free: 3.121 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.809e-05/0.004453, allocations: 0 / 445 MB, free: 3.121 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.332e-06/0.004487, allocations: 0 / 445 MB, free: 3.121 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001588/0.006081, allocations: 0.4937 MB / 445.5 MB, free: 2.629 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.275e-05/0.006153, allocations: 7.984 kB / 445.5 MB, free: 2.621 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.013e-05/0.006209, allocations: 4 kB / 445.5 MB, free: 2.617 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.556e-05/0.006229, allocations: 0 / 445.5 MB, free: 2.617 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.086e-05/0.006256, allocations: 3.938 kB / 445.5 MB, free: 2.613 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.837e-06/0.006269, allocations: 0 / 445.5 MB, free: 2.613 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009964/0.00727, allocations: 0.6122 MB / 446.1 MB, free: 2 MB / 318.1 MB Notification: Performance of combineBinaries: time 4.276e-05/0.007325, allocations: 7.891 kB / 446.1 MB, free: 1.992 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 6.11e-07/0.007332, allocations: 0 / 446.1 MB, free: 1.992 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.422e-05/0.007353, allocations: 4 kB / 446.1 MB, free: 1.988 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.038e-05/0.007368, allocations: 4 kB / 446.1 MB, free: 1.984 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.0002503/0.007624, allocations: 157.3 kB / 446.3 MB, free: 1.73 MB / 318.1 MB Notification: Performance of FunctionAlias: time 1.136e-05/0.007643, allocations: 7.953 kB / 446.3 MB, free: 1.723 MB / 318.1 MB Notification: Performance of Early Inline: time 7.767e-05/0.007725, allocations: 48.38 kB / 446.3 MB, free: 1.648 MB / 318.1 MB Notification: Performance of simplify1: time 2.295e-06/0.007734, allocations: 0 / 446.3 MB, free: 1.648 MB / 318.1 MB Notification: Performance of Alias: time 5.228e-05/0.007792, allocations: 60.56 kB / 446.4 MB, free: 1.551 MB / 318.1 MB Notification: Performance of simplify2: time 6.02e-07/0.007799, allocations: 0 / 446.4 MB, free: 1.551 MB / 318.1 MB Notification: Performance of Detect States: time 0.0002319/0.008036, allocations: 33.97 kB / 446.4 MB, free: 1.504 MB / 318.1 MB Notification: Performance of Events: time 2.196e-05/0.008066, allocations: 3.938 kB / 446.4 MB, free: 1.5 MB / 318.1 MB Notification: Performance of Partitioning: time 4.98e-05/0.008121, allocations: 12.12 kB / 446.5 MB, free: 1.48 MB / 318.1 MB Notification: Performance of Causalize: time 0.0001181/0.008245, allocations: 28.05 kB / 446.5 MB, free: 1.445 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 2.784e-05/0.008279, allocations: 36.44 kB / 446.5 MB, free: 1.383 MB / 318.1 MB Notification: Performance of Inline: time 7.566e-05/0.00836, allocations: 84.64 kB / 446.6 MB, free: 1.266 MB / 318.1 MB Notification: Performance of Partitioning: time 1.027e-05/0.008376, allocations: 12.06 kB / 446.6 MB, free: 1.246 MB / 318.1 MB Notification: Performance of Cleanup: time 9.638e-06/0.008392, allocations: 0 / 446.6 MB, free: 1.246 MB / 318.1 MB Notification: Performance of Causalize: time 6.389e-05/0.008461, allocations: 32.05 kB / 446.6 MB, free: 1.207 MB / 318.1 MB Notification: Performance of Tearing: time 1.416e-05/0.008484, allocations: 3.938 kB / 446.6 MB, free: 1.203 MB / 318.1 MB Notification: Performance of Initialization: time 4.21e-07/0.008489, allocations: 0 / 446.6 MB, free: 1.203 MB / 318.1 MB Notification: Performance of Tearing: time 1.984e-06/0.008496, allocations: 0 / 446.6 MB, free: 1.203 MB / 318.1 MB Notification: Performance of Categorize: time 7.774e-06/0.008508, allocations: 0 / 446.6 MB, free: 1.203 MB / 318.1 MB Notification: Performance of Solve: time 1.602e-05/0.008529, allocations: 8.188 kB / 446.7 MB, free: 1.195 MB / 318.1 MB Notification: Performance of Jacobian: time 3.126e-06/0.008537, allocations: 0 / 446.7 MB, free: 1.195 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 3.096e-05/0.008572, allocations: 15.94 kB / 446.7 MB, free: 1.188 MB / 318.1 MB Notification: Performance of SimCode: time 0.001425/0.01, allocations: 1.213 MB / 447.9 MB, free: 15.96 MB / 334.1 MB Notification: Performance of Templates: time 0.006834/0.01685, allocations: 3.224 MB / 451.1 MB, free: 12.74 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