Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") Notification: Performance of loadModel(ModelicaTest): time 2.474/2.474, allocations: 270 MB / 282.7 MB, free: 1.758 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.141e-05/3.167e-05, allocations: 0 / 347 MB, free: 3.141 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3238/0.3238, allocations: 61.87 MB / 408.8 MB, free: 10.78 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1351/0.459, allocations: 88.01 MB / 496.8 MB, free: 2.637 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002267/0.4593, allocations: 71.95 kB / 496.9 MB, free: 2.566 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01608/0.4754, allocations: 3.882 MB / 0.4891 GB, free: 14.67 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.205e-06/0.4754, allocations: 0 / 0.4891 GB, free: 14.67 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.613e-05/0.4755, allocations: 4 kB / 0.4891 GB, free: 14.67 MB / 426.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.0004505/0.4759, allocations: 366.3 kB / 0.4894 GB, free: 14.27 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.476, allocations: 12.03 kB / 0.4894 GB, free: 14.25 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.775e-05/0.476, allocations: 7.906 kB / 0.4894 GB, free: 14.25 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002711/0.4763, allocations: 198.8 kB / 0.4896 GB, free: 14.01 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.4764, allocations: 0 / 0.4896 GB, free: 14.01 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.979e-05/0.4764, allocations: 7.938 kB / 0.4896 GB, free: 14 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.4765, allocations: 63.36 kB / 0.4897 GB, free: 13.93 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.4766, allocations: 0 / 0.4897 GB, free: 13.93 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.4766, allocations: 0 / 0.4897 GB, free: 13.93 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.162e-06/0.4766, allocations: 0 / 0.4897 GB, free: 13.93 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.911e-05/0.4767, allocations: 23.98 kB / 0.4897 GB, free: 13.91 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005074/0.4772, allocations: 296.8 kB / 0.49 GB, free: 13.57 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001212/0.4774, allocations: 50.56 kB / 0.49 GB, free: 13.51 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.959e-05/0.4774, allocations: 16.98 kB / 0.4901 GB, free: 13.49 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.548e-05/0.4775, allocations: 4 kB / 0.4901 GB, free: 13.48 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.4e-05/0.4775, allocations: 42.55 kB / 0.4901 GB, free: 13.43 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 2.428e-06/0.4775, allocations: 0 / 0.4901 GB, free: 13.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005469/0.4781, allocations: 133.3 kB / 0.4902 GB, free: 13.3 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.144e-05/0.4781, allocations: 77.11 kB / 0.4903 GB, free: 13.2 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001708/0.4783, allocations: 134.8 kB / 0.4904 GB, free: 13.06 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.786e-05/0.4784, allocations: 29.7 kB / 0.4905 GB, free: 13.03 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.63e-05/0.4785, allocations: 158.6 kB / 0.4906 GB, free: 12.87 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.692e-05/0.4785, allocations: 31.55 kB / 0.4906 GB, free: 12.84 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.032e-06/0.4785, allocations: 0 / 0.4906 GB, free: 12.84 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.4787, allocations: 318.8 kB / 0.4909 GB, free: 12.52 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.027e-05/0.4788, allocations: 19.98 kB / 0.491 GB, free: 12.5 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.676e-05/0.4789, allocations: 37.66 kB / 0.491 GB, free: 12.46 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.155e-05/0.479, allocations: 25.08 kB / 0.491 GB, free: 12.43 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.276e-06/0.479, allocations: 0 / 0.491 GB, free: 12.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002019/0.4792, allocations: 97.77 kB / 0.4911 GB, free: 12.33 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.4792, allocations: 8.094 kB / 0.4911 GB, free: 12.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.547e-06/0.4792, allocations: 3.938 kB / 0.4911 GB, free: 12.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.4793, allocations: 0 / 0.4911 GB, free: 12.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001444/0.4794, allocations: 19.98 kB / 0.4912 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.434e-06/0.4794, allocations: 0 / 0.4912 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.928e-05/0.4795, allocations: 8 kB / 0.4912 GB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.428e-05/0.4796, allocations: 3.984 kB / 0.4912 GB, free: 12.29 MB / 426.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 9.422e-05/0.4797, allocations: 116.9 kB / 0.4913 GB, free: 12.17 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.756e-05/0.4797, allocations: 7.906 kB / 0.4913 GB, free: 12.16 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002398/0.48, allocations: 102.3 kB / 0.4914 GB, free: 12.06 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.186e-06/0.48, allocations: 3.984 kB / 0.4914 GB, free: 12.05 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.48, allocations: 0 / 0.4914 GB, free: 12.05 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.118e-06/0.48, allocations: 4.188 kB / 0.4914 GB, free: 12.05 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005807/0.4806, allocations: 386.3 kB / 0.4918 GB, free: 11.62 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.944e-06/0.4806, allocations: 0 / 0.4918 GB, free: 11.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001088/0.4808, allocations: 19.98 kB / 0.4918 GB, free: 11.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.748e-06/0.4808, allocations: 0 / 0.4918 GB, free: 11.6 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.4808, allocations: 4 kB / 0.4918 GB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.4808, allocations: 0 / 0.4918 GB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.147e-06/0.4808, allocations: 0 / 0.4918 GB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002334/0.4811, allocations: 183.4 kB / 0.492 GB, free: 11.4 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.941e-05/0.4811, allocations: 85.02 kB / 0.492 GB, free: 11.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.211e-05/0.4812, allocations: 0 / 0.492 GB, free: 11.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001162/0.4813, allocations: 15.98 kB / 0.492 GB, free: 11.28 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.022e-05/0.4814, allocations: 3.938 kB / 0.4921 GB, free: 11.28 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.4814, allocations: 4 kB / 0.4921 GB, free: 11.27 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001157/0.4815, allocations: 110.4 kB / 0.4922 GB, free: 11.17 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.91e-07/0.4815, allocations: 4 kB / 0.4922 GB, free: 11.16 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003746/0.4819, allocations: 39.86 kB / 0.4922 GB, free: 11.12 MB / 426.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.001583/0.4835, allocations: 443.6 kB / 0.4926 GB, free: 10.82 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001826/0.4837, allocations: 55.88 kB / 0.4927 GB, free: 10.77 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.4837, allocations: 0 / 0.4927 GB, free: 10.77 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.023e-05/0.4838, allocations: 27.98 kB / 0.4927 GB, free: 10.74 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002597/0.4841, allocations: 19.94 kB / 0.4927 GB, free: 10.72 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003956/0.4845, allocations: 159 kB / 0.4929 GB, free: 10.54 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003708/0.4849, allocations: 0.6978 MB / 0.4936 GB, free: 9.82 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.8e-05/0.485, allocations: 15.44 kB / 0.4936 GB, free: 9.805 MB / 426.7 MB Notification: Performance of SimCode: time 1.549e-06/0.485, allocations: 0 / 0.4936 GB, free: 9.805 MB / 426.7 MB Notification: Performance of Templates: time 0.004453/0.4894, allocations: 1.806 MB / 0.4953 GB, free: 7.996 MB / 426.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 -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -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:28: 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:28: ./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(), tmp6.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:28: ./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