Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test33") Notification: Performance of loadModel(ModelicaTest): time 2.355/2.355, allocations: 270 MB / 282.7 MB, free: 1.777 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.107e-05/3.119e-05, allocations: 4 kB / 347 MB, free: 3.125 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4072/0.4073, allocations: 61.88 MB / 408.8 MB, free: 10.75 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1362/0.5435, allocations: 88.33 MB / 497.2 MB, free: 2.301 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002307/0.5438, allocations: 75.95 kB / 497.2 MB, free: 2.227 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01639/0.5602, allocations: 4.29 MB / 0.4898 GB, free: 13.93 MB / 426.7 MB Notification: Performance of FrontEnd: time 2e-06/0.5602, allocations: 0 / 0.4898 GB, free: 13.93 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.419e-05/0.5603, allocations: 4 kB / 0.4898 GB, free: 13.92 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.0004407/0.5607, allocations: 358.4 kB / 0.4901 GB, free: 13.53 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.5608, allocations: 12.03 kB / 0.4901 GB, free: 13.52 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.19e-05/0.5608, allocations: 7.906 kB / 0.4901 GB, free: 13.51 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00027/0.5611, allocations: 190.9 kB / 0.4903 GB, free: 13.28 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.5611, allocations: 11.88 kB / 0.4903 GB, free: 13.27 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/0.5612, allocations: 8 kB / 0.4903 GB, free: 13.26 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.5613, allocations: 55.36 kB / 0.4904 GB, free: 13.2 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.5613, allocations: 0 / 0.4904 GB, free: 13.2 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.5614, allocations: 0 / 0.4904 GB, free: 13.2 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.144e-06/0.5614, allocations: 4 kB / 0.4904 GB, free: 13.19 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.596e-05/0.5614, allocations: 12 kB / 0.4904 GB, free: 13.18 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000464/0.5619, allocations: 284.9 kB / 0.4907 GB, free: 12.85 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001954/0.5621, allocations: 46.5 kB / 0.4907 GB, free: 12.8 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.811e-05/0.5622, allocations: 8.859 kB / 0.4907 GB, free: 12.79 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.021e-05/0.5622, allocations: 3.984 kB / 0.4907 GB, free: 12.78 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/0.5623, allocations: 38.64 kB / 0.4908 GB, free: 12.73 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 2.316e-06/0.5623, allocations: 4 kB / 0.4908 GB, free: 12.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.000457/0.5627, allocations: 101.4 kB / 0.4909 GB, free: 12.62 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.788e-05/0.5628, allocations: 85.09 kB / 0.491 GB, free: 12.52 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001581/0.563, allocations: 121 kB / 0.4911 GB, free: 12.4 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.563, allocations: 25.7 kB / 0.4911 GB, free: 12.37 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.862e-05/0.5631, allocations: 158.5 kB / 0.4913 GB, free: 12.21 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.678e-05/0.5632, allocations: 19.75 kB / 0.4913 GB, free: 12.19 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.935e-06/0.5632, allocations: 4 kB / 0.4913 GB, free: 12.19 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.5633, allocations: 312 kB / 0.4916 GB, free: 11.88 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.263e-05/0.5634, allocations: 12 kB / 0.4916 GB, free: 11.86 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.083e-05/0.5635, allocations: 25.7 kB / 0.4916 GB, free: 11.83 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.849e-05/0.5635, allocations: 15.95 kB / 0.4916 GB, free: 11.82 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.755e-06/0.5636, allocations: 4 kB / 0.4916 GB, free: 11.81 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001511/0.5637, allocations: 65.62 kB / 0.4917 GB, free: 11.74 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.5637, allocations: 7.984 kB / 0.4917 GB, free: 11.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.783e-06/0.5638, allocations: 4.031 kB / 0.4917 GB, free: 11.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.5638, allocations: 0 / 0.4917 GB, free: 11.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.815e-05/0.5639, allocations: 12 kB / 0.4917 GB, free: 11.72 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.06e-06/0.5639, allocations: 0 / 0.4917 GB, free: 11.72 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.645e-05/0.564, allocations: 12.23 kB / 0.4917 GB, free: 11.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.373e-05/0.564, allocations: 4 kB / 0.4917 GB, free: 11.7 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.0001142/0.5641, allocations: 120 kB / 0.4918 GB, free: 11.58 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.343e-05/0.5642, allocations: 7.906 kB / 0.4919 GB, free: 11.57 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002027/0.5644, allocations: 77.7 kB / 0.4919 GB, free: 11.49 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.241e-06/0.5644, allocations: 0 / 0.4919 GB, free: 11.49 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.58e-06/0.5644, allocations: 4 kB / 0.4919 GB, free: 11.48 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.295e-06/0.5645, allocations: 0 / 0.4919 GB, free: 11.48 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004804/0.565, allocations: 338.5 kB / 0.4923 GB, free: 11.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.644e-06/0.565, allocations: 0 / 0.4923 GB, free: 11.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/0.5651, allocations: 15.98 kB / 0.4923 GB, free: 11.08 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.671e-06/0.5651, allocations: 7.938 kB / 0.4923 GB, free: 11.07 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.5651, allocations: 0 / 0.4923 GB, free: 11.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/0.5651, allocations: 0 / 0.4923 GB, free: 11.07 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.611e-06/0.5652, allocations: 4 kB / 0.4923 GB, free: 11.07 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002132/0.5654, allocations: 171.3 kB / 0.4924 GB, free: 10.89 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.826e-05/0.5655, allocations: 85 kB / 0.4925 GB, free: 10.79 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.368e-05/0.5655, allocations: 4 kB / 0.4925 GB, free: 10.78 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.5656, allocations: 8 kB / 0.4925 GB, free: 10.77 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.756e-05/0.5657, allocations: 3.984 kB / 0.4925 GB, free: 10.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/0.5657, allocations: 8 kB / 0.4925 GB, free: 10.76 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001063/0.5658, allocations: 99.28 kB / 0.4926 GB, free: 10.66 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.81e-07/0.5658, allocations: 0 / 0.4926 GB, free: 10.66 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003527/0.5662, allocations: 31.98 kB / 0.4927 GB, free: 10.63 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.001518/0.5677, allocations: 452.8 kB / 0.4931 GB, free: 10.32 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000132/0.5679, allocations: 28 kB / 0.4931 GB, free: 10.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.729e-06/0.5679, allocations: 4 kB / 0.4931 GB, free: 10.29 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.563e-05/0.5679, allocations: 19.98 kB / 0.4932 GB, free: 10.27 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002382/0.5682, allocations: 11.95 kB / 0.4932 GB, free: 10.26 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003564/0.5686, allocations: 134.7 kB / 0.4933 GB, free: 10.1 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003787/0.569, allocations: 0.6965 MB / 0.494 GB, free: 9.375 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.025e-05/0.5691, allocations: 23.42 kB / 0.494 GB, free: 9.352 MB / 426.7 MB Notification: Performance of SimCode: time 1.478e-06/0.5691, allocations: 3.938 kB / 0.494 GB, free: 9.348 MB / 426.7 MB Notification: Performance of Templates: time 0.004043/0.5731, allocations: 1.593 MB / 0.4956 GB, free: 7.75 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test33.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.Test33CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test33CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test33CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test33Functions.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.CombiTable1Dv.Test33CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test33CalcHelperMain.o] Error 1