Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.Random.TestTruncatedDistributions.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.TestTruncatedDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.Random.TestTruncatedDistributions") translateModel(ModelicaTest.Math.Random.TestTruncatedDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.Random.TestTruncatedDistributions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00131/0.00131, allocations: 111 kB / 18.46 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001325/0.001325, allocations: 209.1 kB / 19.42 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 227.4 MB / 247.6 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2252/0.2252, allocations: 46.1 MB / 345 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.043e-05/2.044e-05, allocations: 2.281 kB / 481.9 MB, free: 4.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestTruncatedDistributions): time 0.001405/0.001433, allocations: 0.5017 MB / 482.4 MB, free: 3.652 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003639/0.005083, allocations: 2.366 MB / 484.8 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.68e-05/0.005115, allocations: 4 kB / 484.8 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.256e-05/0.005133, allocations: 0 / 484.8 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.26e-06/0.005153, allocations: 0 / 484.8 MB, free: 1.258 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:1098:5-1194:31:writable] Warning: Pure function 'ModelicaTest.Math.Random.truncatedDistributions' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001789/0.006946, allocations: 0.5681 MB / 485.3 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.47e-05/0.00702, allocations: 0 / 485.3 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.477e-05/0.007072, allocations: 3.984 kB / 485.4 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.8e-05/0.007095, allocations: 4 kB / 485.4 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.974e-05/0.00712, allocations: 3.938 kB / 485.4 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.933e-06/0.007132, allocations: 0 / 485.4 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001322/0.00846, allocations: 0.702 MB / 486.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of combineBinaries: time 2.772e-05/0.0085, allocations: 7.984 kB / 486.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 3.206e-06/0.008509, allocations: 3.906 kB / 486.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.289e-05/0.008526, allocations: 0 / 486.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.086e-05/0.008541, allocations: 0 / 486.1 MB, free: 15.96 MB / 366.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.0003292/0.008875, allocations: 165.4 kB / 486.2 MB, free: 15.7 MB / 366.1 MB Notification: Performance of FunctionAlias: time 1.839e-05/0.0089, allocations: 3.953 kB / 486.2 MB, free: 15.7 MB / 366.1 MB Notification: Performance of Early Inline: time 0.0001299/0.009035, allocations: 56.36 kB / 486.3 MB, free: 15.62 MB / 366.1 MB Notification: Performance of simplify1: time 3.667e-06/0.009044, allocations: 4 kB / 486.3 MB, free: 15.61 MB / 366.1 MB Notification: Performance of Alias: time 5.45e-05/0.009105, allocations: 56.55 kB / 486.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of simplify2: time 6.41e-07/0.009111, allocations: 0 / 486.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of Detect States: time 6.145e-05/0.009176, allocations: 32.19 kB / 486.4 MB, free: 15.47 MB / 366.1 MB Notification: Performance of Events: time 1.489e-05/0.009198, allocations: 0 / 486.4 MB, free: 15.47 MB / 366.1 MB Notification: Performance of Partitioning: time 4.71e-05/0.009249, allocations: 12.12 kB / 486.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of Causalize: time 0.0001103/0.009365, allocations: 32.05 kB / 486.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of After Index Reduction Inline: time 4.965e-05/0.009421, allocations: 44.38 kB / 486.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of Inline: time 8.47e-05/0.009512, allocations: 72.47 kB / 486.5 MB, free: 15.24 MB / 366.1 MB Notification: Performance of Partitioning: time 9.248e-06/0.009528, allocations: 8.125 kB / 486.5 MB, free: 15.22 MB / 366.1 MB Notification: Performance of Cleanup: time 7.584e-06/0.00954, allocations: 0 / 486.5 MB, free: 15.22 MB / 366.1 MB Notification: Performance of Causalize: time 5.791e-05/0.009605, allocations: 36.23 kB / 486.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of Tearing: time 1.006e-05/0.009622, allocations: 0 / 486.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of Initialization: time 3.61e-07/0.009629, allocations: 3.938 kB / 486.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of Tearing: time 1.242e-06/0.009635, allocations: 0 / 486.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of Categorize: time 7.193e-06/0.009646, allocations: 0 / 486.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of Solve: time 2.485e-05/0.009675, allocations: 8 kB / 486.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of Jacobian: time 4.879e-06/0.009684, allocations: 0 / 486.6 MB, free: 15.17 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 3.248e-05/0.00972, allocations: 21.05 kB / 486.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of SimCode: time 0.001876/0.0116, allocations: 1.297 MB / 487.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of Templates: time 0.006908/0.01852, allocations: 3.401 MB / 491.3 MB, free: 10.43 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.Random.TestTruncatedDistributions.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.Random.TestTruncatedDistributions.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_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_trunk_ModelicaTest.Math.Random.TestTruncatedDistributions.o ModelicaTest_trunk_ModelicaTest.Math.Random.TestTruncatedDistributions.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_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_trunk_ModelicaTest.Math.Random.TestTruncatedDistributions_functions.o ModelicaTest_trunk_ModelicaTest.Math.Random.TestTruncatedDistributions_functions.c ModelicaTest_trunk_ModelicaTest.Math.Random.TestTruncatedDistributions_functions.c:795:24: error: use of undeclared identifier '_OMC_LIT0' real_array_copy_data(_OMC_LIT0, _P); ^ ModelicaTest_trunk_ModelicaTest.Math.Random.TestTruncatedDistributions_functions.c:798:24: error: use of undeclared identifier '_OMC_LIT1' real_array_copy_data(_OMC_LIT1, _Q); ^ ModelicaTest_trunk_ModelicaTest.Math.Random.TestTruncatedDistributions_functions.c:963:24: error: use of undeclared identifier '_OMC_LIT2' real_array_copy_data(_OMC_LIT2, _P1); ^ ModelicaTest_trunk_ModelicaTest.Math.Random.TestTruncatedDistributions_functions.c:966:24: error: use of undeclared identifier '_OMC_LIT3' real_array_copy_data(_OMC_LIT3, _Q1); ^ ModelicaTest_trunk_ModelicaTest.Math.Random.TestTruncatedDistributions_functions.c:970:24: error: use of undeclared identifier '_OMC_LIT4' real_array_copy_data(_OMC_LIT4, _P2); ^ ModelicaTest_trunk_ModelicaTest.Math.Random.TestTruncatedDistributions_functions.c:973:24: error: use of undeclared identifier '_OMC_LIT5' real_array_copy_data(_OMC_LIT5, _Q2); ^ ModelicaTest_trunk_ModelicaTest.Math.Random.TestTruncatedDistributions_functions.c:977:24: error: use of undeclared identifier '_OMC_LIT6' real_array_copy_data(_OMC_LIT6, _P3); ^ ModelicaTest_trunk_ModelicaTest.Math.Random.TestTruncatedDistributions_functions.c:980:24: error: use of undeclared identifier '_OMC_LIT7' real_array_copy_data(_OMC_LIT7, _Q3); ^ ModelicaTest_trunk_ModelicaTest.Math.Random.TestTruncatedDistributions_functions.c:984:24: error: use of undeclared identifier '_OMC_LIT8' real_array_copy_data(_OMC_LIT8, _P4); ^ ModelicaTest_trunk_ModelicaTest.Math.Random.TestTruncatedDistributions_functions.c:987:24: error: use of undeclared identifier '_OMC_LIT9' real_array_copy_data(_OMC_LIT9, _Q4); ^ ModelicaTest_trunk_ModelicaTest.Math.Random.TestTruncatedDistributions_functions.c:991:24: error: use of undeclared identifier '_OMC_LIT10' real_array_copy_data(_OMC_LIT10, _P5); ^ ModelicaTest_trunk_ModelicaTest.Math.Random.TestTruncatedDistributions_functions.c:994:24: error: use of undeclared identifier '_OMC_LIT11' real_array_copy_data(_OMC_LIT11, _Q5); ^ ModelicaTest_trunk_ModelicaTest.Math.Random.TestTruncatedDistributions_functions.c:998:24: error: use of undeclared identifier '_OMC_LIT12' real_array_copy_data(_OMC_LIT12, _P6); ^ ModelicaTest_trunk_ModelicaTest.Math.Random.TestTruncatedDistributions_functions.c:1001:24: error: use of undeclared identifier '_OMC_LIT13' real_array_copy_data(_OMC_LIT13, _Q6); ^ ModelicaTest_trunk_ModelicaTest.Math.Random.TestTruncatedDistributions_functions.c:1005:24: error: use of undeclared identifier '_OMC_LIT14' real_array_copy_data(_OMC_LIT14, _P7); ^ ModelicaTest_trunk_ModelicaTest.Math.Random.TestTruncatedDistributions_functions.c:1008:24: error: use of undeclared identifier '_OMC_LIT15' real_array_copy_data(_OMC_LIT15, _Q7); ^ ModelicaTest_trunk_ModelicaTest.Math.Random.TestTruncatedDistributions_functions.c:1156:24: error: use of undeclared identifier '_OMC_LIT16' real_array_copy_data(_OMC_LIT16, _P1); ^ ModelicaTest_trunk_ModelicaTest.Math.Random.TestTruncatedDistributions_functions.c:1159:24: error: use of undeclared identifier '_OMC_LIT17' real_array_copy_data(_OMC_LIT17, _Q1); ^ ModelicaTest_trunk_ModelicaTest.Math.Random.TestTruncatedDistributions_functions.c:1163: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.TestTruncatedDistributions_functions.o] Error 1