Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.TestTruncatedDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions") translateModel(ModelicaTest.Math.Random.TestTruncatedDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_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.001414/0.001414, allocations: 105.7 kB / 18.46 MB, free: 4.605 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.001385/0.001385, allocations: 184.2 kB / 19.39 MB, free: 3.68 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.391/1.391, allocations: 222.9 MB / 243.1 MB, free: 15.09 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.2335/0.2335, allocations: 44.19 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.044e-05/2.045e-05, allocations: 2.281 kB / 471.2 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestTruncatedDistributions): time 0.001235/0.001264, allocations: 0.4974 MB / 471.7 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003023/0.0043, allocations: 2.296 MB / 474 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.549e-05/0.004329, allocations: 0 / 474 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.202e-05/0.004348, allocations: 3.938 kB / 474 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.34e-06/0.004368, allocations: 0 / 474 MB, free: 10.41 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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.001559/0.005935, allocations: 0.5609 MB / 474.5 MB, free: 9.852 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.473e-05/0.00601, allocations: 4 kB / 474.5 MB, free: 9.848 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.87e-05/0.006064, allocations: 0 / 474.5 MB, free: 9.848 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.844e-05/0.006088, allocations: 0 / 474.5 MB, free: 9.848 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.37e-05/0.006117, allocations: 7.984 kB / 474.5 MB, free: 9.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.753e-06/0.006129, allocations: 0 / 474.5 MB, free: 9.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001057/0.007192, allocations: 0.6902 MB / 475.2 MB, free: 9.148 MB / 350.1 MB Notification: Performance of combineBinaries: time 2.971e-05/0.007234, allocations: 11.92 kB / 475.2 MB, free: 9.137 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 2.164e-06/0.007242, allocations: 3.906 kB / 475.2 MB, free: 9.133 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.335e-05/0.00726, allocations: 0 / 475.2 MB, free: 9.133 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.077e-06/0.007275, allocations: 0 / 475.2 MB, free: 9.133 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.0002992/0.007578, allocations: 164.4 kB / 475.4 MB, free: 8.875 MB / 350.1 MB Notification: Performance of FunctionAlias: time 1.676e-05/0.007602, allocations: 7.875 kB / 475.4 MB, free: 8.867 MB / 350.1 MB Notification: Performance of Early Inline: time 6.275e-05/0.00767, allocations: 44.39 kB / 475.4 MB, free: 8.797 MB / 350.1 MB Notification: Performance of simplify1: time 6.061e-06/0.007682, allocations: 0 / 475.4 MB, free: 8.797 MB / 350.1 MB Notification: Performance of Alias: time 5.85e-05/0.007747, allocations: 72.55 kB / 475.5 MB, free: 8.688 MB / 350.1 MB Notification: Performance of simplify2: time 7.41e-07/0.007753, allocations: 0 / 475.5 MB, free: 8.688 MB / 350.1 MB Notification: Performance of Detect States: time 5.636e-05/0.007813, allocations: 28.8 kB / 475.5 MB, free: 8.645 MB / 350.1 MB Notification: Performance of Events: time 1.621e-05/0.007836, allocations: 3.953 kB / 475.5 MB, free: 8.641 MB / 350.1 MB Notification: Performance of Partitioning: time 4.085e-05/0.007882, allocations: 16.11 kB / 475.6 MB, free: 8.617 MB / 350.1 MB Notification: Performance of Causalize: time 0.0001016/0.007989, allocations: 20.12 kB / 475.6 MB, free: 8.59 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 5.6e-05/0.008052, allocations: 56.55 kB / 475.6 MB, free: 8.508 MB / 350.1 MB Notification: Performance of Inline: time 7.101e-05/0.00813, allocations: 64.44 kB / 475.7 MB, free: 8.41 MB / 350.1 MB Notification: Performance of Partitioning: time 1.183e-05/0.008148, allocations: 12.11 kB / 475.7 MB, free: 8.391 MB / 350.1 MB Notification: Performance of Cleanup: time 7.595e-06/0.008161, allocations: 0 / 475.7 MB, free: 8.391 MB / 350.1 MB Notification: Performance of Causalize: time 6.315e-05/0.008229, allocations: 32.06 kB / 475.7 MB, free: 8.352 MB / 350.1 MB Notification: Performance of Tearing: time 1.017e-05/0.008247, allocations: 0 / 475.7 MB, free: 8.352 MB / 350.1 MB Notification: Performance of Initialization: time 5.91e-07/0.008254, allocations: 4.188 kB / 475.7 MB, free: 8.348 MB / 350.1 MB Notification: Performance of Tearing: time 2.825e-06/0.008262, allocations: 3.938 kB / 475.8 MB, free: 8.344 MB / 350.1 MB Notification: Performance of Categorize: time 9.147e-06/0.008276, allocations: 3.984 kB / 475.8 MB, free: 8.34 MB / 350.1 MB Notification: Performance of Solve: time 1.692e-05/0.008297, allocations: 7.984 kB / 475.8 MB, free: 8.332 MB / 350.1 MB Notification: Performance of Jacobian: time 3.296e-06/0.008305, allocations: 0 / 475.8 MB, free: 8.332 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.165e-05/0.008341, allocations: 14.28 kB / 475.8 MB, free: 8.324 MB / 350.1 MB Notification: Performance of SimCode: time 0.001587/0.009933, allocations: 1.291 MB / 477.1 MB, free: 7.02 MB / 350.1 MB Notification: Performance of Templates: time 0.006753/0.0167, allocations: 3.323 MB / 480.4 MB, free: 3.695 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions.makefile make -j1 -f ModelicaTest_4.0.0_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 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_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_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions.o ModelicaTest_4.0.0_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 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_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_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions_functions.o ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions_functions.c ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions_functions.c:752:24: error: use of undeclared identifier '_OMC_LIT0' real_array_copy_data(_OMC_LIT0, _P); ^ ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions_functions.c:755:24: error: use of undeclared identifier '_OMC_LIT1' real_array_copy_data(_OMC_LIT1, _Q); ^ ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions_functions.c:922:24: error: use of undeclared identifier '_OMC_LIT2' real_array_copy_data(_OMC_LIT2, _P1); ^ ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions_functions.c:925:24: error: use of undeclared identifier '_OMC_LIT3' real_array_copy_data(_OMC_LIT3, _Q1); ^ ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions_functions.c:929:24: error: use of undeclared identifier '_OMC_LIT4' real_array_copy_data(_OMC_LIT4, _P2); ^ ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions_functions.c:932:24: error: use of undeclared identifier '_OMC_LIT5' real_array_copy_data(_OMC_LIT5, _Q2); ^ ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions_functions.c:936:24: error: use of undeclared identifier '_OMC_LIT6' real_array_copy_data(_OMC_LIT6, _P3); ^ ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions_functions.c:939:24: error: use of undeclared identifier '_OMC_LIT7' real_array_copy_data(_OMC_LIT7, _Q3); ^ ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions_functions.c:943:24: error: use of undeclared identifier '_OMC_LIT8' real_array_copy_data(_OMC_LIT8, _P4); ^ ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions_functions.c:946:24: error: use of undeclared identifier '_OMC_LIT9' real_array_copy_data(_OMC_LIT9, _Q4); ^ ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions_functions.c:950:24: error: use of undeclared identifier '_OMC_LIT10' real_array_copy_data(_OMC_LIT10, _P5); ^ ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions_functions.c:953:24: error: use of undeclared identifier '_OMC_LIT11' real_array_copy_data(_OMC_LIT11, _Q5); ^ ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions_functions.c:957:24: error: use of undeclared identifier '_OMC_LIT12' real_array_copy_data(_OMC_LIT12, _P6); ^ ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions_functions.c:960:24: error: use of undeclared identifier '_OMC_LIT13' real_array_copy_data(_OMC_LIT13, _Q6); ^ ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions_functions.c:964:24: error: use of undeclared identifier '_OMC_LIT14' real_array_copy_data(_OMC_LIT14, _P7); ^ ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions_functions.c:967:24: error: use of undeclared identifier '_OMC_LIT15' real_array_copy_data(_OMC_LIT15, _Q7); ^ ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions_functions.c:1125:24: error: use of undeclared identifier '_OMC_LIT16' real_array_copy_data(_OMC_LIT16, _P1); ^ ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions_functions.c:1128:24: error: use of undeclared identifier '_OMC_LIT17' real_array_copy_data(_OMC_LIT17, _Q1); ^ ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions_functions.o] Error 1