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_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") Notification: Performance of loadModel(ModelicaTest): time 2.388/2.388, allocations: 269 MB / 284.1 MB, free: 3.641 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.174e-05/3.184e-05, allocations: 4 kB / 349 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1295, allocations: 61.89 MB / 410.9 MB, free: 12.87 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.002317/0.1318, allocations: 1.276 MB / 412.2 MB, free: 11.58 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009428/0.1328, allocations: 359.8 kB / 412.5 MB, free: 11.23 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.022e-05/0.1329, allocations: 0 / 412.5 MB, free: 11.23 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000154/0.133, allocations: 15.92 kB / 412.6 MB, free: 11.21 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000135/0.1332, allocations: 23.84 kB / 412.6 MB, free: 11.19 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003177/0.1335, allocations: 75.77 kB / 412.7 MB, free: 11.11 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000135/0.1337, allocations: 47.88 kB / 412.7 MB, free: 11.07 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.522e-05/0.1338, allocations: 4 kB / 412.7 MB, free: 11.06 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.553e-05/0.1338, allocations: 15.98 kB / 412.7 MB, free: 11.05 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.385e-05/0.1339, allocations: 11.94 kB / 412.7 MB, free: 11.04 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001327/0.134, allocations: 39.86 kB / 412.8 MB, free: 11 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.273e-05/0.1341, allocations: 4 kB / 412.8 MB, free: 10.99 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.393e-05/0.1341, allocations: 11.97 kB / 412.8 MB, free: 10.98 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.047e-05/0.1342, allocations: 4 kB / 412.8 MB, free: 10.98 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001827/0.1343, allocations: 67.89 kB / 412.9 MB, free: 10.91 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.1344, allocations: 3.938 kB / 412.9 MB, free: 10.91 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.1344, allocations: 4 kB / 412.9 MB, free: 10.9 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.224e-05/0.1344, allocations: 0 / 412.9 MB, free: 10.9 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004571/0.1349, allocations: 367.5 kB / 413.2 MB, free: 10.5 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.1349, allocations: 8.031 kB / 413.2 MB, free: 10.49 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.343e-05/0.135, allocations: 7.906 kB / 413.2 MB, free: 10.48 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002241/0.1352, allocations: 186.9 kB / 413.4 MB, free: 10.26 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.1352, allocations: 0 / 413.4 MB, free: 10.26 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.531e-05/0.1353, allocations: 8 kB / 413.4 MB, free: 10.25 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002013/0.1355, allocations: 75.34 kB / 413.5 MB, free: 10.16 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.1355, allocations: 0 / 413.5 MB, free: 10.16 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.1355, allocations: 0 / 413.5 MB, free: 10.16 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.1356, allocations: 3.984 kB / 413.5 MB, free: 10.16 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001603/0.1357, allocations: 35.91 kB / 413.5 MB, free: 10.12 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004934/0.1362, allocations: 304.9 kB / 413.8 MB, free: 9.777 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001749/0.1364, allocations: 50.56 kB / 413.9 MB, free: 9.719 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.097e-05/0.1365, allocations: 3.984 kB / 413.9 MB, free: 9.715 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.1365, allocations: 38.62 kB / 413.9 MB, free: 9.668 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.613e-06/0.1365, allocations: 4 kB / 413.9 MB, free: 9.664 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.000915/0.1374, allocations: 197.2 kB / 414.1 MB, free: 9.465 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.026e-05/0.1375, allocations: 85.05 kB / 414.2 MB, free: 9.363 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001771/0.1377, allocations: 137.1 kB / 414.3 MB, free: 9.219 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.1377, allocations: 29.64 kB / 414.4 MB, free: 9.184 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.127e-05/0.1378, allocations: 158.6 kB / 414.5 MB, free: 9.027 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.914e-05/0.1379, allocations: 31.55 kB / 414.6 MB, free: 8.996 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.979e-06/0.1379, allocations: 4 kB / 414.6 MB, free: 8.992 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.138, allocations: 318.8 kB / 414.9 MB, free: 8.672 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001493/0.1382, allocations: 35.98 kB / 414.9 MB, free: 8.637 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001723/0.1384, allocations: 49.69 kB / 415 MB, free: 8.582 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001602/0.1386, allocations: 35.98 kB / 415 MB, free: 8.547 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.1386, allocations: 0 / 415 MB, free: 8.547 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003753/0.139, allocations: 117.6 kB / 415.1 MB, free: 8.426 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.139, allocations: 10.8 kB / 415.1 MB, free: 8.418 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.139, allocations: 0 / 415.1 MB, free: 8.418 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.139, allocations: 0 / 415.1 MB, free: 8.418 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001769/0.1392, allocations: 27.92 kB / 415.1 MB, free: 8.391 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.1392, allocations: 0 / 415.1 MB, free: 8.391 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.193e-05/0.1393, allocations: 12 kB / 415.2 MB, free: 8.379 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.1394, allocations: 4 kB / 415.2 MB, free: 8.375 MB / 346.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 (9): * Single equations (assignments): 9 * 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 0.0001055/0.1395, allocations: 117.8 kB / 415.3 MB, free: 8.25 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.512e-05/0.1395, allocations: 11.89 kB / 415.3 MB, free: 8.238 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004229/0.14, allocations: 118.4 kB / 415.4 MB, free: 8.117 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/0.14, allocations: 4 kB / 415.4 MB, free: 8.113 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.14, allocations: 3.938 kB / 415.4 MB, free: 8.109 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.14, allocations: 288 / 415.4 MB, free: 8.109 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007383/0.1408, allocations: 406.4 kB / 415.8 MB, free: 7.656 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.115e-06/0.1408, allocations: 0 / 415.8 MB, free: 7.656 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000134/0.1409, allocations: 19.88 kB / 415.8 MB, free: 7.637 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.935e-06/0.141, allocations: 7.984 kB / 415.8 MB, free: 7.629 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.141, allocations: 0 / 415.8 MB, free: 7.629 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.141, allocations: 0 / 415.8 MB, free: 7.629 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.141, allocations: 0 / 415.8 MB, free: 7.629 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004296/0.1414, allocations: 207.4 kB / 416 MB, free: 7.41 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.21e-05/0.1415, allocations: 85.02 kB / 416.1 MB, free: 7.309 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.823e-05/0.1416, allocations: 4 kB / 416.1 MB, free: 7.305 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.1417, allocations: 8.359 kB / 416.1 MB, free: 7.297 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.29e-05/0.1418, allocations: 8 kB / 416.1 MB, free: 7.289 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.1418, allocations: 15.92 kB / 416.2 MB, free: 7.273 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001394/0.1419, allocations: 107.3 kB / 416.3 MB, free: 7.168 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.896e-06/0.1419, allocations: 0 / 416.3 MB, free: 7.168 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000351/0.1423, allocations: 31.92 kB / 416.3 MB, free: 7.137 MB / 346.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 (8): * Single equations (assignments): 8 * 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.001298/0.1436, allocations: 430.2 kB / 416.7 MB, free: 6.84 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004104/0.1441, allocations: 75.95 kB / 416.8 MB, free: 6.766 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.1441, allocations: 0 / 416.8 MB, free: 6.766 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001573/0.1442, allocations: 39.92 kB / 416.8 MB, free: 6.727 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002857/0.1445, allocations: 15.94 kB / 416.8 MB, free: 6.711 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000561/0.1451, allocations: 234.9 kB / 417.1 MB, free: 6.449 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002941/0.1454, allocations: 0.6965 MB / 417.8 MB, free: 5.727 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.955e-05/0.1455, allocations: 19.42 kB / 417.8 MB, free: 5.707 MB / 346.7 MB Notification: Performance of SimCode: time 8.21e-07/0.1455, allocations: 0 / 417.8 MB, free: 5.707 MB / 346.7 MB Notification: Performance of Templates: time 0.005054/0.1506, allocations: 1.813 MB / 419.6 MB, free: 3.887 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.makefile 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 -DENABLE_OMSI -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/base" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/solver" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/" -I. "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/Data/Tables""-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/Data/Tables" "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertabCalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertabCalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertabCalcHelperMain.cpp:29: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertabFunctions.cpp:5: In file included from /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/Data/Tables/usertab.c:14: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/Data/Tables/usertab.h:75:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"TestTable_1D_Time", TestTable_1D_Time, 0, {6, 2}} ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/Data/Tables/usertab.h:76:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ,{"TestTable_1D_a" , TestTable_1D_a, 1, {4, 2}} ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/Data/Tables/usertab.h:77:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ,{"TestTable_1D_b" , TestTable_1D_b, 1, {5, 3}} ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/Data/Tables/usertab.h:78:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ,{"TestTable_2D" , TestTable_2D, 2, {5, 4}} ^ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertabCalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertabFunctions.cpp:219:31: error: no matching function for call to 'ModelicaStandardTables_CombiTable1D_init2' externalCombiTable1D__ext = ModelicaStandardTables_CombiTable1D_init2(fileName_.c_str(), tableName_.c_str(), tmp20.getData(), table_.getDim(1), table_.getDim(2), ConstArray(columns_).getData(), columns_.getDim(1), smoothness__ext, extrapolation__ext, verboseRead__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources/ModelicaStandardTables.h:269:23: note: candidate function not viable: 6th argument ('const int *') would lose const qualifier MODELICA_EXPORT void* ModelicaStandardTables_CombiTable1D_init2(_In_z_ const char* fileName, ^ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertabCalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertabFunctions.cpp:343:18: error: no matching function for call to 'mydummyfunc' dummy_y__ext = mydummyfunc(ConstArray(dummy_u_).getData()); ^~~~~~~~~~~ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertabFunctions.cpp:6:8: note: candidate function not viable: 1st argument ('const double *') would lose const qualifier double mydummyfunc(double* dummy_in) { ^ 4 warnings and 2 errors generated. : recipe for target 'OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertabCalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertabCalcHelperMain.o] Error 1