Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test21,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test21") Notification: Performance of loadModel(ModelicaTest): time 2.359/2.359, allocations: 270 MB / 282.7 MB, free: 1.91 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.196e-05/3.201e-05, allocations: 4 kB / 347 MB, free: 3.262 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3233/0.3234, allocations: 61.88 MB / 408.8 MB, free: 10.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1363/0.4597, allocations: 88.33 MB / 497.2 MB, free: 2.32 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002372/0.46, allocations: 75.95 kB / 497.3 MB, free: 2.246 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01645/0.4765, allocations: 4.282 MB / 0.4898 GB, free: 13.95 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.796e-06/0.4765, allocations: 0 / 0.4898 GB, free: 13.95 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.124e-05/0.4766, allocations: 4 kB / 0.4898 GB, free: 13.95 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.0004412/0.477, allocations: 370.3 kB / 0.4901 GB, free: 13.54 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.4771, allocations: 8.031 kB / 0.4901 GB, free: 13.54 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.186e-05/0.4771, allocations: 7.906 kB / 0.4901 GB, free: 13.53 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002557/0.4774, allocations: 187 kB / 0.4903 GB, free: 13.3 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.4774, allocations: 4 kB / 0.4903 GB, free: 13.3 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.945e-05/0.4775, allocations: 0 / 0.4903 GB, free: 13.3 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/0.4776, allocations: 71.3 kB / 0.4904 GB, free: 13.22 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.4776, allocations: 3.938 kB / 0.4904 GB, free: 13.21 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.4777, allocations: 0 / 0.4904 GB, free: 13.21 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.396e-06/0.4777, allocations: 0 / 0.4904 GB, free: 13.21 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.771e-05/0.4777, allocations: 15.98 kB / 0.4904 GB, free: 13.2 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004542/0.4782, allocations: 280.9 kB / 0.4907 GB, free: 12.88 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001952/0.4784, allocations: 46.5 kB / 0.4907 GB, free: 12.82 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.276e-05/0.4785, allocations: 16.86 kB / 0.4907 GB, free: 12.8 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.602e-05/0.4785, allocations: 0 / 0.4907 GB, free: 12.8 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.4786, allocations: 34.64 kB / 0.4908 GB, free: 12.76 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 2.086e-06/0.4786, allocations: 0 / 0.4908 GB, free: 12.76 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004567/0.479, allocations: 109.4 kB / 0.4909 GB, free: 12.64 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.287e-05/0.4791, allocations: 81.11 kB / 0.491 GB, free: 12.55 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001537/0.4793, allocations: 121 kB / 0.4911 GB, free: 12.42 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.459e-05/0.4793, allocations: 29.7 kB / 0.4911 GB, free: 12.39 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.94e-05/0.4794, allocations: 158.5 kB / 0.4913 GB, free: 12.23 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.147e-05/0.4795, allocations: 23.73 kB / 0.4913 GB, free: 12.21 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.892e-06/0.4795, allocations: 0 / 0.4913 GB, free: 12.21 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.4797, allocations: 312 kB / 0.4916 GB, free: 11.89 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.373e-05/0.4797, allocations: 15.98 kB / 0.4916 GB, free: 11.88 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.164e-05/0.4798, allocations: 25.72 kB / 0.4916 GB, free: 11.85 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.838e-05/0.4798, allocations: 15.95 kB / 0.4916 GB, free: 11.83 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.232e-06/0.4799, allocations: 3.984 kB / 0.4916 GB, free: 11.83 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001502/0.48, allocations: 61.69 kB / 0.4917 GB, free: 11.76 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.48, allocations: 8 kB / 0.4917 GB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.4801, allocations: 0 / 0.4917 GB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.4801, allocations: 3.938 kB / 0.4917 GB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.462e-05/0.4802, allocations: 12.25 kB / 0.4917 GB, free: 11.74 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.006e-06/0.4802, allocations: 4.031 kB / 0.4917 GB, free: 11.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.14e-05/0.4803, allocations: 15.92 kB / 0.4917 GB, free: 11.72 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.4803, allocations: 4 kB / 0.4917 GB, free: 11.71 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 (5): * Single equations (assignments): 5 * 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.296e-05/0.4804, allocations: 108.9 kB / 0.4918 GB, free: 11.6 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.523e-05/0.4805, allocations: 7.906 kB / 0.4919 GB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002014/0.4807, allocations: 77.75 kB / 0.4919 GB, free: 11.51 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.394e-06/0.4807, allocations: 0 / 0.4919 GB, free: 11.51 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.825e-06/0.4807, allocations: 0 / 0.4919 GB, free: 11.51 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.694e-06/0.4807, allocations: 7.938 kB / 0.4919 GB, free: 11.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004884/0.4812, allocations: 342.5 kB / 0.4923 GB, free: 11.11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.6e-06/0.4812, allocations: 0 / 0.4923 GB, free: 11.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.605e-05/0.4813, allocations: 15.98 kB / 0.4923 GB, free: 11.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.282e-06/0.4814, allocations: 0 / 0.4923 GB, free: 11.09 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.283e-06/0.4814, allocations: 0 / 0.4923 GB, free: 11.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.222e-06/0.4814, allocations: 0 / 0.4923 GB, free: 11.09 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.4814, allocations: 0 / 0.4923 GB, free: 11.09 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002048/0.4816, allocations: 171.3 kB / 0.4924 GB, free: 10.91 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.338e-05/0.4817, allocations: 93 kB / 0.4925 GB, free: 10.8 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.06e-05/0.4817, allocations: 0 / 0.4925 GB, free: 10.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.4818, allocations: 4 kB / 0.4925 GB, free: 10.8 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.912e-05/0.4819, allocations: 7.984 kB / 0.4925 GB, free: 10.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.862e-06/0.4819, allocations: 0 / 0.4925 GB, free: 10.79 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001093/0.482, allocations: 103.3 kB / 0.4926 GB, free: 10.69 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.97e-07/0.4821, allocations: 4 kB / 0.4926 GB, free: 10.68 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003603/0.4824, allocations: 27.98 kB / 0.4927 GB, free: 10.66 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 (5): * Single equations (assignments): 5 * 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.001522/0.484, allocations: 450 kB / 0.4931 GB, free: 10.36 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001366/0.4841, allocations: 31.94 kB / 0.4931 GB, free: 10.32 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.111e-06/0.4841, allocations: 0 / 0.4931 GB, free: 10.32 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.183e-05/0.4842, allocations: 19.98 kB / 0.4931 GB, free: 10.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002449/0.4845, allocations: 23 kB / 0.4932 GB, free: 10.29 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003554/0.4848, allocations: 134.7 kB / 0.4933 GB, free: 10.12 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003759/0.4852, allocations: 0.6965 MB / 0.494 GB, free: 9.398 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.198e-05/0.4853, allocations: 19.42 kB / 0.494 GB, free: 9.379 MB / 426.7 MB Notification: Performance of SimCode: time 1.421e-06/0.4853, allocations: 0 / 0.494 GB, free: 9.379 MB / 426.7 MB Notification: Performance of Templates: time 0.004082/0.4894, allocations: 1.6 MB / 0.4956 GB, free: 7.777 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test21.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/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/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test21CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test21CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test21CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test21Functions.cpp:208: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, ^ 1 error generated. : recipe for target 'OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test21CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test21CalcHelperMain.o] Error 1