Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test20,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test20") Notification: Performance of loadModel(ModelicaTest): time 2.451/2.451, allocations: 270 MB / 282.7 MB, free: 1.863 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.735e-05/2.753e-05, allocations: 4 kB / 347 MB, free: 3.262 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.3315, allocations: 61.88 MB / 408.8 MB, free: 10.79 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1383/0.4699, allocations: 88.33 MB / 497.2 MB, free: 2.34 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002155/0.4702, allocations: 71.97 kB / 497.2 MB, free: 2.27 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01662/0.4868, allocations: 4.282 MB / 0.4898 GB, free: 13.98 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.115e-06/0.4868, allocations: 0 / 0.4898 GB, free: 13.98 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.455e-05/0.4869, allocations: 4 kB / 0.4898 GB, free: 13.98 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.0004525/0.4873, allocations: 362.4 kB / 0.4901 GB, free: 13.58 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.4874, allocations: 12.02 kB / 0.4901 GB, free: 13.57 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.615e-05/0.4874, allocations: 7.906 kB / 0.4901 GB, free: 13.56 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002542/0.4877, allocations: 186.9 kB / 0.4903 GB, free: 13.34 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.4877, allocations: 4 kB / 0.4903 GB, free: 13.33 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.207e-05/0.4877, allocations: 4 kB / 0.4903 GB, free: 13.33 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/0.4879, allocations: 67.3 kB / 0.4904 GB, free: 13.25 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.4879, allocations: 0 / 0.4904 GB, free: 13.25 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.4879, allocations: 4 kB / 0.4904 GB, free: 13.25 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.32e-06/0.488, allocations: 0 / 0.4904 GB, free: 13.25 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.203e-05/0.488, allocations: 15.98 kB / 0.4904 GB, free: 13.23 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004666/0.4885, allocations: 284.8 kB / 0.4907 GB, free: 12.9 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000202/0.4887, allocations: 42.55 kB / 0.4907 GB, free: 12.85 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.832e-05/0.4888, allocations: 20.8 kB / 0.4907 GB, free: 12.83 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.613e-05/0.4888, allocations: 7.984 kB / 0.4908 GB, free: 12.82 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/0.4889, allocations: 30.56 kB / 0.4908 GB, free: 12.78 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 2.244e-06/0.4889, allocations: 0 / 0.4908 GB, free: 12.78 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.000469/0.4894, allocations: 109.5 kB / 0.4909 GB, free: 12.67 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.003e-05/0.4894, allocations: 77.11 kB / 0.491 GB, free: 12.57 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.4896, allocations: 125 kB / 0.4911 GB, free: 12.45 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.4896, allocations: 25.7 kB / 0.4911 GB, free: 12.41 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.06e-05/0.4897, allocations: 162.5 kB / 0.4913 GB, free: 12.25 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.895e-05/0.4898, allocations: 15.73 kB / 0.4913 GB, free: 12.24 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.815e-06/0.4898, allocations: 0 / 0.4913 GB, free: 12.24 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.49, allocations: 320 kB / 0.4916 GB, free: 11.92 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.947e-05/0.49, allocations: 8 kB / 0.4916 GB, free: 11.91 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.372e-05/0.4901, allocations: 29.7 kB / 0.4916 GB, free: 11.88 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.472e-05/0.4902, allocations: 23.92 kB / 0.4916 GB, free: 11.85 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.59e-06/0.4902, allocations: 0 / 0.4916 GB, free: 11.85 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001507/0.4903, allocations: 61.69 kB / 0.4917 GB, free: 11.79 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.4904, allocations: 4 kB / 0.4917 GB, free: 11.78 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1e-05/0.4904, allocations: 7.984 kB / 0.4917 GB, free: 11.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.4904, allocations: 0 / 0.4917 GB, free: 11.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.4905, allocations: 15.98 kB / 0.4917 GB, free: 11.76 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.4905, allocations: 0 / 0.4917 GB, free: 11.76 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.585e-05/0.4906, allocations: 7.984 kB / 0.4917 GB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.654e-06/0.4906, allocations: 4 kB / 0.4917 GB, free: 11.75 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.493e-05/0.4907, allocations: 108.9 kB / 0.4918 GB, free: 11.63 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.702e-05/0.4908, allocations: 7.906 kB / 0.4918 GB, free: 11.62 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002098/0.491, allocations: 81.7 kB / 0.4919 GB, free: 11.54 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.84e-06/0.4911, allocations: 320 / 0.4919 GB, free: 11.54 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.411e-06/0.4911, allocations: 3.938 kB / 0.4919 GB, free: 11.53 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.469e-06/0.4911, allocations: 0 / 0.4919 GB, free: 11.53 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005013/0.4916, allocations: 342.5 kB / 0.4923 GB, free: 11.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.4916, allocations: 0 / 0.4923 GB, free: 11.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.295e-05/0.4917, allocations: 15.94 kB / 0.4923 GB, free: 11.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.215e-06/0.4917, allocations: 0 / 0.4923 GB, free: 11.12 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.7e-06/0.4918, allocations: 4 kB / 0.4923 GB, free: 11.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.752e-06/0.4918, allocations: 0 / 0.4923 GB, free: 11.12 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.432e-06/0.4918, allocations: 0 / 0.4923 GB, free: 11.12 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00021/0.492, allocations: 171.4 kB / 0.4924 GB, free: 10.94 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.207e-05/0.4921, allocations: 89.02 kB / 0.4925 GB, free: 10.83 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.075e-05/0.4921, allocations: 0 / 0.4925 GB, free: 10.83 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.4922, allocations: 7.984 kB / 0.4925 GB, free: 10.82 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.44e-05/0.4923, allocations: 4 kB / 0.4925 GB, free: 10.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.602e-06/0.4923, allocations: 3.938 kB / 0.4925 GB, free: 10.82 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000112/0.4924, allocations: 107.3 kB / 0.4926 GB, free: 10.71 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.39e-07/0.4924, allocations: 0 / 0.4926 GB, free: 10.71 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003772/0.4928, allocations: 24 kB / 0.4927 GB, free: 10.69 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.001544/0.4944, allocations: 459 kB / 0.4931 GB, free: 10.38 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001591/0.4946, allocations: 31.98 kB / 0.4931 GB, free: 10.35 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.037e-06/0.4946, allocations: 0 / 0.4931 GB, free: 10.35 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.599e-05/0.4946, allocations: 16 kB / 0.4931 GB, free: 10.33 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000257/0.4949, allocations: 15.94 kB / 0.4932 GB, free: 10.32 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003805/0.4953, allocations: 138.7 kB / 0.4933 GB, free: 10.15 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003848/0.4957, allocations: 0.7004 MB / 0.494 GB, free: 9.422 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.966e-05/0.4958, allocations: 11.44 kB / 0.494 GB, free: 9.41 MB / 426.7 MB Notification: Performance of SimCode: time 2.039e-06/0.4958, allocations: 0 / 0.494 GB, free: 9.41 MB / 426.7 MB Notification: Performance of Templates: time 0.004176/0.5, allocations: 1.599 MB / 0.4955 GB, free: 7.805 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test20.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.Test20CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test20CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test20CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test20Functions.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.Test20CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test20CalcHelperMain.o] Error 1