Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test37") Notification: Performance of loadModel(ModelicaTest): time 2.337/2.337, allocations: 270.1 MB / 282.7 MB, free: 1.781 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.92e-05/3.928e-05, allocations: 4 kB / 347 MB, free: 3.137 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3211/0.3212, allocations: 61.88 MB / 408.9 MB, free: 10.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1369/0.4581, allocations: 89.08 MB / 497.9 MB, free: 1.566 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002319/0.4584, allocations: 71.97 kB / 498 MB, free: 1.496 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02216/0.4806, allocations: 5.357 MB / 0.4916 GB, free: 12.13 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.102e-06/0.4806, allocations: 7.938 kB / 0.4916 GB, free: 12.12 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.354e-05/0.4807, allocations: 0 / 0.4916 GB, free: 12.12 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005066/0.4812, allocations: 378.2 kB / 0.4919 GB, free: 11.71 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.4812, allocations: 8.031 kB / 0.4919 GB, free: 11.7 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.254e-05/0.4813, allocations: 19.89 kB / 0.492 GB, free: 11.68 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003542/0.4817, allocations: 199.8 kB / 0.4922 GB, free: 11.45 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.4817, allocations: 4 kB / 0.4922 GB, free: 11.44 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.821e-05/0.4817, allocations: 3.953 kB / 0.4922 GB, free: 11.44 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001265/0.4819, allocations: 53.67 kB / 0.4922 GB, free: 11.38 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.627e-06/0.4819, allocations: 0 / 0.4922 GB, free: 11.38 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.4819, allocations: 4 kB / 0.4922 GB, free: 11.38 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.163e-06/0.4819, allocations: 0 / 0.4922 GB, free: 11.38 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.12e-05/0.482, allocations: 15.98 kB / 0.4922 GB, free: 11.36 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002579/0.4823, allocations: 189.6 kB / 0.4924 GB, free: 11.12 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001424/0.4824, allocations: 46.56 kB / 0.4925 GB, free: 11.07 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.713e-05/0.4825, allocations: 24.86 kB / 0.4925 GB, free: 11.04 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/0.4825, allocations: 0 / 0.4925 GB, free: 11.04 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001521/0.4827, allocations: 67.44 kB / 0.4925 GB, free: 10.96 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 2.673e-06/0.4827, allocations: 0 / 0.4925 GB, free: 10.96 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002345/0.483, allocations: 69.59 kB / 0.4926 GB, free: 10.89 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.492e-05/0.483, allocations: 71.27 kB / 0.4927 GB, free: 10.81 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002374/0.4833, allocations: 168.8 kB / 0.4928 GB, free: 10.64 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.594e-05/0.4833, allocations: 29.7 kB / 0.4929 GB, free: 10.61 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.704e-05/0.4834, allocations: 162.6 kB / 0.493 GB, free: 10.45 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.779e-05/0.4835, allocations: 15.75 kB / 0.493 GB, free: 10.43 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.001e-06/0.4835, allocations: 0 / 0.493 GB, free: 10.43 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.4837, allocations: 322.8 kB / 0.4933 GB, free: 10.11 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.471e-05/0.4837, allocations: 12 kB / 0.4934 GB, free: 10.09 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.865e-05/0.4838, allocations: 25.7 kB / 0.4934 GB, free: 10.06 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.411e-05/0.4839, allocations: 19.98 kB / 0.4934 GB, free: 10.04 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.4839, allocations: 0 / 0.4934 GB, free: 10.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000173/0.4841, allocations: 73.62 kB / 0.4935 GB, free: 9.965 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.4841, allocations: 7.953 kB / 0.4935 GB, free: 9.957 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.174e-06/0.4841, allocations: 0 / 0.4935 GB, free: 9.957 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.4841, allocations: 4 kB / 0.4935 GB, free: 9.953 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.545e-05/0.4842, allocations: 8 kB / 0.4935 GB, free: 9.945 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.136e-06/0.4843, allocations: 0 / 0.4935 GB, free: 9.945 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.177e-05/0.4843, allocations: 7.984 kB / 0.4935 GB, free: 9.938 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.4844, allocations: 4.031 kB / 0.4935 GB, free: 9.934 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 (7): * Single equations (assignments): 7 * 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.528e-05/0.4845, allocations: 109 kB / 0.4936 GB, free: 9.82 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.858e-05/0.4845, allocations: 7.906 kB / 0.4936 GB, free: 9.812 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002409/0.4848, allocations: 97.66 kB / 0.4937 GB, free: 9.707 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.351e-06/0.4848, allocations: 0 / 0.4937 GB, free: 9.707 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.32e-06/0.4848, allocations: 192 / 0.4937 GB, free: 9.707 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.574e-06/0.4848, allocations: 4 kB / 0.4937 GB, free: 9.703 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002126/0.485, allocations: 189.5 kB / 0.4939 GB, free: 9.469 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.4851, allocations: 0 / 0.4939 GB, free: 9.469 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.362e-05/0.4851, allocations: 11.98 kB / 0.4939 GB, free: 9.457 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.4851, allocations: 4 kB / 0.4939 GB, free: 9.453 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.4851, allocations: 0 / 0.4939 GB, free: 9.453 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.138e-06/0.4852, allocations: 3.953 kB / 0.4939 GB, free: 9.449 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.4852, allocations: 0 / 0.4939 GB, free: 9.449 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002197/0.4854, allocations: 109 kB / 0.494 GB, free: 9.324 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.328e-05/0.4855, allocations: 100.9 kB / 0.4941 GB, free: 9.207 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.186e-05/0.4856, allocations: 4 kB / 0.4941 GB, free: 9.203 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.685e-05/0.4856, allocations: 7.984 kB / 0.4941 GB, free: 9.195 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.214e-05/0.4857, allocations: 7.953 kB / 0.4941 GB, free: 9.188 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.4857, allocations: 3.938 kB / 0.4941 GB, free: 9.184 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001752/0.4859, allocations: 144.6 kB / 0.4943 GB, free: 9.043 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.09e-07/0.4859, allocations: 0 / 0.4943 GB, free: 9.043 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003155/0.4862, allocations: 24 kB / 0.4943 GB, free: 9.02 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001413/0.4877, allocations: 409.3 kB / 0.4947 GB, free: 8.746 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001559/0.4878, allocations: 43.92 kB / 0.4947 GB, free: 8.703 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.78e-06/0.4879, allocations: 0 / 0.4947 GB, free: 8.703 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.326e-05/0.4879, allocations: 20 kB / 0.4947 GB, free: 8.684 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002688/0.4882, allocations: 16.05 kB / 0.4948 GB, free: 8.668 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004638/0.4887, allocations: 187.6 kB / 0.4949 GB, free: 8.457 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003937/0.4891, allocations: 0.7004 MB / 0.4956 GB, free: 7.73 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.453e-05/0.4892, allocations: 23.36 kB / 0.4956 GB, free: 7.707 MB / 426.7 MB Notification: Performance of SimCode: time 2.217e-06/0.4892, allocations: 0 / 0.4956 GB, free: 7.707 MB / 426.7 MB Notification: Performance of Templates: time 0.004313/0.4935, allocations: 1.702 MB / 0.4973 GB, free: 6.004 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test37CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test37CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test37Functions.cpp:202:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp4.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.Test37CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test37CalcHelperMain.o] Error 1