Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2") Notification: Performance of loadModel(ModelicaTest): time 2.32/2.32, allocations: 270 MB / 282.6 MB, free: 1.855 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.787e-05/3.799e-05, allocations: 7.984 kB / 347 MB, free: 3.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3262, allocations: 61.86 MB / 408.8 MB, free: 10.82 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1676/0.4938, allocations: 87.94 MB / 496.8 MB, free: 2.766 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004935/0.4944, allocations: 75.97 kB / 496.8 MB, free: 2.691 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01642/0.5108, allocations: 3.67 MB / 0.4888 GB, free: 15.01 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.092e-06/0.5109, allocations: 0 / 0.4888 GB, free: 15.01 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.651e-05/0.5109, allocations: 4 kB / 0.4888 GB, free: 15 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.0004412/0.5114, allocations: 366.3 kB / 0.4891 GB, free: 14.6 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.5114, allocations: 8.031 kB / 0.4891 GB, free: 14.59 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.033e-05/0.5115, allocations: 11.91 kB / 0.4892 GB, free: 14.58 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002628/0.5117, allocations: 186.9 kB / 0.4893 GB, free: 14.36 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.5118, allocations: 4 kB / 0.4893 GB, free: 14.36 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.585e-05/0.5118, allocations: 0 / 0.4893 GB, free: 14.36 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.5119, allocations: 49.58 kB / 0.4894 GB, free: 14.3 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.5119, allocations: 0 / 0.4894 GB, free: 14.3 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/0.512, allocations: 4 kB / 0.4894 GB, free: 14.3 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.359e-06/0.512, allocations: 0 / 0.4894 GB, free: 14.3 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.532e-05/0.5121, allocations: 8 kB / 0.4894 GB, free: 14.29 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004236/0.5125, allocations: 276.9 kB / 0.4897 GB, free: 13.97 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001893/0.5127, allocations: 38.52 kB / 0.4897 GB, free: 13.92 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.822e-05/0.5128, allocations: 12.86 kB / 0.4897 GB, free: 13.91 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.257e-05/0.5128, allocations: 8.016 kB / 0.4897 GB, free: 13.9 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/0.5129, allocations: 30.56 kB / 0.4897 GB, free: 13.86 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 2.304e-06/0.5129, allocations: 0 / 0.4897 GB, free: 13.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004833/0.5134, allocations: 105.4 kB / 0.4898 GB, free: 13.75 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.706e-05/0.5135, allocations: 51.41 kB / 0.4899 GB, free: 13.69 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/0.5137, allocations: 133.1 kB / 0.49 GB, free: 13.55 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.5137, allocations: 29.7 kB / 0.4901 GB, free: 13.51 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.14e-05/0.5138, allocations: 162.5 kB / 0.4902 GB, free: 13.35 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.749e-05/0.5138, allocations: 11.81 kB / 0.4902 GB, free: 13.34 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.512e-06/0.5139, allocations: 0 / 0.4902 GB, free: 13.34 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.514, allocations: 322.8 kB / 0.4905 GB, free: 13.02 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.134e-05/0.5141, allocations: 4 kB / 0.4905 GB, free: 13.01 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.186e-05/0.5141, allocations: 12 kB / 0.4905 GB, free: 13 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.181e-05/0.5142, allocations: 11.98 kB / 0.4906 GB, free: 12.99 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.608e-06/0.5142, allocations: 0 / 0.4906 GB, free: 12.99 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001388/0.5143, allocations: 57.86 kB / 0.4906 GB, free: 12.93 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.5144, allocations: 4 kB / 0.4906 GB, free: 12.92 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.446e-06/0.5144, allocations: 4 kB / 0.4906 GB, free: 12.92 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.5144, allocations: 0 / 0.4906 GB, free: 12.92 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.5145, allocations: 19.98 kB / 0.4906 GB, free: 12.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.178e-06/0.5145, allocations: 0 / 0.4906 GB, free: 12.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.388e-05/0.5146, allocations: 15.98 kB / 0.4906 GB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.5146, allocations: 3.938 kB / 0.4907 GB, free: 12.88 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 8.496e-05/0.5147, allocations: 110 kB / 0.4908 GB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.434e-05/0.5148, allocations: 4 kB / 0.4908 GB, free: 12.76 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001934/0.515, allocations: 69.69 kB / 0.4908 GB, free: 12.69 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.515, allocations: 8 kB / 0.4908 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.515, allocations: 0 / 0.4908 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.157e-06/0.515, allocations: 3.984 kB / 0.4908 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004818/0.5155, allocations: 322.5 kB / 0.4911 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.85e-06/0.5156, allocations: 0 / 0.4911 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.384e-05/0.5157, allocations: 15.98 kB / 0.4912 GB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.821e-06/0.5157, allocations: 0 / 0.4912 GB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.5157, allocations: 11.94 kB / 0.4912 GB, free: 12.28 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/0.5157, allocations: 4 kB / 0.4912 GB, free: 12.27 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.5157, allocations: 0 / 0.4912 GB, free: 12.27 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000188/0.5159, allocations: 155.4 kB / 0.4913 GB, free: 12.11 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.205e-05/0.516, allocations: 89.09 kB / 0.4914 GB, free: 12 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/0.516, allocations: 144 / 0.4914 GB, free: 12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.5162, allocations: 8.188 kB / 0.4914 GB, free: 11.99 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.48e-05/0.5162, allocations: 7.969 kB / 0.4914 GB, free: 11.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.5162, allocations: 11.94 kB / 0.4914 GB, free: 11.97 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001187/0.5164, allocations: 114.4 kB / 0.4915 GB, free: 11.86 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.82e-07/0.5164, allocations: 0 / 0.4915 GB, free: 11.86 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003362/0.5167, allocations: 19.84 kB / 0.4916 GB, free: 11.84 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.00142/0.5182, allocations: 393.4 kB / 0.4919 GB, free: 11.58 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001249/0.5183, allocations: 24 kB / 0.492 GB, free: 11.56 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.979e-06/0.5183, allocations: 0 / 0.492 GB, free: 11.56 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.095e-05/0.5184, allocations: 20.06 kB / 0.492 GB, free: 11.54 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002614/0.5187, allocations: 22.7 kB / 0.492 GB, free: 11.52 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003717/0.519, allocations: 138.5 kB / 0.4921 GB, free: 11.36 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003813/0.5194, allocations: 0.6926 MB / 0.4928 GB, free: 10.64 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.911e-05/0.5195, allocations: 15.42 kB / 0.4928 GB, free: 10.62 MB / 426.7 MB Notification: Performance of SimCode: time 1.707e-06/0.5195, allocations: 4 kB / 0.4928 GB, free: 10.62 MB / 426.7 MB Notification: Performance of Templates: time 0.003661/0.5232, allocations: 1.371 MB / 0.4942 GB, free: 9.246 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.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.Test2CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2Functions.cpp:194: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.CombiTable1Ds.Test2CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2CalcHelperMain.o] Error 1