Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test86") Notification: Performance of loadModel(ModelicaTest): time 2.348/2.348, allocations: 270 MB / 282.7 MB, free: 1.781 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.434e-05/3.45e-05, allocations: 4 kB / 347 MB, free: 3.156 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3275/0.3276, allocations: 61.88 MB / 408.9 MB, free: 10.8 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1411/0.4687, allocations: 89.05 MB / 497.9 MB, free: 1.625 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002408/0.469, allocations: 71.95 kB / 498 MB, free: 1.555 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02244/0.4915, allocations: 5.29 MB / 0.4915 GB, free: 12.25 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.4915, allocations: 3.938 kB / 0.4915 GB, free: 12.25 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.215e-05/0.4916, allocations: 8 kB / 0.4915 GB, free: 12.24 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.0005262/0.4921, allocations: 382.2 kB / 0.4918 GB, free: 11.82 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.4921, allocations: 8.031 kB / 0.4919 GB, free: 11.82 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.683e-05/0.4922, allocations: 7.906 kB / 0.4919 GB, free: 11.81 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003662/0.4926, allocations: 207.8 kB / 0.4921 GB, free: 11.57 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/0.4926, allocations: 4 kB / 0.4921 GB, free: 11.56 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.801e-05/0.4927, allocations: 7.953 kB / 0.4921 GB, free: 11.55 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/0.4928, allocations: 53.62 kB / 0.4921 GB, free: 11.5 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.978e-06/0.4928, allocations: 0 / 0.4921 GB, free: 11.5 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.4928, allocations: 0 / 0.4921 GB, free: 11.5 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.766e-06/0.4929, allocations: 7.984 kB / 0.4921 GB, free: 11.49 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.219e-05/0.4929, allocations: 12 kB / 0.4921 GB, free: 11.48 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002421/0.4932, allocations: 181.6 kB / 0.4923 GB, free: 11.25 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001405/0.4933, allocations: 46.62 kB / 0.4924 GB, free: 11.2 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.587e-05/0.4934, allocations: 20.95 kB / 0.4924 GB, free: 11.17 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.421e-05/0.4934, allocations: 3.984 kB / 0.4924 GB, free: 11.17 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001596/0.4936, allocations: 75.28 kB / 0.4925 GB, free: 11.08 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 2.652e-06/0.4936, allocations: 0 / 0.4925 GB, free: 11.08 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002428/0.4939, allocations: 77.58 kB / 0.4925 GB, free: 11 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.145e-05/0.4939, allocations: 55.34 kB / 0.4926 GB, free: 10.93 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002356/0.4942, allocations: 172.8 kB / 0.4927 GB, free: 10.76 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.779e-05/0.4942, allocations: 29.7 kB / 0.4928 GB, free: 10.73 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.288e-05/0.4943, allocations: 162.6 kB / 0.4929 GB, free: 10.57 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.061e-05/0.4944, allocations: 19.73 kB / 0.4929 GB, free: 10.55 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.318e-06/0.4944, allocations: 0 / 0.4929 GB, free: 10.55 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.4946, allocations: 314.8 kB / 0.4932 GB, free: 10.23 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.315e-05/0.4946, allocations: 12 kB / 0.4933 GB, free: 10.22 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.599e-05/0.4947, allocations: 29.66 kB / 0.4933 GB, free: 10.18 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.936e-05/0.4948, allocations: 19.98 kB / 0.4933 GB, free: 10.16 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.512e-06/0.4948, allocations: 0 / 0.4933 GB, free: 10.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001692/0.495, allocations: 69.69 kB / 0.4934 GB, free: 10.09 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.495, allocations: 7.953 kB / 0.4934 GB, free: 10.08 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.728e-06/0.495, allocations: 160 / 0.4934 GB, free: 10.08 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.4951, allocations: 0 / 0.4934 GB, free: 10.08 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.4952, allocations: 19.92 kB / 0.4934 GB, free: 10.06 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.283e-05/0.4952, allocations: 3.984 kB / 0.4934 GB, free: 10.06 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.458e-05/0.4953, allocations: 8 kB / 0.4934 GB, free: 10.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.717e-06/0.4953, allocations: 0 / 0.4934 GB, free: 10.05 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.426e-05/0.4954, allocations: 109 kB / 0.4935 GB, free: 9.938 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.038e-05/0.4955, allocations: 7.906 kB / 0.4935 GB, free: 9.93 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002384/0.4957, allocations: 93.7 kB / 0.4936 GB, free: 9.828 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/0.4957, allocations: 4 kB / 0.4936 GB, free: 9.824 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.066e-06/0.4957, allocations: 0 / 0.4936 GB, free: 9.824 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.4958, allocations: 192 / 0.4936 GB, free: 9.824 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002283/0.496, allocations: 197.5 kB / 0.4938 GB, free: 9.582 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.491e-06/0.496, allocations: 0 / 0.4938 GB, free: 9.582 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.527e-05/0.4961, allocations: 7.938 kB / 0.4938 GB, free: 9.574 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.071e-06/0.4961, allocations: 4 kB / 0.4938 GB, free: 9.57 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/0.4961, allocations: 8 kB / 0.4938 GB, free: 9.562 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.692e-06/0.4961, allocations: 3.953 kB / 0.4938 GB, free: 9.559 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.896e-06/0.4961, allocations: 0 / 0.4938 GB, free: 9.559 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000218/0.4964, allocations: 105 kB / 0.4939 GB, free: 9.438 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.194e-05/0.4965, allocations: 96.94 kB / 0.494 GB, free: 9.324 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.836e-05/0.4965, allocations: 0 / 0.494 GB, free: 9.324 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.33e-05/0.4966, allocations: 4 kB / 0.494 GB, free: 9.32 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.279e-05/0.4966, allocations: 15.94 kB / 0.494 GB, free: 9.305 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.4967, allocations: 3.938 kB / 0.494 GB, free: 9.301 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001827/0.4969, allocations: 136.6 kB / 0.4942 GB, free: 9.168 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.45e-07/0.4969, allocations: 4 kB / 0.4942 GB, free: 9.164 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003108/0.4972, allocations: 23.98 kB / 0.4942 GB, free: 9.141 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.001472/0.4987, allocations: 410.9 kB / 0.4946 GB, free: 8.863 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001585/0.4989, allocations: 36 kB / 0.4946 GB, free: 8.828 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.294e-06/0.4989, allocations: 0 / 0.4946 GB, free: 8.828 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.701e-05/0.499, allocations: 19.94 kB / 0.4946 GB, free: 8.809 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002825/0.4993, allocations: 23.97 kB / 0.4947 GB, free: 8.785 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004442/0.4997, allocations: 187.7 kB / 0.4948 GB, free: 8.574 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004053/0.5001, allocations: 0.7043 MB / 0.4955 GB, free: 7.844 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.404e-05/0.5002, allocations: 19.38 kB / 0.4956 GB, free: 7.824 MB / 426.7 MB Notification: Performance of SimCode: time 1.584e-06/0.5002, allocations: 0 / 0.4956 GB, free: 7.824 MB / 426.7 MB Notification: Performance of Templates: time 0.004297/0.5045, allocations: 1.702 MB / 0.4972 GB, free: 6.121 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.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.Test86CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test86CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test86CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test86Functions.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.Test86CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test86CalcHelperMain.o] Error 1