Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21") Notification: Performance of loadModel(ModelicaTest): time 2.284/2.284, allocations: 270 MB / 282.7 MB, free: 1.918 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.225e-05/3.238e-05, allocations: 4 kB / 347 MB, free: 3.285 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3686/0.3687, allocations: 61.87 MB / 408.8 MB, free: 10.82 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1366/0.5054, allocations: 88.23 MB / 497.1 MB, free: 2.465 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002382/0.5056, allocations: 71.95 kB / 497.1 MB, free: 2.395 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01647/0.5221, allocations: 4.27 MB / 0.4897 GB, free: 14.11 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.826e-06/0.5222, allocations: 0 / 0.4897 GB, free: 14.11 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.111e-05/0.5222, allocations: 0 / 0.4897 GB, free: 14.11 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.0004324/0.5226, allocations: 362.4 kB / 0.49 GB, free: 13.71 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.5227, allocations: 8.031 kB / 0.49 GB, free: 13.71 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.191e-05/0.5227, allocations: 11.91 kB / 0.49 GB, free: 13.7 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002697/0.523, allocations: 198.9 kB / 0.4902 GB, free: 13.46 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.5231, allocations: 0 / 0.4902 GB, free: 13.46 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.643e-05/0.5231, allocations: 0 / 0.4902 GB, free: 13.46 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001412/0.5232, allocations: 63.36 kB / 0.4903 GB, free: 13.39 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.5233, allocations: 3.938 kB / 0.4903 GB, free: 13.38 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.5233, allocations: 0 / 0.4903 GB, free: 13.38 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.001e-06/0.5233, allocations: 0 / 0.4903 GB, free: 13.38 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.944e-05/0.5234, allocations: 12 kB / 0.4903 GB, free: 13.37 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004141/0.5238, allocations: 284.8 kB / 0.4906 GB, free: 13.04 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001886/0.524, allocations: 34.56 kB / 0.4906 GB, free: 13 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.379e-05/0.524, allocations: 8.859 kB / 0.4906 GB, free: 12.99 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/0.5241, allocations: 0 / 0.4906 GB, free: 12.99 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/0.5241, allocations: 34.56 kB / 0.4906 GB, free: 12.95 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 2.04e-06/0.5241, allocations: 4 kB / 0.4906 GB, free: 12.94 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004349/0.5246, allocations: 97.52 kB / 0.4907 GB, free: 12.84 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.026e-05/0.5247, allocations: 81.11 kB / 0.4908 GB, free: 12.74 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.5248, allocations: 117 kB / 0.4909 GB, free: 12.62 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.47e-05/0.5249, allocations: 29.7 kB / 0.4909 GB, free: 12.59 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.403e-05/0.525, allocations: 162.5 kB / 0.4911 GB, free: 12.43 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.608e-05/0.525, allocations: 23.67 kB / 0.4911 GB, free: 12.4 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.877e-06/0.525, allocations: 0 / 0.4911 GB, free: 12.4 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.5252, allocations: 320 kB / 0.4914 GB, free: 12.08 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.405e-05/0.5252, allocations: 8 kB / 0.4914 GB, free: 12.07 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.402e-05/0.5253, allocations: 25.72 kB / 0.4915 GB, free: 12.04 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.347e-05/0.5254, allocations: 12.12 kB / 0.4915 GB, free: 12.03 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.5254, allocations: 0 / 0.4915 GB, free: 12.03 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001411/0.5255, allocations: 65.64 kB / 0.4915 GB, free: 11.96 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.5256, allocations: 7.984 kB / 0.4915 GB, free: 11.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.981e-06/0.5256, allocations: 0 / 0.4915 GB, free: 11.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.5256, allocations: 4.031 kB / 0.4915 GB, free: 11.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.127e-05/0.5257, allocations: 12 kB / 0.4916 GB, free: 11.94 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.09e-06/0.5257, allocations: 0 / 0.4916 GB, free: 11.94 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.393e-05/0.5258, allocations: 11.98 kB / 0.4916 GB, free: 11.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.707e-06/0.5258, allocations: 0 / 0.4916 GB, free: 11.93 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 9.057e-05/0.5259, allocations: 108.9 kB / 0.4917 GB, free: 11.81 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.401e-05/0.526, allocations: 3.906 kB / 0.4917 GB, free: 11.81 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001863/0.5262, allocations: 81.7 kB / 0.4918 GB, free: 11.72 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.382e-06/0.5262, allocations: 4 kB / 0.4918 GB, free: 11.71 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.919e-06/0.5262, allocations: 144 / 0.4918 GB, free: 11.71 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.544e-06/0.5262, allocations: 7.922 kB / 0.4918 GB, free: 11.71 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004507/0.5267, allocations: 322.5 kB / 0.4921 GB, free: 11.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.621e-06/0.5267, allocations: 0 / 0.4921 GB, free: 11.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.728e-05/0.5268, allocations: 15.98 kB / 0.4921 GB, free: 11.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.528e-06/0.5268, allocations: 0 / 0.4921 GB, free: 11.32 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.358e-06/0.5268, allocations: 4 kB / 0.4921 GB, free: 11.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.549e-06/0.5268, allocations: 4 kB / 0.4921 GB, free: 11.31 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.717e-06/0.5269, allocations: 3.938 kB / 0.4921 GB, free: 11.31 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001954/0.5271, allocations: 159.7 kB / 0.4923 GB, free: 11.14 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.876e-05/0.5272, allocations: 85.02 kB / 0.4923 GB, free: 11.04 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.219e-05/0.5272, allocations: 4 kB / 0.4923 GB, free: 11.03 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.5273, allocations: 11.98 kB / 0.4923 GB, free: 11.02 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.693e-05/0.5274, allocations: 8 kB / 0.4924 GB, free: 11.01 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.394e-06/0.5274, allocations: 0 / 0.4924 GB, free: 11.01 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001101/0.5275, allocations: 103.3 kB / 0.4925 GB, free: 10.91 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.28e-07/0.5275, allocations: 0 / 0.4925 GB, free: 10.91 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003542/0.5279, allocations: 28 kB / 0.4925 GB, free: 10.88 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.001706/0.5296, allocations: 456.7 kB / 0.4929 GB, free: 10.58 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001323/0.5297, allocations: 35.98 kB / 0.493 GB, free: 10.54 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.5298, allocations: 0 / 0.493 GB, free: 10.54 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.701e-05/0.5298, allocations: 16 kB / 0.493 GB, free: 10.53 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002471/0.5301, allocations: 14.8 kB / 0.493 GB, free: 10.52 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003467/0.5304, allocations: 126.7 kB / 0.4931 GB, free: 10.36 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000381/0.5308, allocations: 0.7003 MB / 0.4938 GB, free: 9.633 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.6e-05/0.5309, allocations: 19.44 kB / 0.4938 GB, free: 9.613 MB / 426.7 MB Notification: Performance of SimCode: time 1.493e-06/0.5309, allocations: 0 / 0.4938 GB, free: 9.613 MB / 426.7 MB Notification: Performance of Templates: time 0.004091/0.535, allocations: 1.556 MB / 0.4953 GB, free: 8.055 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21.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.Test21CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21Functions.cpp:208: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.Test21CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21CalcHelperMain.o] Error 1