Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test26,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26") Notification: Performance of loadModel(ModelicaTest): time 2.29/2.29, allocations: 270 MB / 282.7 MB, free: 1.938 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.888e-05/6.923e-05, allocations: 7.938 kB / 347 MB, free: 3.293 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3284, allocations: 61.87 MB / 408.8 MB, free: 10.82 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1982/0.5266, allocations: 88.03 MB / 496.9 MB, free: 2.664 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003549/0.527, allocations: 67.97 kB / 496.9 MB, free: 2.598 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02847/0.5556, allocations: 4.276 MB / 0.4895 GB, free: 14.31 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.148e-06/0.5556, allocations: 0 / 0.4895 GB, free: 14.31 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.074e-05/0.5557, allocations: 0 / 0.4895 GB, free: 14.31 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.0007424/0.5564, allocations: 394.1 kB / 0.4898 GB, free: 13.88 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.576e-05/0.5565, allocations: 8.031 kB / 0.4899 GB, free: 13.87 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.377e-05/0.5566, allocations: 7.906 kB / 0.4899 GB, free: 13.86 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004705/0.5571, allocations: 203.8 kB / 0.4901 GB, free: 13.62 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.5572, allocations: 8 kB / 0.4901 GB, free: 13.62 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.206e-05/0.5572, allocations: 0 / 0.4901 GB, free: 13.62 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002094/0.5574, allocations: 53.64 kB / 0.4901 GB, free: 13.56 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.5575, allocations: 0 / 0.4901 GB, free: 13.56 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.5575, allocations: 3.938 kB / 0.4901 GB, free: 13.55 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.006e-06/0.5575, allocations: 0 / 0.4901 GB, free: 13.55 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001139/0.5577, allocations: 19.94 kB / 0.4901 GB, free: 13.54 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007547/0.5584, allocations: 296.8 kB / 0.4904 GB, free: 13.2 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001619/0.5586, allocations: 42.56 kB / 0.4905 GB, free: 13.14 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.42e-05/0.5587, allocations: 8.859 kB / 0.4905 GB, free: 13.13 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.182e-05/0.5588, allocations: 4 kB / 0.4905 GB, free: 13.13 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.476e-05/0.5589, allocations: 39.62 kB / 0.4905 GB, free: 13.08 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 3.999e-06/0.5589, allocations: 0 / 0.4905 GB, free: 13.08 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.001039/0.5599, allocations: 153.4 kB / 0.4907 GB, free: 12.93 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.519e-05/0.56, allocations: 55.34 kB / 0.4907 GB, free: 12.86 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004953/0.5605, allocations: 185.3 kB / 0.4909 GB, free: 12.68 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.54e-05/0.5606, allocations: 25.7 kB / 0.4909 GB, free: 12.64 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000147/0.5608, allocations: 166.5 kB / 0.4911 GB, free: 12.48 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.098e-05/0.5609, allocations: 23.66 kB / 0.4911 GB, free: 12.46 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.367e-05/0.5609, allocations: 4 kB / 0.4911 GB, free: 12.45 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002279/0.5611, allocations: 318.8 kB / 0.4914 GB, free: 12.13 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.985e-05/0.5613, allocations: 16 kB / 0.4914 GB, free: 12.12 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.896e-05/0.5614, allocations: 20 kB / 0.4914 GB, free: 12.1 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.619e-05/0.5615, allocations: 12 kB / 0.4914 GB, free: 12.09 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.793e-06/0.5615, allocations: 0 / 0.4914 GB, free: 12.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000329/0.5619, allocations: 69.69 kB / 0.4915 GB, free: 12.01 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.395e-05/0.5619, allocations: 8 kB / 0.4915 GB, free: 12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.926e-06/0.5619, allocations: 4.25 kB / 0.4915 GB, free: 12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.562, allocations: 0 / 0.4915 GB, free: 12 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002426/0.5622, allocations: 23.92 kB / 0.4915 GB, free: 11.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.5623, allocations: 4 kB / 0.4916 GB, free: 11.97 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001275/0.5624, allocations: 11.98 kB / 0.4916 GB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.7e-05/0.5625, allocations: 7.984 kB / 0.4916 GB, free: 11.95 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.0001338/0.5626, allocations: 104.9 kB / 0.4917 GB, free: 11.84 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000113/0.5627, allocations: 15.81 kB / 0.4917 GB, free: 11.83 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004208/0.5632, allocations: 94.56 kB / 0.4918 GB, free: 11.73 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/0.5632, allocations: 4 kB / 0.4918 GB, free: 11.73 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/0.5633, allocations: 7.984 kB / 0.4918 GB, free: 11.72 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.223e-05/0.5633, allocations: 3.984 kB / 0.4918 GB, free: 11.72 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001119/0.5644, allocations: 403.2 kB / 0.4922 GB, free: 11.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.486e-06/0.5645, allocations: 0 / 0.4922 GB, free: 11.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002024/0.5647, allocations: 19.94 kB / 0.4922 GB, free: 11.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.195e-05/0.5647, allocations: 3.984 kB / 0.4922 GB, free: 11.24 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.018e-05/0.5648, allocations: 4.031 kB / 0.4922 GB, free: 11.24 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.783e-06/0.5648, allocations: 8 kB / 0.4922 GB, free: 11.23 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.121e-06/0.5648, allocations: 0 / 0.4922 GB, free: 11.23 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004348/0.5653, allocations: 193.9 kB / 0.4924 GB, free: 11.02 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001401/0.5654, allocations: 93 kB / 0.4925 GB, free: 10.91 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.189e-05/0.5655, allocations: 8 kB / 0.4925 GB, free: 10.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002401/0.5658, allocations: 8 kB / 0.4925 GB, free: 10.89 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.171e-05/0.5658, allocations: 11.94 kB / 0.4925 GB, free: 10.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.545e-05/0.5659, allocations: 0 / 0.4925 GB, free: 10.88 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003565/0.5663, allocations: 156.6 kB / 0.4927 GB, free: 10.73 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.134e-06/0.5663, allocations: 0 / 0.4927 GB, free: 10.73 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007814/0.5671, allocations: 23.94 kB / 0.4927 GB, free: 10.7 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.002849/0.57, allocations: 460.6 kB / 0.4931 GB, free: 10.39 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002764/0.5703, allocations: 40 kB / 0.4932 GB, free: 10.36 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.327e-06/0.5703, allocations: 0 / 0.4932 GB, free: 10.36 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001329/0.5704, allocations: 27.92 kB / 0.4932 GB, free: 10.33 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005084/0.571, allocations: 15.05 kB / 0.4932 GB, free: 10.32 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008781/0.5719, allocations: 212.1 kB / 0.4934 GB, free: 10.07 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006231/0.5725, allocations: 0.7121 MB / 0.4941 GB, free: 9.332 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.5727, allocations: 15.44 kB / 0.4941 GB, free: 9.316 MB / 426.7 MB Notification: Performance of SimCode: time 2.286e-06/0.5727, allocations: 0 / 0.4941 GB, free: 9.316 MB / 426.7 MB Notification: Performance of Templates: time 0.007774/0.5805, allocations: 1.768 MB / 0.4958 GB, free: 7.547 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26.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.Test26CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26Functions.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.Test26CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26CalcHelperMain.o] Error 1