Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test18") Notification: Performance of loadModel(ModelicaTest): time 2.376/2.376, allocations: 270 MB / 282.7 MB, free: 1.781 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.866e-05/2.885e-05, allocations: 4 kB / 347 MB, free: 3.133 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3203, allocations: 61.89 MB / 408.8 MB, free: 10.75 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.136/0.4564, allocations: 88.39 MB / 497.2 MB, free: 2.23 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002305/0.4566, allocations: 67.97 kB / 497.3 MB, free: 2.164 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01801/0.4747, allocations: 4.595 MB / 0.4901 GB, free: 13.55 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.895e-06/0.4747, allocations: 0 / 0.4901 GB, free: 13.55 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.816e-05/0.4747, allocations: 0 / 0.4901 GB, free: 13.55 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004679/0.4752, allocations: 374.3 kB / 0.4905 GB, free: 13.14 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.4753, allocations: 11.97 kB / 0.4905 GB, free: 13.13 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.137e-05/0.4753, allocations: 7.906 kB / 0.4905 GB, free: 13.12 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002799/0.4756, allocations: 190.9 kB / 0.4907 GB, free: 12.9 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.4757, allocations: 8 kB / 0.4907 GB, free: 12.89 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.554e-05/0.4757, allocations: 4 kB / 0.4907 GB, free: 12.89 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.4759, allocations: 72.56 kB / 0.4908 GB, free: 12.8 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.4759, allocations: 8 kB / 0.4908 GB, free: 12.8 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.4759, allocations: 0 / 0.4908 GB, free: 12.8 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.442e-06/0.4759, allocations: 0 / 0.4908 GB, free: 12.8 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.708e-05/0.476, allocations: 27.92 kB / 0.4908 GB, free: 12.77 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005471/0.4766, allocations: 316.7 kB / 0.4911 GB, free: 12.41 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001216/0.4767, allocations: 46.56 kB / 0.4912 GB, free: 12.36 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.782e-05/0.4768, allocations: 24.95 kB / 0.4912 GB, free: 12.33 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.4768, allocations: 0 / 0.4912 GB, free: 12.33 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.4769, allocations: 34.56 kB / 0.4912 GB, free: 12.29 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.971e-06/0.4769, allocations: 4 kB / 0.4912 GB, free: 12.28 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005824/0.4775, allocations: 149.3 kB / 0.4914 GB, free: 12.13 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.693e-05/0.4776, allocations: 81.05 kB / 0.4914 GB, free: 12.03 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001623/0.4777, allocations: 127 kB / 0.4916 GB, free: 11.9 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.4778, allocations: 25.7 kB / 0.4916 GB, free: 11.87 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.944e-05/0.4779, allocations: 154.6 kB / 0.4917 GB, free: 11.72 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.055e-05/0.4779, allocations: 31.55 kB / 0.4918 GB, free: 11.69 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.893e-06/0.478, allocations: 4 kB / 0.4918 GB, free: 11.68 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.4781, allocations: 322.8 kB / 0.4921 GB, free: 11.36 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.508e-05/0.4782, allocations: 16 kB / 0.4921 GB, free: 11.34 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.165e-05/0.4783, allocations: 37.69 kB / 0.4921 GB, free: 11.3 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.612e-05/0.4784, allocations: 23.98 kB / 0.4922 GB, free: 11.28 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.4784, allocations: 0 / 0.4922 GB, free: 11.28 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000194/0.4786, allocations: 77.69 kB / 0.4922 GB, free: 11.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.4786, allocations: 7.984 kB / 0.4922 GB, free: 11.19 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.502e-06/0.4786, allocations: 32 / 0.4922 GB, free: 11.19 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.4787, allocations: 4 kB / 0.4922 GB, free: 11.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/0.4788, allocations: 31.86 kB / 0.4923 GB, free: 11.15 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.537e-06/0.4788, allocations: 0 / 0.4923 GB, free: 11.15 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.636e-05/0.4789, allocations: 8.188 kB / 0.4923 GB, free: 11.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.535e-05/0.4789, allocations: 4 kB / 0.4923 GB, free: 11.14 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.444e-05/0.479, allocations: 112.9 kB / 0.4924 GB, free: 11.02 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.739e-05/0.4791, allocations: 7.906 kB / 0.4924 GB, free: 11.02 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002612/0.4794, allocations: 106.6 kB / 0.4925 GB, free: 10.91 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.944e-06/0.4794, allocations: 4 kB / 0.4925 GB, free: 10.91 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.638e-06/0.4794, allocations: 0 / 0.4925 GB, free: 10.91 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.103e-06/0.4794, allocations: 3.938 kB / 0.4925 GB, free: 10.9 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005944/0.48, allocations: 386.4 kB / 0.4929 GB, free: 10.47 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.48, allocations: 0 / 0.4929 GB, free: 10.47 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001136/0.4802, allocations: 23.98 kB / 0.4929 GB, free: 10.45 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.515e-06/0.4802, allocations: 3.984 kB / 0.4929 GB, free: 10.44 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.69e-06/0.4802, allocations: 0 / 0.4929 GB, free: 10.44 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.204e-06/0.4802, allocations: 0 / 0.4929 GB, free: 10.44 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.4802, allocations: 7.938 kB / 0.4929 GB, free: 10.43 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00026/0.4805, allocations: 187.4 kB / 0.4931 GB, free: 10.23 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.595e-05/0.4806, allocations: 93 kB / 0.4932 GB, free: 10.12 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.284e-05/0.4806, allocations: 0 / 0.4932 GB, free: 10.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.4808, allocations: 8 kB / 0.4932 GB, free: 10.12 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.345e-05/0.4808, allocations: 11.98 kB / 0.4932 GB, free: 10.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.4808, allocations: 7.938 kB / 0.4932 GB, free: 10.1 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001158/0.481, allocations: 108.6 kB / 0.4933 GB, free: 9.992 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.55e-07/0.481, allocations: 0 / 0.4933 GB, free: 9.992 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003761/0.4814, allocations: 32 kB / 0.4933 GB, free: 9.961 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.001546/0.4829, allocations: 457.1 kB / 0.4938 GB, free: 9.648 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001987/0.4831, allocations: 51.98 kB / 0.4938 GB, free: 9.598 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.4832, allocations: 0 / 0.4938 GB, free: 9.598 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.703e-05/0.4833, allocations: 35.92 kB / 0.4939 GB, free: 9.562 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002517/0.4835, allocations: 8 kB / 0.4939 GB, free: 9.555 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004305/0.484, allocations: 151.2 kB / 0.494 GB, free: 9.379 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004077/0.4844, allocations: 0.7083 MB / 0.4947 GB, free: 8.645 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.395e-05/0.4845, allocations: 23.36 kB / 0.4947 GB, free: 8.621 MB / 426.7 MB Notification: Performance of SimCode: time 1.617e-06/0.4845, allocations: 0 / 0.4947 GB, free: 8.621 MB / 426.7 MB Notification: Performance of Templates: time 0.004565/0.4891, allocations: 1.798 MB / 0.4965 GB, free: 6.82 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test18.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.Test18CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test18CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test18CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test18Functions.cpp:208:31: error: no matching function for call to 'ModelicaStandardTables_CombiTable1D_init2' externalCombiTable1D__ext = ModelicaStandardTables_CombiTable1D_init2(fileName_.c_str(), tableName_.c_str(), tmp7.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.Test18CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test18CalcHelperMain.o] Error 1