Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test12") Notification: Performance of loadModel(ModelicaTest): time 2.411/2.411, allocations: 270 MB / 282.7 MB, free: 1.93 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.284e-05/3.303e-05, allocations: 4 kB / 347 MB, free: 3.297 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3245, allocations: 61.88 MB / 408.8 MB, free: 10.82 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1369/0.4614, allocations: 88.04 MB / 496.9 MB, free: 2.664 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002364/0.4617, allocations: 79.94 kB / 497 MB, free: 2.586 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01537/0.4771, allocations: 3.764 MB / 0.489 GB, free: 14.81 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.437e-06/0.4771, allocations: 0 / 0.489 GB, free: 14.81 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.378e-05/0.4772, allocations: 0 / 0.489 GB, free: 14.81 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.0004571/0.4776, allocations: 378.4 kB / 0.4893 GB, free: 14.39 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.4777, allocations: 8.031 kB / 0.4894 GB, free: 14.39 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.176e-05/0.4777, allocations: 7.906 kB / 0.4894 GB, free: 14.38 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002784/0.478, allocations: 194.8 kB / 0.4895 GB, free: 14.15 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.4781, allocations: 3.953 kB / 0.4895 GB, free: 14.14 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.456e-05/0.4781, allocations: 8 kB / 0.4896 GB, free: 14.14 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001137/0.4782, allocations: 45.69 kB / 0.4896 GB, free: 14.09 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.4782, allocations: 0 / 0.4896 GB, free: 14.09 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.4783, allocations: 0 / 0.4896 GB, free: 14.09 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.226e-06/0.4783, allocations: 11.88 kB / 0.4896 GB, free: 14.07 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.088e-05/0.4784, allocations: 16 kB / 0.4896 GB, free: 14.06 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004712/0.4788, allocations: 288.8 kB / 0.4899 GB, free: 13.73 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001977/0.4791, allocations: 38.58 kB / 0.4899 GB, free: 13.68 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.069e-05/0.4791, allocations: 16.86 kB / 0.49 GB, free: 13.66 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/0.4792, allocations: 4.078 kB / 0.49 GB, free: 13.66 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.4792, allocations: 30.56 kB / 0.49 GB, free: 13.62 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 2.222e-06/0.4792, allocations: 0 / 0.49 GB, free: 13.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004681/0.4797, allocations: 113.3 kB / 0.4901 GB, free: 13.5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/0.4797, allocations: 51.41 kB / 0.4901 GB, free: 13.44 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000204/0.48, allocations: 151.3 kB / 0.4903 GB, free: 13.29 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.278e-05/0.48, allocations: 33.69 kB / 0.4903 GB, free: 13.25 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.4801, allocations: 166.5 kB / 0.4905 GB, free: 13.08 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.474e-05/0.4801, allocations: 7.812 kB / 0.4905 GB, free: 13.07 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.688e-06/0.4802, allocations: 4 kB / 0.4905 GB, free: 13.07 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001765/0.4804, allocations: 318.8 kB / 0.4908 GB, free: 12.75 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.958e-05/0.4804, allocations: 8 kB / 0.4908 GB, free: 12.74 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.861e-05/0.4805, allocations: 15.98 kB / 0.4908 GB, free: 12.73 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.497e-05/0.4805, allocations: 12 kB / 0.4908 GB, free: 12.71 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.601e-06/0.4805, allocations: 0 / 0.4908 GB, free: 12.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001545/0.4807, allocations: 73.53 kB / 0.4909 GB, free: 12.64 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.4807, allocations: 4 kB / 0.4909 GB, free: 12.63 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.309e-06/0.4808, allocations: 0 / 0.4909 GB, free: 12.63 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.4808, allocations: 0 / 0.4909 GB, free: 12.63 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.4809, allocations: 15.98 kB / 0.4909 GB, free: 12.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.617e-06/0.4809, allocations: 0 / 0.4909 GB, free: 12.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.729e-05/0.481, allocations: 11.98 kB / 0.4909 GB, free: 12.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/0.481, allocations: 4 kB / 0.4909 GB, free: 12.6 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.498e-05/0.4811, allocations: 110 kB / 0.491 GB, free: 12.49 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.695e-05/0.4812, allocations: 7.906 kB / 0.491 GB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002114/0.4814, allocations: 81.7 kB / 0.4911 GB, free: 12.39 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.872e-06/0.4814, allocations: 0 / 0.4911 GB, free: 12.39 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.984e-06/0.4814, allocations: 4 kB / 0.4911 GB, free: 12.39 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.4814, allocations: 0 / 0.4911 GB, free: 12.39 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005111/0.4819, allocations: 350.8 kB / 0.4915 GB, free: 11.99 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.169e-06/0.482, allocations: 4.078 kB / 0.4915 GB, free: 11.99 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.183e-05/0.4821, allocations: 19.98 kB / 0.4915 GB, free: 11.97 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.84e-06/0.4821, allocations: 3.984 kB / 0.4915 GB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.233e-06/0.4821, allocations: 0 / 0.4915 GB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.178e-06/0.4821, allocations: 0 / 0.4915 GB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.71e-06/0.4821, allocations: 0 / 0.4915 GB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002081/0.4824, allocations: 167.3 kB / 0.4917 GB, free: 11.79 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.878e-05/0.4825, allocations: 100.9 kB / 0.4917 GB, free: 11.67 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.138e-05/0.4825, allocations: 4 kB / 0.4918 GB, free: 11.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.4826, allocations: 4 kB / 0.4918 GB, free: 11.66 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.377e-05/0.4827, allocations: 7.984 kB / 0.4918 GB, free: 11.65 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.233e-06/0.4827, allocations: 0 / 0.4918 GB, free: 11.65 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001469/0.4828, allocations: 127.2 kB / 0.4919 GB, free: 11.53 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.96e-07/0.4828, allocations: 0 / 0.4919 GB, free: 11.53 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003415/0.4832, allocations: 19.94 kB / 0.4919 GB, free: 11.51 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.001414/0.4846, allocations: 397.7 kB / 0.4923 GB, free: 11.25 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001491/0.4848, allocations: 39.92 kB / 0.4923 GB, free: 11.21 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.858e-06/0.4848, allocations: 0 / 0.4923 GB, free: 11.21 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.554e-05/0.4849, allocations: 20 kB / 0.4923 GB, free: 11.19 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002672/0.4852, allocations: 19.86 kB / 0.4924 GB, free: 11.17 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004203/0.4856, allocations: 155.4 kB / 0.4925 GB, free: 10.98 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003961/0.486, allocations: 0.7004 MB / 0.4932 GB, free: 10.26 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.843e-05/0.4861, allocations: 11.44 kB / 0.4932 GB, free: 10.25 MB / 426.7 MB Notification: Performance of SimCode: time 1.485e-06/0.4861, allocations: 0 / 0.4932 GB, free: 10.25 MB / 426.7 MB Notification: Performance of Templates: time 0.003856/0.49, allocations: 1.478 MB / 0.4946 GB, free: 8.766 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test12CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test12CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test12CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test12CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test12CalcHelperMain.o] Error 1