Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test15,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test15") Notification: Performance of loadModel(ModelicaTest): time 2.379/2.379, allocations: 270 MB / 282.6 MB, free: 1.746 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.397e-05/3.408e-05, allocations: 7.938 kB / 347 MB, free: 3.117 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3223, allocations: 61.87 MB / 408.8 MB, free: 10.76 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1384/0.4607, allocations: 88.15 MB / 497 MB, free: 2.488 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002292/0.461, allocations: 75.95 kB / 497.1 MB, free: 2.414 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01684/0.4778, allocations: 4.28 MB / 0.4896 GB, free: 14.12 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.4779, allocations: 8 kB / 0.4896 GB, free: 14.12 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.365e-05/0.4779, allocations: 0 / 0.4896 GB, free: 14.12 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004771/0.4784, allocations: 386.2 kB / 0.49 GB, free: 13.7 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.4785, allocations: 8.031 kB / 0.49 GB, free: 13.69 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.741e-05/0.4785, allocations: 11.89 kB / 0.49 GB, free: 13.68 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003028/0.4788, allocations: 207.6 kB / 0.4902 GB, free: 13.43 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.4789, allocations: 8 kB / 0.4902 GB, free: 13.43 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.118e-05/0.4789, allocations: 0 / 0.4902 GB, free: 13.43 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001238/0.479, allocations: 53.64 kB / 0.4902 GB, free: 13.37 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.4791, allocations: 7.938 kB / 0.4902 GB, free: 13.36 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.4791, allocations: 0 / 0.4902 GB, free: 13.36 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.212e-06/0.4791, allocations: 4 kB / 0.4902 GB, free: 13.36 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.603e-05/0.4792, allocations: 12 kB / 0.4903 GB, free: 13.34 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005266/0.4797, allocations: 308.7 kB / 0.4906 GB, free: 12.99 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.4798, allocations: 42.58 kB / 0.4906 GB, free: 12.94 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.043e-05/0.4799, allocations: 16.86 kB / 0.4906 GB, free: 12.92 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/0.4799, allocations: 4.078 kB / 0.4906 GB, free: 12.92 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/0.48, allocations: 31.69 kB / 0.4906 GB, free: 12.88 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 2.232e-06/0.48, allocations: 0 / 0.4906 GB, free: 12.88 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006387/0.4806, allocations: 165.2 kB / 0.4908 GB, free: 12.71 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.982e-05/0.4807, allocations: 59.41 kB / 0.4909 GB, free: 12.64 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002581/0.481, allocations: 180.9 kB / 0.491 GB, free: 12.46 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/0.481, allocations: 29.7 kB / 0.4911 GB, free: 12.43 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.946e-05/0.4811, allocations: 166.5 kB / 0.4912 GB, free: 12.26 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.59e-05/0.4812, allocations: 23.64 kB / 0.4912 GB, free: 12.24 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.059e-05/0.4812, allocations: 4 kB / 0.4912 GB, free: 12.23 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.4814, allocations: 318.7 kB / 0.4915 GB, free: 11.91 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.806e-05/0.4814, allocations: 20 kB / 0.4916 GB, free: 11.89 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.436e-05/0.4815, allocations: 27.98 kB / 0.4916 GB, free: 11.87 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.937e-05/0.4816, allocations: 28.22 kB / 0.4916 GB, free: 11.84 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.655e-06/0.4816, allocations: 0 / 0.4916 GB, free: 11.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001849/0.4818, allocations: 77.67 kB / 0.4917 GB, free: 11.76 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.4818, allocations: 4 kB / 0.4917 GB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.548e-06/0.4818, allocations: 0 / 0.4917 GB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.4819, allocations: 7.984 kB / 0.4917 GB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/0.482, allocations: 16 kB / 0.4917 GB, free: 11.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.28e-06/0.482, allocations: 4 kB / 0.4917 GB, free: 11.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.553e-05/0.4821, allocations: 11.98 kB / 0.4917 GB, free: 11.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.605e-05/0.4821, allocations: 4.281 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 (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.353e-05/0.4822, allocations: 116.8 kB / 0.4918 GB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.317e-05/0.4823, allocations: 11.81 kB / 0.4919 GB, free: 11.58 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002691/0.4826, allocations: 110.2 kB / 0.492 GB, free: 11.47 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.54e-06/0.4826, allocations: 4 kB / 0.492 GB, free: 11.46 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.443e-06/0.4826, allocations: 0 / 0.492 GB, free: 11.46 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.171e-06/0.4826, allocations: 4 kB / 0.492 GB, free: 11.46 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006759/0.4833, allocations: 419.2 kB / 0.4924 GB, free: 10.99 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.259e-06/0.4833, allocations: 0 / 0.4924 GB, free: 10.99 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/0.4835, allocations: 19.98 kB / 0.4924 GB, free: 10.97 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.226e-06/0.4835, allocations: 4 kB / 0.4924 GB, free: 10.97 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.645e-06/0.4835, allocations: 0 / 0.4924 GB, free: 10.97 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.962e-06/0.4835, allocations: 0 / 0.4924 GB, free: 10.97 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.088e-06/0.4835, allocations: 11.91 kB / 0.4924 GB, free: 10.96 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002708/0.4838, allocations: 206 kB / 0.4926 GB, free: 10.73 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.552e-05/0.4839, allocations: 97 kB / 0.4927 GB, free: 10.62 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.481e-05/0.484, allocations: 0 / 0.4927 GB, free: 10.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/0.4841, allocations: 8 kB / 0.4927 GB, free: 10.61 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.412e-05/0.4841, allocations: 15.94 kB / 0.4927 GB, free: 10.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.4842, allocations: 4 kB / 0.4927 GB, free: 10.59 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001911/0.4844, allocations: 152.3 kB / 0.4929 GB, free: 10.45 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.93e-07/0.4844, allocations: 0 / 0.4929 GB, free: 10.45 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003773/0.4848, allocations: 39.92 kB / 0.4929 GB, free: 10.41 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.001601/0.4864, allocations: 456.1 kB / 0.4933 GB, free: 10.1 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001817/0.4866, allocations: 48 kB / 0.4934 GB, free: 10.05 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.951e-06/0.4866, allocations: 0 / 0.4934 GB, free: 10.05 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.622e-05/0.4867, allocations: 31.92 kB / 0.4934 GB, free: 10.02 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002781/0.487, allocations: 15.98 kB / 0.4934 GB, free: 10.01 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005379/0.4875, allocations: 224.3 kB / 0.4936 GB, free: 9.75 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004093/0.488, allocations: 0.7161 MB / 0.4943 GB, free: 9.008 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.066e-05/0.488, allocations: 15.44 kB / 0.4944 GB, free: 8.992 MB / 426.7 MB Notification: Performance of SimCode: time 1.56e-06/0.4881, allocations: 0 / 0.4944 GB, free: 8.992 MB / 426.7 MB Notification: Performance of Templates: time 0.004482/0.4925, allocations: 1.827 MB / 0.4961 GB, free: 7.16 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test15.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.Test15CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test15CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test15CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test15Functions.cpp:231: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, ^ 1 error generated. : recipe for target 'OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test15CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test15CalcHelperMain.o] Error 1