Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8") Notification: Performance of loadModel(ModelicaTest): time 2.4/2.4, allocations: 270 MB / 282.7 MB, free: 1.789 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.241e-05/3.257e-05, allocations: 4 kB / 347 MB, free: 3.148 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.3215, allocations: 61.88 MB / 408.8 MB, free: 10.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1349/0.4565, allocations: 87.93 MB / 496.8 MB, free: 2.719 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002388/0.4567, allocations: 71.97 kB / 496.8 MB, free: 2.648 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0146/0.4714, allocations: 3.698 MB / 0.4888 GB, free: 14.94 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4714, allocations: 4 kB / 0.4888 GB, free: 14.94 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.216e-05/0.4714, allocations: 4 kB / 0.4888 GB, free: 14.93 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.0004422/0.4719, allocations: 366.3 kB / 0.4892 GB, free: 14.53 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.4719, allocations: 8.031 kB / 0.4892 GB, free: 14.52 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.543e-05/0.472, allocations: 7.906 kB / 0.4892 GB, free: 14.52 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002565/0.4723, allocations: 187 kB / 0.4894 GB, free: 14.29 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.4723, allocations: 0 / 0.4894 GB, free: 14.29 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.315e-05/0.4723, allocations: 12 kB / 0.4894 GB, free: 14.28 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001189/0.4725, allocations: 49.64 kB / 0.4894 GB, free: 14.23 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.4725, allocations: 0 / 0.4894 GB, free: 14.23 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.642e-06/0.4725, allocations: 3.938 kB / 0.4894 GB, free: 14.22 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.4725, allocations: 0 / 0.4894 GB, free: 14.22 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.898e-05/0.4726, allocations: 15.94 kB / 0.4894 GB, free: 14.21 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000428/0.473, allocations: 276.8 kB / 0.4897 GB, free: 13.89 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001909/0.4732, allocations: 42.56 kB / 0.4897 GB, free: 13.84 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.452e-05/0.4733, allocations: 12.86 kB / 0.4898 GB, free: 13.82 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.4733, allocations: 3.984 kB / 0.4898 GB, free: 13.82 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.4734, allocations: 30.56 kB / 0.4898 GB, free: 13.78 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 2.271e-06/0.4734, allocations: 3.938 kB / 0.4898 GB, free: 13.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004514/0.4738, allocations: 101.6 kB / 0.4899 GB, free: 13.67 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.716e-05/0.4739, allocations: 59.39 kB / 0.4899 GB, free: 13.6 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001847/0.4741, allocations: 141.5 kB / 0.4901 GB, free: 13.45 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.653e-05/0.4741, allocations: 29.7 kB / 0.4901 GB, free: 13.42 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.566e-05/0.4742, allocations: 158.6 kB / 0.4903 GB, free: 13.26 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.6e-05/0.4743, allocations: 15.73 kB / 0.4903 GB, free: 13.25 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.963e-06/0.4743, allocations: 8 kB / 0.4903 GB, free: 13.24 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.4745, allocations: 310.8 kB / 0.4906 GB, free: 12.93 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.685e-05/0.4745, allocations: 11.94 kB / 0.4906 GB, free: 12.91 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.892e-05/0.4745, allocations: 8 kB / 0.4906 GB, free: 12.91 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.841e-05/0.4746, allocations: 15.95 kB / 0.4906 GB, free: 12.89 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.572e-06/0.4746, allocations: 0 / 0.4906 GB, free: 12.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001394/0.4748, allocations: 61.67 kB / 0.4907 GB, free: 12.82 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.4748, allocations: 4 kB / 0.4907 GB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.108e-06/0.4748, allocations: 0 / 0.4907 GB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.4748, allocations: 0 / 0.4907 GB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.4749, allocations: 19.98 kB / 0.4907 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.475, allocations: 0 / 0.4907 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.148e-05/0.475, allocations: 12 kB / 0.4907 GB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.775e-06/0.475, allocations: 0 / 0.4907 GB, free: 12.79 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.523e-05/0.4751, allocations: 109.1 kB / 0.4908 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.912e-05/0.4752, allocations: 7.906 kB / 0.4908 GB, free: 12.67 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001959/0.4754, allocations: 73.7 kB / 0.4909 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.953e-06/0.4754, allocations: 4 kB / 0.4909 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.821e-06/0.4754, allocations: 0 / 0.4909 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.229e-06/0.4755, allocations: 320 / 0.4909 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004737/0.4759, allocations: 346.4 kB / 0.4912 GB, free: 12.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.528e-06/0.476, allocations: 0 / 0.4912 GB, free: 12.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.73e-05/0.4761, allocations: 19.92 kB / 0.4912 GB, free: 12.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.892e-06/0.4761, allocations: 0 / 0.4912 GB, free: 12.18 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.4761, allocations: 0 / 0.4912 GB, free: 12.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.393e-06/0.4761, allocations: 0 / 0.4912 GB, free: 12.18 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.602e-06/0.4761, allocations: 4 kB / 0.4912 GB, free: 12.17 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001955/0.4763, allocations: 163.4 kB / 0.4914 GB, free: 12 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.826e-05/0.4764, allocations: 85.09 kB / 0.4915 GB, free: 11.89 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.943e-05/0.4764, allocations: 0 / 0.4915 GB, free: 11.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.4766, allocations: 4 kB / 0.4915 GB, free: 11.89 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.338e-05/0.4766, allocations: 11.98 kB / 0.4915 GB, free: 11.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.046e-06/0.4766, allocations: 0 / 0.4915 GB, free: 11.88 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001392/0.4768, allocations: 119.2 kB / 0.4916 GB, free: 11.76 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.62e-07/0.4768, allocations: 4 kB / 0.4916 GB, free: 11.76 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003339/0.4771, allocations: 12 kB / 0.4916 GB, free: 11.75 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.001403/0.4786, allocations: 407 kB / 0.492 GB, free: 11.47 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000133/0.4787, allocations: 32 kB / 0.492 GB, free: 11.44 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.208e-06/0.4787, allocations: 0 / 0.492 GB, free: 11.44 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.485e-05/0.4788, allocations: 19.88 kB / 0.4921 GB, free: 11.42 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002857/0.4791, allocations: 19.94 kB / 0.4921 GB, free: 11.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003895/0.4795, allocations: 138.7 kB / 0.4922 GB, free: 11.24 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003749/0.4799, allocations: 0.7004 MB / 0.4929 GB, free: 10.51 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.29e-05/0.48, allocations: 15.44 kB / 0.4929 GB, free: 10.5 MB / 426.7 MB Notification: Performance of SimCode: time 1.665e-06/0.48, allocations: 4 kB / 0.4929 GB, free: 10.49 MB / 426.7 MB Notification: Performance of Templates: time 0.003791/0.4838, allocations: 1.41 MB / 0.4943 GB, free: 9.082 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.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.Test8CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8Functions.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.Test8CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8CalcHelperMain.o] Error 1