Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test84") Notification: Performance of loadModel(ModelicaTest): time 2.481/2.481, allocations: 270 MB / 282.7 MB, free: 1.816 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.855e-05/3.871e-05, allocations: 7.938 kB / 347 MB, free: 3.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3262, allocations: 61.89 MB / 408.9 MB, free: 10.76 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1392/0.4654, allocations: 89.49 MB / 498.4 MB, free: 1.141 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002224/0.4657, allocations: 75.95 kB / 498.4 MB, free: 1.066 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02426/0.49, allocations: 5.905 MB / 0.4925 GB, free: 11.15 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.105e-06/0.49, allocations: 0 / 0.4925 GB, free: 11.15 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.278e-05/0.49, allocations: 0 / 0.4925 GB, free: 11.15 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.0005363/0.4906, allocations: 402.1 kB / 0.4929 GB, free: 10.71 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.4906, allocations: 8.031 kB / 0.4929 GB, free: 10.71 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.976e-05/0.4907, allocations: 7.906 kB / 0.4929 GB, free: 10.7 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003508/0.4911, allocations: 213.9 kB / 0.4931 GB, free: 10.45 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.4911, allocations: 3.938 kB / 0.4931 GB, free: 10.45 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.897e-05/0.4912, allocations: 4 kB / 0.4931 GB, free: 10.45 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001721/0.4913, allocations: 75.39 kB / 0.4932 GB, free: 10.36 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.4914, allocations: 0 / 0.4932 GB, free: 10.36 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.4914, allocations: 3.938 kB / 0.4932 GB, free: 10.36 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.607e-06/0.4914, allocations: 0 / 0.4932 GB, free: 10.36 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.525e-05/0.4915, allocations: 19.98 kB / 0.4932 GB, free: 10.34 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004589/0.492, allocations: 280.9 kB / 0.4935 GB, free: 10.01 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001571/0.4921, allocations: 62.62 kB / 0.4935 GB, free: 9.941 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.456e-05/0.4922, allocations: 16.98 kB / 0.4936 GB, free: 9.922 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.651e-05/0.4922, allocations: 4 kB / 0.4936 GB, free: 9.918 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001554/0.4924, allocations: 67.33 kB / 0.4936 GB, free: 9.84 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.776e-06/0.4924, allocations: 0 / 0.4936 GB, free: 9.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005446/0.493, allocations: 153.3 kB / 0.4938 GB, free: 9.684 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.477e-05/0.4931, allocations: 77.11 kB / 0.4938 GB, free: 9.59 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002292/0.4933, allocations: 148.7 kB / 0.494 GB, free: 9.438 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.085e-05/0.4933, allocations: 29.7 kB / 0.494 GB, free: 9.402 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.655e-05/0.4935, allocations: 162.5 kB / 0.4942 GB, free: 9.242 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.811e-05/0.4935, allocations: 23.73 kB / 0.4942 GB, free: 9.219 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.76e-06/0.4935, allocations: 0 / 0.4942 GB, free: 9.219 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.4937, allocations: 314.8 kB / 0.4945 GB, free: 8.902 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.16e-05/0.4938, allocations: 20 kB / 0.4945 GB, free: 8.883 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.34e-05/0.4939, allocations: 50.5 kB / 0.4946 GB, free: 8.824 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.051e-05/0.4939, allocations: 24.06 kB / 0.4946 GB, free: 8.801 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.441e-06/0.494, allocations: 3.984 kB / 0.4946 GB, free: 8.797 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002206/0.4942, allocations: 89.58 kB / 0.4947 GB, free: 8.703 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.4942, allocations: 4 kB / 0.4947 GB, free: 8.699 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.308e-06/0.4942, allocations: 0 / 0.4947 GB, free: 8.699 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.4943, allocations: 0 / 0.4947 GB, free: 8.699 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.4944, allocations: 27.92 kB / 0.4947 GB, free: 8.672 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.759e-06/0.4944, allocations: 0 / 0.4947 GB, free: 8.672 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.405e-05/0.4945, allocations: 12.02 kB / 0.4947 GB, free: 8.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.4945, allocations: 0 / 0.4947 GB, free: 8.66 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.0001024/0.4946, allocations: 109 kB / 0.4948 GB, free: 8.547 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.008e-05/0.4947, allocations: 7.906 kB / 0.4948 GB, free: 8.539 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002922/0.495, allocations: 114.2 kB / 0.4949 GB, free: 8.422 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.179e-06/0.495, allocations: 0 / 0.4949 GB, free: 8.422 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.045e-06/0.495, allocations: 0 / 0.4949 GB, free: 8.422 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.407e-06/0.495, allocations: 0 / 0.4949 GB, free: 8.422 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006216/0.4957, allocations: 407.4 kB / 0.4953 GB, free: 7.965 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.4957, allocations: 7.938 kB / 0.4953 GB, free: 7.957 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.933e-05/0.4957, allocations: 8 kB / 0.4953 GB, free: 7.949 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.719e-06/0.4958, allocations: 4.266 kB / 0.4953 GB, free: 7.945 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.4958, allocations: 4 kB / 0.4953 GB, free: 7.941 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.208e-06/0.4958, allocations: 3.953 kB / 0.4954 GB, free: 7.938 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.41e-06/0.4958, allocations: 3.938 kB / 0.4954 GB, free: 7.934 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003108/0.4961, allocations: 222 kB / 0.4956 GB, free: 7.691 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.034e-05/0.4962, allocations: 93 kB / 0.4957 GB, free: 7.582 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.432e-05/0.4963, allocations: 3.953 kB / 0.4957 GB, free: 7.578 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/0.4964, allocations: 4 kB / 0.4957 GB, free: 7.574 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.485e-05/0.4965, allocations: 11.98 kB / 0.4957 GB, free: 7.562 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.4965, allocations: 0 / 0.4957 GB, free: 7.562 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001431/0.4966, allocations: 125.8 kB / 0.4958 GB, free: 7.441 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.8e-07/0.4967, allocations: 0 / 0.4958 GB, free: 7.441 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003923/0.4971, allocations: 35.94 kB / 0.4958 GB, free: 7.406 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.001779/0.4989, allocations: 0.5133 MB / 0.4963 GB, free: 7.051 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000196/0.4991, allocations: 55.94 kB / 0.4964 GB, free: 6.996 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.108e-06/0.4991, allocations: 0 / 0.4964 GB, free: 6.996 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.655e-05/0.4992, allocations: 27.98 kB / 0.4964 GB, free: 6.969 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003184/0.4995, allocations: 27.92 kB / 0.4964 GB, free: 6.941 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004361/0.5, allocations: 172.8 kB / 0.4966 GB, free: 6.738 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003935/0.5004, allocations: 0.7004 MB / 0.4973 GB, free: 6.012 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.507e-05/0.5005, allocations: 15.44 kB / 0.4973 GB, free: 5.996 MB / 426.7 MB Notification: Performance of SimCode: time 1.654e-06/0.5005, allocations: 0 / 0.4973 GB, free: 5.996 MB / 426.7 MB Notification: Performance of Templates: time 0.004971/0.5055, allocations: 2.048 MB / 0.4993 GB, free: 3.949 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test84.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.Test84CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test84CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test84CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test84Functions.cpp:255: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.Test84CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test84CalcHelperMain.o] Error 1