Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test7") Notification: Performance of loadModel(ModelicaTest): time 2.278/2.278, allocations: 270 MB / 282.7 MB, free: 1.836 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.284e-05/3.294e-05, allocations: 4 kB / 347 MB, free: 3.234 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3226/0.3226, allocations: 61.89 MB / 408.8 MB, free: 10.79 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1534/0.476, allocations: 88.04 MB / 496.9 MB, free: 2.629 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004275/0.4766, allocations: 71.97 kB / 496.9 MB, free: 2.559 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02925/0.5058, allocations: 3.729 MB / 0.4889 GB, free: 14.82 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.45e-06/0.5059, allocations: 4 kB / 0.4889 GB, free: 14.81 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.896e-05/0.506, allocations: 7.984 kB / 0.489 GB, free: 14.8 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.0007716/0.5068, allocations: 366.3 kB / 0.4893 GB, free: 14.4 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.422e-05/0.5069, allocations: 8.031 kB / 0.4893 GB, free: 14.39 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.852e-05/0.507, allocations: 7.906 kB / 0.4893 GB, free: 14.39 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000489/0.5075, allocations: 190.9 kB / 0.4895 GB, free: 14.16 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.536e-05/0.5075, allocations: 4 kB / 0.4895 GB, free: 14.16 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.417e-05/0.5076, allocations: 4 kB / 0.4895 GB, free: 14.15 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002101/0.5078, allocations: 57.52 kB / 0.4896 GB, free: 14.09 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.5079, allocations: 0 / 0.4896 GB, free: 14.09 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.595e-05/0.5079, allocations: 0 / 0.4896 GB, free: 14.09 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.171e-06/0.5079, allocations: 0 / 0.4896 GB, free: 14.09 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001216/0.5081, allocations: 12 kB / 0.4896 GB, free: 14.08 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000878/0.509, allocations: 288.8 kB / 0.4898 GB, free: 13.75 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003645/0.5094, allocations: 46.52 kB / 0.4899 GB, free: 13.69 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.27e-05/0.5095, allocations: 8.859 kB / 0.4899 GB, free: 13.68 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.274e-05/0.5095, allocations: 4.078 kB / 0.4899 GB, free: 13.68 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.486e-05/0.5096, allocations: 38.56 kB / 0.4899 GB, free: 13.63 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 4.034e-06/0.5097, allocations: 0 / 0.4899 GB, free: 13.63 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008957/0.5106, allocations: 117.3 kB / 0.4901 GB, free: 13.51 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.003e-05/0.5107, allocations: 55.41 kB / 0.4901 GB, free: 13.44 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003748/0.5111, allocations: 145.5 kB / 0.4902 GB, free: 13.29 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.033e-05/0.5111, allocations: 25.7 kB / 0.4903 GB, free: 13.26 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000158/0.5113, allocations: 154.6 kB / 0.4904 GB, free: 13.11 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.79e-05/0.5114, allocations: 23.73 kB / 0.4904 GB, free: 13.09 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.186e-06/0.5114, allocations: 0 / 0.4904 GB, free: 13.09 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002639/0.5117, allocations: 310.8 kB / 0.4907 GB, free: 12.77 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.641e-05/0.5118, allocations: 12 kB / 0.4907 GB, free: 12.76 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.624e-05/0.5119, allocations: 12 kB / 0.4908 GB, free: 12.75 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001059/0.5121, allocations: 23.94 kB / 0.4908 GB, free: 12.73 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.789e-06/0.5121, allocations: 0 / 0.4908 GB, free: 12.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003315/0.5124, allocations: 65.62 kB / 0.4908 GB, free: 12.66 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.887e-05/0.5125, allocations: 4 kB / 0.4908 GB, free: 12.65 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.12e-06/0.5125, allocations: 4 kB / 0.4909 GB, free: 12.65 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.5126, allocations: 0 / 0.4909 GB, free: 12.65 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001936/0.5128, allocations: 15.98 kB / 0.4909 GB, free: 12.63 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.5128, allocations: 0 / 0.4909 GB, free: 12.63 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001326/0.513, allocations: 8 kB / 0.4909 GB, free: 12.62 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.75e-05/0.513, allocations: 0 / 0.4909 GB, free: 12.62 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 0.0001674/0.5132, allocations: 114 kB / 0.491 GB, free: 12.51 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/0.5133, allocations: 7.906 kB / 0.491 GB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004049/0.5138, allocations: 77.77 kB / 0.4911 GB, free: 12.42 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.468e-05/0.5138, allocations: 0 / 0.4911 GB, free: 12.42 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.839e-06/0.5138, allocations: 7.875 kB / 0.4911 GB, free: 12.41 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.831e-06/0.5139, allocations: 0 / 0.4911 GB, free: 12.41 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001006/0.5149, allocations: 346.5 kB / 0.4914 GB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.826e-06/0.5149, allocations: 0 / 0.4914 GB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000185/0.5151, allocations: 15.98 kB / 0.4914 GB, free: 12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.528e-06/0.5152, allocations: 0 / 0.4914 GB, free: 12 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/0.5152, allocations: 384 / 0.4914 GB, free: 12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.636e-06/0.5152, allocations: 3.938 kB / 0.4914 GB, free: 12 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.017e-05/0.5153, allocations: 7.984 kB / 0.4914 GB, free: 11.99 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004201/0.5157, allocations: 171.6 kB / 0.4916 GB, free: 11.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001413/0.5159, allocations: 93 kB / 0.4917 GB, free: 11.7 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.303e-05/0.5159, allocations: 0 / 0.4917 GB, free: 11.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000248/0.5162, allocations: 11.98 kB / 0.4917 GB, free: 11.68 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.054e-05/0.5163, allocations: 0 / 0.4917 GB, free: 11.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.957e-05/0.5163, allocations: 4 kB / 0.4917 GB, free: 11.68 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002637/0.5166, allocations: 119.2 kB / 0.4918 GB, free: 11.56 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.358e-06/0.5166, allocations: 0 / 0.4918 GB, free: 11.56 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008563/0.5175, allocations: 20 kB / 0.4918 GB, free: 11.54 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.002774/0.5203, allocations: 391.6 kB / 0.4922 GB, free: 11.28 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000271/0.5206, allocations: 43.86 kB / 0.4922 GB, free: 11.24 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.697e-06/0.5207, allocations: 0 / 0.4922 GB, free: 11.24 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000116/0.5208, allocations: 20 kB / 0.4923 GB, free: 11.22 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005647/0.5214, allocations: 11.94 kB / 0.4923 GB, free: 11.21 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007488/0.5222, allocations: 150.7 kB / 0.4924 GB, free: 11.03 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006787/0.5229, allocations: 0.6991 MB / 0.4931 GB, free: 10.31 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.308e-05/0.523, allocations: 11.44 kB / 0.4931 GB, free: 10.3 MB / 426.7 MB Notification: Performance of SimCode: time 2.27e-06/0.523, allocations: 4 kB / 0.4931 GB, free: 10.29 MB / 426.7 MB Notification: Performance of Templates: time 0.005766/0.5288, allocations: 1.444 MB / 0.4945 GB, free: 8.848 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test7.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.Test7CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test7CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test7CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test7Functions.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.CombiTable1Dv.Test7CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test7CalcHelperMain.o] Error 1