Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test16,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test16") Notification: Performance of loadModel(ModelicaTest): time 2.347/2.347, allocations: 270 MB / 282.7 MB, free: 1.922 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.104e-05/3.108e-05, allocations: 8 kB / 347 MB, free: 3.289 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3233/0.3233, allocations: 61.88 MB / 408.8 MB, free: 10.8 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1696/0.493, allocations: 88.14 MB / 497 MB, free: 2.543 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003758/0.4934, allocations: 79.94 kB / 497.1 MB, free: 2.465 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0264/0.5199, allocations: 4.268 MB / 0.4896 GB, free: 14.18 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.954e-06/0.5199, allocations: 0 / 0.4896 GB, free: 14.18 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.791e-05/0.52, allocations: 0 / 0.4896 GB, free: 14.18 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.0006656/0.5206, allocations: 402.1 kB / 0.49 GB, free: 13.75 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.752e-05/0.5207, allocations: 8.031 kB / 0.49 GB, free: 13.74 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.516e-05/0.5208, allocations: 15.91 kB / 0.49 GB, free: 13.72 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004314/0.5213, allocations: 195.8 kB / 0.4902 GB, free: 13.49 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.5213, allocations: 0 / 0.4902 GB, free: 13.49 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.699e-05/0.5214, allocations: 8 kB / 0.4902 GB, free: 13.48 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001967/0.5216, allocations: 53.56 kB / 0.4902 GB, free: 13.43 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.5216, allocations: 4 kB / 0.4902 GB, free: 13.42 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.5217, allocations: 0 / 0.4902 GB, free: 13.42 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.5217, allocations: 0 / 0.4902 GB, free: 13.42 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001136/0.5218, allocations: 23.98 kB / 0.4903 GB, free: 13.4 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000778/0.5226, allocations: 304.8 kB / 0.4906 GB, free: 13.05 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001684/0.5228, allocations: 46.44 kB / 0.4906 GB, free: 13 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.297e-05/0.5229, allocations: 12.86 kB / 0.4906 GB, free: 12.98 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.955e-05/0.523, allocations: 0 / 0.4906 GB, free: 12.98 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.056e-05/0.523, allocations: 39.69 kB / 0.4906 GB, free: 12.93 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 3.147e-06/0.523, allocations: 0 / 0.4906 GB, free: 12.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.005978/0.529, allocations: 169.2 kB / 0.4908 GB, free: 12.76 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.102e-05/0.5291, allocations: 51.41 kB / 0.4909 GB, free: 12.7 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004865/0.5297, allocations: 185.3 kB / 0.491 GB, free: 12.52 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.673e-05/0.5297, allocations: 25.7 kB / 0.4911 GB, free: 12.48 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001607/0.5299, allocations: 166.5 kB / 0.4912 GB, free: 12.32 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.788e-05/0.53, allocations: 31.7 kB / 0.4912 GB, free: 12.29 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.499e-05/0.53, allocations: 4 kB / 0.4913 GB, free: 12.29 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002502/0.5303, allocations: 318.8 kB / 0.4916 GB, free: 11.96 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001106/0.5304, allocations: 20 kB / 0.4916 GB, free: 11.95 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001097/0.5306, allocations: 19.98 kB / 0.4916 GB, free: 11.93 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001272/0.5307, allocations: 28.16 kB / 0.4916 GB, free: 11.9 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.042e-06/0.5307, allocations: 3.984 kB / 0.4916 GB, free: 11.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003746/0.5311, allocations: 85.62 kB / 0.4917 GB, free: 11.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.5312, allocations: 8 kB / 0.4917 GB, free: 11.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.786e-06/0.5312, allocations: 288 / 0.4917 GB, free: 11.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.5312, allocations: 4 kB / 0.4917 GB, free: 11.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002476/0.5315, allocations: 19.98 kB / 0.4917 GB, free: 11.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.5315, allocations: 0 / 0.4917 GB, free: 11.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001328/0.5317, allocations: 11.98 kB / 0.4917 GB, free: 11.76 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.256e-05/0.5317, allocations: 4 kB / 0.4918 GB, free: 11.76 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.0001405/0.5319, allocations: 104.9 kB / 0.4919 GB, free: 11.65 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/0.532, allocations: 19.8 kB / 0.4919 GB, free: 11.63 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000434/0.5325, allocations: 114.2 kB / 0.492 GB, free: 11.52 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.756e-06/0.5325, allocations: 0 / 0.492 GB, free: 11.52 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.881e-06/0.5325, allocations: 0 / 0.492 GB, free: 11.52 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.878e-06/0.5325, allocations: 0 / 0.492 GB, free: 11.52 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001091/0.5336, allocations: 419.2 kB / 0.4924 GB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.795e-06/0.5337, allocations: 0 / 0.4924 GB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001944/0.5339, allocations: 24.02 kB / 0.4924 GB, free: 11.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.368e-06/0.5339, allocations: 0 / 0.4924 GB, free: 11.02 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.976e-05/0.534, allocations: 4 kB / 0.4924 GB, free: 11.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.126e-06/0.534, allocations: 4 kB / 0.4924 GB, free: 11.02 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.012e-06/0.534, allocations: 0 / 0.4924 GB, free: 11.02 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004417/0.5345, allocations: 202 kB / 0.4926 GB, free: 10.79 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001325/0.5346, allocations: 101 kB / 0.4927 GB, free: 10.68 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.523e-05/0.5347, allocations: 7.938 kB / 0.4927 GB, free: 10.67 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002055/0.5349, allocations: 4 kB / 0.4927 GB, free: 10.66 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.678e-05/0.535, allocations: 19.88 kB / 0.4927 GB, free: 10.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/0.535, allocations: 0 / 0.4927 GB, free: 10.64 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003199/0.5354, allocations: 152.6 kB / 0.4929 GB, free: 10.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.242e-06/0.5354, allocations: 0 / 0.4929 GB, free: 10.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006926/0.5361, allocations: 27.94 kB / 0.4929 GB, free: 10.47 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.00257/0.5387, allocations: 460.3 kB / 0.4933 GB, free: 10.16 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002922/0.539, allocations: 55.92 kB / 0.4934 GB, free: 10.11 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.252e-06/0.5391, allocations: 0 / 0.4934 GB, free: 10.11 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02287/0.5619, allocations: 31.98 kB / 0.4934 GB, free: 10.07 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005031/0.5625, allocations: 15.16 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.0009839/0.5635, allocations: 228 kB / 0.4937 GB, free: 9.801 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007347/0.5643, allocations: 0.7121 MB / 0.4944 GB, free: 9.062 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001289/0.5645, allocations: 23.36 kB / 0.4944 GB, free: 9.039 MB / 426.7 MB Notification: Performance of SimCode: time 2.932e-06/0.5645, allocations: 0 / 0.4944 GB, free: 9.039 MB / 426.7 MB Notification: Performance of Templates: time 0.02758/0.5921, allocations: 1.815 MB / 0.4961 GB, free: 7.223 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test16.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.Test16CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test16CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test16CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test16Functions.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.CombiTable1Dv.Test16CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test16CalcHelperMain.o] Error 1