Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test5") Notification: Performance of loadModel(ModelicaTest): time 2.406/2.406, allocations: 270 MB / 282.7 MB, free: 1.789 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.155e-05/6.176e-05, allocations: 4 kB / 347 MB, free: 3.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3357/0.3358, allocations: 61.88 MB / 408.8 MB, free: 10.8 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1436/0.4794, allocations: 88.15 MB / 497 MB, free: 2.527 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002271/0.4797, allocations: 71.97 kB / 497.1 MB, free: 2.457 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01638/0.4961, allocations: 4.319 MB / 0.4896 GB, free: 14.12 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.752e-06/0.4962, allocations: 4 kB / 0.4896 GB, free: 14.12 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.338e-05/0.4962, 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.0004811/0.4967, allocations: 402 kB / 0.49 GB, free: 13.68 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.4967, allocations: 8.031 kB / 0.49 GB, free: 13.68 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.402e-05/0.4968, allocations: 11.91 kB / 0.49 GB, free: 13.66 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002972/0.4971, allocations: 211.5 kB / 0.4902 GB, free: 13.41 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.4971, allocations: 4 kB / 0.4902 GB, free: 13.41 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.79e-05/0.4971, allocations: 0 / 0.4902 GB, free: 13.41 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/0.4973, allocations: 57.64 kB / 0.4903 GB, free: 13.35 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.4973, allocations: 0 / 0.4903 GB, free: 13.35 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.162e-06/0.4973, allocations: 0 / 0.4903 GB, free: 13.35 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.545e-06/0.4973, allocations: 4 kB / 0.4903 GB, free: 13.34 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.141e-05/0.4974, allocations: 19.92 kB / 0.4903 GB, free: 13.32 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005132/0.4979, allocations: 304.8 kB / 0.4906 GB, free: 12.98 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001024/0.4981, allocations: 42.56 kB / 0.4907 GB, free: 12.93 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.937e-05/0.4981, allocations: 12.86 kB / 0.4907 GB, free: 12.91 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.143e-05/0.4982, allocations: 4 kB / 0.4907 GB, free: 12.91 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/0.4982, allocations: 31.69 kB / 0.4907 GB, free: 12.87 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 2.135e-06/0.4982, allocations: 3.938 kB / 0.4907 GB, free: 12.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006344/0.4989, allocations: 173.2 kB / 0.4909 GB, free: 12.69 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/0.4989, allocations: 63.28 kB / 0.4909 GB, free: 12.61 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000296/0.4992, allocations: 206.6 kB / 0.4911 GB, free: 12.4 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/0.4993, allocations: 25.7 kB / 0.4911 GB, free: 12.37 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.814e-05/0.4994, allocations: 162.6 kB / 0.4913 GB, free: 12.21 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.09e-05/0.4994, allocations: 31.55 kB / 0.4913 GB, free: 12.18 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.883e-06/0.4994, allocations: 0 / 0.4913 GB, free: 12.18 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.4996, allocations: 318.8 kB / 0.4916 GB, free: 11.86 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.901e-05/0.4997, allocations: 23.98 kB / 0.4917 GB, free: 11.84 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.247e-05/0.4997, allocations: 24 kB / 0.4917 GB, free: 11.81 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.359e-05/0.4998, allocations: 23.98 kB / 0.4917 GB, free: 11.79 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.506e-06/0.4998, allocations: 0 / 0.4917 GB, free: 11.79 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001937/0.5, allocations: 81.91 kB / 0.4918 GB, free: 11.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.5001, allocations: 11.94 kB / 0.4918 GB, free: 11.69 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.541e-06/0.5001, allocations: 3.984 kB / 0.4918 GB, free: 11.69 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.5001, allocations: 0 / 0.4918 GB, free: 11.69 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.5002, allocations: 19.94 kB / 0.4918 GB, free: 11.67 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.5003, allocations: 4.062 kB / 0.4918 GB, free: 11.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.845e-05/0.5003, allocations: 11.98 kB / 0.4918 GB, free: 11.65 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.5004, allocations: 4 kB / 0.4918 GB, free: 11.65 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 8.757e-05/0.5005, allocations: 108.9 kB / 0.4919 GB, free: 11.54 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.8e-05/0.5006, allocations: 15.81 kB / 0.492 GB, free: 11.52 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002663/0.5008, allocations: 107.2 kB / 0.4921 GB, free: 11.41 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.745e-06/0.5008, allocations: 0 / 0.4921 GB, free: 11.41 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.5009, allocations: 0 / 0.4921 GB, free: 11.41 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.123e-06/0.5009, allocations: 0 / 0.4921 GB, free: 11.41 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007037/0.5016, allocations: 423.2 kB / 0.4925 GB, free: 10.94 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.42e-06/0.5016, allocations: 4 kB / 0.4925 GB, free: 10.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/0.5017, allocations: 23.92 kB / 0.4925 GB, free: 10.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.856e-06/0.5018, allocations: 0 / 0.4925 GB, free: 10.91 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.5018, allocations: 288 / 0.4925 GB, free: 10.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.35e-06/0.5018, allocations: 0 / 0.4925 GB, free: 10.91 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.795e-06/0.5018, allocations: 12.03 kB / 0.4925 GB, free: 10.9 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002802/0.5021, allocations: 205.9 kB / 0.4927 GB, free: 10.67 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.299e-05/0.5022, allocations: 97 kB / 0.4928 GB, free: 10.56 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.015e-05/0.5023, allocations: 7.984 kB / 0.4928 GB, free: 10.55 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.5024, allocations: 4 kB / 0.4928 GB, free: 10.55 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.005e-05/0.5024, allocations: 15.94 kB / 0.4928 GB, free: 10.53 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.5025, allocations: 4 kB / 0.4928 GB, free: 10.53 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000221/0.5027, allocations: 168.2 kB / 0.493 GB, free: 10.36 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.66e-07/0.5027, allocations: 0 / 0.493 GB, free: 10.36 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003745/0.5031, allocations: 27.94 kB / 0.493 GB, free: 10.34 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.001624/0.5047, allocations: 461.5 kB / 0.4934 GB, free: 10.03 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001999/0.505, allocations: 51.98 kB / 0.4935 GB, free: 9.977 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.043e-06/0.505, allocations: 0 / 0.4935 GB, free: 9.977 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.933e-05/0.5051, allocations: 35.92 kB / 0.4935 GB, free: 9.941 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002944/0.5054, allocations: 12 kB / 0.4935 GB, free: 9.93 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005676/0.506, allocations: 239.6 kB / 0.4938 GB, free: 9.664 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004171/0.5064, allocations: 0.717 MB / 0.4945 GB, free: 8.922 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.642e-05/0.5065, allocations: 19.42 kB / 0.4945 GB, free: 8.902 MB / 426.7 MB Notification: Performance of SimCode: time 1.673e-06/0.5065, allocations: 0 / 0.4945 GB, free: 8.902 MB / 426.7 MB Notification: Performance of Templates: time 0.004746/0.5112, allocations: 1.871 MB / 0.4963 GB, free: 7.031 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test5.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.Test5CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test5CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test5CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test5Functions.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.Test5CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test5CalcHelperMain.o] Error 1