Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Math.MatricesInModel.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.MatricesInModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Math.MatricesInModel") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002686/0.00269, allocations: 353 kB / 15.95 MB, free: 6.215 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.605/3.605, allocations: 341.5 MB / 358.2 MB, free: 12.63 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.005099/0.005099, allocations: 233.1 kB / 397.9 MB, free: 4.984 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5195/0.5195, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004797/0.00048, allocations: 8 kB / 0.5592 GB, free: 53.48 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1025, allocations: 48.7 MB / 0.6067 GB, free: 4.664 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.MatricesInModel): time 0.0005149/0.1031, allocations: 196.7 kB / 0.6069 GB, free: 4.473 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.2863/0.3895, allocations: 5.025 MB / 0.6118 GB, free: 88.47 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.442e-06/0.3895, allocations: 0 / 0.6118 GB, free: 88.47 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 4.979e-06/0.3895, allocations: 0.7812 kB / 0.6118 GB, free: 88.47 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 1.543e-06/0.3896, allocations: 0 / 0.6118 GB, free: 88.47 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01444/0.404, allocations: 2.825 MB / 0.6146 GB, free: 88.3 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 2.194e-05/0.4041, allocations: 4.719 kB / 0.6146 GB, free: 88.3 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.832e-05/0.4041, allocations: 5.031 kB / 0.6146 GB, free: 88.3 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.362e-05/0.4041, allocations: 1.219 kB / 0.6146 GB, free: 88.3 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.682e-05/0.4042, allocations: 2.469 kB / 0.6146 GB, free: 88.3 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.863e-06/0.4042, allocations: 0 / 0.6146 GB, free: 88.3 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.06261/0.4668, allocations: 20.2 MB / 0.6343 GB, free: 83.32 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.417e-05/0.4669, allocations: 0 / 0.6343 GB, free: 83.32 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.958e-05/0.4669, allocations: 28.48 kB / 0.6344 GB, free: 83.29 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.04252/0.5095, allocations: 20.55 MB / 0.6544 GB, free: 62.82 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.5095, allocations: 0 / 0.6544 GB, free: 62.82 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.497e-06/0.5096, allocations: 4 kB / 0.6544 GB, free: 62.82 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.5096, allocations: 3.938 kB / 0.6544 GB, free: 62.81 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.009966/0.5195, allocations: 0.6565 MB / 0.6551 GB, free: 62.11 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.5196, allocations: 12.03 kB / 0.6551 GB, free: 62.1 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.909e-05/0.5197, allocations: 79.22 kB / 0.6552 GB, free: 62.02 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.308e-05/0.5198, allocations: 242.2 kB / 0.6554 GB, free: 61.75 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.147e-05/0.5198, allocations: 150.6 kB / 0.6555 GB, free: 61.6 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.03e-05/0.5198, allocations: 154.6 kB / 0.6557 GB, free: 61.45 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.04e-05/0.5199, allocations: 102.6 kB / 0.6558 GB, free: 61.34 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.015e-05/0.5199, allocations: 75.28 kB / 0.6559 GB, free: 61.27 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.878e-05/0.52, allocations: 155.1 kB / 0.656 GB, free: 61.12 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.668e-05/0.52, allocations: 154 kB / 0.6561 GB, free: 60.97 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.244e-05/0.52, allocations: 158.5 kB / 0.6563 GB, free: 60.81 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002012/0.5203, allocations: 445.9 kB / 0.6567 GB, free: 60.33 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.571e-05/0.5204, allocations: 172.2 kB / 0.6569 GB, free: 60.15 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.239e-05/0.5204, allocations: 80.14 kB / 0.657 GB, free: 60.07 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/0.5204, allocations: 79.28 kB / 0.657 GB, free: 59.99 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/0.5205, allocations: 105.8 kB / 0.6571 GB, free: 59.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 1.733e-06/0.5205, allocations: 0.6875 kB / 0.6571 GB, free: 59.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 7.575e-05/0.5206, allocations: 29.64 kB / 0.6572 GB, free: 59.84 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.753e-05/0.5206, allocations: 55.69 kB / 0.6572 GB, free: 59.78 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.314e-05/0.5206, allocations: 99.5 kB / 0.6573 GB, free: 59.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.227e-05/0.5206, allocations: 29.7 kB / 0.6573 GB, free: 59.64 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.997e-05/0.5207, allocations: 80.14 kB / 0.6574 GB, free: 59.56 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.054e-06/0.5207, allocations: 0 / 0.6574 GB, free: 59.56 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.01e-07/0.5207, allocations: 3.094 kB / 0.6574 GB, free: 59.56 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.366e-05/0.5208, allocations: 314.8 kB / 0.6577 GB, free: 59.24 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.968e-06/0.5208, allocations: 0 / 0.6577 GB, free: 59.24 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.662e-05/0.5208, allocations: 13.72 kB / 0.6577 GB, free: 59.22 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.697e-05/0.5209, allocations: 75.28 kB / 0.6578 GB, free: 59.15 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.426e-05/0.5209, allocations: 77.25 kB / 0.6579 GB, free: 59.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.41e-05/0.521, allocations: 29.64 kB / 0.6579 GB, free: 59.04 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.817e-05/0.521, allocations: 83.28 kB / 0.658 GB, free: 58.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.715e-05/0.521, allocations: 75.28 kB / 0.6581 GB, free: 58.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.112e-05/0.5211, allocations: 163.3 kB / 0.6582 GB, free: 58.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.482e-05/0.5211, allocations: 78.47 kB / 0.6583 GB, free: 58.65 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.341e-05/0.5211, allocations: 157.6 kB / 0.6584 GB, free: 58.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.103e-05/0.5212, allocations: 83.27 kB / 0.6585 GB, free: 58.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/0.5212, allocations: 75.28 kB / 0.6586 GB, free: 58.34 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.839e-05/0.5213, allocations: 270.3 kB / 0.6589 GB, free: 58.07 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.384e-05/0.5214, allocations: 108.9 kB / 0.659 GB, free: 57.96 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.16e-05/0.5214, allocations: 108.1 kB / 0.6591 GB, free: 57.85 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-05/0.5215, allocations: 176.3 kB / 0.6592 GB, free: 57.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.128e-05/0.5215, allocations: 108.9 kB / 0.6593 GB, free: 57.55 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.953e-05/0.5215, allocations: 179.8 kB / 0.6595 GB, free: 57.36 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.217e-05/0.5216, allocations: 187.6 kB / 0.6597 GB, free: 57.17 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.37e-05/0.5217, allocations: 108.9 kB / 0.6598 GB, free: 57.05 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.164e-05/0.5217, allocations: 180.3 kB / 0.66 GB, free: 56.87 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 4.758e-05/0.5218, allocations: 255.5 kB / 0.6602 GB, free: 56.61 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001092/0.5219, allocations: 385.6 kB / 0.6606 GB, free: 56.21 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.416e-05/0.522, allocations: 104.9 kB / 0.6607 GB, free: 56.11 MB / 362.7 MB Notification: Performance of sorting global known variables: time 1.682e-05/0.522, allocations: 75.28 kB / 0.6607 GB, free: 56.03 MB / 362.7 MB Notification: Performance of Backend: time 7.21e-07/0.522, allocations: 2.281 kB / 0.6607 GB, free: 56.03 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.02821/0.5502, allocations: 1.045 MB / 0.6618 GB, free: 55.13 MB / 362.7 MB Notification: Performance of SimCode: time 0.0002843/0.5505, allocations: 0.9738 MB / 0.6627 GB, free: 54.1 MB / 362.7 MB Notification: Performance of Templates: time 0.5645/1.115, allocations: 123.3 MB / 0.7831 GB, free: 30.48 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Math.MatricesInModel.makefile b'clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_3_2_1_ModelicaTest_Math_MatricesInModel -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.1_ModelicaTest.Math.MatricesInModel.o ModelicaTest_3.2.1_ModelicaTest.Math.MatricesInModel.c\nclang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_3_2_1_ModelicaTest_Math_MatricesInModel -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.1_ModelicaTest.Math.MatricesInModel_functions.o ModelicaTest_3.2.1_ModelicaTest.Math.MatricesInModel_functions.c\nModelicaTest_3.2.1_ModelicaTest.Math.MatricesInModel_functions.c:3245:96: error: use of undeclared identifier \'_dummyFunctionPointerNotUsed_ext\'\n dgees_((char*)MMC_STRINGDATA(tmp4), (char*)MMC_STRINGDATA(tmp5), data_of_integer_f77_array(&(_dummyFunctionPointerNotUsed_ext)), (int*) &_n, data_of_real_f77_array(&(_T_ext)), (int*) &_lda, (int*) &_sdim, data_of_real_f77_array(&(_eval_real_ext)), data_of_real_f77_array(&(_eval_imag_ext)), data_of_real_f77_array(&(_Z_ext)), (int*) &_lda, data_of_real_f77_array(&(_work_ext)), (int*) &_lwork, data_of_boolean_f77_array(&(_bwork_ext)), (int*) &_info_ext);\n ^\nModelicaTest_3.2.1_ModelicaTest.Math.MatricesInModel_functions.c:3245:397: warning: implicit declaration of function \'data_of_boolean_f77_array\' is invalid in C99 [-Wimplicit-function-declaration]\n dgees_((char*)MMC_STRINGDATA(tmp4), (char*)MMC_STRINGDATA(tmp5), data_of_integer_f77_array(&(_dummyFunctionPointerNotUsed_ext)), (int*) &_n, data_of_real_f77_array(&(_T_ext)), (int*) &_lda, (int*) &_sdim, data_of_real_f77_array(&(_eval_real_ext)), data_of_real_f77_array(&(_eval_imag_ext)), data_of_real_f77_array(&(_Z_ext)), (int*) &_lda, data_of_real_f77_array(&(_work_ext)), (int*) &_lwork, data_of_boolean_f77_array(&(_bwork_ext)), (int*) &_info_ext);\n ^\nModelicaTest_3.2.1_ModelicaTest.Math.MatricesInModel_functions.c:4591:71: warning: implicit declaration of function \'data_of_boolean_f77_array\' is invalid in C99 [-Wimplicit-function-declaration]\n dtrsen_((char*)MMC_STRINGDATA(_job), (char*)MMC_STRINGDATA(_compq), data_of_boolean_f77_array(&(_select_ext)), (int*) &_n, data_of_real_f77_array(&(_To_ext)), (int*) &_ldt, data_of_real_f77_array(&(_Qo_ext)), (int*) &_ldq, data_of_real_f77_array(&(_wr_ext)), data_of_real_f77_array(&(_wi_ext)), (int*) &_m_ext, &_s_ext, &_sep_ext, data_of_real_f77_array(&(_work_ext)), (int*) &_lwork, data_of_integer_f77_array(&(_iwork_ext)), (int*) &_liwork, (int*) &_info_ext);\n ^\nModelicaTest_3.2.1_ModelicaTest.Math.MatricesInModel_functions.c:4591:71: warning: incompatible integer to pointer conversion passing \'int\' to parameter of type \'int *\' [-Wint-conversion]\n dtrsen_((char*)MMC_STRINGDATA(_job), (char*)MMC_STRINGDATA(_compq), data_of_boolean_f77_array(&(_select_ext)), (int*) &_n, data_of_real_f77_array(&(_To_ext)), (int*) &_ldt, data_of_real_f77_array(&(_Qo_ext)), (int*) &_ldq, data_of_real_f77_array(&(_wr_ext)), data_of_real_f77_array(&(_wi_ext)), (int*) &_m_ext, &_s_ext, &_sep_ext, data_of_real_f77_array(&(_work_ext)), (int*) &_lwork, data_of_integer_f77_array(&(_iwork_ext)), (int*) &_liwork, (int*) &_info_ext);\n ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n./ModelicaTest_3.2.1_ModelicaTest.Math.MatricesInModel_functions.h:368:71: note: passing argument to parameter here\nextern void dtrsen_(char* /*_job*/, char* /*_compq*/, int* /*_select*/, int* /*_n*/, double* /*_To*/, int* /*_ldt*/, double* /*_Qo*/, int* /*_ldq*/, double* /*_wr*/, double* /*_wi*/, int* /*_m*/, double* /*_s*/, double* /*_sep*/, double* /*_work*/, int* /*_lwork*/, int* /*_iwork*/, int* /*_liwork*/, int* /*_info*/);\n ^\nModelicaTest_3.2.1_ModelicaTest.Math.MatricesInModel_functions.c:5239:12: warning: implicit declaration of function \'scalar\' is invalid in C99 [-Wimplicit-function-declaration]\n _h = scalar(div_alloc_real_array_scalar(mul_alloc_real_matrix_product_smart(mul_alloc_real_array_scalar(tmp6, 2.0), tmp7), _lu));\n ^\n4 warnings and 1 error generated.\n: recipe for target \'ModelicaTest_3.2.1_ModelicaTest.Math.MatricesInModel_functions.o\' failed\nmake: *** [ModelicaTest_3.2.1_ModelicaTest.Math.MatricesInModel_functions.o] Error 1\n'