Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4") Notification: Performance of loadModel(ModelicaTest): time 2.369/2.369, allocations: 270 MB / 282.7 MB, free: 1.766 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.714e-05/3.732e-05, allocations: 4 kB / 347 MB, free: 3.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3286, allocations: 61.88 MB / 408.8 MB, free: 10.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1362/0.4649, allocations: 88.14 MB / 497 MB, free: 2.504 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002359/0.4651, allocations: 67.97 kB / 497.1 MB, free: 2.438 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01877/0.4839, allocations: 4.648 MB / 0.4899 GB, free: 13.78 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.938e-06/0.484, allocations: 0 / 0.4899 GB, free: 13.78 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.964e-05/0.484, allocations: 4 kB / 0.4899 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.0005105/0.4845, allocations: 414.1 kB / 0.4903 GB, free: 13.33 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.4846, allocations: 8.031 kB / 0.4903 GB, free: 13.32 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.297e-05/0.4847, allocations: 15.81 kB / 0.4904 GB, free: 13.3 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003031/0.485, allocations: 208.1 kB / 0.4906 GB, free: 13.06 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.485, allocations: 7.984 kB / 0.4906 GB, free: 13.05 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/0.485, allocations: 4 kB / 0.4906 GB, free: 13.05 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.4852, allocations: 61.64 kB / 0.4906 GB, free: 12.98 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.4852, allocations: 7.984 kB / 0.4906 GB, free: 12.98 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.4853, allocations: 4 kB / 0.4906 GB, free: 12.97 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.453e-06/0.4853, allocations: 0 / 0.4906 GB, free: 12.97 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.312e-05/0.4854, allocations: 28 kB / 0.4907 GB, free: 12.95 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005474/0.4859, allocations: 344.6 kB / 0.491 GB, free: 12.56 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.4861, allocations: 46.58 kB / 0.491 GB, free: 12.5 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.61e-05/0.4861, allocations: 20.86 kB / 0.4911 GB, free: 12.48 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.586e-05/0.4862, allocations: 7.938 kB / 0.4911 GB, free: 12.47 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.453e-05/0.4862, allocations: 38.55 kB / 0.4911 GB, free: 12.43 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 2.303e-06/0.4862, allocations: 0 / 0.4911 GB, free: 12.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007733/0.487, allocations: 221.5 kB / 0.4913 GB, free: 12.2 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.832e-05/0.4871, allocations: 55.41 kB / 0.4914 GB, free: 12.14 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003036/0.4874, allocations: 213.3 kB / 0.4916 GB, free: 11.92 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/0.4874, allocations: 29.64 kB / 0.4916 GB, free: 11.88 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.769e-05/0.4876, allocations: 162.6 kB / 0.4918 GB, free: 11.72 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.689e-05/0.4876, allocations: 51.3 kB / 0.4918 GB, free: 11.67 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.926e-06/0.4876, allocations: 0 / 0.4918 GB, free: 11.67 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.4878, allocations: 318.8 kB / 0.4921 GB, free: 11.35 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.25e-05/0.4879, allocations: 24 kB / 0.4921 GB, free: 11.33 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.731e-05/0.488, allocations: 28 kB / 0.4922 GB, free: 11.3 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.055e-05/0.4881, allocations: 27.98 kB / 0.4922 GB, free: 11.27 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.4881, allocations: 4 kB / 0.4922 GB, free: 11.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002376/0.4883, allocations: 109.6 kB / 0.4923 GB, free: 11.16 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.4883, allocations: 4 kB / 0.4923 GB, free: 11.15 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.595e-06/0.4884, allocations: 4 kB / 0.4923 GB, free: 11.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.4884, allocations: 0 / 0.4923 GB, free: 11.15 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001743/0.4886, allocations: 27.92 kB / 0.4923 GB, free: 11.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.128e-06/0.4886, allocations: 8.062 kB / 0.4923 GB, free: 11.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.232e-05/0.4887, allocations: 11.98 kB / 0.4923 GB, free: 11.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.765e-05/0.4887, allocations: 11.95 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.076e-05/0.4888, allocations: 105 kB / 0.4925 GB, free: 10.98 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.582e-05/0.4889, allocations: 11.91 kB / 0.4925 GB, free: 10.97 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003346/0.4892, allocations: 147.2 kB / 0.4926 GB, free: 10.82 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.5e-06/0.4892, allocations: 4.109 kB / 0.4926 GB, free: 10.82 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.293e-06/0.4893, allocations: 3.938 kB / 0.4926 GB, free: 10.81 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.27e-06/0.4893, allocations: 3.938 kB / 0.4926 GB, free: 10.81 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007916/0.4901, allocations: 475.1 kB / 0.4931 GB, free: 10.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.832e-06/0.4901, allocations: 0 / 0.4931 GB, free: 10.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001375/0.4902, allocations: 27.98 kB / 0.4931 GB, free: 10.26 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.67e-06/0.4903, allocations: 0 / 0.4931 GB, free: 10.26 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.726e-05/0.4903, allocations: 7.953 kB / 0.4931 GB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.4903, allocations: 4 kB / 0.4931 GB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.231e-06/0.4903, allocations: 4.031 kB / 0.4931 GB, free: 10.24 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003071/0.4906, allocations: 222 kB / 0.4933 GB, free: 10 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.131e-05/0.4907, allocations: 100.9 kB / 0.4934 GB, free: 9.883 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.235e-05/0.4908, allocations: 7.953 kB / 0.4934 GB, free: 9.875 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.4909, allocations: 4 kB / 0.4934 GB, free: 9.871 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.086e-05/0.491, allocations: 19.92 kB / 0.4935 GB, free: 9.852 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.409e-05/0.491, allocations: 4 kB / 0.4935 GB, free: 9.848 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002226/0.4912, allocations: 180.2 kB / 0.4936 GB, free: 9.672 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.8e-07/0.4913, allocations: 0 / 0.4936 GB, free: 9.672 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003836/0.4916, allocations: 35.94 kB / 0.4937 GB, free: 9.637 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.001598/0.4933, allocations: 460 kB / 0.4941 GB, free: 9.328 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002342/0.4935, allocations: 75.98 kB / 0.4942 GB, free: 9.254 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.379e-06/0.4935, allocations: 0 / 0.4942 GB, free: 9.254 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.586e-05/0.4936, allocations: 43.88 kB / 0.4942 GB, free: 9.211 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002989/0.4939, allocations: 15.98 kB / 0.4942 GB, free: 9.195 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006267/0.4946, allocations: 252.3 kB / 0.4945 GB, free: 8.918 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004123/0.495, allocations: 0.7278 MB / 0.4952 GB, free: 8.164 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.297e-05/0.4951, allocations: 19.42 kB / 0.4952 GB, free: 8.145 MB / 426.7 MB Notification: Performance of SimCode: time 1.748e-06/0.4951, allocations: 0 / 0.4952 GB, free: 8.145 MB / 426.7 MB Notification: Performance of Templates: time 0.004944/0.5001, allocations: 2.074 MB / 0.4972 GB, free: 6.07 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.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.Test4CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4Functions.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.Test4CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4CalcHelperMain.o] Error 1