Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001541/0.001541, allocations: 181.3 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.021/2.021, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001054/0.001054, allocations: 82.72 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2873/0.2873, allocations: 43.48 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.57e-05/3.585e-05, allocations: 4 kB / 425.3 MB, free: 23.39 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1204, allocations: 58.85 MB / 484.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4956/0.6161, allocations: 86.4 MB / 0.5572 GB, free: 1.266 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002559/0.6164, allocations: 76.19 kB / 0.5572 GB, free: 1.23 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01603/0.6325, allocations: 3.757 MB / 0.5609 GB, free: 14.05 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.6325, allocations: 0 / 0.5609 GB, free: 14.05 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.537e-05/0.6326, allocations: 0 / 0.5609 GB, free: 14.05 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005085/0.6331, allocations: 373.7 kB / 0.5613 GB, free: 13.64 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.6332, allocations: 12.03 kB / 0.5613 GB, free: 13.63 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.265e-05/0.6332, allocations: 4 kB / 0.5613 GB, free: 13.63 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002954/0.6335, allocations: 190.7 kB / 0.5615 GB, free: 13.41 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.6336, allocations: 4 kB / 0.5615 GB, free: 13.4 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.067e-05/0.6336, allocations: 3.562 kB / 0.5615 GB, free: 13.4 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001923/0.6338, allocations: 75.06 kB / 0.5615 GB, free: 13.32 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.6338, allocations: 4 kB / 0.5615 GB, free: 13.32 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.829e-05/0.6339, allocations: 0 / 0.5615 GB, free: 13.32 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.6339, allocations: 3.938 kB / 0.5616 GB, free: 13.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.533e-05/0.634, allocations: 23.75 kB / 0.5616 GB, free: 13.3 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005438/0.6345, allocations: 291.5 kB / 0.5619 GB, free: 12.99 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001557/0.6347, allocations: 58 kB / 0.5619 GB, free: 12.93 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.507e-05/0.6348, allocations: 24.67 kB / 0.5619 GB, free: 12.91 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.545e-05/0.6348, allocations: 3.984 kB / 0.5619 GB, free: 12.91 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/0.6349, allocations: 34.56 kB / 0.562 GB, free: 12.86 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 2.093e-06/0.6349, allocations: 0 / 0.562 GB, free: 12.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006163/0.6355, allocations: 124.7 kB / 0.5621 GB, free: 12.75 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.367e-05/0.6356, allocations: 81.06 kB / 0.5622 GB, free: 12.66 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001753/0.6358, allocations: 137.9 kB / 0.5623 GB, free: 12.53 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.6358, allocations: 25.7 kB / 0.5623 GB, free: 12.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.214e-05/0.6359, allocations: 162.4 kB / 0.5625 GB, free: 12.34 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.266e-05/0.636, allocations: 19.59 kB / 0.5625 GB, free: 12.33 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.482e-06/0.636, allocations: 0 / 0.5625 GB, free: 12.33 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.6361, allocations: 314.8 kB / 0.5628 GB, free: 12.01 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.896e-05/0.6362, allocations: 15.44 kB / 0.5628 GB, free: 12 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.534e-05/0.6363, allocations: 25.66 kB / 0.5628 GB, free: 11.98 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.581e-05/0.6363, allocations: 24.11 kB / 0.5629 GB, free: 11.96 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.6364, allocations: 0 / 0.5629 GB, free: 11.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002019/0.6366, allocations: 73 kB / 0.5629 GB, free: 11.89 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.206e-05/0.6366, allocations: 4 kB / 0.5629 GB, free: 11.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.6366, allocations: 4 kB / 0.5629 GB, free: 11.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.6367, allocations: 3.984 kB / 0.5629 GB, free: 11.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001804/0.6369, allocations: 19.92 kB / 0.563 GB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.6369, allocations: 0 / 0.563 GB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.993e-05/0.637, allocations: 19.39 kB / 0.563 GB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.174e-05/0.637, allocations: 4.172 kB / 0.563 GB, free: 11.84 MB / 378.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.958e-05/0.6371, allocations: 108.9 kB / 0.5631 GB, free: 11.73 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.584e-05/0.6372, allocations: 7.906 kB / 0.5631 GB, free: 11.72 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002918/0.6375, allocations: 97.22 kB / 0.5632 GB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.765e-06/0.6375, allocations: 4 kB / 0.5632 GB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.6375, allocations: 0 / 0.5632 GB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.6375, allocations: 0 / 0.5632 GB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005656/0.6381, allocations: 357.3 kB / 0.5635 GB, free: 11.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.6381, allocations: 7.938 kB / 0.5635 GB, free: 11.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001465/0.6383, allocations: 15.98 kB / 0.5636 GB, free: 11.24 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/0.6383, allocations: 0 / 0.5636 GB, free: 11.24 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.68e-05/0.6384, allocations: 4 kB / 0.5636 GB, free: 11.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.838e-06/0.6384, allocations: 0 / 0.5636 GB, free: 11.23 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.65e-06/0.6384, allocations: 3.953 kB / 0.5636 GB, free: 11.23 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002618/0.6387, allocations: 179.1 kB / 0.5637 GB, free: 11.05 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.277e-05/0.6387, allocations: 89 kB / 0.5638 GB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.704e-05/0.6388, allocations: 3.812 kB / 0.5638 GB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001219/0.6389, allocations: 8 kB / 0.5638 GB, free: 10.94 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.223e-05/0.639, allocations: 7.922 kB / 0.5638 GB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-05/0.639, allocations: 7.953 kB / 0.5638 GB, free: 10.93 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001208/0.6391, allocations: 109.2 kB / 0.5639 GB, free: 10.83 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6391, allocations: 4 kB / 0.5639 GB, free: 10.83 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003535/0.6395, allocations: 31.94 kB / 0.564 GB, free: 10.8 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.001277/0.6408, allocations: 410.5 kB / 0.5644 GB, free: 10.45 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002257/0.6411, allocations: 47.42 kB / 0.5644 GB, free: 10.41 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.6411, allocations: 0 / 0.5644 GB, free: 10.41 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.72e-05/0.6412, allocations: 27.56 kB / 0.5644 GB, free: 10.39 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003123/0.6415, allocations: 16.94 kB / 0.5645 GB, free: 10.38 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004538/0.642, allocations: 142.5 kB / 0.5646 GB, free: 10.22 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003715/0.6424, allocations: 0.6982 MB / 0.5653 GB, free: 9.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.6425, allocations: 15.44 kB / 0.5653 GB, free: 9.484 MB / 378.7 MB Notification: Performance of SimCode: time 1.323e-06/0.6425, allocations: 0 / 0.5653 GB, free: 9.484 MB / 378.7 MB Notification: Performance of Templates: time 0.005564/0.6481, allocations: 1.781 MB / 0.567 GB, free: 7.707 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.makefile make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.makefile b'clang++ -fopenmp=libomp -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=2 -DSUNDIALS_MINOR_VERSION=6 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Resources/Data/Tables" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Resources/Data/Tables" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertabCalcHelperMain.o OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertabCalcHelperMain.cpp\nIn file included from OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertabCalcHelperMain.cpp:28:\nIn file included from ./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertabFunctions.cpp:5:\nIn file included from /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Resources/Data/Tables/usertab.c:14:\n/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Resources/Data/Tables/usertab.h:75:13: warning: ISO C++11 does not allow conversion from string literal to \'char *\' [-Wwritable-strings]\n {"TestTable_1D_Time", TestTable_1D_Time, 0, {6, 2}}\n ^\n/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Resources/Data/Tables/usertab.h:76:13: warning: ISO C++11 does not allow conversion from string literal to \'char *\' [-Wwritable-strings]\n ,{"TestTable_1D_a" , TestTable_1D_a, 1, {4, 2}}\n ^\n/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Resources/Data/Tables/usertab.h:77:13: warning: ISO C++11 does not allow conversion from string literal to \'char *\' [-Wwritable-strings]\n ,{"TestTable_1D_b" , TestTable_1D_b, 1, {5, 3}}\n ^\n/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Resources/Data/Tables/usertab.h:78:13: warning: ISO C++11 does not allow conversion from string literal to \'char *\' [-Wwritable-strings]\n ,{"TestTable_2D" , TestTable_2D, 2, {5, 4}}\n ^\nIn file included from OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertabCalcHelperMain.cpp:28:\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertabFunctions.cpp:300:18: error: no matching function for call to \'mydummyfunc\'\n dummy_y__ext = mydummyfunc(ConstArray(dummy_u_).getData());\n ^~~~~~~~~~~\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertabFunctions.cpp:6:8: note: candidate function not viable: 1st argument (\'const double *\') would lose const qualifier\ndouble mydummyfunc(double* dummy_in) {\n ^\n4 warnings and 1 error generated.\n: recipe for target \'OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertabCalcHelperMain.o\' failed\nmake: *** [OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertabCalcHelperMain.o] Error 1\n'