Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b.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.TestMatrices2b,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 108.6 kB / 16.42 MB, free: 6.449 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.00118/0.00118, allocations: 192.3 kB / 17.36 MB, free: 5.699 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.316/1.316, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.1789/0.1789, allocations: 39.95 MB / 310.5 MB, free: 4.023 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.815e-05/1.816e-05, allocations: 2.5 kB / 436.4 MB, free: 11.8 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001029/0.001055, allocations: 0.4887 MB / 436.9 MB, free: 11.32 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002012/0.003079, allocations: 2.132 MB / 439 MB, free: 9.164 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.835e-05/0.003108, allocations: 0 / 439 MB, free: 9.164 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.999e-06/0.003124, allocations: 0 / 439 MB, free: 9.164 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.098e-06/0.003133, allocations: 0 / 439 MB, free: 9.164 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:2034:3-2097:21:writable] Warning: Pure function 'Modelica.Math.Matrices.singularValues' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesvd'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:2829:3-2870:10:writable] Warning: Pure function 'Modelica.Math.Matrices.inv' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgetrf'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Math.mo:484:3-573:17:writable] Warning: Pure function 'ModelicaTest.Math.Matrices2b' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001369/0.004517, allocations: 0.716 MB / 439.7 MB, free: 8.457 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.791e-05/0.004573, allocations: 7.938 kB / 439.7 MB, free: 8.449 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.169e-05/0.00462, allocations: 3.984 kB / 439.7 MB, free: 8.445 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.638e-05/0.004641, allocations: 3.984 kB / 439.7 MB, free: 8.441 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.115e-05/0.004666, allocations: 4 kB / 439.7 MB, free: 8.438 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.32e-06/0.004676, allocations: 0 / 439.7 MB, free: 8.438 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001208/0.005887, allocations: 1.471 MB / 441.2 MB, free: 6.965 MB / 318.1 MB Notification: Performance of combineBinaries: time 1.927e-05/0.005917, allocations: 4 kB / 441.2 MB, free: 6.961 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 1.813e-06/0.005924, allocations: 3.906 kB / 441.2 MB, free: 6.957 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.748e-06/0.005938, allocations: 0 / 441.2 MB, free: 6.957 MB / 318.1 MB Notification: Performance of FrontEnd: time 6.432e-06/0.005948, allocations: 0 / 441.2 MB, free: 6.957 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.0001656/0.006118, allocations: 166.5 kB / 441.4 MB, free: 6.695 MB / 318.1 MB Notification: Performance of FunctionAlias: time 1.427e-05/0.006138, allocations: 4 kB / 441.4 MB, free: 6.691 MB / 318.1 MB Notification: Performance of Early Inline: time 3.82e-05/0.00618, allocations: 44.36 kB / 441.4 MB, free: 6.621 MB / 318.1 MB Notification: Performance of simplify1: time 1.954e-06/0.006187, allocations: 0 / 441.4 MB, free: 6.621 MB / 318.1 MB Notification: Performance of Alias: time 3.168e-05/0.006222, allocations: 56.56 kB / 441.5 MB, free: 6.527 MB / 318.1 MB Notification: Performance of simplify2: time 5.11e-07/0.006228, allocations: 8 kB / 441.5 MB, free: 6.52 MB / 318.1 MB Notification: Performance of Events: time 1.005e-05/0.006242, allocations: 0 / 441.5 MB, free: 6.52 MB / 318.1 MB Notification: Performance of Detect States: time 4.333e-05/0.00629, allocations: 29.59 kB / 441.5 MB, free: 6.477 MB / 318.1 MB Notification: Performance of Partitioning: time 3.396e-05/0.00633, allocations: 16.06 kB / 441.5 MB, free: 6.453 MB / 318.1 MB Notification: Performance of Causalize: time 8.997e-05/0.006425, allocations: 28.11 kB / 441.6 MB, free: 6.418 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 2.075e-05/0.006451, allocations: 48.62 kB / 441.6 MB, free: 6.344 MB / 318.1 MB Notification: Performance of Inline: time 3.699e-05/0.006494, allocations: 64.42 kB / 441.7 MB, free: 6.246 MB / 318.1 MB Notification: Performance of Partitioning: time 6.472e-06/0.006505, allocations: 16.11 kB / 441.7 MB, free: 6.223 MB / 318.1 MB Notification: Performance of Cleanup: time 6.712e-06/0.006516, allocations: 4 kB / 441.7 MB, free: 6.219 MB / 318.1 MB Notification: Performance of Causalize: time 3.756e-05/0.006558, allocations: 36.05 kB / 441.7 MB, free: 6.176 MB / 318.1 MB Notification: Performance of Tearing: time 5.561e-06/0.00657, allocations: 256 / 441.7 MB, free: 6.176 MB / 318.1 MB Notification: Performance of Initialization: time 3.4e-07/0.006575, allocations: 4 kB / 441.7 MB, free: 6.172 MB / 318.1 MB Notification: Performance of Tearing: time 6.31e-07/0.006579, allocations: 0 / 441.7 MB, free: 6.172 MB / 318.1 MB Notification: Performance of Categorize: time 5.41e-06/0.006588, allocations: 0 / 441.7 MB, free: 6.172 MB / 318.1 MB Notification: Performance of Solve: time 1.18e-05/0.006604, allocations: 4 kB / 441.7 MB, free: 6.168 MB / 318.1 MB Notification: Performance of Jacobian: time 2.985e-06/0.006611, allocations: 3.938 kB / 441.7 MB, free: 6.164 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.499e-05/0.006639, allocations: 12.77 kB / 441.7 MB, free: 6.16 MB / 318.1 MB Notification: Performance of SimCode: time 0.001713/0.008357, allocations: 2.227 MB / 444 MB, free: 3.93 MB / 318.1 MB Notification: Performance of Templates: time 0.00861/0.01698, allocations: 7.213 MB / 451.2 MB, free: 12.71 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b.makefile make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b.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_TestMatrices2b -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.TestMatrices2b.o ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b.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_TestMatrices2b -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.TestMatrices2b_functions.o ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b_functions.c ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b_functions.c:570:53: error: use of undeclared identifier '_OMC_LIT0' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT0)); ^ ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b_functions.c:730:40: error: use of undeclared identifier '_OMC_LIT1' tmpMeta27 = stringAppend(_OMC_LIT1,tmp26); ^ ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b_functions.c:731:50: error: use of undeclared identifier '_OMC_LIT2' tmpMeta28 = stringAppend(tmpMeta27,_OMC_LIT2); ^ ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b_functions.c:816:55: error: use of undeclared identifier '_OMC_LIT3' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT3)); ^ ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b_functions.c:883:8: error: use of undeclared identifier '_OMC_LIT4' _s = _OMC_LIT4; ^ ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b_functions.c:884:83: error: use of undeclared identifier '_OMC_LIT5' _blanks = omc_Modelica_Utilities_Strings_repeat(threadData, _significantDigits, _OMC_LIT5); ^ ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b_functions.c:885:12: error: use of undeclared identifier '_OMC_LIT6' _space = _OMC_LIT6; ^ ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b_functions.c:886:13: error: use of undeclared identifier '_OMC_LIT7' _space2 = _OMC_LIT7; ^ ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b_functions.c:893:35: error: use of undeclared identifier '_OMC_LIT10' tmpMeta3 = stringAppend(_name,_OMC_LIT10); ^ ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b_functions.c:898:50: error: use of undeclared identifier '_OMC_LIT4' tmp6 = (modelica_boolean)(stringEqual(_name, _OMC_LIT4)); ^ ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b_functions.c:898:50: error: use of undeclared identifier '_OMC_LIT4' ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b_functions.c:901:14: error: use of undeclared identifier '_OMC_LIT8' tmp7 = _OMC_LIT8; ^ ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b_functions.c:905:31: error: use of undeclared identifier '_OMC_LIT8' tmpMeta4 = stringAppend(_OMC_LIT8,_name); ^ ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b_functions.c:906:40: error: use of undeclared identifier '_OMC_LIT9' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT9); ^ ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b_functions.c:928:42: error: use of undeclared identifier '_OMC_LIT5' tmpMeta9 = stringAppend(_s,_OMC_LIT5); ^ ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b_functions.c:935:202: error: use of undeclared identifier '_OMC_LIT5' tmpMeta13 = stringAppend(tmpMeta11,omc_Modelica_Utilities_Strings_repeat(threadData, _significantDigits + ((modelica_integer) 8) - omc_Modelica_Utilities_Strings_length(threadData, tmp12), _OMC_LIT5)); ^ ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b_functions.c:940:37: error: use of undeclared identifier '_OMC_LIT8' tmpMeta17 = stringAppend(_s,_OMC_LIT8); ^ ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b_functions.c:1264:8: error: use of undeclared identifier '_OMC_LIT4' _s = _OMC_LIT4; ^ ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b_functions.c:1265:83: error: use of undeclared identifier '_OMC_LIT5' _blanks = omc_Modelica_Utilities_Strings_repeat(threadData, _significantDigits, _OMC_LIT5); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b_functions.o] Error 1