Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20") Notification: Performance of loadModel(ModelicaTest): time 2.286/2.286, allocations: 270 MB / 282.7 MB, free: 1.75 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.847e-05/2.86e-05, allocations: 0 / 347 MB, free: 3.133 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.323, allocations: 61.89 MB / 408.8 MB, free: 10.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.176/0.499, allocations: 88.22 MB / 497.1 MB, free: 2.422 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002394/0.4992, allocations: 71.97 kB / 497.1 MB, free: 2.352 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02066/0.5199, allocations: 4.27 MB / 0.4897 GB, free: 14.07 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.632e-06/0.52, allocations: 0 / 0.4897 GB, free: 14.07 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.983e-05/0.52, allocations: 0 / 0.4897 GB, free: 14.07 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.000789/0.5209, allocations: 362.3 kB / 0.49 GB, free: 13.67 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.274e-05/0.521, allocations: 8.031 kB / 0.49 GB, free: 13.66 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.475e-05/0.5211, allocations: 7.906 kB / 0.49 GB, free: 13.66 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004797/0.5216, allocations: 190.9 kB / 0.4902 GB, free: 13.43 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.557e-05/0.5216, allocations: 4 kB / 0.4902 GB, free: 13.43 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.413e-05/0.5217, allocations: 4 kB / 0.4902 GB, free: 13.42 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002576/0.522, allocations: 59.36 kB / 0.4903 GB, free: 13.35 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.522, allocations: 0 / 0.4903 GB, free: 13.35 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.982e-05/0.5221, allocations: 0 / 0.4903 GB, free: 13.35 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.918e-06/0.5221, allocations: 0 / 0.4903 GB, free: 13.35 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001275/0.5222, allocations: 19.92 kB / 0.4903 GB, free: 13.33 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007578/0.523, allocations: 276.8 kB / 0.4905 GB, free: 13.01 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003499/0.5234, allocations: 38.56 kB / 0.4906 GB, free: 12.96 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.35e-05/0.5235, allocations: 12.86 kB / 0.4906 GB, free: 12.95 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.292e-05/0.5236, allocations: 0 / 0.4906 GB, free: 12.95 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.633e-05/0.5236, allocations: 38.55 kB / 0.4906 GB, free: 12.9 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 4.408e-06/0.5237, allocations: 11.94 kB / 0.4906 GB, free: 12.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008414/0.5245, allocations: 97.5 kB / 0.4907 GB, free: 12.79 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/0.5247, allocations: 81.11 kB / 0.4908 GB, free: 12.69 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003052/0.525, allocations: 121 kB / 0.4909 GB, free: 12.57 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.3e-05/0.5251, allocations: 25.7 kB / 0.491 GB, free: 12.54 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/0.5253, allocations: 158.5 kB / 0.4911 GB, free: 12.38 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.247e-05/0.5253, allocations: 19.75 kB / 0.4911 GB, free: 12.36 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.505e-06/0.5254, allocations: 4 kB / 0.4911 GB, free: 12.36 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002719/0.5257, allocations: 312 kB / 0.4914 GB, free: 12.04 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.878e-05/0.5258, allocations: 12 kB / 0.4914 GB, free: 12.03 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001059/0.5259, allocations: 25.64 kB / 0.4915 GB, free: 12 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.319e-05/0.526, allocations: 15.95 kB / 0.4915 GB, free: 11.98 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.107e-06/0.526, allocations: 0 / 0.4915 GB, free: 11.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002977/0.5263, allocations: 57.69 kB / 0.4915 GB, free: 11.92 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.95e-05/0.5264, allocations: 5.562 kB / 0.4915 GB, free: 11.92 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.5264, allocations: 4.031 kB / 0.4915 GB, free: 11.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.359e-05/0.5265, allocations: 0 / 0.4915 GB, free: 11.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001879/0.5267, allocations: 12 kB / 0.4916 GB, free: 11.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.917e-05/0.5267, allocations: 3.984 kB / 0.4916 GB, free: 11.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001297/0.5269, allocations: 8 kB / 0.4916 GB, free: 11.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.224e-05/0.5269, allocations: 4 kB / 0.4916 GB, free: 11.89 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.0001643/0.5271, allocations: 104.9 kB / 0.4917 GB, free: 11.78 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.5273, allocations: 15.84 kB / 0.4917 GB, free: 11.76 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003673/0.5276, allocations: 69.77 kB / 0.4918 GB, free: 11.68 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.325e-06/0.5277, allocations: 0 / 0.4918 GB, free: 11.68 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.5277, allocations: 4 kB / 0.4918 GB, free: 11.68 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.885e-06/0.5277, allocations: 0 / 0.4918 GB, free: 11.68 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009515/0.5287, allocations: 322.5 kB / 0.4921 GB, free: 11.31 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.176e-06/0.5287, allocations: 3.938 kB / 0.4921 GB, free: 11.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001846/0.529, allocations: 20.36 kB / 0.4921 GB, free: 11.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.403e-06/0.529, allocations: 7.938 kB / 0.4921 GB, free: 11.28 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.131e-05/0.529, allocations: 4 kB / 0.4921 GB, free: 11.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.64e-06/0.5291, allocations: 0 / 0.4921 GB, free: 11.27 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.93e-06/0.5291, allocations: 3.984 kB / 0.4921 GB, free: 11.27 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003807/0.5295, allocations: 159.4 kB / 0.4923 GB, free: 11.1 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001304/0.5296, allocations: 85.02 kB / 0.4923 GB, free: 11 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.961e-05/0.5297, allocations: 7.984 kB / 0.4923 GB, free: 10.99 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002497/0.53, allocations: 8 kB / 0.4923 GB, free: 10.98 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.479e-05/0.5301, allocations: 0 / 0.4923 GB, free: 10.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.822e-05/0.5301, allocations: 7.984 kB / 0.4924 GB, free: 10.97 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002178/0.5303, allocations: 103.3 kB / 0.4925 GB, free: 10.87 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.335e-06/0.5304, allocations: 0 / 0.4925 GB, free: 10.87 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000892/0.5313, allocations: 35.91 kB / 0.4925 GB, free: 10.84 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.003007/0.5343, allocations: 443.5 kB / 0.4929 GB, free: 10.54 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002487/0.5346, allocations: 28 kB / 0.4929 GB, free: 10.51 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.682e-06/0.5346, allocations: 0 / 0.4929 GB, free: 10.51 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.5348, allocations: 15.94 kB / 0.493 GB, free: 10.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005329/0.5353, allocations: 15.94 kB / 0.493 GB, free: 10.48 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006756/0.536, allocations: 126.7 kB / 0.4931 GB, free: 10.32 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006701/0.5367, allocations: 0.6965 MB / 0.4938 GB, free: 9.602 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.801e-05/0.5369, allocations: 15.44 kB / 0.4938 GB, free: 9.586 MB / 426.7 MB Notification: Performance of SimCode: time 2.402e-06/0.5369, allocations: 0 / 0.4938 GB, free: 9.586 MB / 426.7 MB Notification: Performance of Templates: time 0.008074/0.545, allocations: 1.571 MB / 0.4953 GB, free: 8.016 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20.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.Test20CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20Functions.cpp:208: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.Test20CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20CalcHelperMain.o] Error 1