Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test49") Notification: Performance of loadModel(ModelicaTest): time 2.342/2.342, allocations: 270 MB / 282.7 MB, free: 1.902 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.891e-05/6.928e-05, allocations: 8 kB / 347 MB, free: 3.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3233/0.3234, allocations: 61.87 MB / 408.9 MB, free: 10.79 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1367/0.4601, allocations: 89.28 MB / 498.1 MB, free: 1.379 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002342/0.4604, allocations: 75.95 kB / 498.2 MB, free: 1.305 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02327/0.4837, allocations: 5.822 MB / 0.4922 GB, free: 11.48 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.449e-06/0.4837, allocations: 0 / 0.4922 GB, free: 11.48 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.251e-05/0.4838, allocations: 4 kB / 0.4922 GB, free: 11.47 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.0005435/0.4843, allocations: 410.1 kB / 0.4926 GB, free: 11.03 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.4844, allocations: 8.031 kB / 0.4926 GB, free: 11.02 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.861e-05/0.4844, allocations: 23.75 kB / 0.4926 GB, free: 11 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003925/0.4848, allocations: 234.4 kB / 0.4929 GB, free: 10.73 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.4849, allocations: 7.953 kB / 0.4929 GB, free: 10.72 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.627e-05/0.4849, allocations: 4 kB / 0.4929 GB, free: 10.71 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/0.4851, allocations: 53.67 kB / 0.4929 GB, free: 10.66 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.4851, allocations: 0 / 0.4929 GB, free: 10.66 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.4851, allocations: 0 / 0.4929 GB, free: 10.66 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.716e-06/0.4851, allocations: 0 / 0.4929 GB, free: 10.66 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.505e-05/0.4852, allocations: 23.92 kB / 0.493 GB, free: 10.63 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004845/0.4857, allocations: 308.9 kB / 0.4932 GB, free: 10.28 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001477/0.4859, allocations: 54.67 kB / 0.4933 GB, free: 10.22 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.574e-05/0.4859, allocations: 16.98 kB / 0.4933 GB, free: 10.2 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.345e-05/0.486, allocations: 4 kB / 0.4933 GB, free: 10.2 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001516/0.4861, allocations: 67.33 kB / 0.4934 GB, free: 10.12 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.976e-06/0.4862, allocations: 0 / 0.4934 GB, free: 10.12 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.000547/0.4867, allocations: 169.1 kB / 0.4935 GB, free: 9.945 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.378e-05/0.4868, allocations: 63.39 kB / 0.4936 GB, free: 9.871 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000359/0.4872, allocations: 233.8 kB / 0.4938 GB, free: 9.629 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.493e-05/0.4872, allocations: 25.7 kB / 0.4939 GB, free: 9.598 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.4873, allocations: 170.6 kB / 0.494 GB, free: 9.43 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.885e-05/0.4874, allocations: 23.66 kB / 0.494 GB, free: 9.406 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.456e-06/0.4874, allocations: 0 / 0.494 GB, free: 9.406 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.4876, allocations: 326.7 kB / 0.4944 GB, free: 9.078 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.772e-05/0.4876, allocations: 16 kB / 0.4944 GB, free: 9.062 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.219e-05/0.4877, allocations: 37.72 kB / 0.4944 GB, free: 9.02 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.662e-05/0.4878, allocations: 19.98 kB / 0.4944 GB, free: 9 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.672e-06/0.4878, allocations: 0 / 0.4944 GB, free: 9 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002105/0.488, allocations: 89.62 kB / 0.4945 GB, free: 8.906 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.4881, allocations: 4 kB / 0.4945 GB, free: 8.902 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.301e-06/0.4881, allocations: 4 kB / 0.4945 GB, free: 8.898 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.4881, allocations: 3.984 kB / 0.4945 GB, free: 8.895 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.4882, allocations: 12 kB / 0.4945 GB, free: 8.883 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.4883, allocations: 4.031 kB / 0.4945 GB, free: 8.879 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.396e-05/0.4883, allocations: 11.94 kB / 0.4945 GB, free: 8.867 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.458e-05/0.4884, allocations: 4 kB / 0.4945 GB, free: 8.863 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 0.000102/0.4885, allocations: 118.3 kB / 0.4947 GB, free: 8.742 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.734e-05/0.4885, allocations: 11.81 kB / 0.4947 GB, free: 8.73 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002995/0.4888, allocations: 123.2 kB / 0.4948 GB, free: 8.602 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.843e-06/0.4889, allocations: 0 / 0.4948 GB, free: 8.602 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.4889, allocations: 0 / 0.4948 GB, free: 8.602 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.04e-06/0.4889, allocations: 4 kB / 0.4948 GB, free: 8.598 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006525/0.4895, allocations: 435.2 kB / 0.4952 GB, free: 8.113 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.795e-06/0.4896, allocations: 7.984 kB / 0.4952 GB, free: 8.105 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.841e-05/0.4896, allocations: 8 kB / 0.4952 GB, free: 8.098 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.701e-06/0.4897, allocations: 0 / 0.4952 GB, free: 8.098 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.4897, allocations: 4 kB / 0.4952 GB, free: 8.094 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.651e-06/0.4897, allocations: 0 / 0.4952 GB, free: 8.094 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.119e-06/0.4897, allocations: 3.938 kB / 0.4952 GB, free: 8.09 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00031/0.49, allocations: 221.9 kB / 0.4954 GB, free: 7.848 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.4901, allocations: 101 kB / 0.4955 GB, free: 7.73 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.32e-05/0.4902, allocations: 0 / 0.4955 GB, free: 7.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.4903, allocations: 4 kB / 0.4955 GB, free: 7.727 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.642e-05/0.4904, allocations: 15.88 kB / 0.4956 GB, free: 7.711 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.655e-05/0.4904, allocations: 12 kB / 0.4956 GB, free: 7.699 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002627/0.4907, allocations: 192.2 kB / 0.4958 GB, free: 7.512 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.89e-07/0.4907, allocations: 0 / 0.4958 GB, free: 7.512 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003846/0.4911, allocations: 39.92 kB / 0.4958 GB, free: 7.473 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.001606/0.4927, allocations: 466.7 kB / 0.4962 GB, free: 7.156 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001809/0.4929, allocations: 55.94 kB / 0.4963 GB, free: 7.102 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4929, allocations: 0 / 0.4963 GB, free: 7.102 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.476e-05/0.493, allocations: 35.92 kB / 0.4963 GB, free: 7.066 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003184/0.4934, allocations: 30.61 kB / 0.4964 GB, free: 7.039 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005794/0.4939, allocations: 252.8 kB / 0.4966 GB, free: 6.762 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004273/0.4944, allocations: 0.7279 MB / 0.4973 GB, free: 6.008 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.018e-05/0.4945, allocations: 15.44 kB / 0.4973 GB, free: 5.992 MB / 426.7 MB Notification: Performance of SimCode: time 1.43e-06/0.4945, allocations: 0 / 0.4973 GB, free: 5.992 MB / 426.7 MB Notification: Performance of Templates: time 0.004981/0.4995, allocations: 2.152 MB / 0.4994 GB, free: 3.844 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test49CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test49CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test49Functions.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.Test49CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test49CalcHelperMain.o] Error 1