Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5") Notification: Performance of loadModel(ModelicaTest): time 2.358/2.358, allocations: 270 MB / 282.7 MB, free: 1.762 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.268e-05/3.279e-05, allocations: 4 kB / 347 MB, free: 3.137 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3237/0.3238, allocations: 61.88 MB / 408.8 MB, free: 10.75 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1393/0.4631, allocations: 88.03 MB / 496.9 MB, free: 2.605 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002253/0.4634, allocations: 79.95 kB / 497 MB, free: 2.527 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01681/0.4802, allocations: 4.299 MB / 0.4895 GB, free: 14.21 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.888e-06/0.4803, allocations: 0 / 0.4895 GB, free: 14.21 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.762e-05/0.4803, allocations: 4 kB / 0.4895 GB, free: 14.21 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.0004935/0.4808, allocations: 397.2 kB / 0.4899 GB, free: 13.78 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.4809, allocations: 12.03 kB / 0.4899 GB, free: 13.77 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.507e-05/0.4809, allocations: 11.91 kB / 0.4899 GB, free: 13.76 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003049/0.4812, allocations: 215.4 kB / 0.4901 GB, free: 13.5 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.4813, allocations: 3.938 kB / 0.4901 GB, free: 13.5 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.29e-05/0.4813, allocations: 8 kB / 0.4901 GB, free: 13.49 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.4814, allocations: 49.64 kB / 0.4902 GB, free: 13.44 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.4815, allocations: 0 / 0.4902 GB, free: 13.44 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.584e-06/0.4815, allocations: 0 / 0.4902 GB, free: 13.44 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.4815, allocations: 4 kB / 0.4902 GB, free: 13.43 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.193e-05/0.4816, allocations: 12 kB / 0.4902 GB, free: 13.42 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004795/0.4821, allocations: 296.8 kB / 0.4905 GB, free: 13.08 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.666e-05/0.4822, allocations: 50.48 kB / 0.4905 GB, free: 13.02 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.934e-05/0.4822, allocations: 12.86 kB / 0.4905 GB, free: 13.01 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.4823, allocations: 0 / 0.4905 GB, free: 13.01 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.4823, allocations: 31.69 kB / 0.4906 GB, free: 12.97 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.966e-06/0.4823, allocations: 0 / 0.4906 GB, free: 12.97 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006161/0.4829, allocations: 169.1 kB / 0.4907 GB, free: 12.8 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.726e-05/0.483, allocations: 51.41 kB / 0.4908 GB, free: 12.73 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002974/0.4833, allocations: 206.6 kB / 0.491 GB, free: 12.52 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.4834, allocations: 29.7 kB / 0.491 GB, free: 12.49 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.728e-05/0.4835, allocations: 162.6 kB / 0.4912 GB, free: 12.33 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.202e-05/0.4835, allocations: 31.55 kB / 0.4912 GB, free: 12.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.157e-06/0.4835, allocations: 0 / 0.4912 GB, free: 12.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.4837, allocations: 318.8 kB / 0.4915 GB, free: 11.98 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.278e-05/0.4838, allocations: 20 kB / 0.4915 GB, free: 11.96 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.182e-05/0.4838, allocations: 12 kB / 0.4915 GB, free: 11.95 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.881e-05/0.4839, allocations: 19.98 kB / 0.4915 GB, free: 11.93 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/0.4839, allocations: 7.938 kB / 0.4915 GB, free: 11.92 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001765/0.4841, allocations: 73.67 kB / 0.4916 GB, free: 11.84 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.4841, allocations: 4 kB / 0.4916 GB, free: 11.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.183e-06/0.4841, allocations: 0 / 0.4916 GB, free: 11.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.4842, allocations: 0 / 0.4916 GB, free: 11.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/0.4843, allocations: 19.98 kB / 0.4916 GB, free: 11.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.51e-06/0.4843, allocations: 0 / 0.4916 GB, free: 11.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.678e-05/0.4844, allocations: 12 kB / 0.4917 GB, free: 11.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.4844, allocations: 0 / 0.4917 GB, free: 11.8 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 0.0001034/0.4845, allocations: 112.9 kB / 0.4918 GB, free: 11.69 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.486e-05/0.4846, allocations: 15.75 kB / 0.4918 GB, free: 11.67 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002478/0.4849, allocations: 103.4 kB / 0.4919 GB, free: 11.57 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.277e-06/0.4849, allocations: 0 / 0.4919 GB, free: 11.57 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.636e-06/0.4849, allocations: 0 / 0.4919 GB, free: 11.57 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-06/0.4849, allocations: 4 kB / 0.4919 GB, free: 11.56 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006501/0.4856, allocations: 407.3 kB / 0.4923 GB, free: 11.11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.4856, allocations: 0 / 0.4923 GB, free: 11.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001107/0.4857, allocations: 19.98 kB / 0.4923 GB, free: 11.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.596e-06/0.4857, allocations: 4 kB / 0.4923 GB, free: 11.08 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.83e-06/0.4858, allocations: 0 / 0.4923 GB, free: 11.08 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.4858, allocations: 0 / 0.4923 GB, free: 11.08 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.592e-06/0.4858, allocations: 8.016 kB / 0.4923 GB, free: 11.07 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002581/0.4861, allocations: 201.8 kB / 0.4925 GB, free: 10.85 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.743e-05/0.4862, allocations: 89.02 kB / 0.4926 GB, free: 10.75 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.966e-05/0.4862, allocations: 7.984 kB / 0.4926 GB, free: 10.74 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001174/0.4863, allocations: 12 kB / 0.4926 GB, free: 10.73 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.001e-05/0.4864, allocations: 11.94 kB / 0.4926 GB, free: 10.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.425e-06/0.4864, allocations: 4 kB / 0.4926 GB, free: 10.71 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002145/0.4866, allocations: 164.2 kB / 0.4928 GB, free: 10.55 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.81e-07/0.4867, allocations: 0 / 0.4928 GB, free: 10.55 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003686/0.487, allocations: 31.94 kB / 0.4928 GB, free: 10.52 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.001612/0.4887, allocations: 454.2 kB / 0.4932 GB, free: 10.22 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000168/0.4888, allocations: 47.98 kB / 0.4933 GB, free: 10.17 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.193e-06/0.4889, allocations: 0 / 0.4933 GB, free: 10.17 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.676e-05/0.4889, allocations: 23.94 kB / 0.4933 GB, free: 10.15 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002706/0.4892, allocations: 15.98 kB / 0.4933 GB, free: 10.13 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005483/0.4898, allocations: 223.6 kB / 0.4935 GB, free: 9.883 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004218/0.4902, allocations: 0.7209 MB / 0.4942 GB, free: 9.137 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.503e-05/0.4903, allocations: 19.42 kB / 0.4942 GB, free: 9.117 MB / 426.7 MB Notification: Performance of SimCode: time 1.568e-06/0.4903, allocations: 0 / 0.4942 GB, free: 9.117 MB / 426.7 MB Notification: Performance of Templates: time 0.004596/0.4949, allocations: 1.809 MB / 0.496 GB, free: 7.305 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.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.Test5CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5Functions.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.Test5CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5CalcHelperMain.o] Error 1