Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12") Notification: Performance of loadModel(ModelicaTest): time 2.327/2.327, allocations: 270 MB / 282.7 MB, free: 1.773 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.176e-05/3.192e-05, allocations: 0 / 347 MB, free: 3.125 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3194/0.3194, allocations: 61.88 MB / 408.8 MB, free: 10.75 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1353/0.4548, allocations: 87.93 MB / 496.8 MB, free: 2.695 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002091/0.455, allocations: 71.97 kB / 496.8 MB, free: 2.625 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01465/0.4697, allocations: 3.748 MB / 0.4889 GB, free: 14.86 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4697, allocations: 0 / 0.4889 GB, free: 14.86 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.635e-05/0.4698, allocations: 8 kB / 0.4889 GB, free: 14.86 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.0004425/0.4702, allocations: 366.4 kB / 0.4892 GB, free: 14.45 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.4703, allocations: 8.031 kB / 0.4892 GB, free: 14.45 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.944e-05/0.4703, allocations: 7.906 kB / 0.4892 GB, free: 14.44 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002757/0.4706, allocations: 194.9 kB / 0.4894 GB, free: 14.21 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.4707, allocations: 3.953 kB / 0.4894 GB, free: 14.2 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/0.4707, allocations: 7.938 kB / 0.4894 GB, free: 14.2 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001069/0.4708, allocations: 41.7 kB / 0.4895 GB, free: 14.15 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.4708, allocations: 4 kB / 0.4895 GB, free: 14.14 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.916e-06/0.4708, allocations: 0 / 0.4895 GB, free: 14.14 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.597e-06/0.4709, allocations: 4 kB / 0.4895 GB, free: 14.14 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.634e-05/0.4709, allocations: 15.98 kB / 0.4895 GB, free: 14.12 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000422/0.4714, allocations: 280.8 kB / 0.4898 GB, free: 13.8 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000185/0.4716, allocations: 42.45 kB / 0.4898 GB, free: 13.75 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.624e-05/0.4716, allocations: 16.86 kB / 0.4898 GB, free: 13.73 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.4717, allocations: 0 / 0.4898 GB, free: 13.73 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.4717, allocations: 30.56 kB / 0.4898 GB, free: 13.69 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 2.014e-06/0.4717, allocations: 0 / 0.4898 GB, free: 13.69 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004479/0.4722, allocations: 105.5 kB / 0.4899 GB, free: 13.58 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.377e-05/0.4722, allocations: 51.41 kB / 0.49 GB, free: 13.52 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002042/0.4724, allocations: 156.8 kB / 0.4901 GB, free: 13.36 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.4725, allocations: 29.64 kB / 0.4902 GB, free: 13.32 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.836e-05/0.4726, allocations: 166.5 kB / 0.4903 GB, free: 13.16 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.123e-05/0.4726, allocations: 7.812 kB / 0.4903 GB, free: 13.15 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.159e-06/0.4726, allocations: 4 kB / 0.4903 GB, free: 13.15 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.4728, allocations: 318.8 kB / 0.4906 GB, free: 12.83 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.298e-05/0.4728, allocations: 12 kB / 0.4907 GB, free: 12.82 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.192e-05/0.4729, allocations: 8 kB / 0.4907 GB, free: 12.81 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.879e-05/0.4729, allocations: 8 kB / 0.4907 GB, free: 12.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.592e-06/0.473, allocations: 4 kB / 0.4907 GB, free: 12.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001385/0.4731, allocations: 61.59 kB / 0.4907 GB, free: 12.73 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.4731, allocations: 8 kB / 0.4907 GB, free: 12.72 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.328e-06/0.4732, allocations: 0 / 0.4907 GB, free: 12.72 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.4732, allocations: 3.984 kB / 0.4907 GB, free: 12.72 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.858e-05/0.4733, allocations: 15.94 kB / 0.4908 GB, free: 12.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.843e-06/0.4733, allocations: 0 / 0.4908 GB, free: 12.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.468e-05/0.4734, allocations: 7.984 kB / 0.4908 GB, free: 12.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.4734, allocations: 8 kB / 0.4908 GB, free: 12.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 8.61e-05/0.4735, allocations: 108.6 kB / 0.4909 GB, free: 12.58 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.617e-05/0.4736, allocations: 7.906 kB / 0.4909 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001864/0.4738, allocations: 77.75 kB / 0.491 GB, free: 12.49 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.096e-06/0.4738, allocations: 4 kB / 0.491 GB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.654e-06/0.4738, allocations: 0 / 0.491 GB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.538e-06/0.4738, allocations: 0 / 0.491 GB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004968/0.4743, allocations: 338.8 kB / 0.4913 GB, free: 12.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.781e-06/0.4743, allocations: 4 kB / 0.4913 GB, free: 12.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.977e-05/0.4744, allocations: 11.98 kB / 0.4913 GB, free: 12.08 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.613e-06/0.4745, allocations: 4 kB / 0.4913 GB, free: 12.08 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.438e-06/0.4745, allocations: 3.938 kB / 0.4913 GB, free: 12.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.318e-06/0.4745, allocations: 0 / 0.4913 GB, free: 12.07 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.637e-06/0.4745, allocations: 0 / 0.4913 GB, free: 12.07 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001976/0.4747, allocations: 167.3 kB / 0.4915 GB, free: 11.89 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.295e-05/0.4748, allocations: 97 kB / 0.4916 GB, free: 11.78 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.07e-05/0.4748, allocations: 0 / 0.4916 GB, free: 11.78 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.4749, allocations: 4 kB / 0.4916 GB, free: 11.78 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.872e-05/0.475, allocations: 7.984 kB / 0.4916 GB, free: 11.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.424e-06/0.475, allocations: 0 / 0.4916 GB, free: 11.77 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001458/0.4752, allocations: 127.2 kB / 0.4917 GB, free: 11.64 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.82e-07/0.4752, allocations: 4 kB / 0.4917 GB, free: 11.64 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003256/0.4755, allocations: 15.94 kB / 0.4917 GB, free: 11.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.001371/0.4769, allocations: 398.1 kB / 0.4921 GB, free: 11.36 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001233/0.477, allocations: 31.94 kB / 0.4921 GB, free: 11.33 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.44e-06/0.4771, allocations: 4 kB / 0.4921 GB, free: 11.33 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.957e-05/0.4771, allocations: 16 kB / 0.4921 GB, free: 11.31 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002472/0.4774, allocations: 15.92 kB / 0.4922 GB, free: 11.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003946/0.4778, allocations: 159.3 kB / 0.4923 GB, free: 11.11 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003939/0.4782, allocations: 0.7004 MB / 0.493 GB, free: 10.38 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.806e-05/0.4783, allocations: 11.44 kB / 0.493 GB, free: 10.37 MB / 426.7 MB Notification: Performance of SimCode: time 1.511e-06/0.4783, allocations: 0 / 0.493 GB, free: 10.37 MB / 426.7 MB Notification: Performance of Templates: time 0.00372/0.482, allocations: 1.443 MB / 0.4944 GB, free: 8.926 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.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.Test12CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12Functions.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.CombiTable1Ds.Test12CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12CalcHelperMain.o] Error 1