Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test3") Notification: Performance of loadModel(ModelicaTest): time 2.307/2.307, allocations: 270 MB / 282.7 MB, free: 1.777 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.328e-05/3.346e-05, allocations: 7.984 kB / 347 MB, free: 3.129 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3959/0.3959, allocations: 61.88 MB / 408.8 MB, free: 10.74 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1349/0.5309, allocations: 88.14 MB / 497 MB, free: 2.48 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002336/0.5312, allocations: 79.89 kB / 497.1 MB, free: 2.402 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01625/0.5475, allocations: 4.178 MB / 0.4895 GB, free: 14.21 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.883e-06/0.5475, allocations: 4 kB / 0.4895 GB, free: 14.21 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.973e-05/0.5475, allocations: 4 kB / 0.4895 GB, free: 14.2 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.0004679/0.548, allocations: 394.1 kB / 0.4899 GB, free: 13.77 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.5481, allocations: 12.03 kB / 0.4899 GB, free: 13.76 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.332e-05/0.5481, allocations: 11.91 kB / 0.4899 GB, free: 13.75 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002801/0.5484, allocations: 194.9 kB / 0.4901 GB, free: 13.52 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.5484, allocations: 0 / 0.4901 GB, free: 13.52 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.31e-05/0.5485, allocations: 4 kB / 0.4901 GB, free: 13.52 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000121/0.5486, allocations: 49.64 kB / 0.4901 GB, free: 13.46 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.5486, allocations: 7.938 kB / 0.4901 GB, free: 13.45 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.5487, allocations: 4 kB / 0.4902 GB, free: 13.45 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.061e-06/0.5487, allocations: 0 / 0.4902 GB, free: 13.45 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.829e-05/0.5488, allocations: 19.98 kB / 0.4902 GB, free: 13.43 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005133/0.5493, allocations: 308.7 kB / 0.4905 GB, free: 13.08 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.91e-05/0.5494, allocations: 42.56 kB / 0.4905 GB, free: 13.03 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.395e-05/0.5495, allocations: 20.8 kB / 0.4905 GB, free: 13 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.595e-05/0.5495, allocations: 0 / 0.4905 GB, free: 13 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.5495, allocations: 31.69 kB / 0.4906 GB, free: 12.96 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 2.061e-06/0.5495, allocations: 3.938 kB / 0.4906 GB, free: 12.96 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006403/0.5502, allocations: 161.3 kB / 0.4907 GB, free: 12.8 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/0.5503, allocations: 55.41 kB / 0.4908 GB, free: 12.73 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002347/0.5505, allocations: 175.8 kB / 0.4909 GB, free: 12.55 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/0.5505, allocations: 29.7 kB / 0.491 GB, free: 12.52 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.176e-05/0.5506, allocations: 162.5 kB / 0.4911 GB, free: 12.36 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.925e-05/0.5507, allocations: 27.61 kB / 0.4911 GB, free: 12.33 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.763e-06/0.5507, allocations: 0 / 0.4911 GB, free: 12.33 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.5509, allocations: 318.8 kB / 0.4914 GB, free: 12.01 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.736e-05/0.551, allocations: 19.98 kB / 0.4915 GB, free: 11.99 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.022e-05/0.551, allocations: 20 kB / 0.4915 GB, free: 11.97 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.869e-05/0.5511, allocations: 32.22 kB / 0.4915 GB, free: 11.94 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.708e-06/0.5511, allocations: 0 / 0.4915 GB, free: 11.94 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001891/0.5513, allocations: 85.73 kB / 0.4916 GB, free: 11.85 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.5513, allocations: 7.984 kB / 0.4916 GB, free: 11.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.162e-06/0.5514, allocations: 4 kB / 0.4916 GB, free: 11.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.5514, allocations: 0 / 0.4916 GB, free: 11.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.5515, allocations: 19.94 kB / 0.4916 GB, free: 11.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.334e-06/0.5516, allocations: 3.984 kB / 0.4916 GB, free: 11.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.591e-05/0.5516, allocations: 8 kB / 0.4916 GB, free: 11.81 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.46e-05/0.5517, allocations: 11.94 kB / 0.4917 GB, free: 11.8 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.987e-05/0.5518, allocations: 108.9 kB / 0.4918 GB, free: 11.68 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.039e-05/0.5518, allocations: 8.188 kB / 0.4918 GB, free: 11.68 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002654/0.5521, allocations: 114.1 kB / 0.4919 GB, free: 11.56 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.214e-06/0.5521, allocations: 11.92 kB / 0.4919 GB, free: 11.55 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.484e-06/0.5521, allocations: 0 / 0.4919 GB, free: 11.55 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.749e-06/0.5521, allocations: 0 / 0.4919 GB, free: 11.55 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006404/0.5528, allocations: 411.3 kB / 0.4923 GB, free: 11.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.926e-06/0.5528, allocations: 0 / 0.4923 GB, free: 11.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/0.5529, allocations: 23.92 kB / 0.4923 GB, free: 11.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.553, allocations: 0 / 0.4923 GB, free: 11.07 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.888e-06/0.553, allocations: 0 / 0.4923 GB, free: 11.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.589e-06/0.553, allocations: 0 / 0.4923 GB, free: 11.07 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.997e-06/0.553, allocations: 4 kB / 0.4923 GB, free: 11.06 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002673/0.5533, allocations: 206 kB / 0.4925 GB, free: 10.84 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.649e-05/0.5534, allocations: 96.91 kB / 0.4926 GB, free: 10.72 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.395e-05/0.5534, allocations: 0 / 0.4926 GB, free: 10.72 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.5535, allocations: 12 kB / 0.4926 GB, free: 10.71 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.473e-05/0.5536, allocations: 11.88 kB / 0.4926 GB, free: 10.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.5536, allocations: 8 kB / 0.4926 GB, free: 10.69 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001762/0.5538, allocations: 149.3 kB / 0.4928 GB, free: 10.55 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.01e-07/0.5538, allocations: 0 / 0.4928 GB, free: 10.55 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003631/0.5542, allocations: 27.94 kB / 0.4928 GB, free: 10.52 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.001578/0.5558, allocations: 449.9 kB / 0.4932 GB, free: 10.22 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000175/0.556, allocations: 59.92 kB / 0.4933 GB, free: 10.16 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.178e-06/0.556, allocations: 0 / 0.4933 GB, free: 10.16 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.652e-05/0.5561, allocations: 28 kB / 0.4933 GB, free: 10.13 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002624/0.5564, allocations: 15.98 kB / 0.4933 GB, free: 10.12 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005057/0.5569, allocations: 219.8 kB / 0.4935 GB, free: 9.867 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004084/0.5573, allocations: 0.7121 MB / 0.4942 GB, free: 9.129 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.401e-05/0.5574, allocations: 15.5 kB / 0.4942 GB, free: 9.113 MB / 426.7 MB Notification: Performance of SimCode: time 1.458e-06/0.5574, allocations: 0 / 0.4942 GB, free: 9.113 MB / 426.7 MB Notification: Performance of Templates: time 0.004371/0.5618, allocations: 1.775 MB / 0.496 GB, free: 7.336 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test3.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.Test3CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test3CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test3CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test3Functions.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.Test3CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test3CalcHelperMain.o] Error 1