Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test19,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test19") Notification: Performance of loadModel(ModelicaTest): time 2.465/2.465, allocations: 270 MB / 282.7 MB, free: 1.773 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.984e-05/2.993e-05, allocations: 4 kB / 347 MB, free: 3.121 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.3248, allocations: 61.89 MB / 408.8 MB, free: 10.73 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1392/0.464, allocations: 88.33 MB / 497.2 MB, free: 2.273 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002376/0.4643, allocations: 75.95 kB / 497.3 MB, free: 2.199 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01683/0.4811, allocations: 4.282 MB / 0.4898 GB, free: 13.91 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.361e-06/0.4812, allocations: 0 / 0.4898 GB, free: 13.91 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.21e-05/0.4812, allocations: 0 / 0.4898 GB, free: 13.91 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.0004538/0.4817, allocations: 370.3 kB / 0.4901 GB, free: 13.5 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.4817, allocations: 8.031 kB / 0.4901 GB, free: 13.49 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.144e-05/0.4818, allocations: 7.906 kB / 0.4902 GB, free: 13.48 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002565/0.482, allocations: 187 kB / 0.4903 GB, free: 13.26 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.4821, allocations: 4 kB / 0.4903 GB, free: 13.26 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.634e-05/0.4821, allocations: 0 / 0.4903 GB, free: 13.26 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/0.4822, allocations: 67.36 kB / 0.4904 GB, free: 13.18 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.4823, allocations: 3.938 kB / 0.4904 GB, free: 13.18 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.4823, allocations: 0 / 0.4904 GB, free: 13.18 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.341e-06/0.4823, allocations: 0 / 0.4904 GB, free: 13.18 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.089e-05/0.4824, allocations: 15.94 kB / 0.4904 GB, free: 13.16 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004795/0.4829, allocations: 284.9 kB / 0.4907 GB, free: 12.83 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001976/0.4831, allocations: 38.56 kB / 0.4907 GB, free: 12.79 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.908e-05/0.4831, allocations: 12.86 kB / 0.4907 GB, free: 12.77 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.4832, allocations: 7.984 kB / 0.4907 GB, free: 12.76 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/0.4832, allocations: 38.64 kB / 0.4908 GB, free: 12.71 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 4.848e-06/0.4832, allocations: 0 / 0.4908 GB, free: 12.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004726/0.4837, allocations: 113.3 kB / 0.4909 GB, free: 12.6 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.075e-05/0.4838, allocations: 77.11 kB / 0.491 GB, free: 12.5 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001584/0.484, allocations: 121 kB / 0.4911 GB, free: 12.38 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.65e-05/0.484, allocations: 29.7 kB / 0.4911 GB, free: 12.34 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.844e-05/0.4841, allocations: 158.5 kB / 0.4913 GB, free: 12.19 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.914e-05/0.4842, allocations: 15.75 kB / 0.4913 GB, free: 12.17 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-06/0.4842, allocations: 8 kB / 0.4913 GB, free: 12.16 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.4843, allocations: 312 kB / 0.4916 GB, free: 11.85 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.556e-05/0.4844, allocations: 15.98 kB / 0.4916 GB, free: 11.84 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.273e-05/0.4845, allocations: 25.66 kB / 0.4916 GB, free: 11.8 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.953e-05/0.4845, allocations: 15.95 kB / 0.4916 GB, free: 11.79 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.569e-06/0.4845, allocations: 0 / 0.4916 GB, free: 11.79 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001562/0.4847, allocations: 65.67 kB / 0.4917 GB, free: 11.72 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.4847, allocations: 8 kB / 0.4917 GB, free: 11.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.566e-06/0.4848, allocations: 4.031 kB / 0.4917 GB, free: 11.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.4848, allocations: 0 / 0.4917 GB, free: 11.71 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.4849, allocations: 12 kB / 0.4917 GB, free: 11.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.146e-06/0.4849, allocations: 0 / 0.4917 GB, free: 11.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.39e-05/0.485, allocations: 7.984 kB / 0.4917 GB, free: 11.69 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.066e-06/0.485, allocations: 0 / 0.4917 GB, free: 11.69 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 9.346e-05/0.4851, allocations: 116.9 kB / 0.4918 GB, free: 11.57 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.693e-05/0.4852, allocations: 11.91 kB / 0.4919 GB, free: 11.55 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000204/0.4854, allocations: 73.77 kB / 0.4919 GB, free: 11.47 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.04e-06/0.4854, allocations: 0 / 0.4919 GB, free: 11.47 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/0.4854, allocations: 0 / 0.4919 GB, free: 11.47 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.4854, allocations: 3.938 kB / 0.4919 GB, free: 11.47 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005089/0.486, allocations: 346.8 kB / 0.4923 GB, free: 11.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.95e-06/0.486, allocations: 4 kB / 0.4923 GB, free: 11.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.263e-05/0.4861, allocations: 11.98 kB / 0.4923 GB, free: 11.06 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.834e-06/0.4861, allocations: 8 kB / 0.4923 GB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.675e-06/0.4861, allocations: 0 / 0.4923 GB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.67e-06/0.4861, allocations: 0 / 0.4923 GB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.4861, allocations: 0 / 0.4923 GB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002057/0.4864, allocations: 163.4 kB / 0.4924 GB, free: 10.88 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.467e-05/0.4864, allocations: 93 kB / 0.4925 GB, free: 10.77 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.053e-05/0.4865, allocations: 0 / 0.4925 GB, free: 10.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.4866, allocations: 8 kB / 0.4925 GB, free: 10.76 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.167e-05/0.4867, allocations: 7.984 kB / 0.4925 GB, free: 10.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.674e-06/0.4867, allocations: 0 / 0.4925 GB, free: 10.75 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001087/0.4868, allocations: 103.3 kB / 0.4926 GB, free: 10.65 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.29e-07/0.4868, allocations: 0 / 0.4926 GB, free: 10.65 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003684/0.4872, allocations: 27.98 kB / 0.4927 GB, free: 10.62 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.001559/0.4888, allocations: 462.1 kB / 0.4931 GB, free: 10.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001395/0.4889, allocations: 28 kB / 0.4931 GB, free: 10.28 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.028e-06/0.4889, allocations: 0 / 0.4931 GB, free: 10.28 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.821e-05/0.489, allocations: 23.92 kB / 0.4932 GB, free: 10.25 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002491/0.4893, allocations: 15.95 kB / 0.4932 GB, free: 10.24 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003641/0.4896, allocations: 130.7 kB / 0.4933 GB, free: 10.08 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003906/0.49, allocations: 0.7004 MB / 0.494 GB, free: 9.352 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.58e-05/0.4901, allocations: 19.42 kB / 0.494 GB, free: 9.332 MB / 426.7 MB Notification: Performance of SimCode: time 1.931e-06/0.4901, allocations: 0 / 0.494 GB, free: 9.332 MB / 426.7 MB Notification: Performance of Templates: time 0.004233/0.4944, allocations: 1.598 MB / 0.4956 GB, free: 7.73 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test19.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.Test19CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test19CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test19CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test19Functions.cpp:208: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.CombiTable1Dv.Test19CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test19CalcHelperMain.o] Error 1