Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test80") Notification: Performance of loadModel(ModelicaTest): time 2.378/2.378, allocations: 270 MB / 282.7 MB, free: 1.824 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.047e-05/3.059e-05, allocations: 4 kB / 347 MB, free: 3.141 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3254, allocations: 61.89 MB / 408.9 MB, free: 10.78 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.138/0.4635, allocations: 89.3 MB / 498.2 MB, free: 1.355 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002334/0.4637, allocations: 75.95 kB / 498.2 MB, free: 1.281 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02303/0.4868, allocations: 5.795 MB / 0.4922 GB, free: 11.48 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.241e-06/0.4868, allocations: 4 kB / 0.4922 GB, free: 11.48 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.685e-05/0.4869, allocations: 0 / 0.4922 GB, free: 11.48 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000656/0.4875, allocations: 437.9 kB / 0.4926 GB, free: 11 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.4876, allocations: 12.03 kB / 0.4926 GB, free: 10.99 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.002e-05/0.4877, allocations: 11.91 kB / 0.4927 GB, free: 10.98 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004748/0.4881, allocations: 246.4 kB / 0.4929 GB, free: 10.7 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.4882, allocations: 7.953 kB / 0.4929 GB, free: 10.69 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.4882, allocations: 4 kB / 0.4929 GB, free: 10.69 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002169/0.4884, allocations: 97.03 kB / 0.493 GB, free: 10.57 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.743e-06/0.4885, allocations: 4 kB / 0.493 GB, free: 10.57 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/0.4885, allocations: 0 / 0.493 GB, free: 10.57 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.632e-06/0.4885, allocations: 3.984 kB / 0.493 GB, free: 10.57 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001024/0.4886, allocations: 31.98 kB / 0.493 GB, free: 10.54 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000298/0.4889, allocations: 214.5 kB / 0.4932 GB, free: 10.27 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002344/0.4892, allocations: 109.3 kB / 0.4933 GB, free: 10.15 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.402e-05/0.4893, allocations: 41.75 kB / 0.4934 GB, free: 10.1 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.4893, allocations: 4 kB / 0.4934 GB, free: 10.1 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002213/0.4896, allocations: 101 kB / 0.4935 GB, free: 9.98 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 2.734e-06/0.4896, allocations: 0 / 0.4935 GB, free: 9.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.000384/0.49, allocations: 133.5 kB / 0.4936 GB, free: 9.844 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.699e-05/0.4901, allocations: 140.4 kB / 0.4937 GB, free: 9.676 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000293/0.4904, allocations: 195.1 kB / 0.4939 GB, free: 9.477 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.267e-05/0.4904, allocations: 33.7 kB / 0.494 GB, free: 9.438 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.877e-05/0.4905, allocations: 166.6 kB / 0.4941 GB, free: 9.273 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.436e-05/0.4906, allocations: 27.64 kB / 0.4941 GB, free: 9.246 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.217e-05/0.4906, allocations: 8 kB / 0.4942 GB, free: 9.238 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.4908, allocations: 310.8 kB / 0.4945 GB, free: 8.926 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.894e-05/0.4909, allocations: 31.98 kB / 0.4945 GB, free: 8.895 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001154/0.491, allocations: 65.16 kB / 0.4945 GB, free: 8.812 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.775e-05/0.4911, allocations: 40.09 kB / 0.4946 GB, free: 8.773 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.016e-05/0.4912, allocations: 4 kB / 0.4946 GB, free: 8.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002932/0.4915, allocations: 121.5 kB / 0.4947 GB, free: 8.645 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.4915, allocations: 4 kB / 0.4947 GB, free: 8.641 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.328e-06/0.4915, allocations: 4 kB / 0.4947 GB, free: 8.637 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.4915, allocations: 0 / 0.4947 GB, free: 8.637 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001587/0.4917, allocations: 23.92 kB / 0.4947 GB, free: 8.613 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.4917, allocations: 4 kB / 0.4947 GB, free: 8.609 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/0.4919, allocations: 11.91 kB / 0.4947 GB, free: 8.598 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.742e-05/0.4919, allocations: 4 kB / 0.4948 GB, free: 8.594 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$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 (14): * Single equations (assignments): 14 * 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.0001273/0.492, allocations: 128.9 kB / 0.4949 GB, free: 8.461 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.825e-05/0.4921, allocations: 19.77 kB / 0.4949 GB, free: 8.441 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003797/0.4925, allocations: 146.6 kB / 0.495 GB, free: 8.285 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.092e-06/0.4925, allocations: 0 / 0.495 GB, free: 8.285 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.826e-06/0.4925, allocations: 0 / 0.495 GB, free: 8.285 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.506e-06/0.4925, allocations: 0 / 0.495 GB, free: 8.285 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002714/0.4928, allocations: 221.6 kB / 0.4952 GB, free: 8.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.628e-06/0.4928, allocations: 0 / 0.4952 GB, free: 8.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.373e-05/0.4929, allocations: 19.92 kB / 0.4953 GB, free: 8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.074e-06/0.4929, allocations: 4 kB / 0.4953 GB, free: 7.996 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.773e-05/0.493, allocations: 8.203 kB / 0.4953 GB, free: 7.988 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.403e-06/0.493, allocations: 11.94 kB / 0.4953 GB, free: 7.977 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.036e-06/0.493, allocations: 0 / 0.4953 GB, free: 7.977 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003953/0.4934, allocations: 179.4 kB / 0.4955 GB, free: 7.773 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.4935, allocations: 104.9 kB / 0.4956 GB, free: 7.652 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.486e-05/0.4936, allocations: 3.984 kB / 0.4956 GB, free: 7.648 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.4937, allocations: 12 kB / 0.4956 GB, free: 7.637 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.682e-05/0.4938, allocations: 15.92 kB / 0.4956 GB, free: 7.621 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-05/0.4938, allocations: 4 kB / 0.4956 GB, free: 7.617 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002214/0.494, allocations: 161.5 kB / 0.4957 GB, free: 7.461 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.03e-07/0.494, allocations: 0 / 0.4957 GB, free: 7.461 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003725/0.4944, allocations: 55.83 kB / 0.4958 GB, free: 7.406 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001567/0.496, allocations: 456.3 kB / 0.4962 GB, free: 7.094 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002451/0.4963, allocations: 75.92 kB / 0.4963 GB, free: 7.02 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.049e-06/0.4963, allocations: 0 / 0.4963 GB, free: 7.02 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001187/0.4964, allocations: 47.92 kB / 0.4964 GB, free: 6.973 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000362/0.4968, allocations: 43.75 kB / 0.4964 GB, free: 6.93 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005401/0.4973, allocations: 221.6 kB / 0.4966 GB, free: 6.684 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005595/0.4979, allocations: 0.7243 MB / 0.4973 GB, free: 5.934 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001844/0.4981, allocations: 23.42 kB / 0.4973 GB, free: 5.91 MB / 426.7 MB Notification: Performance of SimCode: time 2.377e-06/0.4982, allocations: 0 / 0.4973 GB, free: 5.91 MB / 426.7 MB Notification: Performance of Templates: time 0.01174/0.5099, allocations: 2.725 MB / 0.5 GB, free: 3.195 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test80CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test80CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test80Functions.cpp:216:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp8.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.Test80CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test80CalcHelperMain.o] Error 1