Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test29") Notification: Performance of loadModel(ModelicaTest): time 2.427/2.427, allocations: 270 MB / 282.7 MB, free: 1.797 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.528e-05/3.541e-05, allocations: 8 kB / 347 MB, free: 3.164 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.3447, allocations: 61.89 MB / 408.9 MB, free: 10.79 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1376/0.4823, allocations: 89.27 MB / 498.1 MB, free: 1.391 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002393/0.4826, allocations: 75.95 kB / 498.2 MB, free: 1.316 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02274/0.5054, allocations: 5.511 MB / 0.4919 GB, free: 11.79 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.094e-06/0.5054, allocations: 0 / 0.4919 GB, free: 11.79 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.321e-05/0.5055, allocations: 3.938 kB / 0.4919 GB, free: 11.79 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.0005377/0.506, allocations: 390.3 kB / 0.4923 GB, free: 11.36 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.5061, allocations: 8.031 kB / 0.4923 GB, free: 11.36 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.939e-05/0.5061, allocations: 15.91 kB / 0.4923 GB, free: 11.34 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000361/0.5065, allocations: 223.6 kB / 0.4925 GB, free: 11.08 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.5065, allocations: 3.953 kB / 0.4925 GB, free: 11.08 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.216e-05/0.5066, allocations: 4 kB / 0.4925 GB, free: 11.07 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/0.5067, allocations: 49.69 kB / 0.4926 GB, free: 11.02 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.5067, allocations: 3.984 kB / 0.4926 GB, free: 11.02 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.5068, allocations: 4 kB / 0.4926 GB, free: 11.01 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.934e-06/0.5068, allocations: 0 / 0.4926 GB, free: 11.01 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.066e-05/0.5069, allocations: 16 kB / 0.4926 GB, free: 11 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004632/0.5073, allocations: 292.9 kB / 0.4929 GB, free: 10.66 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001498/0.5075, allocations: 62.56 kB / 0.4929 GB, free: 10.59 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.521e-05/0.5076, allocations: 16.98 kB / 0.493 GB, free: 10.57 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.509e-05/0.5076, allocations: 3.938 kB / 0.493 GB, free: 10.57 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001584/0.5078, allocations: 71.39 kB / 0.493 GB, free: 10.48 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.72e-06/0.5078, allocations: 0 / 0.493 GB, free: 10.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005341/0.5083, allocations: 157.1 kB / 0.4932 GB, free: 10.32 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.612e-05/0.5084, allocations: 51.41 kB / 0.4932 GB, free: 10.26 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002478/0.5087, allocations: 177.3 kB / 0.4934 GB, free: 10.09 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.677e-05/0.5087, allocations: 25.7 kB / 0.4934 GB, free: 10.05 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.333e-05/0.5088, allocations: 158.6 kB / 0.4936 GB, free: 9.898 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.626e-05/0.5089, allocations: 19.72 kB / 0.4936 GB, free: 9.879 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.157e-06/0.5089, allocations: 4 kB / 0.4936 GB, free: 9.875 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.5091, allocations: 326.8 kB / 0.4939 GB, free: 9.547 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.877e-05/0.5091, allocations: 20 kB / 0.4939 GB, free: 9.527 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.078e-05/0.5092, allocations: 29.72 kB / 0.494 GB, free: 9.492 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.346e-05/0.5093, allocations: 27.91 kB / 0.494 GB, free: 9.465 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.001e-06/0.5093, allocations: 0 / 0.494 GB, free: 9.465 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002104/0.5095, allocations: 85.69 kB / 0.4941 GB, free: 9.375 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.5096, allocations: 4 kB / 0.4941 GB, free: 9.371 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.405e-06/0.5096, allocations: 4.031 kB / 0.4941 GB, free: 9.367 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/0.5096, allocations: 4 kB / 0.4941 GB, free: 9.363 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.5097, allocations: 19.92 kB / 0.4941 GB, free: 9.344 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.876e-06/0.5098, allocations: 0 / 0.4941 GB, free: 9.344 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.555e-05/0.5098, allocations: 11.94 kB / 0.4941 GB, free: 9.332 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/0.5099, allocations: 4 kB / 0.4941 GB, free: 9.328 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.735e-05/0.51, allocations: 110.8 kB / 0.4942 GB, free: 9.215 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.839e-05/0.51, allocations: 19.8 kB / 0.4942 GB, free: 9.195 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002848/0.5103, allocations: 110.2 kB / 0.4943 GB, free: 9.086 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.211e-06/0.5103, allocations: 4 kB / 0.4943 GB, free: 9.082 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.655e-06/0.5104, allocations: 3.984 kB / 0.4943 GB, free: 9.078 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.5104, allocations: 0 / 0.4943 GB, free: 9.078 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006239/0.511, allocations: 407.5 kB / 0.4947 GB, free: 8.621 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.56e-06/0.511, allocations: 0 / 0.4947 GB, free: 8.621 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.011e-05/0.5111, allocations: 8.188 kB / 0.4947 GB, free: 8.613 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.402e-06/0.5111, allocations: 3.938 kB / 0.4947 GB, free: 8.609 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/0.5111, allocations: 16.03 kB / 0.4948 GB, free: 8.594 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.5112, allocations: 0 / 0.4948 GB, free: 8.594 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.336e-06/0.5112, allocations: 0 / 0.4948 GB, free: 8.594 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003029/0.5115, allocations: 225.7 kB / 0.495 GB, free: 8.348 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.51e-05/0.5116, allocations: 93 kB / 0.4951 GB, free: 8.238 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.132e-05/0.5116, allocations: 4 kB / 0.4951 GB, free: 8.234 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.5118, allocations: 12 kB / 0.4951 GB, free: 8.223 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.211e-05/0.5118, allocations: 11.94 kB / 0.4951 GB, free: 8.211 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/0.5118, allocations: 0 / 0.4951 GB, free: 8.211 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001787/0.512, allocations: 144.8 kB / 0.4952 GB, free: 8.07 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.7e-07/0.512, allocations: 0 / 0.4952 GB, free: 8.07 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003715/0.5124, allocations: 28 kB / 0.4953 GB, free: 8.043 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.001641/0.5141, allocations: 467.5 kB / 0.4957 GB, free: 7.727 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001944/0.5143, allocations: 55.94 kB / 0.4958 GB, free: 7.672 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.843e-06/0.5143, allocations: 0 / 0.4958 GB, free: 7.672 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.823e-05/0.5144, allocations: 28 kB / 0.4958 GB, free: 7.645 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003243/0.5147, allocations: 27.91 kB / 0.4958 GB, free: 7.617 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004857/0.5152, allocations: 189 kB / 0.496 GB, free: 7.395 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000402/0.5157, allocations: 0.7121 MB / 0.4967 GB, free: 6.656 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.786e-05/0.5157, allocations: 23.36 kB / 0.4967 GB, free: 6.633 MB / 426.7 MB Notification: Performance of SimCode: time 1.565e-06/0.5158, allocations: 0 / 0.4967 GB, free: 6.633 MB / 426.7 MB Notification: Performance of Templates: time 0.004702/0.5205, allocations: 1.929 MB / 0.4986 GB, free: 4.703 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test29CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test29CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test29Functions.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.Test29CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test29CalcHelperMain.o] Error 1