Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6") Notification: Performance of loadModel(ModelicaTest): time 2.344/2.344, allocations: 270 MB / 282.7 MB, free: 1.789 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.845e-05/2.859e-05, allocations: 0 / 347 MB, free: 3.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3186/0.3187, allocations: 61.88 MB / 408.8 MB, free: 10.79 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1356/0.4543, allocations: 88.15 MB / 497 MB, free: 2.516 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002175/0.4546, allocations: 75.95 kB / 497.1 MB, free: 2.441 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01844/0.4731, allocations: 4.648 MB / 0.49 GB, free: 13.79 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.4731, allocations: 0 / 0.49 GB, free: 13.79 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.142e-05/0.4732, allocations: 8 kB / 0.49 GB, free: 13.78 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005126/0.4737, allocations: 414 kB / 0.4904 GB, free: 13.33 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.4737, allocations: 12.03 kB / 0.4904 GB, free: 13.32 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.416e-05/0.4738, allocations: 11.81 kB / 0.4904 GB, free: 13.3 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003117/0.4741, allocations: 208.1 kB / 0.4906 GB, free: 13.06 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.4741, allocations: 4 kB / 0.4906 GB, free: 13.06 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.517e-05/0.4742, allocations: 8 kB / 0.4906 GB, free: 13.05 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.4743, allocations: 65.61 kB / 0.4907 GB, free: 12.98 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.4744, allocations: 0 / 0.4907 GB, free: 12.98 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.692e-05/0.4744, allocations: 12 kB / 0.4907 GB, free: 12.97 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.4744, allocations: 4 kB / 0.4907 GB, free: 12.96 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.281e-05/0.4745, allocations: 31.92 kB / 0.4907 GB, free: 12.93 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005615/0.4751, allocations: 336.6 kB / 0.491 GB, free: 12.55 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001298/0.4753, allocations: 58.5 kB / 0.4911 GB, free: 12.49 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.05e-05/0.4753, allocations: 20.86 kB / 0.4911 GB, free: 12.46 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.33e-05/0.4754, allocations: 0 / 0.4911 GB, free: 12.46 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.264e-05/0.4754, allocations: 34.56 kB / 0.4911 GB, free: 12.42 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 2.021e-06/0.4754, allocations: 0 / 0.4911 GB, free: 12.42 MB / 426.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007717/0.4762, allocations: 225 kB / 0.4913 GB, free: 12.2 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.4763, allocations: 51.41 kB / 0.4914 GB, free: 12.13 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003078/0.4766, allocations: 217.3 kB / 0.4916 GB, free: 11.91 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.385e-05/0.4766, allocations: 29.7 kB / 0.4916 GB, free: 11.88 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.4767, allocations: 166.5 kB / 0.4918 GB, free: 11.71 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.095e-05/0.4768, allocations: 39.31 kB / 0.4918 GB, free: 11.67 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.203e-06/0.4768, allocations: 8 kB / 0.4918 GB, free: 11.66 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.477, allocations: 314.8 kB / 0.4921 GB, free: 11.35 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.245e-05/0.4771, allocations: 28 kB / 0.4922 GB, free: 11.32 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.612e-05/0.4772, allocations: 24 kB / 0.4922 GB, free: 11.3 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.294e-05/0.4773, allocations: 31.98 kB / 0.4922 GB, free: 11.27 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.948e-06/0.4773, allocations: 4 kB / 0.4922 GB, free: 11.26 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002376/0.4775, allocations: 109.5 kB / 0.4923 GB, free: 11.15 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.4776, allocations: 4 kB / 0.4923 GB, free: 11.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.4776, allocations: 0 / 0.4923 GB, free: 11.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.4776, allocations: 7.984 kB / 0.4923 GB, free: 11.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001618/0.4778, allocations: 23.98 kB / 0.4924 GB, free: 11.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.31e-06/0.4778, allocations: 0 / 0.4924 GB, free: 11.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.227e-05/0.4779, allocations: 12 kB / 0.4924 GB, free: 11.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.93e-05/0.4779, allocations: 7.953 kB / 0.4924 GB, free: 11.09 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 (13): * Single equations (assignments): 13 * 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.656e-05/0.478, allocations: 112.9 kB / 0.4925 GB, free: 10.98 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.72e-05/0.4781, allocations: 11.91 kB / 0.4925 GB, free: 10.96 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003398/0.4784, allocations: 147.7 kB / 0.4926 GB, free: 10.82 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.822e-06/0.4785, allocations: 4.109 kB / 0.4926 GB, free: 10.81 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.362e-06/0.4785, allocations: 3.938 kB / 0.4926 GB, free: 10.81 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.973e-06/0.4785, allocations: 0 / 0.4926 GB, free: 10.81 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007916/0.4793, allocations: 479.1 kB / 0.4931 GB, free: 10.28 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.4793, allocations: 0 / 0.4931 GB, free: 10.28 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001389/0.4795, allocations: 27.92 kB / 0.4931 GB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-06/0.4795, allocations: 4 kB / 0.4931 GB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.4795, allocations: 3.953 kB / 0.4931 GB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.27e-06/0.4795, allocations: 0 / 0.4931 GB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.503e-06/0.4795, allocations: 4 kB / 0.4931 GB, free: 10.24 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003147/0.4799, allocations: 226 kB / 0.4934 GB, free: 9.996 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.823e-05/0.48, allocations: 96.91 kB / 0.4934 GB, free: 9.883 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.592e-05/0.48, allocations: 7.953 kB / 0.4935 GB, free: 9.875 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001201/0.4801, allocations: 11.98 kB / 0.4935 GB, free: 9.863 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.723e-05/0.4802, allocations: 15.92 kB / 0.4935 GB, free: 9.848 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/0.4802, allocations: 8 kB / 0.4935 GB, free: 9.84 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002208/0.4805, allocations: 172.2 kB / 0.4937 GB, free: 9.672 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.97e-07/0.4805, allocations: 0 / 0.4937 GB, free: 9.672 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003729/0.4809, allocations: 31.94 kB / 0.4937 GB, free: 9.641 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 (13): * Single equations (assignments): 13 * 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.001615/0.4825, allocations: 464.9 kB / 0.4941 GB, free: 9.328 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002246/0.4827, allocations: 75.92 kB / 0.4942 GB, free: 9.254 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.866e-06/0.4828, allocations: 0 / 0.4942 GB, free: 9.254 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.917e-05/0.4829, allocations: 47.88 kB / 0.4942 GB, free: 9.207 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002776/0.4832, allocations: 15.98 kB / 0.4943 GB, free: 9.191 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006069/0.4838, allocations: 256.2 kB / 0.4945 GB, free: 8.91 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000425/0.4842, allocations: 0.72 MB / 0.4952 GB, free: 8.164 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.047e-05/0.4843, allocations: 27.41 kB / 0.4952 GB, free: 8.137 MB / 426.7 MB Notification: Performance of SimCode: time 1.474e-06/0.4843, allocations: 0 / 0.4952 GB, free: 8.137 MB / 426.7 MB Notification: Performance of Templates: time 0.004918/0.4893, allocations: 2.073 MB / 0.4973 GB, free: 6.062 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.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.CombiTable1Ds.Test6CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6Functions.cpp:231:31: error: no matching function for call to 'ModelicaStandardTables_CombiTable1D_init2' externalCombiTable1D__ext = ModelicaStandardTables_CombiTable1D_init2(fileName_.c_str(), tableName_.c_str(), tmp9.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.CombiTable1Ds.Test6CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6CalcHelperMain.o] Error 1