Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test28,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28") Notification: Performance of loadModel(ModelicaTest): time 2.455/2.455, allocations: 270 MB / 282.7 MB, free: 1.867 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.449e-05/3.461e-05, allocations: 7.984 kB / 347 MB, free: 3.262 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3256, allocations: 61.87 MB / 408.8 MB, free: 10.81 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1366/0.4623, allocations: 88.03 MB / 496.9 MB, free: 2.66 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000239/0.4626, allocations: 79.94 kB / 496.9 MB, free: 2.582 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01682/0.4794, allocations: 4.375 MB / 0.4896 GB, free: 14.2 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.292e-06/0.4795, allocations: 0 / 0.4896 GB, free: 14.2 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.711e-05/0.4795, 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.0004765/0.48, allocations: 402.1 kB / 0.49 GB, free: 13.75 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.48, allocations: 8.031 kB / 0.49 GB, free: 13.75 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.043e-05/0.4801, allocations: 15.81 kB / 0.49 GB, free: 13.73 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003099/0.4804, allocations: 210.9 kB / 0.4902 GB, free: 13.48 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.4804, allocations: 3.953 kB / 0.4902 GB, free: 13.48 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.457e-05/0.4805, allocations: 4 kB / 0.4902 GB, free: 13.48 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/0.4806, allocations: 45.64 kB / 0.4902 GB, free: 13.43 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.4806, allocations: 3.984 kB / 0.4902 GB, free: 13.42 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.059e-06/0.4806, allocations: 4 kB / 0.4902 GB, free: 13.42 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.574e-06/0.4807, allocations: 0 / 0.4902 GB, free: 13.42 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.164e-05/0.4807, allocations: 16 kB / 0.4903 GB, free: 13.4 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004727/0.4812, allocations: 304.8 kB / 0.4905 GB, free: 13.05 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.614e-05/0.4813, allocations: 38.5 kB / 0.4906 GB, free: 13.01 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.913e-05/0.4814, allocations: 16.86 kB / 0.4906 GB, free: 12.99 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.028e-05/0.4814, allocations: 0 / 0.4906 GB, free: 12.99 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.4815, allocations: 39.69 kB / 0.4906 GB, free: 12.94 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.906e-06/0.4815, allocations: 0 / 0.4906 GB, free: 12.94 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006055/0.4821, allocations: 165.4 kB / 0.4908 GB, free: 12.77 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.026e-05/0.4821, allocations: 51.41 kB / 0.4908 GB, free: 12.71 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003165/0.4825, allocations: 215.1 kB / 0.4911 GB, free: 12.49 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.463e-05/0.4825, allocations: 29.7 kB / 0.4911 GB, free: 12.45 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.4826, allocations: 178.5 kB / 0.4912 GB, free: 12.28 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.448e-05/0.4827, allocations: 27.56 kB / 0.4913 GB, free: 12.25 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.392e-06/0.4827, allocations: 0 / 0.4913 GB, free: 12.25 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.4829, allocations: 314.8 kB / 0.4916 GB, free: 11.93 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.086e-05/0.4829, allocations: 16 kB / 0.4916 GB, free: 11.92 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.317e-05/0.483, allocations: 16 kB / 0.4916 GB, free: 11.9 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.169e-05/0.483, allocations: 12 kB / 0.4916 GB, free: 11.89 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.483, allocations: 3.938 kB / 0.4916 GB, free: 11.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001775/0.4832, allocations: 77.61 kB / 0.4917 GB, free: 11.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.4833, allocations: 8 kB / 0.4917 GB, free: 11.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.076e-06/0.4833, allocations: 4 kB / 0.4917 GB, free: 11.79 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.4833, allocations: 0 / 0.4917 GB, free: 11.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.4834, allocations: 23.98 kB / 0.4917 GB, free: 11.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.777e-06/0.4835, allocations: 0 / 0.4917 GB, free: 11.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.595e-05/0.4835, allocations: 7.984 kB / 0.4917 GB, free: 11.76 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.806e-05/0.4836, allocations: 7.953 kB / 0.4917 GB, free: 11.75 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 8.367e-05/0.4837, allocations: 105 kB / 0.4918 GB, free: 11.64 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.93e-05/0.4837, allocations: 19.81 kB / 0.4919 GB, free: 11.62 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000244/0.484, allocations: 103.4 kB / 0.492 GB, free: 11.52 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.976e-06/0.484, allocations: 0 / 0.492 GB, free: 11.52 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.993e-06/0.484, allocations: 0 / 0.492 GB, free: 11.52 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.279e-06/0.484, allocations: 0 / 0.492 GB, free: 11.52 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006359/0.4847, allocations: 407.3 kB / 0.4924 GB, free: 11.06 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.34e-06/0.4847, allocations: 0 / 0.4924 GB, free: 11.06 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/0.4848, allocations: 28.02 kB / 0.4924 GB, free: 11.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.267e-06/0.4848, allocations: 0 / 0.4924 GB, free: 11.04 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.4849, allocations: 4 kB / 0.4924 GB, free: 11.03 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.4849, allocations: 0 / 0.4924 GB, free: 11.03 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.626e-06/0.4849, allocations: 3.953 kB / 0.4924 GB, free: 11.03 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002654/0.4852, allocations: 201.9 kB / 0.4926 GB, free: 10.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.849e-05/0.4853, allocations: 96.86 kB / 0.4927 GB, free: 10.69 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.128e-05/0.4853, allocations: 8 kB / 0.4927 GB, free: 10.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.4854, allocations: 11.94 kB / 0.4927 GB, free: 10.67 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.337e-05/0.4855, allocations: 7.984 kB / 0.4927 GB, free: 10.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.597e-06/0.4855, allocations: 0 / 0.4927 GB, free: 10.66 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002357/0.4858, allocations: 179.5 kB / 0.4929 GB, free: 10.49 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.64e-07/0.4858, allocations: 0 / 0.4929 GB, free: 10.49 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003712/0.4862, allocations: 31.92 kB / 0.4929 GB, free: 10.46 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.001697/0.4879, allocations: 465.6 kB / 0.4933 GB, free: 10.14 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001758/0.4881, allocations: 43.94 kB / 0.4934 GB, free: 10.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.217e-06/0.4881, allocations: 0 / 0.4934 GB, free: 10.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.488e-05/0.4882, allocations: 20 kB / 0.4934 GB, free: 10.08 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002968/0.4885, allocations: 20.23 kB / 0.4934 GB, free: 10.06 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005837/0.4891, allocations: 240.1 kB / 0.4937 GB, free: 9.793 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004018/0.4895, allocations: 0.716 MB / 0.4944 GB, free: 9.051 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.825e-05/0.4896, allocations: 19.44 kB / 0.4944 GB, free: 9.031 MB / 426.7 MB Notification: Performance of SimCode: time 1.706e-06/0.4896, allocations: 3.938 kB / 0.4944 GB, free: 9.027 MB / 426.7 MB Notification: Performance of Templates: time 0.004534/0.4941, allocations: 1.868 MB / 0.4962 GB, free: 7.156 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.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.Test28CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28Functions.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.CombiTable1Ds.Test28CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28CalcHelperMain.o] Error 1