Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadModel(ModelicaTest): time 2.386/2.386, allocations: 270 MB / 282.7 MB, free: 1.75 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.416e-05/3.427e-05, allocations: 11.94 kB / 347 MB, free: 3.113 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.3265, allocations: 61.88 MB / 408.9 MB, free: 10.75 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1403/0.4669, allocations: 89.38 MB / 498.2 MB, free: 1.25 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002514/0.4672, allocations: 79.94 kB / 498.3 MB, free: 1.172 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02638/0.4936, allocations: 6.3 MB / 0.4928 GB, free: 10.86 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.4936, allocations: 0 / 0.4928 GB, free: 10.86 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.118e-05/0.4936, allocations: 4 kB / 0.4928 GB, free: 10.86 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006158/0.4943, allocations: 429.9 kB / 0.4932 GB, free: 10.39 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.4943, allocations: 8.031 kB / 0.4932 GB, free: 10.38 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.385e-05/0.4944, allocations: 11.91 kB / 0.4932 GB, free: 10.37 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004113/0.4948, allocations: 238.6 kB / 0.4934 GB, free: 10.1 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.4949, allocations: 7.953 kB / 0.4935 GB, free: 10.09 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.799e-05/0.4949, allocations: 4 kB / 0.4935 GB, free: 10.09 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001758/0.4951, allocations: 65.67 kB / 0.4935 GB, free: 10.02 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.4951, allocations: 4 kB / 0.4935 GB, free: 10.01 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.4951, allocations: 0 / 0.4935 GB, free: 10.01 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.035e-06/0.4952, allocations: 7.938 kB / 0.4935 GB, free: 10 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001176/0.4953, allocations: 35.97 kB / 0.4936 GB, free: 9.969 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000594/0.4959, allocations: 348.6 kB / 0.4939 GB, free: 9.578 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002975/0.4962, allocations: 74.55 kB / 0.494 GB, free: 9.496 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.141e-05/0.4963, allocations: 28.86 kB / 0.494 GB, free: 9.465 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.578e-05/0.4963, allocations: 3.938 kB / 0.494 GB, free: 9.461 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001764/0.4965, allocations: 79.33 kB / 0.4941 GB, free: 9.371 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 2.782e-06/0.4965, allocations: 4 kB / 0.4941 GB, free: 9.367 MB / 426.7 MB Notification: Performance of matching and sorting (n=14): time 0.0008378/0.4974, allocations: 265.1 kB / 0.4943 GB, free: 9.102 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.612e-05/0.4975, allocations: 63.3 kB / 0.4944 GB, free: 9.027 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003509/0.4978, allocations: 229.6 kB / 0.4946 GB, free: 8.789 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.179e-05/0.4979, allocations: 29.7 kB / 0.4946 GB, free: 8.754 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.498, allocations: 178.4 kB / 0.4948 GB, free: 8.578 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.349e-05/0.4981, allocations: 43.45 kB / 0.4948 GB, free: 8.535 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.105e-05/0.4981, allocations: 4 kB / 0.4949 GB, free: 8.531 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.4983, allocations: 314.8 kB / 0.4952 GB, free: 8.215 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001053/0.4984, allocations: 43.98 kB / 0.4952 GB, free: 8.172 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001132/0.4985, allocations: 49.72 kB / 0.4952 GB, free: 8.117 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000121/0.4986, allocations: 47.97 kB / 0.4953 GB, free: 8.07 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.4987, allocations: 0 / 0.4953 GB, free: 8.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003658/0.499, allocations: 149.5 kB / 0.4954 GB, free: 7.918 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.4991, allocations: 4 kB / 0.4954 GB, free: 7.914 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.503e-06/0.4991, allocations: 4 kB / 0.4954 GB, free: 7.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.4991, allocations: 8.031 kB / 0.4954 GB, free: 7.902 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001574/0.4993, allocations: 23.98 kB / 0.4955 GB, free: 7.879 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.802e-06/0.4993, allocations: 0 / 0.4955 GB, free: 7.879 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.554e-05/0.4994, allocations: 7.953 kB / 0.4955 GB, free: 7.871 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.16e-05/0.4994, allocations: 8 kB / 0.4955 GB, free: 7.863 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 (16): * Single equations (assignments): 16 * 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.0001108/0.4996, allocations: 114.3 kB / 0.4956 GB, free: 7.746 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.762e-05/0.4996, allocations: 19.8 kB / 0.4956 GB, free: 7.727 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004725/0.5001, allocations: 187.7 kB / 0.4958 GB, free: 7.535 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-05/0.5001, allocations: 11.97 kB / 0.4958 GB, free: 7.523 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.5001, allocations: 0 / 0.4958 GB, free: 7.523 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.718e-06/0.5002, allocations: 0 / 0.4958 GB, free: 7.523 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009347/0.5011, allocations: 0.5235 MB / 0.4963 GB, free: 6.938 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.5011, allocations: 3.938 kB / 0.4963 GB, free: 6.934 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/0.5013, allocations: 31.98 kB / 0.4963 GB, free: 6.902 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.514e-06/0.5013, allocations: 4 kB / 0.4964 GB, free: 6.898 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.792e-05/0.5013, allocations: 3.953 kB / 0.4964 GB, free: 6.895 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.899e-06/0.5013, allocations: 4 kB / 0.4964 GB, free: 6.891 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.634e-06/0.5013, allocations: 0 / 0.4964 GB, free: 6.891 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004483/0.5018, allocations: 302.4 kB / 0.4966 GB, free: 6.562 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/0.5019, allocations: 100.8 kB / 0.4967 GB, free: 6.445 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.481e-05/0.502, allocations: 8 kB / 0.4968 GB, free: 6.438 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.5021, allocations: 7.984 kB / 0.4968 GB, free: 6.43 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.028e-05/0.5022, allocations: 11.98 kB / 0.4968 GB, free: 6.418 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.036e-05/0.5022, allocations: 4 kB / 0.4968 GB, free: 6.414 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002606/0.5025, allocations: 184.5 kB / 0.497 GB, free: 6.234 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.63e-07/0.5025, allocations: 0 / 0.497 GB, free: 6.234 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000454/0.503, allocations: 51.94 kB / 0.497 GB, free: 6.184 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 14 * 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.001864/0.5048, allocations: 0.5163 MB / 0.4975 GB, free: 5.832 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003165/0.5052, allocations: 107.9 kB / 0.4976 GB, free: 5.727 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.239e-06/0.5052, allocations: 0 / 0.4976 GB, free: 5.727 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001398/0.5054, allocations: 51.94 kB / 0.4977 GB, free: 5.676 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003667/0.5057, allocations: 36.05 kB / 0.4977 GB, free: 5.637 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007325/0.5065, allocations: 282.7 kB / 0.498 GB, free: 5.328 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004446/0.507, allocations: 0.7321 MB / 0.4987 GB, free: 4.57 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.222e-05/0.5071, allocations: 19.44 kB / 0.4987 GB, free: 4.551 MB / 426.7 MB Notification: Performance of SimCode: time 1.709e-06/0.5071, allocations: 0 / 0.4987 GB, free: 4.551 MB / 426.7 MB Notification: Performance of Templates: time 0.005976/0.5131, allocations: 2.552 MB / 0.5012 GB, free: 2.004 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test5CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test5CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test5Functions.cpp:282: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.Test5CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test5CalcHelperMain.o] Error 1