Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31") Notification: Performance of loadModel(ModelicaTest): time 2.285/2.285, allocations: 270 MB / 282.7 MB, free: 1.906 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.379e-05/3.385e-05, allocations: 8 kB / 347 MB, free: 3.293 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.334/0.334, allocations: 61.87 MB / 408.8 MB, free: 10.8 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1961/0.5302, allocations: 88.03 MB / 496.9 MB, free: 2.648 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002473/0.5305, allocations: 71.95 kB / 496.9 MB, free: 2.578 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01753/0.548, allocations: 4.492 MB / 0.4897 GB, free: 14.07 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.041e-06/0.5481, allocations: 0 / 0.4897 GB, free: 14.07 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.408e-05/0.5481, allocations: 8 kB / 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005011/0.5486, allocations: 398.2 kB / 0.4901 GB, free: 13.63 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.5487, allocations: 8.031 kB / 0.4901 GB, free: 13.62 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.047e-05/0.5488, allocations: 15.81 kB / 0.4901 GB, free: 13.61 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003324/0.5491, allocations: 226.5 kB / 0.4903 GB, free: 13.35 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.5491, allocations: 7.953 kB / 0.4903 GB, free: 13.34 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.839e-05/0.5492, allocations: 0 / 0.4903 GB, free: 13.34 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.5493, allocations: 49.69 kB / 0.4904 GB, free: 13.29 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.5493, allocations: 0 / 0.4904 GB, free: 13.29 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.5493, allocations: 3.984 kB / 0.4904 GB, free: 13.28 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.355e-06/0.5494, allocations: 3.938 kB / 0.4904 GB, free: 13.28 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.304e-05/0.5494, allocations: 16 kB / 0.4904 GB, free: 13.26 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000503/0.5499, allocations: 316.8 kB / 0.4907 GB, free: 12.9 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.424e-05/0.5501, allocations: 34.58 kB / 0.4907 GB, free: 12.86 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.45e-05/0.5501, allocations: 12.86 kB / 0.4907 GB, free: 12.84 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.5501, allocations: 0 / 0.4907 GB, free: 12.84 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.557e-05/0.5502, allocations: 35.77 kB / 0.4908 GB, free: 12.8 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 4.285e-06/0.5502, allocations: 4 kB / 0.4908 GB, free: 12.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006466/0.5509, allocations: 161 kB / 0.4909 GB, free: 12.63 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.09e-05/0.5509, allocations: 51.41 kB / 0.491 GB, free: 12.57 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003787/0.5513, allocations: 241.6 kB / 0.4912 GB, free: 12.32 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.5513, allocations: 25.7 kB / 0.4912 GB, free: 12.29 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.5515, allocations: 170.5 kB / 0.4914 GB, free: 12.12 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.563e-05/0.5515, allocations: 27.56 kB / 0.4914 GB, free: 12.1 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.552e-06/0.5515, allocations: 4 kB / 0.4914 GB, free: 12.09 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.5517, allocations: 322.8 kB / 0.4917 GB, free: 11.77 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.953e-05/0.5518, allocations: 15.94 kB / 0.4917 GB, free: 11.75 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.468e-05/0.5518, allocations: 12 kB / 0.4918 GB, free: 11.74 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.93e-05/0.5519, allocations: 24.06 kB / 0.4918 GB, free: 11.72 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.75e-06/0.5519, allocations: 0 / 0.4918 GB, free: 11.72 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001699/0.5521, allocations: 69.69 kB / 0.4918 GB, free: 11.64 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.5521, allocations: 4 kB / 0.4918 GB, free: 11.64 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.196e-06/0.5521, allocations: 0 / 0.4918 GB, free: 11.64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.5522, allocations: 4 kB / 0.4919 GB, free: 11.64 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.5523, allocations: 19.98 kB / 0.4919 GB, free: 11.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.136e-06/0.5523, allocations: 4 kB / 0.4919 GB, free: 11.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.854e-05/0.5524, allocations: 7.984 kB / 0.4919 GB, free: 11.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.722e-05/0.5524, allocations: 7.953 kB / 0.4919 GB, free: 11.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 (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 9.097e-05/0.5525, allocations: 112.9 kB / 0.492 GB, free: 11.48 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.002e-05/0.5526, allocations: 15.81 kB / 0.492 GB, free: 11.46 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002487/0.5529, allocations: 103.5 kB / 0.4921 GB, free: 11.36 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.175e-06/0.5529, allocations: 0 / 0.4921 GB, free: 11.36 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.733e-06/0.5529, allocations: 0 / 0.4921 GB, free: 11.36 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.809e-06/0.5529, allocations: 3.984 kB / 0.4921 GB, free: 11.36 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006665/0.5536, allocations: 415.3 kB / 0.4925 GB, free: 10.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.5536, allocations: 0 / 0.4925 GB, free: 10.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001065/0.5537, allocations: 23.98 kB / 0.4925 GB, free: 10.87 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.16e-06/0.5538, allocations: 8.031 kB / 0.4925 GB, free: 10.86 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.5538, allocations: 4 kB / 0.4925 GB, free: 10.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.008e-06/0.5538, allocations: 0 / 0.4925 GB, free: 10.86 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.141e-06/0.5538, allocations: 3.953 kB / 0.4926 GB, free: 10.85 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002544/0.5541, allocations: 201.9 kB / 0.4927 GB, free: 10.63 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.916e-05/0.5542, allocations: 104.8 kB / 0.4928 GB, free: 10.51 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.882e-05/0.5542, allocations: 8 kB / 0.4929 GB, free: 10.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001571/0.5544, allocations: 15.94 kB / 0.4929 GB, free: 10.48 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.428e-05/0.5545, allocations: 4 kB / 0.4929 GB, free: 10.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.779e-06/0.5545, allocations: 0 / 0.4929 GB, free: 10.48 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002643/0.5548, allocations: 200.4 kB / 0.4931 GB, free: 10.29 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.11e-07/0.5548, allocations: 0 / 0.4931 GB, free: 10.29 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003669/0.5551, allocations: 31.94 kB / 0.4931 GB, free: 10.25 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.001593/0.5567, allocations: 461.7 kB / 0.4935 GB, free: 9.941 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001624/0.5569, allocations: 43.98 kB / 0.4936 GB, free: 9.898 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.923e-06/0.5569, allocations: 0 / 0.4936 GB, free: 9.898 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.16e-05/0.557, allocations: 27.94 kB / 0.4936 GB, free: 9.871 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/0.5573, allocations: 19.02 kB / 0.4936 GB, free: 9.852 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006252/0.558, allocations: 260.3 kB / 0.4939 GB, free: 9.566 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004354/0.5584, allocations: 0.716 MB / 0.4946 GB, free: 8.824 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.53e-05/0.5585, allocations: 19.44 kB / 0.4946 GB, free: 8.805 MB / 426.7 MB Notification: Performance of SimCode: time 1.567e-06/0.5585, allocations: 0 / 0.4946 GB, free: 8.805 MB / 426.7 MB Notification: Performance of Templates: time 0.004692/0.5632, allocations: 1.947 MB / 0.4965 GB, free: 6.852 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.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.Test31CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31Functions.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.CombiTable1Ds.Test31CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31CalcHelperMain.o] Error 1