Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test9") Notification: Performance of loadModel(ModelicaTest): time 2.436/2.436, allocations: 270 MB / 282.7 MB, free: 1.785 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.838e-05/3.844e-05, allocations: 15.92 kB / 347 MB, free: 3.137 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3284/0.3285, allocations: 61.88 MB / 408.9 MB, free: 10.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1382/0.4667, allocations: 89.22 MB / 498.1 MB, free: 1.426 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002387/0.467, allocations: 75.95 kB / 498.2 MB, free: 1.352 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02291/0.4899, allocations: 5.53 MB / 0.4919 GB, free: 11.81 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.328e-06/0.49, allocations: 0 / 0.4919 GB, free: 11.81 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.596e-05/0.49, allocations: 7.984 kB / 0.4919 GB, free: 11.8 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.0005396/0.4906, allocations: 394.2 kB / 0.4923 GB, free: 11.38 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.4906, allocations: 12.03 kB / 0.4923 GB, free: 11.36 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.699e-05/0.4907, allocations: 7.906 kB / 0.4923 GB, free: 11.36 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003833/0.4911, allocations: 228 kB / 0.4925 GB, free: 11.09 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.173e-05/0.4911, allocations: 11.89 kB / 0.4925 GB, free: 11.08 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.41e-05/0.4912, allocations: 4 kB / 0.4925 GB, free: 11.08 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.4913, allocations: 53.69 kB / 0.4926 GB, free: 11.02 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.4913, allocations: 0 / 0.4926 GB, free: 11.02 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.4914, allocations: 3.984 kB / 0.4926 GB, free: 11.02 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.404e-06/0.4914, allocations: 0 / 0.4926 GB, free: 11.02 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.972e-05/0.4914, allocations: 16 kB / 0.4926 GB, free: 11 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004749/0.4919, allocations: 296.9 kB / 0.4929 GB, free: 10.66 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001557/0.4921, allocations: 58.62 kB / 0.4929 GB, free: 10.59 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.413e-05/0.4922, allocations: 16.98 kB / 0.4929 GB, free: 10.57 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.348e-05/0.4922, allocations: 0 / 0.4929 GB, free: 10.57 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000149/0.4924, allocations: 67.39 kB / 0.493 GB, free: 10.5 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.433e-06/0.4924, allocations: 0 / 0.493 GB, free: 10.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005479/0.4929, allocations: 165 kB / 0.4932 GB, free: 10.33 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.458e-05/0.493, allocations: 51.41 kB / 0.4932 GB, free: 10.27 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002855/0.4933, allocations: 197.4 kB / 0.4934 GB, free: 10.06 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.012e-05/0.4934, allocations: 29.7 kB / 0.4934 GB, free: 10.03 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.842e-05/0.4935, allocations: 166.6 kB / 0.4936 GB, free: 9.863 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.235e-05/0.4935, allocations: 27.64 kB / 0.4936 GB, free: 9.836 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.14e-06/0.4935, allocations: 0 / 0.4936 GB, free: 9.836 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.4937, allocations: 314.8 kB / 0.4939 GB, free: 9.52 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.166e-05/0.4938, allocations: 23.98 kB / 0.4939 GB, free: 9.496 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.416e-05/0.4939, allocations: 37.66 kB / 0.494 GB, free: 9.453 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.608e-05/0.494, allocations: 36.03 kB / 0.494 GB, free: 9.418 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.91e-06/0.494, allocations: 0 / 0.494 GB, free: 9.418 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002088/0.4942, allocations: 81.88 kB / 0.4941 GB, free: 9.332 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.4942, allocations: 8 kB / 0.4941 GB, free: 9.324 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.223e-06/0.4942, allocations: 0 / 0.4941 GB, free: 9.324 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.4943, allocations: 4 kB / 0.4941 GB, free: 9.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.4944, allocations: 19.92 kB / 0.4941 GB, free: 9.301 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.4944, allocations: 4 kB / 0.4941 GB, free: 9.297 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.795e-05/0.4945, allocations: 32 / 0.4941 GB, free: 9.297 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/0.4945, allocations: 8 kB / 0.4941 GB, free: 9.289 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.0001022/0.4946, allocations: 112.9 kB / 0.4942 GB, free: 9.172 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.407e-05/0.4947, allocations: 11.81 kB / 0.4942 GB, free: 9.16 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003023/0.495, allocations: 119.1 kB / 0.4944 GB, free: 9.031 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.883e-06/0.495, allocations: 7.938 kB / 0.4944 GB, free: 9.023 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.225e-06/0.495, allocations: 0 / 0.4944 GB, free: 9.023 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.221e-06/0.4951, allocations: 7.969 kB / 0.4944 GB, free: 9.016 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006392/0.4957, allocations: 415.3 kB / 0.4948 GB, free: 8.551 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.325e-06/0.4957, allocations: 0 / 0.4948 GB, free: 8.551 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.847e-05/0.4958, allocations: 8 kB / 0.4948 GB, free: 8.543 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.885e-06/0.4958, allocations: 0 / 0.4948 GB, free: 8.543 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.901e-05/0.4958, allocations: 11.98 kB / 0.4948 GB, free: 8.531 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.562e-06/0.4958, allocations: 288 / 0.4948 GB, free: 8.531 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.4959, allocations: 0 / 0.4948 GB, free: 8.531 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003133/0.4962, allocations: 225.8 kB / 0.495 GB, free: 8.285 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.354e-05/0.4963, allocations: 100.9 kB / 0.4951 GB, free: 8.168 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.189e-05/0.4963, allocations: 0 / 0.4951 GB, free: 8.168 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/0.4965, allocations: 8 kB / 0.4951 GB, free: 8.16 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.584e-05/0.4965, allocations: 11.94 kB / 0.4951 GB, free: 8.148 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/0.4965, allocations: 4 kB / 0.4951 GB, free: 8.145 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002016/0.4968, allocations: 160.2 kB / 0.4953 GB, free: 7.988 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.61e-07/0.4968, allocations: 4 kB / 0.4953 GB, free: 7.984 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004818/0.4973, allocations: 31.94 kB / 0.4953 GB, free: 7.953 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.001612/0.4989, allocations: 472.1 kB / 0.4958 GB, free: 7.637 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000194/0.4991, allocations: 51.94 kB / 0.4958 GB, free: 7.586 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.007e-06/0.4991, allocations: 0 / 0.4958 GB, free: 7.586 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.47e-05/0.4992, allocations: 32.06 kB / 0.4958 GB, free: 7.555 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003301/0.4996, allocations: 23.97 kB / 0.4959 GB, free: 7.531 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005177/0.5001, allocations: 208.6 kB / 0.4961 GB, free: 7.297 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004102/0.5005, allocations: 0.716 MB / 0.4968 GB, free: 6.555 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.975e-05/0.5006, allocations: 19.42 kB / 0.4968 GB, free: 6.535 MB / 426.7 MB Notification: Performance of SimCode: time 1.439e-06/0.5006, allocations: 0 / 0.4968 GB, free: 6.535 MB / 426.7 MB Notification: Performance of Templates: time 0.004877/0.5055, allocations: 2.004 MB / 0.4987 GB, free: 4.535 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test9CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test9CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test9Functions.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.Test9CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test9CalcHelperMain.o] Error 1