Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1") Notification: Performance of loadModel(ModelicaTest): time 2.36/2.36, allocations: 270 MB / 282.7 MB, free: 1.75 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.983e-05/2.995e-05, allocations: 4 kB / 347 MB, free: 3.137 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.325, allocations: 61.88 MB / 408.8 MB, free: 10.76 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1387/0.4637, allocations: 87.93 MB / 496.8 MB, free: 2.711 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002352/0.464, allocations: 79.95 kB / 496.9 MB, free: 2.633 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01469/0.4787, allocations: 3.666 MB / 0.4888 GB, free: 14.95 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.948e-06/0.4787, allocations: 0 / 0.4888 GB, free: 14.95 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.195e-05/0.4788, allocations: 0 / 0.4888 GB, free: 14.95 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.0004404/0.4792, allocations: 366.3 kB / 0.4891 GB, free: 14.55 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.4793, allocations: 12.03 kB / 0.4891 GB, free: 14.54 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.712e-05/0.4793, allocations: 3.906 kB / 0.4892 GB, free: 14.54 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002739/0.4796, allocations: 200.8 kB / 0.4893 GB, free: 14.3 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.4796, allocations: 0 / 0.4893 GB, free: 14.3 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.912e-05/0.4797, allocations: 4 kB / 0.4893 GB, free: 14.3 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000116/0.4798, allocations: 45.64 kB / 0.4894 GB, free: 14.25 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.4798, allocations: 4 kB / 0.4894 GB, free: 14.24 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.4798, allocations: 0 / 0.4894 GB, free: 14.24 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.4799, allocations: 0 / 0.4894 GB, free: 14.24 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.729e-05/0.4799, allocations: 15.94 kB / 0.4894 GB, free: 14.23 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000434/0.4804, allocations: 276.9 kB / 0.4897 GB, free: 13.91 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001995/0.4806, allocations: 34.56 kB / 0.4897 GB, free: 13.86 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.941e-05/0.4806, allocations: 16.8 kB / 0.4897 GB, free: 13.84 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/0.4807, allocations: 0 / 0.4897 GB, free: 13.84 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/0.4807, allocations: 38.5 kB / 0.4898 GB, free: 13.8 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 2.014e-06/0.4807, allocations: 0 / 0.4898 GB, free: 13.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004475/0.4812, allocations: 97.48 kB / 0.4899 GB, free: 13.7 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.4813, allocations: 55.41 kB / 0.4899 GB, free: 13.63 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001778/0.4814, allocations: 134.6 kB / 0.49 GB, free: 13.49 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.4815, allocations: 29.64 kB / 0.4901 GB, free: 13.45 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.745e-05/0.4816, allocations: 162.6 kB / 0.4902 GB, free: 13.29 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.237e-05/0.4816, allocations: 7.812 kB / 0.4902 GB, free: 13.29 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.795e-06/0.4816, allocations: 0 / 0.4902 GB, free: 13.29 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.4818, allocations: 318.8 kB / 0.4905 GB, free: 12.96 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.511e-05/0.4819, allocations: 15.94 kB / 0.4905 GB, free: 12.95 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.002e-05/0.4819, allocations: 8 kB / 0.4906 GB, free: 12.94 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.039e-05/0.482, allocations: 15.98 kB / 0.4906 GB, free: 12.93 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.518e-06/0.482, allocations: 0 / 0.4906 GB, free: 12.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001379/0.4821, allocations: 53.61 kB / 0.4906 GB, free: 12.87 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.4821, allocations: 8 kB / 0.4906 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.377e-06/0.4822, allocations: 0 / 0.4906 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.4822, allocations: 3.984 kB / 0.4906 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.447e-05/0.4823, allocations: 12 kB / 0.4906 GB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.614e-06/0.4823, allocations: 4 kB / 0.4906 GB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.895e-05/0.4824, allocations: 7.984 kB / 0.4907 GB, free: 12.83 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.389e-05/0.4824, allocations: 8 kB / 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.962e-05/0.4825, allocations: 106 kB / 0.4908 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.184e-05/0.4826, allocations: 7.938 kB / 0.4908 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000193/0.4828, allocations: 77.66 kB / 0.4908 GB, free: 12.62 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.4828, allocations: 144 / 0.4908 GB, free: 12.62 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.265e-06/0.4828, allocations: 4 kB / 0.4908 GB, free: 12.62 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.947e-06/0.4828, allocations: 3.984 kB / 0.4908 GB, free: 12.62 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004716/0.4833, allocations: 326.9 kB / 0.4912 GB, free: 12.24 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.487e-06/0.4833, allocations: 8 kB / 0.4912 GB, free: 12.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.788e-05/0.4834, allocations: 15.98 kB / 0.4912 GB, free: 12.22 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.835e-06/0.4834, allocations: 0 / 0.4912 GB, free: 12.22 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.4835, allocations: 4 kB / 0.4912 GB, free: 12.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.473e-06/0.4835, allocations: 3.938 kB / 0.4912 GB, free: 12.21 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.857e-06/0.4835, allocations: 4 kB / 0.4912 GB, free: 12.21 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001898/0.4837, allocations: 159.4 kB / 0.4913 GB, free: 12.04 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.153e-05/0.4838, allocations: 89.09 kB / 0.4914 GB, free: 11.93 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.905e-05/0.4838, allocations: 0 / 0.4914 GB, free: 11.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.4839, allocations: 4 kB / 0.4914 GB, free: 11.93 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.258e-05/0.484, allocations: 7.984 kB / 0.4914 GB, free: 11.92 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.862e-06/0.484, allocations: 0 / 0.4914 GB, free: 11.92 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001152/0.4841, allocations: 115.1 kB / 0.4916 GB, free: 11.81 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.21e-07/0.4841, allocations: 0 / 0.4916 GB, free: 11.81 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003364/0.4845, allocations: 23.84 kB / 0.4916 GB, free: 11.79 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.001399/0.4859, allocations: 398 kB / 0.492 GB, free: 11.52 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001169/0.486, allocations: 28 kB / 0.492 GB, free: 11.49 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.702e-06/0.4861, allocations: 0 / 0.492 GB, free: 11.49 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.07e-05/0.4861, allocations: 19.94 kB / 0.492 GB, free: 11.47 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002547/0.4864, allocations: 15.94 kB / 0.492 GB, free: 11.46 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003713/0.4868, allocations: 138.5 kB / 0.4921 GB, free: 11.3 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003896/0.4872, allocations: 0.6965 MB / 0.4928 GB, free: 10.57 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.722e-05/0.4872, allocations: 15.42 kB / 0.4928 GB, free: 10.56 MB / 426.7 MB Notification: Performance of SimCode: time 1.412e-06/0.4873, allocations: 0 / 0.4928 GB, free: 10.56 MB / 426.7 MB Notification: Performance of Templates: time 0.003631/0.4909, allocations: 1.372 MB / 0.4942 GB, free: 9.184 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.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.Test1CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1Functions.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.Test1CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1CalcHelperMain.o] Error 1