Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test1") Notification: Performance of loadModel(ModelicaTest): time 2.392/2.392, allocations: 270 MB / 282.7 MB, free: 1.797 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.901e-05/3.915e-05, allocations: 7.984 kB / 347 MB, free: 3.141 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.3207, allocations: 61.88 MB / 408.9 MB, free: 10.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1376/0.4584, allocations: 89.27 MB / 498.1 MB, free: 1.375 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002218/0.4586, allocations: 75.95 kB / 498.2 MB, free: 1.301 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02754/0.4862, allocations: 5.806 MB / 0.4922 GB, free: 11.49 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.893e-06/0.4863, allocations: 0 / 0.4922 GB, free: 11.49 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.967e-05/0.4863, allocations: 0 / 0.4922 GB, free: 11.49 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.0007956/0.4871, allocations: 418.1 kB / 0.4926 GB, free: 11.04 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/0.4872, allocations: 8.031 kB / 0.4926 GB, free: 11.03 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.602e-05/0.4873, allocations: 19.81 kB / 0.4926 GB, free: 11.01 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000565/0.4879, allocations: 222.5 kB / 0.4928 GB, free: 10.75 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.401e-05/0.4879, allocations: 7.953 kB / 0.4928 GB, free: 10.74 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.386e-05/0.488, allocations: 7.984 kB / 0.4928 GB, free: 10.73 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001964/0.4882, allocations: 53.61 kB / 0.4929 GB, free: 10.68 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/0.4882, allocations: 8 kB / 0.4929 GB, free: 10.67 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.022e-05/0.4883, allocations: 4 kB / 0.4929 GB, free: 10.66 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.849e-06/0.4883, allocations: 0 / 0.4929 GB, free: 10.66 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001145/0.4884, allocations: 23.92 kB / 0.4929 GB, free: 10.64 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007047/0.4892, allocations: 308.9 kB / 0.4932 GB, free: 10.29 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002306/0.4894, allocations: 54.69 kB / 0.4933 GB, free: 10.23 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.018e-05/0.4895, allocations: 20.92 kB / 0.4933 GB, free: 10.2 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.4896, allocations: 3.938 kB / 0.4933 GB, free: 10.2 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002242/0.4898, allocations: 71.39 kB / 0.4934 GB, free: 10.12 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 4.039e-06/0.4898, allocations: 0 / 0.4934 GB, free: 10.12 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.000834/0.4907, allocations: 161 kB / 0.4935 GB, free: 9.953 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.098e-05/0.4908, allocations: 55.41 kB / 0.4936 GB, free: 9.887 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000575/0.4914, allocations: 233.8 kB / 0.4938 GB, free: 9.645 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.396e-05/0.4914, allocations: 29.7 kB / 0.4938 GB, free: 9.609 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000143/0.4916, allocations: 166.6 kB / 0.494 GB, free: 9.445 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.54e-05/0.4917, allocations: 23.66 kB / 0.494 GB, free: 9.422 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.59e-06/0.4917, allocations: 0 / 0.494 GB, free: 9.422 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002103/0.4919, allocations: 326.8 kB / 0.4943 GB, free: 9.094 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001026/0.4921, allocations: 20 kB / 0.4943 GB, free: 9.074 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001179/0.4922, allocations: 29.72 kB / 0.4944 GB, free: 9.039 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001144/0.4923, allocations: 23.98 kB / 0.4944 GB, free: 9.016 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.65e-06/0.4923, allocations: 0 / 0.4944 GB, free: 9.016 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003771/0.4927, allocations: 93.61 kB / 0.4945 GB, free: 8.918 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/0.4928, allocations: 7.984 kB / 0.4945 GB, free: 8.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.857e-06/0.4928, allocations: 4.031 kB / 0.4945 GB, free: 8.906 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.392e-05/0.4929, allocations: 4 kB / 0.4945 GB, free: 8.902 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001945/0.4931, allocations: 12 kB / 0.4945 GB, free: 8.891 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.614e-06/0.4931, allocations: 0 / 0.4945 GB, free: 8.891 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001307/0.4932, allocations: 4 kB / 0.4945 GB, free: 8.887 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.231e-05/0.4933, allocations: 3.984 kB / 0.4945 GB, free: 8.883 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.0001365/0.4934, allocations: 120.1 kB / 0.4946 GB, free: 8.762 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.038e-05/0.4935, allocations: 15.81 kB / 0.4946 GB, free: 8.746 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004793/0.494, allocations: 123.1 kB / 0.4948 GB, free: 8.617 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/0.4941, allocations: 4 kB / 0.4948 GB, free: 8.613 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.627e-06/0.4941, allocations: 288 / 0.4948 GB, free: 8.613 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.6e-06/0.4941, allocations: 0 / 0.4948 GB, free: 8.613 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/0.4952, allocations: 431.2 kB / 0.4952 GB, free: 8.133 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.4952, allocations: 3.938 kB / 0.4952 GB, free: 8.129 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/0.4954, allocations: 15.94 kB / 0.4952 GB, free: 8.113 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.651e-06/0.4954, allocations: 0 / 0.4952 GB, free: 8.113 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.254e-05/0.4954, allocations: 4.031 kB / 0.4952 GB, free: 8.109 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.609e-06/0.4954, allocations: 8.234 kB / 0.4952 GB, free: 8.102 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.243e-06/0.4955, allocations: 192 / 0.4952 GB, free: 8.102 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004984/0.496, allocations: 225.7 kB / 0.4954 GB, free: 7.855 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001518/0.4962, allocations: 101 kB / 0.4955 GB, free: 7.738 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.876e-05/0.4962, allocations: 4 kB / 0.4955 GB, free: 7.734 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002331/0.4965, allocations: 15.98 kB / 0.4955 GB, free: 7.719 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.175e-05/0.4966, allocations: 7.953 kB / 0.4955 GB, free: 7.711 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.071e-05/0.4966, allocations: 0 / 0.4955 GB, free: 7.711 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004315/0.497, allocations: 196.2 kB / 0.4957 GB, free: 7.52 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.14e-06/0.4971, allocations: 4 kB / 0.4957 GB, free: 7.516 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007429/0.4978, allocations: 39.92 kB / 0.4958 GB, free: 7.477 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.002556/0.5004, allocations: 454 kB / 0.4962 GB, free: 7.172 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003242/0.5008, allocations: 55.98 kB / 0.4963 GB, free: 7.117 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.309e-06/0.5008, allocations: 0 / 0.4963 GB, free: 7.117 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001378/0.501, allocations: 31.94 kB / 0.4963 GB, free: 7.086 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005662/0.5015, allocations: 27.7 kB / 0.4963 GB, free: 7.059 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009303/0.5025, allocations: 260.8 kB / 0.4966 GB, free: 6.773 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005744/0.5031, allocations: 0.7201 MB / 0.4973 GB, free: 6.027 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.5032, allocations: 19.44 kB / 0.4973 GB, free: 6.008 MB / 426.7 MB Notification: Performance of SimCode: time 1.9e-06/0.5032, allocations: 4 kB / 0.4973 GB, free: 6.004 MB / 426.7 MB Notification: Performance of Templates: time 0.008159/0.5114, allocations: 2.143 MB / 0.4994 GB, free: 3.863 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test1CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test1CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test1Functions.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.Test1CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test1CalcHelperMain.o] Error 1