Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test6") Notification: Performance of loadModel(ModelicaTest): time 2.38/2.38, allocations: 270 MB / 282.7 MB, free: 1.871 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.464e-05/3.473e-05, allocations: 7.938 kB / 347 MB, free: 3.242 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3237/0.3237, allocations: 61.87 MB / 408.8 MB, free: 10.81 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1385/0.4623, allocations: 88.26 MB / 497.1 MB, free: 2.434 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002261/0.4626, allocations: 71.97 kB / 497.2 MB, free: 2.363 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01827/0.4809, allocations: 4.714 MB / 0.4901 GB, free: 13.64 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.352e-06/0.4809, allocations: 0 / 0.4901 GB, free: 13.64 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.445e-05/0.4809, allocations: 0 / 0.4901 GB, free: 13.64 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005128/0.4815, allocations: 402.1 kB / 0.4905 GB, free: 13.2 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.4815, allocations: 8.031 kB / 0.4905 GB, free: 13.19 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.665e-05/0.4816, allocations: 19.8 kB / 0.4905 GB, free: 13.17 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003107/0.4819, allocations: 216.1 kB / 0.4907 GB, free: 12.92 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.4819, allocations: 8 kB / 0.4907 GB, free: 12.91 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.003e-05/0.482, allocations: 11.98 kB / 0.4908 GB, free: 12.9 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001631/0.4822, allocations: 69.62 kB / 0.4908 GB, free: 12.83 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.4822, allocations: 3.906 kB / 0.4908 GB, free: 12.82 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.4822, allocations: 0 / 0.4908 GB, free: 12.82 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.005e-06/0.4822, allocations: 0 / 0.4908 GB, free: 12.82 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001074/0.4823, allocations: 39.92 kB / 0.4909 GB, free: 12.79 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006093/0.483, allocations: 348.6 kB / 0.4912 GB, free: 12.39 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001445/0.4831, allocations: 58.56 kB / 0.4913 GB, free: 12.33 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.987e-05/0.4832, allocations: 17.02 kB / 0.4913 GB, free: 12.31 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.971e-05/0.4832, allocations: 7.984 kB / 0.4913 GB, free: 12.3 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/0.4833, allocations: 38.5 kB / 0.4913 GB, free: 12.25 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 2.47e-06/0.4833, allocations: 4 kB / 0.4913 GB, free: 12.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008419/0.4841, allocations: 245.1 kB / 0.4916 GB, free: 12 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/0.4842, allocations: 59.36 kB / 0.4916 GB, free: 11.93 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003057/0.4845, allocations: 205.4 kB / 0.4918 GB, free: 11.72 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.932e-05/0.4846, allocations: 29.7 kB / 0.4918 GB, free: 11.69 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.4847, allocations: 174.4 kB / 0.492 GB, free: 11.52 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.494e-05/0.4848, allocations: 43.34 kB / 0.492 GB, free: 11.47 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.062e-05/0.4848, allocations: 8 kB / 0.492 GB, free: 11.46 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.485, allocations: 314.8 kB / 0.4923 GB, free: 11.15 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.775e-05/0.4851, allocations: 32 kB / 0.4924 GB, free: 11.12 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.675e-05/0.4852, allocations: 40.11 kB / 0.4924 GB, free: 11.08 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.955e-05/0.4853, allocations: 43.98 kB / 0.4925 GB, free: 11.04 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.717e-06/0.4853, allocations: 0 / 0.4925 GB, free: 11.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002756/0.4856, allocations: 121.7 kB / 0.4926 GB, free: 10.91 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.4856, allocations: 7.938 kB / 0.4926 GB, free: 10.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.065e-06/0.4856, allocations: 0 / 0.4926 GB, free: 10.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.4857, allocations: 4 kB / 0.4926 GB, free: 10.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001745/0.4858, allocations: 31.98 kB / 0.4926 GB, free: 10.87 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.881e-06/0.4859, allocations: 480 / 0.4926 GB, free: 10.87 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.829e-05/0.4859, allocations: 15.94 kB / 0.4926 GB, free: 10.85 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.424e-05/0.486, allocations: 0 / 0.4926 GB, free: 10.85 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 (13): * Single equations (assignments): 13 * 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.667e-05/0.4861, allocations: 109 kB / 0.4927 GB, free: 10.74 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.406e-05/0.4862, allocations: 15.81 kB / 0.4928 GB, free: 10.72 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003874/0.4866, allocations: 175.1 kB / 0.4929 GB, free: 10.55 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.349e-06/0.4866, allocations: 0 / 0.4929 GB, free: 10.55 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.211e-06/0.4866, allocations: 0 / 0.4929 GB, free: 10.55 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.262e-06/0.4866, allocations: 0 / 0.4929 GB, free: 10.55 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008396/0.4875, allocations: 499.1 kB / 0.4934 GB, free: 10 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.391e-06/0.4875, allocations: 0 / 0.4934 GB, free: 10 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001373/0.4876, allocations: 28.02 kB / 0.4934 GB, free: 9.973 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.265e-05/0.4877, allocations: 7.984 kB / 0.4934 GB, free: 9.965 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.722e-05/0.4877, allocations: 11.89 kB / 0.4934 GB, free: 9.953 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.91e-06/0.4877, allocations: 0 / 0.4934 GB, free: 9.953 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.088e-06/0.4877, allocations: 4 kB / 0.4934 GB, free: 9.949 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003503/0.4881, allocations: 245.9 kB / 0.4937 GB, free: 9.684 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.292e-05/0.4882, allocations: 96.88 kB / 0.4938 GB, free: 9.57 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.068e-05/0.4882, allocations: 7.938 kB / 0.4938 GB, free: 9.562 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001227/0.4884, allocations: 11.98 kB / 0.4938 GB, free: 9.551 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.987e-05/0.4884, allocations: 11.98 kB / 0.4938 GB, free: 9.539 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/0.4884, allocations: 4 kB / 0.4938 GB, free: 9.535 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002117/0.4887, allocations: 164.2 kB / 0.494 GB, free: 9.375 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.8e-07/0.4887, allocations: 0 / 0.494 GB, free: 9.375 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003965/0.4891, allocations: 47.98 kB / 0.494 GB, free: 9.328 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 (13): * Single equations (assignments): 13 * 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.001591/0.4907, allocations: 460.6 kB / 0.4944 GB, free: 9.02 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002488/0.491, allocations: 87.92 kB / 0.4945 GB, free: 8.934 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.009e-06/0.491, allocations: 0 / 0.4945 GB, free: 8.934 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001192/0.4911, allocations: 51.98 kB / 0.4946 GB, free: 8.883 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002845/0.4914, allocations: 24.05 kB / 0.4946 GB, free: 8.859 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006513/0.4921, allocations: 280.1 kB / 0.4949 GB, free: 8.555 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004263/0.4925, allocations: 0.7238 MB / 0.4956 GB, free: 7.805 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.952e-05/0.4926, allocations: 23.42 kB / 0.4956 GB, free: 7.781 MB / 426.7 MB Notification: Performance of SimCode: time 1.5e-06/0.4926, allocations: 0 / 0.4956 GB, free: 7.781 MB / 426.7 MB Notification: Performance of Templates: time 0.004994/0.4976, allocations: 2.173 MB / 0.4977 GB, free: 5.609 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test6.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.Test6CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test6CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test6CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test6Functions.cpp:231:31: error: no matching function for call to 'ModelicaStandardTables_CombiTable1D_init2' externalCombiTable1D__ext = ModelicaStandardTables_CombiTable1D_init2(fileName_.c_str(), tableName_.c_str(), tmp9.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.Test6CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test6CalcHelperMain.o] Error 1