Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") Notification: Performance of loadModel(ModelicaTest): time 2.399/2.399, allocations: 270 MB / 282.7 MB, free: 1.898 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.162e-05/3.176e-05, allocations: 0 / 347 MB, free: 3.285 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.327, allocations: 61.87 MB / 408.8 MB, free: 10.83 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1377/0.4648, allocations: 88.1 MB / 496.9 MB, free: 2.609 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002417/0.4651, allocations: 79.94 kB / 497 MB, free: 2.531 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01521/0.4803, allocations: 3.709 MB / 0.489 GB, free: 14.81 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.059e-06/0.4804, allocations: 0 / 0.489 GB, free: 14.81 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.307e-05/0.4804, allocations: 0 / 0.489 GB, free: 14.81 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004497/0.4809, allocations: 374.3 kB / 0.4893 GB, free: 14.4 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.4809, allocations: 8.031 kB / 0.4894 GB, free: 14.39 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.389e-05/0.481, allocations: 7.906 kB / 0.4894 GB, free: 14.39 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002667/0.4812, allocations: 191 kB / 0.4895 GB, free: 14.16 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.4813, allocations: 3.938 kB / 0.4895 GB, free: 14.16 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.177e-05/0.4813, allocations: 8 kB / 0.4896 GB, free: 14.15 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001399/0.4815, allocations: 59.3 kB / 0.4896 GB, free: 14.08 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.4815, allocations: 4 kB / 0.4896 GB, free: 14.07 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.4815, allocations: 0 / 0.4896 GB, free: 14.07 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.695e-06/0.4815, allocations: 11.94 kB / 0.4896 GB, free: 14.06 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.968e-05/0.4816, allocations: 12 kB / 0.4896 GB, free: 14.05 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005366/0.4821, allocations: 292.8 kB / 0.4899 GB, free: 13.71 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001128/0.4823, allocations: 46.56 kB / 0.49 GB, free: 13.66 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.301e-05/0.4823, allocations: 20.86 kB / 0.49 GB, free: 13.64 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.4824, allocations: 0 / 0.49 GB, free: 13.64 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/0.4824, allocations: 30.66 kB / 0.49 GB, free: 13.6 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 2.097e-06/0.4824, allocations: 0 / 0.49 GB, free: 13.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005431/0.483, allocations: 141.2 kB / 0.4901 GB, free: 13.45 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.327e-05/0.4831, allocations: 85.11 kB / 0.4902 GB, free: 13.35 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001707/0.4833, allocations: 121 kB / 0.4903 GB, free: 13.23 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.893e-05/0.4833, allocations: 29.7 kB / 0.4904 GB, free: 13.19 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.531e-05/0.4834, allocations: 162.5 kB / 0.4905 GB, free: 13.03 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.994e-05/0.4834, allocations: 19.66 kB / 0.4905 GB, free: 13.01 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.222e-06/0.4835, allocations: 4 kB / 0.4905 GB, free: 13.01 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.4836, allocations: 310.8 kB / 0.4908 GB, free: 12.7 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.033e-05/0.4837, allocations: 19.98 kB / 0.4909 GB, free: 12.68 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.839e-05/0.4838, allocations: 33.72 kB / 0.4909 GB, free: 12.64 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.575e-05/0.4839, allocations: 31.94 kB / 0.4909 GB, free: 12.61 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.658e-06/0.4839, allocations: 3.938 kB / 0.4909 GB, free: 12.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001966/0.4841, allocations: 85.89 kB / 0.491 GB, free: 12.51 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.4841, allocations: 4 kB / 0.491 GB, free: 12.51 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.856e-06/0.4842, allocations: 0 / 0.491 GB, free: 12.51 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.4842, allocations: 0 / 0.491 GB, free: 12.51 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.4843, allocations: 19.98 kB / 0.491 GB, free: 12.49 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.4844, allocations: 8.094 kB / 0.491 GB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.377e-05/0.4844, allocations: 11.98 kB / 0.4911 GB, free: 12.47 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.639e-05/0.4845, allocations: 0 / 0.4911 GB, free: 12.47 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 (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 prepare postOptimizeDAE: time 9.516e-05/0.4846, allocations: 112.9 kB / 0.4912 GB, free: 12.35 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.7e-05/0.4846, allocations: 7.906 kB / 0.4912 GB, free: 12.34 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002342/0.4849, allocations: 90.38 kB / 0.4913 GB, free: 12.25 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.24e-06/0.4849, allocations: 7.969 kB / 0.4913 GB, free: 12.25 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.977e-06/0.4849, allocations: 0 / 0.4913 GB, free: 12.25 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.34e-06/0.4849, allocations: 4 kB / 0.4913 GB, free: 12.24 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005752/0.4855, allocations: 374.3 kB / 0.4916 GB, free: 11.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.779e-06/0.4855, allocations: 0 / 0.4916 GB, free: 11.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00011/0.4857, allocations: 23.92 kB / 0.4916 GB, free: 11.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.992e-06/0.4857, allocations: 0 / 0.4916 GB, free: 11.8 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.03e-06/0.4857, allocations: 0 / 0.4916 GB, free: 11.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.963e-06/0.4857, allocations: 3.938 kB / 0.4917 GB, free: 11.79 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.903e-06/0.4857, allocations: 8 kB / 0.4917 GB, free: 11.79 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002343/0.486, allocations: 184.4 kB / 0.4918 GB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.867e-05/0.4861, allocations: 81.02 kB / 0.4919 GB, free: 11.49 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.59e-05/0.4861, allocations: 4 kB / 0.4919 GB, free: 11.49 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.4862, allocations: 11.98 kB / 0.4919 GB, free: 11.48 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.128e-05/0.4863, allocations: 4 kB / 0.4919 GB, free: 11.47 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.969e-06/0.4863, allocations: 4 kB / 0.4919 GB, free: 11.47 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001149/0.4864, allocations: 106.5 kB / 0.492 GB, free: 11.37 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.89e-07/0.4864, allocations: 0 / 0.492 GB, free: 11.37 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003785/0.4868, allocations: 35.92 kB / 0.4921 GB, free: 11.33 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 (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.001641/0.4885, allocations: 452.9 kB / 0.4925 GB, free: 11.02 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002206/0.4887, allocations: 55.92 kB / 0.4926 GB, free: 10.96 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.4888, allocations: 0 / 0.4926 GB, free: 10.96 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.747e-05/0.4888, allocations: 24 kB / 0.4926 GB, free: 10.94 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002807/0.4891, allocations: 18.72 kB / 0.4926 GB, free: 10.93 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004138/0.4896, allocations: 147.4 kB / 0.4927 GB, free: 10.75 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003837/0.49, allocations: 0.6965 MB / 0.4934 GB, free: 10.03 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.93e-05/0.4901, allocations: 19.42 kB / 0.4934 GB, free: 10.01 MB / 426.7 MB Notification: Performance of SimCode: time 1.632e-06/0.4901, allocations: 4 kB / 0.4934 GB, free: 10 MB / 426.7 MB Notification: Performance of Templates: time 0.004463/0.4945, allocations: 1.76 MB / 0.4952 GB, free: 8.238 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test25_usertabCalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test25_usertabCalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test25_usertabCalcHelperMain.cpp:28: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test25_usertabCalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.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(), tmp5.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.CombiTable1Dv.Test25_usertabCalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.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.CombiTable1Dv.Test25_usertabCalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test25_usertabCalcHelperMain.o] Error 1