Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.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.TestTruncatedDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions") translateModel(ModelicaTest.Math.Random.TestTruncatedDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001845/0.001845, allocations: 110.6 kB / 17.1 MB, free: 5.945 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.001911/0.001912, allocations: 194.7 kB / 18.03 MB, free: 5.039 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.145/2.145, allocations: 205.1 MB / 223.9 MB, free: 12.27 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.2563/0.2563, allocations: 43.52 MB / 314.8 MB, free: 456 kB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.178e-05/2.179e-05, allocations: 2.281 kB / 442.4 MB, free: 5.695 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestTruncatedDistributions): time 0.001313/0.001342, allocations: 0.4987 MB / 442.9 MB, free: 5.199 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002721/0.004074, allocations: 2.334 MB / 445.3 MB, free: 2.84 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.606e-05/0.004104, allocations: 0 / 445.3 MB, free: 2.84 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.754e-05/0.004127, allocations: 0 / 445.3 MB, free: 2.84 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.983e-06/0.004152, allocations: 0 / 445.3 MB, free: 2.84 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001369/0.005526, allocations: 0.5647 MB / 445.8 MB, free: 2.273 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.653e-05/0.005591, allocations: 11.98 kB / 445.8 MB, free: 2.262 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.586e-05/0.005643, allocations: 11.88 kB / 445.8 MB, free: 2.25 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.519e-05/0.005664, allocations: 3.984 kB / 445.8 MB, free: 2.246 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.788e-05/0.005686, allocations: 4 kB / 445.8 MB, free: 2.242 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.082e-06/0.005696, allocations: 0 / 445.8 MB, free: 2.242 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008672/0.006568, allocations: 0.6747 MB / 446.5 MB, free: 1.566 MB / 318.1 MB Notification: Performance of combineBinaries: time 2.925e-05/0.006609, allocations: 11.89 kB / 446.5 MB, free: 1.555 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 1.693e-06/0.006617, allocations: 0 / 446.5 MB, free: 1.555 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.085e-05/0.006633, allocations: 3.938 kB / 446.5 MB, free: 1.551 MB / 318.1 MB Notification: Performance of FrontEnd: time 8.255e-06/0.006645, allocations: 0 / 446.5 MB, free: 1.551 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.0002355/0.006885, allocations: 161.3 kB / 446.7 MB, free: 1.293 MB / 318.1 MB Notification: Performance of FunctionAlias: time 1.455e-05/0.006905, allocations: 3.953 kB / 446.7 MB, free: 1.289 MB / 318.1 MB Notification: Performance of Early Inline: time 6.173e-05/0.006972, allocations: 64.33 kB / 446.8 MB, free: 1.199 MB / 318.1 MB Notification: Performance of simplify1: time 2.454e-06/0.006981, allocations: 0 / 446.8 MB, free: 1.199 MB / 318.1 MB Notification: Performance of Alias: time 4.08e-05/0.007026, allocations: 52.62 kB / 446.8 MB, free: 1.109 MB / 318.1 MB Notification: Performance of simplify2: time 4.91e-07/0.007031, allocations: 0 / 446.8 MB, free: 1.109 MB / 318.1 MB Notification: Performance of Events: time 1.681e-05/0.007052, allocations: 3.953 kB / 446.8 MB, free: 1.105 MB / 318.1 MB Notification: Performance of Detect States: time 6.489e-05/0.007121, allocations: 33.78 kB / 446.9 MB, free: 1.059 MB / 318.1 MB Notification: Performance of Partitioning: time 5.504e-05/0.007183, allocations: 16.06 kB / 446.9 MB, free: 1.035 MB / 318.1 MB Notification: Performance of Causalize: time 0.0001177/0.007306, allocations: 24.11 kB / 446.9 MB, free: 1.004 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 2.451e-05/0.007338, allocations: 44.56 kB / 446.9 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of Inline: time 6.143e-05/0.007407, allocations: 80.42 kB / 447 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of Partitioning: time 7.094e-06/0.00742, allocations: 8.125 kB / 447 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of Cleanup: time 8.416e-06/0.007433, allocations: 3.984 kB / 447 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of Causalize: time 3.985e-05/0.007477, allocations: 32.05 kB / 447.1 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of Tearing: time 5.65e-06/0.00749, allocations: 0 / 447.1 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of Initialization: time 2.9e-07/0.007495, allocations: 4.188 kB / 447.1 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of Tearing: time 6.81e-07/0.007501, allocations: 0 / 447.1 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of Categorize: time 8.806e-06/0.007514, allocations: 0 / 447.1 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of Solve: time 1.622e-05/0.007535, allocations: 7.938 kB / 447.1 MB, free: 0.75 MB / 318.1 MB Notification: Performance of Jacobian: time 2.354e-06/0.007541, allocations: 3.938 kB / 447.1 MB, free: 0.7461 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.152e-05/0.007577, allocations: 20.16 kB / 447.1 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of SimCode: time 0.001476/0.009057, allocations: 1.28 MB / 448.4 MB, free: 15.45 MB / 334.1 MB Notification: Performance of Templates: time 0.006605/0.01567, allocations: 3.311 MB / 451.7 MB, free: 12.13 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.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_TestTruncatedDistributions -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.TestTruncatedDistributions.o ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.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_TestTruncatedDistributions -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.TestTruncatedDistributions_functions.o ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions_functions.c ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions_functions.c:752:24: error: use of undeclared identifier '_OMC_LIT0' real_array_copy_data(_OMC_LIT0, _P); ^ ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions_functions.c:755:24: error: use of undeclared identifier '_OMC_LIT1' real_array_copy_data(_OMC_LIT1, _Q); ^ ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions_functions.c:922:24: error: use of undeclared identifier '_OMC_LIT2' real_array_copy_data(_OMC_LIT2, _P1); ^ ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions_functions.c:925:24: error: use of undeclared identifier '_OMC_LIT3' real_array_copy_data(_OMC_LIT3, _Q1); ^ ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions_functions.c:929:24: error: use of undeclared identifier '_OMC_LIT4' real_array_copy_data(_OMC_LIT4, _P2); ^ ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions_functions.c:932:24: error: use of undeclared identifier '_OMC_LIT5' real_array_copy_data(_OMC_LIT5, _Q2); ^ ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions_functions.c:936:24: error: use of undeclared identifier '_OMC_LIT6' real_array_copy_data(_OMC_LIT6, _P3); ^ ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions_functions.c:939:24: error: use of undeclared identifier '_OMC_LIT7' real_array_copy_data(_OMC_LIT7, _Q3); ^ ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions_functions.c:943:24: error: use of undeclared identifier '_OMC_LIT8' real_array_copy_data(_OMC_LIT8, _P4); ^ ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions_functions.c:946:24: error: use of undeclared identifier '_OMC_LIT9' real_array_copy_data(_OMC_LIT9, _Q4); ^ ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions_functions.c:950:24: error: use of undeclared identifier '_OMC_LIT10' real_array_copy_data(_OMC_LIT10, _P5); ^ ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions_functions.c:953:24: error: use of undeclared identifier '_OMC_LIT11' real_array_copy_data(_OMC_LIT11, _Q5); ^ ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions_functions.c:957:24: error: use of undeclared identifier '_OMC_LIT12' real_array_copy_data(_OMC_LIT12, _P6); ^ ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions_functions.c:960:24: error: use of undeclared identifier '_OMC_LIT13' real_array_copy_data(_OMC_LIT13, _Q6); ^ ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions_functions.c:964:24: error: use of undeclared identifier '_OMC_LIT14' real_array_copy_data(_OMC_LIT14, _P7); ^ ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions_functions.c:967:24: error: use of undeclared identifier '_OMC_LIT15' real_array_copy_data(_OMC_LIT15, _Q7); ^ ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions_functions.c:1125:24: error: use of undeclared identifier '_OMC_LIT16' real_array_copy_data(_OMC_LIT16, _P1); ^ ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions_functions.c:1128:24: error: use of undeclared identifier '_OMC_LIT17' real_array_copy_data(_OMC_LIT17, _Q1); ^ ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions_functions.c:1132: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.TestTruncatedDistributions_functions.o] Error 1