Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test34,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test34") Notification: Performance of loadModel(ModelicaTest): time 2.391/2.391, allocations: 270 MB / 282.7 MB, free: 1.867 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.502e-05/3.505e-05, allocations: 4 kB / 347 MB, free: 3.246 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.3322, allocations: 61.87 MB / 408.8 MB, free: 10.79 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1643/0.4966, allocations: 88.14 MB / 497 MB, free: 2.52 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002331/0.4969, allocations: 75.95 kB / 497.1 MB, free: 2.445 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01673/0.5136, allocations: 4.28 MB / 0.4896 GB, free: 14.15 MB / 426.7 MB Notification: Performance of FrontEnd: time 7.194e-06/0.5137, allocations: 0 / 0.4896 GB, free: 14.15 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.358e-05/0.5137, allocations: 3.938 kB / 0.4896 GB, free: 14.15 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.000464/0.5142, allocations: 390.2 kB / 0.49 GB, free: 13.72 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.5142, allocations: 8.031 kB / 0.49 GB, free: 13.71 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.664e-05/0.5143, allocations: 7.906 kB / 0.49 GB, free: 13.71 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002948/0.5146, allocations: 207.7 kB / 0.4902 GB, free: 13.46 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.5146, allocations: 7.938 kB / 0.4902 GB, free: 13.46 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.297e-05/0.5146, allocations: 8 kB / 0.4902 GB, free: 13.45 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.5148, allocations: 45.64 kB / 0.4902 GB, free: 13.4 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.5148, allocations: 0 / 0.4902 GB, free: 13.4 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.5148, allocations: 8 kB / 0.4902 GB, free: 13.39 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.009e-06/0.5148, allocations: 0 / 0.4902 GB, free: 13.39 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.324e-05/0.5149, allocations: 19.98 kB / 0.4903 GB, free: 13.37 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005179/0.5155, allocations: 308.7 kB / 0.4906 GB, free: 13.02 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001054/0.5156, allocations: 42.56 kB / 0.4906 GB, free: 12.97 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.516e-05/0.5156, allocations: 8.859 kB / 0.4906 GB, free: 12.96 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.5157, allocations: 0 / 0.4906 GB, free: 12.96 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.5157, allocations: 35.69 kB / 0.4906 GB, free: 12.91 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 2.105e-06/0.5157, allocations: 4 kB / 0.4906 GB, free: 12.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.000657/0.5164, allocations: 177.2 kB / 0.4908 GB, free: 12.73 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.411e-05/0.5164, allocations: 51.41 kB / 0.4909 GB, free: 12.67 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000261/0.5167, allocations: 184.9 kB / 0.491 GB, free: 12.48 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.5168, allocations: 25.7 kB / 0.4911 GB, free: 12.45 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.5169, allocations: 166.5 kB / 0.4912 GB, free: 12.29 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.662e-05/0.5169, allocations: 23.64 kB / 0.4912 GB, free: 12.27 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.044e-06/0.517, allocations: 4 kB / 0.4912 GB, free: 12.26 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.5171, allocations: 322.8 kB / 0.4916 GB, free: 11.94 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.796e-05/0.5172, allocations: 20 kB / 0.4916 GB, free: 11.92 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.7e-05/0.5173, allocations: 27.92 kB / 0.4916 GB, free: 11.89 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.204e-05/0.5173, allocations: 16 kB / 0.4916 GB, free: 11.88 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.556e-06/0.5173, allocations: 0 / 0.4916 GB, free: 11.88 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001955/0.5176, allocations: 85.89 kB / 0.4917 GB, free: 11.79 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.87e-05/0.5176, allocations: 8 kB / 0.4917 GB, free: 11.78 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.5176, allocations: 0 / 0.4917 GB, free: 11.78 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.5176, allocations: 0 / 0.4917 GB, free: 11.78 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001448/0.5178, allocations: 27.98 kB / 0.4917 GB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/0.5178, allocations: 4.062 kB / 0.4917 GB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.117e-05/0.5179, allocations: 7.984 kB / 0.4917 GB, free: 11.74 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.388e-05/0.5179, allocations: 4 kB / 0.4917 GB, free: 11.73 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 0.0001069/0.518, allocations: 112.9 kB / 0.4919 GB, free: 11.62 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.552e-05/0.5181, allocations: 15.81 kB / 0.4919 GB, free: 11.6 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002614/0.5184, allocations: 102.6 kB / 0.492 GB, free: 11.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.5184, allocations: 4 kB / 0.492 GB, free: 11.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.595e-06/0.5184, allocations: 0 / 0.492 GB, free: 11.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.34e-06/0.5184, allocations: 3.984 kB / 0.492 GB, free: 11.49 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006639/0.5191, allocations: 423.2 kB / 0.4924 GB, free: 11.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.189e-06/0.5191, allocations: 4 kB / 0.4924 GB, free: 11.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001142/0.5192, allocations: 19.98 kB / 0.4924 GB, free: 11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/0.5193, allocations: 3.969 kB / 0.4924 GB, free: 10.99 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.868e-06/0.5193, allocations: 4 kB / 0.4924 GB, free: 10.99 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.868e-06/0.5193, allocations: 0 / 0.4924 GB, free: 10.99 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.347e-06/0.5193, allocations: 4 kB / 0.4924 GB, free: 10.98 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002706/0.5196, allocations: 205.9 kB / 0.4926 GB, free: 10.76 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.006e-05/0.5197, allocations: 96.94 kB / 0.4927 GB, free: 10.64 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.427e-05/0.5197, allocations: 0 / 0.4927 GB, free: 10.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.5199, allocations: 16 kB / 0.4927 GB, free: 10.63 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.53e-05/0.5199, allocations: 11.94 kB / 0.4927 GB, free: 10.62 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.5199, allocations: 0 / 0.4927 GB, free: 10.62 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001871/0.5201, allocations: 152.3 kB / 0.4929 GB, free: 10.47 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.86e-07/0.5202, allocations: 0 / 0.4929 GB, free: 10.47 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003618/0.5205, allocations: 31.94 kB / 0.4929 GB, free: 10.44 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.001592/0.5221, allocations: 448.3 kB / 0.4933 GB, free: 10.14 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001807/0.5223, allocations: 51.98 kB / 0.4934 GB, free: 10.09 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.053e-06/0.5223, allocations: 0 / 0.4934 GB, free: 10.09 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.073e-05/0.5224, allocations: 35.92 kB / 0.4934 GB, free: 10.05 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002822/0.5227, allocations: 16.55 kB / 0.4934 GB, free: 10.04 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000535/0.5233, allocations: 224.1 kB / 0.4936 GB, free: 9.781 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004229/0.5237, allocations: 0.7121 MB / 0.4943 GB, free: 9.043 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.32e-05/0.5238, allocations: 19.42 kB / 0.4944 GB, free: 9.023 MB / 426.7 MB Notification: Performance of SimCode: time 1.45e-06/0.5238, allocations: 0 / 0.4944 GB, free: 9.023 MB / 426.7 MB Notification: Performance of Templates: time 0.004452/0.5283, allocations: 1.826 MB / 0.4961 GB, free: 7.195 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test34.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.Test34CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test34CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test34CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test34Functions.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.CombiTable1Dv.Test34CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test34CalcHelperMain.o] Error 1