Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32") Notification: Performance of loadModel(ModelicaTest): time 2.299/2.299, allocations: 270 MB / 282.7 MB, free: 1.77 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.355e-05/4.376e-05, allocations: 0 / 347 MB, free: 3.145 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3748/0.3749, allocations: 61.88 MB / 408.8 MB, free: 10.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1355/0.5104, allocations: 88.03 MB / 496.9 MB, free: 2.621 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002254/0.5107, allocations: 67.97 kB / 496.9 MB, free: 2.555 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01712/0.5278, allocations: 4.382 MB / 0.4896 GB, free: 14.16 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.05e-06/0.5278, allocations: 4 kB / 0.4896 GB, free: 14.16 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.776e-05/0.5279, allocations: 4 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.0004829/0.5284, allocations: 394.2 kB / 0.49 GB, free: 13.72 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.5284, allocations: 8.031 kB / 0.49 GB, free: 13.71 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.449e-05/0.5285, allocations: 15.81 kB / 0.49 GB, free: 13.7 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003155/0.5288, allocations: 206.8 kB / 0.4902 GB, free: 13.46 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.5288, allocations: 3.953 kB / 0.4902 GB, free: 13.45 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.762e-05/0.5289, allocations: 11.94 kB / 0.4902 GB, free: 13.44 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001221/0.529, allocations: 49.67 kB / 0.4902 GB, free: 13.39 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.529, allocations: 0 / 0.4902 GB, free: 13.39 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.142e-06/0.5291, allocations: 0 / 0.4902 GB, free: 13.39 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.5291, allocations: 4 kB / 0.4902 GB, free: 13.38 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.395e-05/0.5292, allocations: 12 kB / 0.4903 GB, free: 13.37 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000486/0.5297, allocations: 308.7 kB / 0.4906 GB, free: 13.02 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.934e-05/0.5298, allocations: 42.52 kB / 0.4906 GB, free: 12.97 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.534e-05/0.5298, allocations: 12.86 kB / 0.4906 GB, free: 12.95 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.5298, allocations: 0 / 0.4906 GB, free: 12.95 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.5299, allocations: 35.69 kB / 0.4906 GB, free: 12.91 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 2.042e-06/0.5299, allocations: 0 / 0.4906 GB, free: 12.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006241/0.5305, allocations: 161.2 kB / 0.4908 GB, free: 12.75 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.756e-05/0.5306, allocations: 55.41 kB / 0.4908 GB, free: 12.68 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003505/0.531, allocations: 215.2 kB / 0.491 GB, free: 12.46 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.637e-05/0.531, allocations: 29.64 kB / 0.4911 GB, free: 12.42 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.5311, allocations: 170.5 kB / 0.4912 GB, free: 12.25 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.815e-05/0.5312, allocations: 27.55 kB / 0.4913 GB, free: 12.23 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.499e-06/0.5312, allocations: 4 kB / 0.4913 GB, free: 12.22 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.5314, allocations: 314.8 kB / 0.4916 GB, free: 11.91 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.646e-05/0.5314, allocations: 12 kB / 0.4916 GB, free: 11.89 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.509e-05/0.5315, allocations: 16 kB / 0.4916 GB, free: 11.88 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.37e-05/0.5315, allocations: 20.23 kB / 0.4916 GB, free: 11.86 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.656e-06/0.5316, allocations: 0 / 0.4916 GB, free: 11.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.00018/0.5317, allocations: 77.61 kB / 0.4917 GB, free: 11.78 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.5318, allocations: 4 kB / 0.4917 GB, free: 11.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.592e-06/0.5318, allocations: 3.984 kB / 0.4917 GB, free: 11.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.5318, allocations: 4 kB / 0.4917 GB, free: 11.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.532, allocations: 16 kB / 0.4917 GB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.058e-06/0.532, allocations: 0 / 0.4917 GB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.399e-05/0.5321, allocations: 11.98 kB / 0.4917 GB, free: 11.74 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.1e-05/0.5321, allocations: 7.953 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 8.525e-05/0.5322, allocations: 108.9 kB / 0.4918 GB, free: 11.62 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.145e-05/0.5323, allocations: 15.81 kB / 0.4919 GB, free: 11.6 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002518/0.5325, allocations: 103.1 kB / 0.492 GB, free: 11.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.009e-06/0.5326, allocations: 3.984 kB / 0.492 GB, free: 11.49 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.973e-06/0.5326, allocations: 0 / 0.492 GB, free: 11.49 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.172e-06/0.5326, allocations: 0 / 0.492 GB, free: 11.49 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006599/0.5332, allocations: 415.3 kB / 0.4924 GB, free: 11.03 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.5333, allocations: 0 / 0.4924 GB, free: 11.03 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.5334, allocations: 16 kB / 0.4924 GB, free: 11.01 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.209e-06/0.5334, allocations: 0 / 0.4924 GB, free: 11.01 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.826e-05/0.5334, allocations: 11.98 kB / 0.4924 GB, free: 11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.84e-06/0.5334, allocations: 0 / 0.4924 GB, free: 11 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.617e-06/0.5335, allocations: 3.953 kB / 0.4924 GB, free: 11 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002608/0.5337, allocations: 201.9 kB / 0.4926 GB, free: 10.77 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.907e-05/0.5338, allocations: 100.9 kB / 0.4927 GB, free: 10.66 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.702e-05/0.5339, allocations: 0 / 0.4927 GB, free: 10.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.534, allocations: 12.23 kB / 0.4927 GB, free: 10.64 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.8e-05/0.5341, allocations: 11.98 kB / 0.4927 GB, free: 10.63 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.919e-06/0.5341, allocations: 4 kB / 0.4927 GB, free: 10.63 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002376/0.5343, allocations: 179.5 kB / 0.4929 GB, free: 10.45 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.45e-07/0.5344, allocations: 0 / 0.4929 GB, free: 10.45 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003844/0.5348, allocations: 31.94 kB / 0.4929 GB, free: 10.42 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.001596/0.5364, allocations: 461.6 kB / 0.4933 GB, free: 10.11 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000155/0.5365, allocations: 47.94 kB / 0.4934 GB, free: 10.07 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.799e-06/0.5366, allocations: 0 / 0.4934 GB, free: 10.07 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.702e-05/0.5366, allocations: 27.94 kB / 0.4934 GB, free: 10.04 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002752/0.5369, allocations: 16.17 kB / 0.4934 GB, free: 10.02 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005554/0.5375, allocations: 236.4 kB / 0.4937 GB, free: 9.758 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004244/0.5379, allocations: 0.7161 MB / 0.4944 GB, free: 9.016 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.152e-05/0.538, allocations: 19.44 kB / 0.4944 GB, free: 8.996 MB / 426.7 MB Notification: Performance of SimCode: time 1.604e-06/0.538, allocations: 0 / 0.4944 GB, free: 8.996 MB / 426.7 MB Notification: Performance of Templates: time 0.004486/0.5425, allocations: 1.864 MB / 0.4962 GB, free: 7.129 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.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.Test32CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32Functions.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.Test32CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32CalcHelperMain.o] Error 1