Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestTruncatedDistributions") translateModel(ModelicaTest.Math.Random.TestTruncatedDistributions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.001119/0.001119, allocations: 108.8 kB / 16.42 MB, free: 6.512 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.001141/0.001142, allocations: 187.2 kB / 17.35 MB, free: 5.754 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.357/1.357, allocations: 205.1 MB / 223.2 MB, free: 12.28 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1817/0.1817, allocations: 39.96 MB / 310.5 MB, free: 4.027 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.201e-05/1.202e-05, allocations: 2.5 kB / 436.4 MB, free: 11.81 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestTruncatedDistributions): time 0.0009432/0.000963, allocations: 0.5042 MB / 436.9 MB, free: 11.31 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002204/0.003178, allocations: 2.338 MB / 439.2 MB, free: 8.945 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.222e-05/0.003201, allocations: 0 / 439.2 MB, free: 8.945 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.357e-05/0.003221, allocations: 0 / 439.2 MB, free: 8.945 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.146e-06/0.003235, allocations: 0 / 439.2 MB, free: 8.945 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Math.mo:1078:5-1175: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.0009942/0.004233, allocations: 0.5681 MB / 439.8 MB, free: 8.379 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 3.765e-05/0.004278, allocations: 3.984 kB / 439.8 MB, free: 8.375 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.082e-05/0.004314, allocations: 4 kB / 439.8 MB, free: 8.371 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.037e-05/0.00433, allocations: 0 / 439.8 MB, free: 8.371 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.224e-05/0.004346, allocations: 0 / 439.8 MB, free: 8.371 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.368e-06/0.00436, allocations: 0 / 439.8 MB, free: 8.371 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006536/0.005018, allocations: 0.6941 MB / 440.5 MB, free: 7.676 MB / 318.1 MB Notification: Performance of combineBinaries: time 1.718e-05/0.005046, allocations: 7.938 kB / 440.5 MB, free: 7.668 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 2.234e-06/0.005053, allocations: 4 kB / 440.5 MB, free: 7.664 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.302e-05/0.00507, allocations: 0 / 440.5 MB, free: 7.664 MB / 318.1 MB Notification: Performance of FrontEnd: time 5.23e-06/0.00508, allocations: 0 / 440.5 MB, free: 7.664 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.0001504/0.005234, allocations: 154.5 kB / 440.7 MB, free: 7.414 MB / 318.1 MB Notification: Performance of FunctionAlias: time 1.66e-05/0.005256, allocations: 3.938 kB / 440.7 MB, free: 7.41 MB / 318.1 MB Notification: Performance of Early Inline: time 4.691e-05/0.005307, allocations: 48.36 kB / 440.7 MB, free: 7.336 MB / 318.1 MB Notification: Performance of simplify1: time 1.403e-06/0.005314, allocations: 0 / 440.7 MB, free: 7.336 MB / 318.1 MB Notification: Performance of Alias: time 2.649e-05/0.005344, allocations: 56.58 kB / 440.8 MB, free: 7.242 MB / 318.1 MB Notification: Performance of simplify2: time 5.61e-07/0.005349, allocations: 0 / 440.8 MB, free: 7.242 MB / 318.1 MB Notification: Performance of Events: time 9.728e-06/0.005363, allocations: 7.984 kB / 440.8 MB, free: 7.234 MB / 318.1 MB Notification: Performance of Detect States: time 3.738e-05/0.005405, allocations: 33.88 kB / 440.8 MB, free: 7.188 MB / 318.1 MB Notification: Performance of Partitioning: time 3.382e-05/0.005444, allocations: 20.12 kB / 440.8 MB, free: 7.16 MB / 318.1 MB Notification: Performance of Causalize: time 7.317e-05/0.005523, allocations: 28.11 kB / 440.9 MB, free: 7.125 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 2.215e-05/0.005551, allocations: 44.56 kB / 440.9 MB, free: 7.055 MB / 318.1 MB Notification: Performance of Inline: time 4.437e-05/0.005601, allocations: 76.44 kB / 441 MB, free: 6.945 MB / 318.1 MB Notification: Performance of Partitioning: time 6.262e-06/0.005612, allocations: 12.12 kB / 441 MB, free: 6.926 MB / 318.1 MB Notification: Performance of Cleanup: time 5.1e-06/0.005622, allocations: 0 / 441 MB, free: 6.926 MB / 318.1 MB Notification: Performance of Causalize: time 3.799e-05/0.005664, allocations: 36.09 kB / 441 MB, free: 6.883 MB / 318.1 MB Notification: Performance of Tearing: time 4.598e-06/0.005675, allocations: 3.938 kB / 441 MB, free: 6.879 MB / 318.1 MB Notification: Performance of Initialization: time 2.6e-07/0.005679, allocations: 0 / 441 MB, free: 6.879 MB / 318.1 MB Notification: Performance of Tearing: time 6.21e-07/0.005684, allocations: 4.25 kB / 441 MB, free: 6.875 MB / 318.1 MB Notification: Performance of Categorize: time 4.027e-06/0.005692, allocations: 0 / 441 MB, free: 6.875 MB / 318.1 MB Notification: Performance of Solve: time 9.938e-06/0.005706, allocations: 4 kB / 441 MB, free: 6.871 MB / 318.1 MB Notification: Performance of Jacobian: time 2.224e-06/0.005712, allocations: 0 / 441 MB, free: 6.871 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 2.274e-05/0.005738, allocations: 20.75 kB / 441 MB, free: 6.859 MB / 318.1 MB Notification: Performance of SimCode: time 0.0009602/0.006703, allocations: 1.276 MB / 442.3 MB, free: 5.574 MB / 318.1 MB Notification: Performance of Templates: time 0.004238/0.01095, allocations: 3.316 MB / 445.6 MB, free: 2.254 MB / 318.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestTruncatedDistributions.makefile make -j1 -f ModelicaTest_3.2.2_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_2_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.2_ModelicaTest.Math.Random.TestTruncatedDistributions.o ModelicaTest_3.2.2_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_2_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.2_ModelicaTest.Math.Random.TestTruncatedDistributions_functions.o ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestTruncatedDistributions_functions.c ModelicaTest_3.2.2_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.2_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.2_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.2_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.2_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.2_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.2_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.2_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.2_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.2_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.2_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.2_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.2_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.2_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.2_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.2_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.2_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.2_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.2_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.2_ModelicaTest.Math.Random.TestTruncatedDistributions_functions.o] Error 1