Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test30,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test30") Notification: Performance of loadModel(ModelicaTest): time 2.448/2.448, allocations: 270.1 MB / 282.7 MB, free: 1.953 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.213e-05/3.225e-05, allocations: 4 kB / 347 MB, free: 3.301 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3235, allocations: 61.87 MB / 408.8 MB, free: 10.82 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1371/0.4606, allocations: 88.14 MB / 497 MB, free: 2.562 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000225/0.4609, allocations: 79.94 kB / 497.1 MB, free: 2.484 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01695/0.4778, allocations: 4.276 MB / 0.4896 GB, free: 14.2 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.072e-06/0.4779, allocations: 0 / 0.4896 GB, free: 14.2 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.636e-05/0.4779, allocations: 4 kB / 0.4896 GB, free: 14.19 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.0004892/0.4784, allocations: 394.1 kB / 0.49 GB, free: 13.76 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.4785, allocations: 12.03 kB / 0.49 GB, free: 13.75 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.169e-05/0.4785, allocations: 11.84 kB / 0.49 GB, free: 13.74 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003042/0.4789, allocations: 199.8 kB / 0.4902 GB, free: 13.5 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.4789, allocations: 0 / 0.4902 GB, free: 13.5 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.419e-05/0.4789, allocations: 4 kB / 0.4902 GB, free: 13.5 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001327/0.4791, allocations: 57.58 kB / 0.4902 GB, free: 13.44 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.4791, allocations: 0 / 0.4902 GB, free: 13.44 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.4791, allocations: 3.984 kB / 0.4902 GB, free: 13.43 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.626e-06/0.4791, allocations: 4 kB / 0.4902 GB, free: 13.43 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.656e-05/0.4792, allocations: 16 kB / 0.4903 GB, free: 13.41 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005688/0.4798, allocations: 312.7 kB / 0.4906 GB, free: 13.06 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/0.4799, allocations: 42.45 kB / 0.4906 GB, free: 13.01 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.56e-05/0.48, allocations: 16.86 kB / 0.4906 GB, free: 12.99 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.48, allocations: 4 kB / 0.4906 GB, free: 12.98 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.48, allocations: 31.78 kB / 0.4906 GB, free: 12.95 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 2.2e-06/0.4801, allocations: 0 / 0.4906 GB, free: 12.95 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006572/0.4807, allocations: 165.4 kB / 0.4908 GB, free: 12.78 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/0.4808, allocations: 51.41 kB / 0.4909 GB, free: 12.71 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002697/0.4811, allocations: 189.3 kB / 0.491 GB, free: 12.53 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.4811, allocations: 25.7 kB / 0.4911 GB, free: 12.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.4812, allocations: 170.5 kB / 0.4912 GB, free: 12.33 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.313e-05/0.4813, allocations: 27.64 kB / 0.4912 GB, free: 12.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.025e-06/0.4813, allocations: 0 / 0.4912 GB, free: 12.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.4815, allocations: 314.8 kB / 0.4915 GB, free: 11.98 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.863e-05/0.4815, allocations: 20 kB / 0.4916 GB, free: 11.96 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.132e-05/0.4816, allocations: 23.98 kB / 0.4916 GB, free: 11.94 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.515e-05/0.4817, allocations: 23.98 kB / 0.4916 GB, free: 11.92 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.725e-06/0.4817, allocations: 4 kB / 0.4916 GB, free: 11.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001998/0.4819, allocations: 89.69 kB / 0.4917 GB, free: 11.82 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.4819, allocations: 4 kB / 0.4917 GB, free: 11.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.075e-06/0.482, allocations: 3.984 kB / 0.4917 GB, free: 11.81 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.482, allocations: 0 / 0.4917 GB, free: 11.81 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.4821, allocations: 23.92 kB / 0.4917 GB, free: 11.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.4821, allocations: 0 / 0.4917 GB, free: 11.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.251e-05/0.4822, allocations: 11.98 kB / 0.4917 GB, free: 11.78 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.4823, allocations: 320 / 0.4917 GB, free: 11.78 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 9.381e-05/0.4824, allocations: 116.9 kB / 0.4919 GB, free: 11.66 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.76e-05/0.4824, allocations: 11.81 kB / 0.4919 GB, free: 11.64 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002719/0.4827, allocations: 114.2 kB / 0.492 GB, free: 11.53 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.222e-06/0.4827, allocations: 0 / 0.492 GB, free: 11.53 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.4827, allocations: 4 kB / 0.492 GB, free: 11.53 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.4828, allocations: 0 / 0.492 GB, free: 11.53 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007028/0.4835, allocations: 423.2 kB / 0.4924 GB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.48e-06/0.4835, allocations: 0 / 0.4924 GB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001165/0.4836, allocations: 19.98 kB / 0.4924 GB, free: 11.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.077e-06/0.4836, allocations: 0 / 0.4924 GB, free: 11.04 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.4837, allocations: 4 kB / 0.4924 GB, free: 11.03 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.757e-06/0.4837, allocations: 0 / 0.4924 GB, free: 11.03 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.357e-06/0.4837, allocations: 0 / 0.4924 GB, free: 11.03 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002813/0.484, allocations: 213.9 kB / 0.4926 GB, free: 10.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.324e-05/0.4841, allocations: 89 kB / 0.4927 GB, free: 10.69 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.279e-05/0.4841, allocations: 8 kB / 0.4927 GB, free: 10.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.4842, allocations: 4 kB / 0.4927 GB, free: 10.68 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.689e-05/0.4843, allocations: 15.88 kB / 0.4927 GB, free: 10.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.33e-05/0.4843, allocations: 4 kB / 0.4927 GB, free: 10.66 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001917/0.4845, allocations: 156.6 kB / 0.4929 GB, free: 10.51 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.81e-07/0.4846, allocations: 0 / 0.4929 GB, free: 10.51 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003718/0.4849, allocations: 27.94 kB / 0.4929 GB, free: 10.48 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.001613/0.4866, allocations: 451 kB / 0.4933 GB, free: 10.18 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002036/0.4868, allocations: 55.92 kB / 0.4934 GB, free: 10.12 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.773e-06/0.4868, allocations: 4 kB / 0.4934 GB, free: 10.12 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.431e-05/0.4869, allocations: 31.98 kB / 0.4934 GB, free: 10.09 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003077/0.4872, allocations: 8 kB / 0.4934 GB, free: 10.08 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006078/0.4879, allocations: 232 kB / 0.4936 GB, free: 9.816 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004173/0.4883, allocations: 0.7082 MB / 0.4943 GB, free: 9.082 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.649e-05/0.4884, allocations: 19.44 kB / 0.4944 GB, free: 9.062 MB / 426.7 MB Notification: Performance of SimCode: time 1.711e-06/0.4884, allocations: 4.062 kB / 0.4944 GB, free: 9.059 MB / 426.7 MB Notification: Performance of Templates: time 0.004639/0.493, allocations: 1.822 MB / 0.4961 GB, free: 7.238 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test30.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.Test30CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test30CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test30CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test30Functions.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.Test30CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test30CalcHelperMain.o] Error 1