Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7") Notification: Performance of loadModel(ModelicaTest): time 2.281/2.281, allocations: 270 MB / 282.7 MB, free: 1.922 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.977e-05/2.996e-05, allocations: 0 / 347 MB, free: 3.281 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4116/0.4116, allocations: 61.87 MB / 408.8 MB, free: 10.82 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1363/0.548, allocations: 87.93 MB / 496.8 MB, free: 2.77 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002408/0.5483, allocations: 71.97 kB / 496.8 MB, free: 2.699 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01479/0.5631, allocations: 3.717 MB / 0.4888 GB, free: 14.97 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.759e-06/0.5631, allocations: 0 / 0.4888 GB, free: 14.97 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.28e-05/0.5632, allocations: 7.938 kB / 0.4888 GB, free: 14.96 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.0004396/0.5636, allocations: 370.3 kB / 0.4892 GB, free: 14.56 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.5637, allocations: 8.031 kB / 0.4892 GB, free: 14.55 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.216e-05/0.5637, allocations: 7.906 kB / 0.4892 GB, free: 14.54 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002674/0.564, allocations: 190.9 kB / 0.4894 GB, free: 14.32 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.564, allocations: 0 / 0.4894 GB, free: 14.32 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.182e-05/0.5641, allocations: 8 kB / 0.4894 GB, free: 14.31 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/0.5642, allocations: 45.64 kB / 0.4894 GB, free: 14.26 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.5642, allocations: 0 / 0.4894 GB, free: 14.26 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.5642, allocations: 0 / 0.4894 GB, free: 14.26 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.746e-06/0.5643, allocations: 7.938 kB / 0.4894 GB, free: 14.25 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.851e-05/0.5643, allocations: 12 kB / 0.4894 GB, free: 14.24 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004122/0.5647, allocations: 280.8 kB / 0.4897 GB, free: 13.91 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001887/0.565, allocations: 38.56 kB / 0.4898 GB, free: 13.87 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.779e-05/0.565, allocations: 12.86 kB / 0.4898 GB, free: 13.85 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.565, allocations: 4 kB / 0.4898 GB, free: 13.85 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/0.5651, allocations: 30.56 kB / 0.4898 GB, free: 13.81 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 2.043e-06/0.5651, allocations: 0 / 0.4898 GB, free: 13.81 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004403/0.5655, allocations: 105.4 kB / 0.4899 GB, free: 13.7 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.42e-05/0.5656, allocations: 51.41 kB / 0.4899 GB, free: 13.64 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001896/0.5658, allocations: 145.4 kB / 0.4901 GB, free: 13.49 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.742e-05/0.5658, allocations: 29.7 kB / 0.4901 GB, free: 13.45 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.005e-05/0.5659, allocations: 162.6 kB / 0.4903 GB, free: 13.29 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.439e-05/0.566, allocations: 11.75 kB / 0.4903 GB, free: 13.28 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.016e-05/0.566, allocations: 8 kB / 0.4903 GB, free: 13.27 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.5662, allocations: 314.8 kB / 0.4906 GB, free: 12.96 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.553e-05/0.5662, allocations: 8 kB / 0.4906 GB, free: 12.95 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.857e-05/0.5663, allocations: 8 kB / 0.4906 GB, free: 12.94 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.02e-05/0.5663, allocations: 11.95 kB / 0.4906 GB, free: 12.93 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.495e-06/0.5663, allocations: 0 / 0.4906 GB, free: 12.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001423/0.5665, allocations: 65.81 kB / 0.4907 GB, free: 12.86 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.5665, allocations: 8 kB / 0.4907 GB, free: 12.85 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.818e-06/0.5665, allocations: 0 / 0.4907 GB, free: 12.85 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.5665, allocations: 0 / 0.4907 GB, free: 12.85 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.5666, allocations: 19.98 kB / 0.4907 GB, free: 12.83 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.806e-06/0.5667, allocations: 0 / 0.4907 GB, free: 12.83 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.751e-05/0.5667, allocations: 8 kB / 0.4907 GB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.525e-06/0.5668, allocations: 0 / 0.4907 GB, free: 12.82 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.747e-05/0.5669, allocations: 110 kB / 0.4908 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.689e-05/0.5669, allocations: 7.906 kB / 0.4908 GB, free: 12.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001914/0.5671, allocations: 77.7 kB / 0.4909 GB, free: 12.62 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.545e-06/0.5671, allocations: 4 kB / 0.4909 GB, free: 12.62 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.174e-06/0.5672, allocations: 3.938 kB / 0.4909 GB, free: 12.61 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.482e-06/0.5672, allocations: 0 / 0.4909 GB, free: 12.61 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000472/0.5676, allocations: 330.5 kB / 0.4912 GB, free: 12.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.676e-06/0.5677, allocations: 3.938 kB / 0.4912 GB, free: 12.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.089e-05/0.5678, allocations: 19.98 kB / 0.4912 GB, free: 12.21 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.668e-06/0.5678, allocations: 0 / 0.4912 GB, free: 12.21 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.969e-06/0.5678, allocations: 0 / 0.4912 GB, free: 12.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.416e-06/0.5678, allocations: 0 / 0.4912 GB, free: 12.21 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.111e-06/0.5678, allocations: 4 kB / 0.4912 GB, free: 12.21 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002081/0.568, allocations: 159.6 kB / 0.4914 GB, free: 12.04 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.447e-05/0.5681, allocations: 89 kB / 0.4915 GB, free: 11.93 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/0.5682, allocations: 3.984 kB / 0.4915 GB, free: 11.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.5683, allocations: 12.25 kB / 0.4915 GB, free: 11.91 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.463e-05/0.5683, allocations: 4 kB / 0.4915 GB, free: 11.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.5684, allocations: 7.984 kB / 0.4915 GB, free: 11.9 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001351/0.5685, allocations: 119.2 kB / 0.4916 GB, free: 11.79 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.27e-07/0.5685, allocations: 4 kB / 0.4916 GB, free: 11.78 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003282/0.5689, allocations: 12 kB / 0.4916 GB, free: 11.77 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.001373/0.5702, allocations: 400.1 kB / 0.492 GB, free: 11.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001263/0.5704, allocations: 35.94 kB / 0.4921 GB, free: 11.47 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.513e-06/0.5704, allocations: 0 / 0.4921 GB, free: 11.47 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.558e-05/0.5705, allocations: 12 kB / 0.4921 GB, free: 11.46 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002535/0.5707, allocations: 30.72 kB / 0.4921 GB, free: 11.43 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000371/0.5711, allocations: 138.7 kB / 0.4922 GB, free: 11.27 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000387/0.5715, allocations: 0.6965 MB / 0.4929 GB, free: 10.54 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.203e-05/0.5716, allocations: 15.44 kB / 0.4929 GB, free: 10.53 MB / 426.7 MB Notification: Performance of SimCode: time 1.38e-06/0.5716, allocations: 0 / 0.4929 GB, free: 10.53 MB / 426.7 MB Notification: Performance of Templates: time 0.00367/0.5753, allocations: 1.402 MB / 0.4943 GB, free: 9.125 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.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.Test7CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7Functions.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.Test7CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7CalcHelperMain.o] Error 1