Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices.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.TestMatrices,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices") translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 113.1 kB / 16.42 MB, free: 6.465 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.001695/0.001695, allocations: 188.9 kB / 17.35 MB, free: 5.707 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.305/1.305, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.1962/0.1962, allocations: 39.97 MB / 310.6 MB, free: 4 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.24e-05/2.24e-05, allocations: 6.016 kB / 436.4 MB, free: 11.8 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001096/0.001126, allocations: 0.4891 MB / 436.9 MB, free: 11.31 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001583/0.00272, allocations: 1.586 MB / 438.5 MB, free: 9.703 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.56e-05/0.002746, allocations: 0 / 438.5 MB, free: 9.703 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.42e-05/0.002766, allocations: 0 / 438.5 MB, free: 9.703 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.4e-06/0.002775, allocations: 0 / 438.5 MB, free: 9.703 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1250:3-1403:19:writable] Warning: Pure function 'Modelica.Math.Matrices.leastSquares' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgelsy_vec'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1555:3-1615:27:writable] Warning: Pure function 'Modelica.Math.Matrices.equalityLeastSquares' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgglse_vec'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Math.mo:165:3-206:15:writable] Warning: Pure function 'ModelicaTest.Math.Matrices' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.000683/0.003469, allocations: 279.1 kB / 438.7 MB, free: 9.43 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.243e-05/0.003519, allocations: 4 kB / 438.7 MB, free: 9.426 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.112e-05/0.003555, allocations: 4 kB / 438.7 MB, free: 9.422 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.217e-05/0.003572, allocations: 0 / 438.7 MB, free: 9.422 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.707e-05/0.003593, allocations: 0 / 438.7 MB, free: 9.422 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.37e-06/0.003603, allocations: 0 / 438.7 MB, free: 9.422 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004258/0.004032, allocations: 467 kB / 439.2 MB, free: 8.965 MB / 318.1 MB Notification: Performance of combineBinaries: time 1.797e-05/0.00406, allocations: 4 kB / 439.2 MB, free: 8.961 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 1.783e-06/0.004067, allocations: 3.938 kB / 439.2 MB, free: 8.957 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.342e-05/0.004085, allocations: 4 kB / 439.2 MB, free: 8.953 MB / 318.1 MB Notification: Performance of FrontEnd: time 5.51e-06/0.004095, allocations: 0 / 439.2 MB, free: 8.953 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.004249, allocations: 157.4 kB / 439.4 MB, free: 8.699 MB / 318.1 MB Notification: Performance of FunctionAlias: time 1.403e-05/0.004269, allocations: 0 / 439.4 MB, free: 8.699 MB / 318.1 MB Notification: Performance of Early Inline: time 3.414e-05/0.004307, allocations: 44.38 kB / 439.4 MB, free: 8.629 MB / 318.1 MB Notification: Performance of simplify1: time 1.412e-06/0.004314, allocations: 0 / 439.4 MB, free: 8.629 MB / 318.1 MB Notification: Performance of Alias: time 2.846e-05/0.004346, allocations: 64.5 kB / 439.5 MB, free: 8.527 MB / 318.1 MB Notification: Performance of simplify2: time 5.11e-07/0.004351, allocations: 0 / 439.5 MB, free: 8.527 MB / 318.1 MB Notification: Performance of Events: time 9.709e-06/0.004365, allocations: 0 / 439.5 MB, free: 8.527 MB / 318.1 MB Notification: Performance of Detect States: time 4.922e-05/0.004418, allocations: 33.69 kB / 439.5 MB, free: 8.48 MB / 318.1 MB Notification: Performance of Partitioning: time 3.87e-05/0.004463, allocations: 12.12 kB / 439.5 MB, free: 8.461 MB / 318.1 MB Notification: Performance of Causalize: time 0.0001094/0.004581, allocations: 36.09 kB / 439.5 MB, free: 8.418 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 2.335e-05/0.004615, allocations: 48.67 kB / 439.6 MB, free: 8.344 MB / 318.1 MB Notification: Performance of Inline: time 3.893e-05/0.00466, allocations: 56.45 kB / 439.6 MB, free: 8.254 MB / 318.1 MB Notification: Performance of Partitioning: time 6.382e-06/0.004672, allocations: 16.11 kB / 439.7 MB, free: 8.23 MB / 318.1 MB Notification: Performance of Cleanup: time 7.243e-06/0.004683, allocations: 7.938 kB / 439.7 MB, free: 8.223 MB / 318.1 MB Notification: Performance of Causalize: time 3.84e-05/0.004726, allocations: 32.12 kB / 439.7 MB, free: 8.184 MB / 318.1 MB Notification: Performance of Tearing: time 5.43e-06/0.004738, allocations: 4.25 kB / 439.7 MB, free: 8.18 MB / 318.1 MB Notification: Performance of Initialization: time 3.01e-07/0.004742, allocations: 0 / 439.7 MB, free: 8.18 MB / 318.1 MB Notification: Performance of Tearing: time 6.52e-07/0.004747, allocations: 0 / 439.7 MB, free: 8.18 MB / 318.1 MB Notification: Performance of Categorize: time 6.042e-06/0.004757, allocations: 0 / 439.7 MB, free: 8.18 MB / 318.1 MB Notification: Performance of Solve: time 1.215e-05/0.004773, allocations: 7.922 kB / 439.7 MB, free: 8.172 MB / 318.1 MB Notification: Performance of Jacobian: time 2.845e-06/0.00478, allocations: 4 kB / 439.7 MB, free: 8.168 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.44e-05/0.004809, allocations: 20.62 kB / 439.7 MB, free: 8.156 MB / 318.1 MB Notification: Performance of SimCode: time 0.0006512/0.005465, allocations: 1.025 MB / 440.8 MB, free: 7.125 MB / 318.1 MB Notification: Performance of Templates: time 0.002743/0.008219, allocations: 1.16 MB / 441.9 MB, free: 5.965 MB / 318.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices.makefile make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices.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_TestMatrices -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.TestMatrices.o ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices.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_TestMatrices -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.TestMatrices_functions.o ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices_functions.c ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices_functions.c:53:31: error: use of undeclared identifier '_OMC_LIT0' tmpMeta9 = stringAppend(_OMC_LIT0,tmp7); ^ ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices_functions.c:54:41: error: use of undeclared identifier '_OMC_LIT1' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT1); ^ ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices_functions.c:58:42: error: use of undeclared identifier '_OMC_LIT2' tmpMeta14 = stringAppend(tmpMeta13,_OMC_LIT2); ^ ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices_functions.c:62:42: error: use of undeclared identifier '_OMC_LIT1' tmpMeta18 = stringAppend(tmpMeta17,_OMC_LIT1); ^ ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices_functions.c:66:42: error: use of undeclared identifier '_OMC_LIT3' tmpMeta22 = stringAppend(tmpMeta21,_OMC_LIT3); ^ ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices_functions.c:81:53: error: use of undeclared identifier '_OMC_LIT4' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT4)); ^ ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices_functions.c:145:55: error: use of undeclared identifier '_OMC_LIT5' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT5)); ^ ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices_functions.c:422:24: error: use of undeclared identifier '_OMC_LIT8' real_array_copy_data(_OMC_LIT8, _A1); ^ ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices_functions.c:425:24: error: use of undeclared identifier '_OMC_LIT9' real_array_copy_data(_OMC_LIT9, _A2); ^ ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices_functions.c:428:24: error: use of undeclared identifier '_OMC_LIT10' real_array_copy_data(_OMC_LIT10, _b); ^ ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices_functions.c:431:24: error: use of undeclared identifier '_OMC_LIT8' real_array_copy_data(_OMC_LIT8, _A3); ^ ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices_functions.c:434:24: error: use of undeclared identifier '_OMC_LIT10' real_array_copy_data(_OMC_LIT10, _a3); ^ ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices_functions.c:437:24: error: use of undeclared identifier '_OMC_LIT11' real_array_copy_data(_OMC_LIT11, _B3); ^ ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices_functions.c:440:24: error: use of undeclared identifier '_OMC_LIT12' real_array_copy_data(_OMC_LIT12, _b3); ^ ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices_functions.c:443:24: error: use of undeclared identifier '_OMC_LIT13' real_array_copy_data(_OMC_LIT13, _A4); ^ ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices_functions.c:446:24: error: use of undeclared identifier '_OMC_LIT10' real_array_copy_data(_OMC_LIT10, _a4); ^ ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices_functions.c:449:24: error: use of undeclared identifier '_OMC_LIT14' real_array_copy_data(_OMC_LIT14, _B4); ^ ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices_functions.c:452:24: error: use of undeclared identifier '_OMC_LIT12' real_array_copy_data(_OMC_LIT12, _b4); ^ ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices_functions.c:460:52: error: use of undeclared identifier '_OMC_LIT15' omc_Modelica_Utilities_Streams_print(threadData, _OMC_LIT15, _OMC_LIT6); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices_functions.o] Error 1