Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test30") Notification: Performance of loadModel(ModelicaTest): time 2.38/2.38, allocations: 270 MB / 282.7 MB, free: 1.832 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.397e-05/3.4e-05, allocations: 4 kB / 347 MB, free: 3.203 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.3289, allocations: 61.89 MB / 408.9 MB, free: 10.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1378/0.4667, allocations: 89.28 MB / 498.1 MB, free: 1.363 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002333/0.467, allocations: 71.97 kB / 498.2 MB, free: 1.293 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02291/0.4899, allocations: 5.518 MB / 0.4919 GB, free: 11.76 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.002e-06/0.49, allocations: 0 / 0.4919 GB, free: 11.76 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.918e-05/0.49, allocations: 0 / 0.4919 GB, free: 11.76 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.0005418/0.4906, allocations: 398.2 kB / 0.4923 GB, free: 11.33 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.4906, allocations: 8.031 kB / 0.4923 GB, free: 11.32 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.028e-05/0.4907, allocations: 11.91 kB / 0.4923 GB, free: 11.31 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00036/0.4911, allocations: 207.8 kB / 0.4925 GB, free: 11.07 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.4911, allocations: 3.953 kB / 0.4925 GB, free: 11.06 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.421e-05/0.4911, allocations: 3.906 kB / 0.4925 GB, free: 11.06 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.4913, allocations: 57.67 kB / 0.4926 GB, free: 11 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.4913, allocations: 0 / 0.4926 GB, free: 11 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.4913, allocations: 4 kB / 0.4926 GB, free: 10.99 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.302e-06/0.4914, allocations: 0 / 0.4926 GB, free: 10.99 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.391e-05/0.4914, allocations: 27.92 kB / 0.4926 GB, free: 10.96 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004632/0.4919, allocations: 288.8 kB / 0.4929 GB, free: 10.63 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001492/0.4921, allocations: 54.69 kB / 0.4929 GB, free: 10.57 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.234e-05/0.4922, allocations: 20.97 kB / 0.493 GB, free: 10.55 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.097e-05/0.4922, allocations: 4 kB / 0.493 GB, free: 10.54 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001492/0.4923, allocations: 71.28 kB / 0.493 GB, free: 10.46 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.676e-06/0.4924, allocations: 0 / 0.493 GB, free: 10.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005482/0.4929, allocations: 157.2 kB / 0.4932 GB, free: 10.3 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/0.493, allocations: 51.41 kB / 0.4932 GB, free: 10.24 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002392/0.4932, allocations: 172.9 kB / 0.4934 GB, free: 10.07 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.6e-05/0.4933, allocations: 25.7 kB / 0.4934 GB, free: 10.04 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.161e-05/0.4934, allocations: 162.6 kB / 0.4936 GB, free: 9.875 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.202e-05/0.4934, allocations: 23.7 kB / 0.4936 GB, free: 9.852 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.757e-06/0.4935, allocations: 0 / 0.4936 GB, free: 9.852 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.4936, allocations: 322.8 kB / 0.4939 GB, free: 9.527 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.406e-05/0.4937, allocations: 23.94 kB / 0.4939 GB, free: 9.504 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.302e-05/0.4938, allocations: 33.7 kB / 0.494 GB, free: 9.465 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.555e-05/0.4939, allocations: 16 kB / 0.494 GB, free: 9.449 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.4939, allocations: 4 kB / 0.494 GB, free: 9.445 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002182/0.4941, allocations: 89.67 kB / 0.4941 GB, free: 9.352 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.4942, allocations: 4 kB / 0.4941 GB, free: 9.348 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.487e-06/0.4942, allocations: 3.938 kB / 0.4941 GB, free: 9.344 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.4942, allocations: 4 kB / 0.4941 GB, free: 9.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.4943, allocations: 15.98 kB / 0.4941 GB, free: 9.324 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.262e-06/0.4944, allocations: 0 / 0.4941 GB, free: 9.324 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.573e-05/0.4945, allocations: 11.94 kB / 0.4941 GB, free: 9.312 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.4945, allocations: 192 / 0.4941 GB, free: 9.312 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.0001015/0.4946, allocations: 123.9 kB / 0.4942 GB, free: 9.188 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.507e-05/0.4946, allocations: 15.81 kB / 0.4942 GB, free: 9.172 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002895/0.4949, allocations: 110.2 kB / 0.4943 GB, free: 9.062 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/0.495, allocations: 8 kB / 0.4943 GB, free: 9.055 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.495, allocations: 0 / 0.4943 GB, free: 9.055 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.132e-06/0.495, allocations: 0 / 0.4943 GB, free: 9.055 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006158/0.4956, allocations: 407.3 kB / 0.4947 GB, free: 8.598 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.322e-06/0.4956, allocations: 4.031 kB / 0.4947 GB, free: 8.594 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.574e-05/0.4957, allocations: 11.98 kB / 0.4947 GB, free: 8.582 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.556e-06/0.4957, allocations: 4.219 kB / 0.4948 GB, free: 8.578 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.757e-05/0.4958, allocations: 8 kB / 0.4948 GB, free: 8.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.4958, allocations: 0 / 0.4948 GB, free: 8.57 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.425e-06/0.4958, allocations: 3.938 kB / 0.4948 GB, free: 8.566 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003075/0.4961, allocations: 221.8 kB / 0.495 GB, free: 8.324 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.209e-05/0.4962, allocations: 93 kB / 0.4951 GB, free: 8.215 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.402e-05/0.4963, allocations: 4 kB / 0.4951 GB, free: 8.211 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.4964, allocations: 4 kB / 0.4951 GB, free: 8.207 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.482e-05/0.4964, allocations: 15.88 kB / 0.4951 GB, free: 8.191 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/0.4965, allocations: 4 kB / 0.4951 GB, free: 8.188 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001813/0.4967, allocations: 148.3 kB / 0.4952 GB, free: 8.047 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.62e-07/0.4967, allocations: 0 / 0.4952 GB, free: 8.047 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003845/0.4971, allocations: 28 kB / 0.4953 GB, free: 8.02 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.001626/0.4987, allocations: 450 kB / 0.4957 GB, free: 7.719 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001995/0.4989, allocations: 59.91 kB / 0.4957 GB, free: 7.66 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.939e-06/0.499, allocations: 4 kB / 0.4957 GB, free: 7.656 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.499e-05/0.499, allocations: 27.94 kB / 0.4958 GB, free: 7.629 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003271/0.4994, allocations: 36.3 kB / 0.4958 GB, free: 7.594 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004931/0.4999, allocations: 196.9 kB / 0.496 GB, free: 7.363 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004009/0.5003, allocations: 0.7082 MB / 0.4967 GB, free: 6.629 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.905e-05/0.5004, allocations: 15.44 kB / 0.4967 GB, free: 6.613 MB / 426.7 MB Notification: Performance of SimCode: time 1.373e-06/0.5004, allocations: 0 / 0.4967 GB, free: 6.613 MB / 426.7 MB Notification: Performance of Templates: time 0.004654/0.5051, allocations: 1.92 MB / 0.4986 GB, free: 4.691 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test30CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test30CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test30Functions.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.Test30CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test30CalcHelperMain.o] Error 1