Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test41") Notification: Performance of loadModel(ModelicaTest): time 2.409/2.409, allocations: 270 MB / 282.7 MB, free: 1.895 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.396e-05/3.406e-05, allocations: 11.94 kB / 347 MB, free: 3.242 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3233/0.3233, allocations: 61.87 MB / 408.9 MB, free: 10.82 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.139/0.4624, allocations: 89.28 MB / 498.1 MB, free: 1.422 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002407/0.4627, allocations: 79.95 kB / 498.2 MB, free: 1.344 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02358/0.4863, allocations: 5.632 MB / 0.492 GB, free: 11.7 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4863, allocations: 0 / 0.492 GB, free: 11.7 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.95e-05/0.4864, allocations: 4 kB / 0.492 GB, free: 11.7 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005513/0.4869, allocations: 402.1 kB / 0.4924 GB, free: 11.26 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.487, allocations: 8.031 kB / 0.4924 GB, free: 11.25 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.972e-05/0.487, allocations: 11.91 kB / 0.4924 GB, free: 11.24 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003735/0.4874, allocations: 224 kB / 0.4927 GB, free: 10.98 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.4875, allocations: 11.89 kB / 0.4927 GB, free: 10.97 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.087e-05/0.4875, allocations: 0 / 0.4927 GB, free: 10.97 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001399/0.4877, allocations: 53.67 kB / 0.4927 GB, free: 10.91 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.4877, allocations: 3.938 kB / 0.4927 GB, free: 10.91 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.4877, allocations: 0 / 0.4927 GB, free: 10.91 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.165e-06/0.4877, allocations: 4 kB / 0.4927 GB, free: 10.91 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.01e-05/0.4878, allocations: 19.94 kB / 0.4927 GB, free: 10.89 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004836/0.4883, allocations: 304.9 kB / 0.493 GB, free: 10.54 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000148/0.4885, allocations: 50.62 kB / 0.4931 GB, free: 10.48 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.796e-05/0.4885, allocations: 16.98 kB / 0.4931 GB, free: 10.46 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.431e-05/0.4886, allocations: 8 kB / 0.4931 GB, free: 10.45 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000149/0.4887, allocations: 63.39 kB / 0.4932 GB, free: 10.38 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.65e-06/0.4887, allocations: 0 / 0.4932 GB, free: 10.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.000559/0.4893, allocations: 161.1 kB / 0.4933 GB, free: 10.21 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.671e-05/0.4894, allocations: 59.39 kB / 0.4934 GB, free: 10.14 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002769/0.4897, allocations: 193.4 kB / 0.4936 GB, free: 9.945 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.418e-05/0.4897, allocations: 25.7 kB / 0.4936 GB, free: 9.914 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.4898, allocations: 166.5 kB / 0.4937 GB, free: 9.75 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.861e-05/0.4899, allocations: 23.66 kB / 0.4938 GB, free: 9.727 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.926e-06/0.4899, allocations: 0 / 0.4938 GB, free: 9.727 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.4901, allocations: 326.8 kB / 0.4941 GB, free: 9.398 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.127e-05/0.4901, allocations: 20 kB / 0.4941 GB, free: 9.379 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.712e-05/0.4902, allocations: 29.72 kB / 0.4941 GB, free: 9.344 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.224e-05/0.4903, allocations: 31.91 kB / 0.4942 GB, free: 9.312 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.946e-06/0.4903, allocations: 0 / 0.4942 GB, free: 9.312 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002143/0.4905, allocations: 85.69 kB / 0.4942 GB, free: 9.223 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.4906, allocations: 4 kB / 0.4942 GB, free: 9.219 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.954e-06/0.4906, allocations: 192 / 0.4942 GB, free: 9.219 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.4906, allocations: 8 kB / 0.4942 GB, free: 9.211 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.4907, allocations: 16.17 kB / 0.4943 GB, free: 9.195 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.822e-05/0.4908, allocations: 11.92 kB / 0.4943 GB, free: 9.184 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.083e-05/0.4908, allocations: 4 kB / 0.4943 GB, free: 9.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.551e-05/0.4909, allocations: 4 kB / 0.4943 GB, free: 9.176 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.615e-05/0.491, allocations: 108.9 kB / 0.4944 GB, free: 9.062 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.696e-05/0.491, allocations: 15.81 kB / 0.4944 GB, free: 9.047 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003008/0.4913, allocations: 123.1 kB / 0.4945 GB, free: 8.914 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.414e-06/0.4914, allocations: 0 / 0.4945 GB, free: 8.914 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.712e-06/0.4914, allocations: 288 / 0.4945 GB, free: 8.914 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.906e-06/0.4914, allocations: 3.984 kB / 0.4945 GB, free: 8.91 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006433/0.492, allocations: 415.2 kB / 0.4949 GB, free: 8.445 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.308e-06/0.4921, allocations: 3.938 kB / 0.4949 GB, free: 8.441 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.017e-05/0.4921, allocations: 12 kB / 0.4949 GB, free: 8.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.453e-06/0.4922, allocations: 3.984 kB / 0.4949 GB, free: 8.426 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.4922, allocations: 4 kB / 0.4949 GB, free: 8.422 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.905e-06/0.4922, allocations: 8.031 kB / 0.4949 GB, free: 8.414 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.86e-06/0.4922, allocations: 0 / 0.4949 GB, free: 8.414 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003122/0.4925, allocations: 217.8 kB / 0.4952 GB, free: 8.176 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.812e-05/0.4926, allocations: 96.91 kB / 0.4952 GB, free: 8.062 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.186e-05/0.4927, allocations: 4 kB / 0.4953 GB, free: 8.059 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001243/0.4928, allocations: 12 kB / 0.4953 GB, free: 8.047 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.68e-05/0.4929, allocations: 11.94 kB / 0.4953 GB, free: 8.035 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/0.4929, allocations: 0 / 0.4953 GB, free: 8.035 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000202/0.4931, allocations: 160.2 kB / 0.4954 GB, free: 7.879 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.48e-07/0.4931, allocations: 0 / 0.4954 GB, free: 7.879 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003753/0.4935, allocations: 35.94 kB / 0.4955 GB, free: 7.844 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001617/0.4951, allocations: 475.4 kB / 0.4959 GB, free: 7.527 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000188/0.4953, allocations: 51.88 kB / 0.496 GB, free: 7.477 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.119e-06/0.4954, allocations: 4 kB / 0.496 GB, free: 7.473 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.364e-05/0.4955, allocations: 24 kB / 0.496 GB, free: 7.449 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003195/0.4958, allocations: 31.89 kB / 0.496 GB, free: 7.418 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005223/0.4963, allocations: 208.6 kB / 0.4962 GB, free: 7.184 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004068/0.4968, allocations: 0.7162 MB / 0.4969 GB, free: 6.441 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.692e-05/0.4968, allocations: 19.42 kB / 0.4969 GB, free: 6.422 MB / 426.7 MB Notification: Performance of SimCode: time 4.006e-06/0.4969, allocations: 0 / 0.4969 GB, free: 6.422 MB / 426.7 MB Notification: Performance of Templates: time 0.004774/0.5016, allocations: 1.997 MB / 0.4989 GB, free: 4.426 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test41.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.CombiTimeTable.Test41CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test41CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test41CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test41Functions.cpp:241:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp5.getData(), table_.getDim(1), table_.getDim(2), startTime__ext, ConstArray(columns_).getData(), columns_.getDim(1), smoothness__ext, extrapolation__ext, shiftTime__ext, timeEvents__ext, verboseRead__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources/ModelicaStandardTables.h:142:23: note: candidate function not viable: 7th argument ('const int *') would lose const qualifier MODELICA_EXPORT void* ModelicaStandardTables_CombiTimeTable_init2(_In_z_ const char* fileName, ^ 1 error generated. : recipe for target 'OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test41CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test41CalcHelperMain.o] Error 1