Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16") Notification: Performance of loadModel(ModelicaTest): time 2.468/2.468, allocations: 270 MB / 282.7 MB, free: 1.773 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.254e-05/3.265e-05, allocations: 4 kB / 347 MB, free: 3.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.326/0.3261, allocations: 61.87 MB / 408.8 MB, free: 10.79 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1362/0.4623, allocations: 88.03 MB / 496.9 MB, free: 2.637 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002415/0.4626, allocations: 71.95 kB / 496.9 MB, free: 2.566 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01679/0.4794, allocations: 4.268 MB / 0.4895 GB, free: 14.29 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.471e-06/0.4795, allocations: 0 / 0.4895 GB, free: 14.29 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.361e-05/0.4795, allocations: 0 / 0.4895 GB, free: 14.29 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.0004843/0.48, allocations: 398.1 kB / 0.4898 GB, free: 13.85 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.48, allocations: 8.031 kB / 0.4899 GB, free: 13.84 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.693e-05/0.4801, allocations: 7.906 kB / 0.4899 GB, free: 13.84 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002961/0.4804, allocations: 200.6 kB / 0.4901 GB, free: 13.6 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.4804, allocations: 11.94 kB / 0.4901 GB, free: 13.59 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.121e-05/0.4805, allocations: 4 kB / 0.4901 GB, free: 13.59 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001255/0.4806, allocations: 49.64 kB / 0.4901 GB, free: 13.53 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.4806, allocations: 0 / 0.4901 GB, free: 13.53 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.963e-06/0.4807, allocations: 0 / 0.4901 GB, free: 13.53 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.461e-06/0.4807, allocations: 3.938 kB / 0.4901 GB, free: 13.53 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.977e-05/0.4808, allocations: 19.94 kB / 0.4901 GB, free: 13.51 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004832/0.4813, allocations: 304.8 kB / 0.4904 GB, free: 13.16 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.768e-05/0.4814, allocations: 38.56 kB / 0.4905 GB, free: 13.11 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.814e-05/0.4814, allocations: 12.86 kB / 0.4905 GB, free: 13.1 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/0.4815, allocations: 80 / 0.4905 GB, free: 13.1 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.4815, allocations: 39.62 kB / 0.4905 GB, free: 13.05 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 2.056e-06/0.4815, allocations: 0 / 0.4905 GB, free: 13.05 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006273/0.4821, allocations: 153.3 kB / 0.4907 GB, free: 12.89 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.681e-05/0.4822, allocations: 55.34 kB / 0.4907 GB, free: 12.83 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002729/0.4825, allocations: 179.6 kB / 0.4909 GB, free: 12.65 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/0.4825, allocations: 29.7 kB / 0.4909 GB, free: 12.61 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.789e-05/0.4826, allocations: 170.5 kB / 0.4911 GB, free: 12.45 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.665e-05/0.4827, allocations: 23.66 kB / 0.4911 GB, free: 12.42 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.657e-06/0.4827, allocations: 0 / 0.4911 GB, free: 12.42 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.4829, allocations: 322.8 kB / 0.4914 GB, free: 12.1 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.822e-05/0.4829, allocations: 15.98 kB / 0.4914 GB, free: 12.08 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.52e-05/0.483, allocations: 16 kB / 0.4914 GB, free: 12.07 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.394e-05/0.4831, allocations: 16 kB / 0.4915 GB, free: 12.05 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.4831, allocations: 0 / 0.4915 GB, free: 12.05 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001765/0.4833, allocations: 73.67 kB / 0.4915 GB, free: 11.97 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.4833, allocations: 8 kB / 0.4915 GB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.614e-06/0.4833, allocations: 0 / 0.4915 GB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.4833, allocations: 0 / 0.4915 GB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/0.4835, allocations: 23.92 kB / 0.4916 GB, free: 11.94 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.4835, allocations: 4.312 kB / 0.4916 GB, free: 11.94 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.34e-05/0.4836, allocations: 4 kB / 0.4916 GB, free: 11.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.629e-05/0.4836, allocations: 7.984 kB / 0.4916 GB, free: 11.93 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.144e-05/0.4837, allocations: 108.9 kB / 0.4917 GB, free: 11.81 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.488e-05/0.4838, allocations: 19.75 kB / 0.4917 GB, free: 11.79 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002401/0.484, allocations: 94.28 kB / 0.4918 GB, free: 11.7 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.207e-06/0.484, allocations: 0 / 0.4918 GB, free: 11.7 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.309e-06/0.4841, allocations: 8.281 kB / 0.4918 GB, free: 11.69 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.672e-06/0.4841, allocations: 0 / 0.4918 GB, free: 11.69 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006353/0.4847, allocations: 399.2 kB / 0.4922 GB, free: 11.24 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.55e-06/0.4847, allocations: 0 / 0.4922 GB, free: 11.24 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.4849, allocations: 27.91 kB / 0.4922 GB, free: 11.21 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.827e-06/0.4849, allocations: 0 / 0.4922 GB, free: 11.21 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.4849, allocations: 0 / 0.4922 GB, free: 11.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.204e-06/0.4849, allocations: 8.031 kB / 0.4922 GB, free: 11.21 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.408e-06/0.4849, allocations: 0 / 0.4922 GB, free: 11.21 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002488/0.4852, allocations: 194 kB / 0.4924 GB, free: 10.99 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.296e-05/0.4853, allocations: 96.95 kB / 0.4925 GB, free: 10.88 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.676e-05/0.4853, allocations: 4 kB / 0.4925 GB, free: 10.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.4855, allocations: 11.98 kB / 0.4925 GB, free: 10.86 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.963e-05/0.4855, allocations: 15.94 kB / 0.4925 GB, free: 10.85 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.622e-06/0.4855, allocations: 0 / 0.4925 GB, free: 10.85 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001918/0.4857, allocations: 152.8 kB / 0.4927 GB, free: 10.7 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.19e-07/0.4858, allocations: 0 / 0.4927 GB, free: 10.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003734/0.4861, allocations: 27.94 kB / 0.4927 GB, free: 10.67 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.001606/0.4878, allocations: 458.1 kB / 0.4931 GB, free: 10.36 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001708/0.4879, allocations: 40 kB / 0.4932 GB, free: 10.32 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.901e-06/0.488, allocations: 0 / 0.4932 GB, free: 10.32 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.591e-05/0.488, allocations: 27.94 kB / 0.4932 GB, free: 10.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002985/0.4884, allocations: 19.92 kB / 0.4932 GB, free: 10.28 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005332/0.4889, allocations: 208 kB / 0.4934 GB, free: 10.04 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000395/0.4893, allocations: 0.7161 MB / 0.4941 GB, free: 9.293 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.978e-05/0.4894, allocations: 15.42 kB / 0.4941 GB, free: 9.277 MB / 426.7 MB Notification: Performance of SimCode: time 1.733e-06/0.4894, allocations: 0 / 0.4941 GB, free: 9.277 MB / 426.7 MB Notification: Performance of Templates: time 0.004464/0.4939, allocations: 1.768 MB / 0.4958 GB, free: 7.512 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.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.Test16CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16Functions.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.Test16CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16CalcHelperMain.o] Error 1