Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test13") Notification: Performance of loadModel(ModelicaTest): time 2.345/2.345, allocations: 270 MB / 282.7 MB, free: 1.926 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.635e-05/6.664e-05, allocations: 8 kB / 347 MB, free: 3.297 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/0.327, allocations: 61.88 MB / 408.9 MB, free: 10.84 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1387/0.4657, allocations: 90.19 MB / 499 MB, free: 0.5312 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002323/0.466, allocations: 75.95 kB / 499.1 MB, free: 468 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01761/0.4836, allocations: 4.302 MB / 0.4916 GB, free: 12.15 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.008e-06/0.4837, allocations: 4 kB / 0.4916 GB, free: 12.14 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.725e-05/0.4837, allocations: 4 kB / 0.4916 GB, free: 12.14 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006372/0.4844, allocations: 447.8 kB / 0.492 GB, free: 11.65 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.4844, allocations: 8.031 kB / 0.4921 GB, free: 11.64 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.392e-05/0.4845, allocations: 15.81 kB / 0.4921 GB, free: 11.63 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003915/0.4849, allocations: 231.9 kB / 0.4923 GB, free: 11.36 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.546e-05/0.4849, allocations: 11.95 kB / 0.4923 GB, free: 11.35 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.533e-05/0.485, allocations: 8 kB / 0.4923 GB, free: 11.34 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000227/0.4852, allocations: 100.2 kB / 0.4924 GB, free: 11.23 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.163e-06/0.4853, allocations: 3.938 kB / 0.4924 GB, free: 11.23 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.607e-05/0.4853, allocations: 0 / 0.4924 GB, free: 11.23 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.213e-06/0.4853, allocations: 4 kB / 0.4924 GB, free: 11.22 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001231/0.4854, allocations: 36 kB / 0.4925 GB, free: 11.19 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007822/0.4862, allocations: 0.5137 MB / 0.493 GB, free: 10.62 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003048/0.4866, allocations: 86.67 kB / 0.493 GB, free: 10.52 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.659e-05/0.4867, allocations: 29.02 kB / 0.4931 GB, free: 10.49 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.4867, allocations: 3.984 kB / 0.4931 GB, free: 10.49 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001861/0.4869, allocations: 79.33 kB / 0.4931 GB, free: 10.4 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 2.854e-06/0.4869, allocations: 3.938 kB / 0.4931 GB, free: 10.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003094/0.4872, allocations: 109.4 kB / 0.4932 GB, free: 10.28 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.092e-05/0.4873, allocations: 55.39 kB / 0.4933 GB, free: 10.21 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002645/0.4876, allocations: 174.6 kB / 0.4935 GB, free: 10.03 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.007e-05/0.4876, allocations: 33.7 kB / 0.4935 GB, free: 9.988 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000118/0.4878, allocations: 166.5 kB / 0.4937 GB, free: 9.824 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.628e-05/0.4878, allocations: 31.55 kB / 0.4937 GB, free: 9.793 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.881e-06/0.4878, allocations: 8 kB / 0.4937 GB, free: 9.785 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.488, allocations: 310.8 kB / 0.494 GB, free: 9.473 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.944e-05/0.4881, allocations: 27.98 kB / 0.494 GB, free: 9.445 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/0.4882, allocations: 56.42 kB / 0.4941 GB, free: 9.375 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.187e-05/0.4883, allocations: 35.95 kB / 0.4941 GB, free: 9.34 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.003e-06/0.4883, allocations: 0 / 0.4941 GB, free: 9.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002722/0.4886, allocations: 109.6 kB / 0.4942 GB, free: 9.227 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.4886, allocations: 8.125 kB / 0.4942 GB, free: 9.219 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.4887, allocations: 4 kB / 0.4942 GB, free: 9.215 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.4887, allocations: 0 / 0.4942 GB, free: 9.215 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001485/0.4888, allocations: 27.92 kB / 0.4943 GB, free: 9.188 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.212e-06/0.4889, allocations: 0 / 0.4943 GB, free: 9.188 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001087/0.489, allocations: 23.83 kB / 0.4943 GB, free: 9.164 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.839e-05/0.489, allocations: 7.953 kB / 0.4943 GB, free: 9.156 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * 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.0001084/0.4891, allocations: 118.5 kB / 0.4944 GB, free: 9.035 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.658e-05/0.4892, allocations: 19.81 kB / 0.4944 GB, free: 9.016 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003018/0.4895, allocations: 119.2 kB / 0.4945 GB, free: 8.887 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.763e-06/0.4895, allocations: 0 / 0.4945 GB, free: 8.887 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.102e-06/0.4895, allocations: 0 / 0.4945 GB, free: 8.887 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.246e-06/0.4896, allocations: 0 / 0.4945 GB, free: 8.887 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002612/0.4898, allocations: 221.5 kB / 0.4947 GB, free: 8.621 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.58e-06/0.4898, allocations: 4 kB / 0.4947 GB, free: 8.617 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001177/0.49, allocations: 16 kB / 0.4948 GB, free: 8.602 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.533e-06/0.49, allocations: 3.984 kB / 0.4948 GB, free: 8.598 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.49, allocations: 0 / 0.4948 GB, free: 8.598 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.613e-06/0.49, allocations: 4 kB / 0.4948 GB, free: 8.594 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.409e-06/0.49, allocations: 0 / 0.4948 GB, free: 8.594 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003926/0.4904, allocations: 180.9 kB / 0.4949 GB, free: 8.398 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.215e-05/0.4906, allocations: 100.9 kB / 0.495 GB, free: 8.281 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.183e-05/0.4906, allocations: 0 / 0.495 GB, free: 8.281 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.4907, allocations: 11.98 kB / 0.495 GB, free: 8.27 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.559e-05/0.4908, allocations: 8 kB / 0.4951 GB, free: 8.262 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.744e-05/0.4908, allocations: 8.047 kB / 0.4951 GB, free: 8.254 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001723/0.491, allocations: 141.2 kB / 0.4952 GB, free: 8.117 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.02e-07/0.491, allocations: 0 / 0.4952 GB, free: 8.117 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00034/0.4914, allocations: 35.98 kB / 0.4952 GB, free: 8.082 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001426/0.4928, allocations: 408.5 kB / 0.4956 GB, free: 7.805 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002099/0.493, allocations: 63.94 kB / 0.4957 GB, free: 7.742 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.084e-06/0.493, allocations: 0 / 0.4957 GB, free: 7.742 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.76e-05/0.4932, allocations: 35.92 kB / 0.4957 GB, free: 7.707 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003486/0.4935, allocations: 38.17 kB / 0.4958 GB, free: 7.668 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005523/0.4941, allocations: 218 kB / 0.496 GB, free: 7.434 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004052/0.4945, allocations: 0.7165 MB / 0.4967 GB, free: 6.691 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.468e-05/0.4946, allocations: 19.42 kB / 0.4967 GB, free: 6.672 MB / 426.7 MB Notification: Performance of SimCode: time 1.343e-06/0.4946, allocations: 0 / 0.4967 GB, free: 6.672 MB / 426.7 MB Notification: Performance of Templates: time 0.005009/0.4996, allocations: 2.149 MB / 0.4988 GB, free: 4.516 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test13CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test13CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test13Functions.cpp:204:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp6.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.Test13CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test13CalcHelperMain.o] Error 1