Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test34") Notification: Performance of loadModel(ModelicaTest): time 2.377/2.377, allocations: 270 MB / 282.7 MB, free: 1.738 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.72e-05/6.723e-05, allocations: 7.938 kB / 347 MB, free: 3.109 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.3306, allocations: 61.88 MB / 408.9 MB, free: 10.73 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1402/0.4708, allocations: 89.28 MB / 498.1 MB, free: 1.336 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002356/0.4711, allocations: 79.95 kB / 498.2 MB, free: 1.258 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02317/0.4942, allocations: 5.511 MB / 0.4919 GB, free: 11.74 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.926e-06/0.4943, allocations: 0 / 0.4919 GB, free: 11.74 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.83e-05/0.4943, allocations: 7.938 kB / 0.4919 GB, free: 11.73 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.0005491/0.4949, allocations: 390.3 kB / 0.4923 GB, free: 11.3 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.4949, allocations: 8.031 kB / 0.4923 GB, free: 11.3 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.637e-05/0.495, allocations: 7.906 kB / 0.4923 GB, free: 11.29 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003789/0.4954, allocations: 219.6 kB / 0.4925 GB, free: 11.04 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.4954, allocations: 7.953 kB / 0.4925 GB, free: 11.03 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.394e-05/0.4955, allocations: 4 kB / 0.4925 GB, free: 11.02 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001387/0.4956, allocations: 53.67 kB / 0.4926 GB, free: 10.96 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.4956, allocations: 0 / 0.4926 GB, free: 10.96 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.4957, allocations: 0 / 0.4926 GB, free: 10.96 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.379e-06/0.4957, allocations: 4 kB / 0.4926 GB, free: 10.96 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.022e-05/0.4958, allocations: 16 kB / 0.4926 GB, free: 10.95 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004716/0.4962, allocations: 292.9 kB / 0.4929 GB, free: 10.61 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001551/0.4964, allocations: 54.62 kB / 0.4929 GB, free: 10.55 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.077e-05/0.4965, allocations: 28.92 kB / 0.493 GB, free: 10.52 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.401e-05/0.4965, allocations: 0 / 0.493 GB, free: 10.52 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001508/0.4967, allocations: 63.33 kB / 0.493 GB, free: 10.44 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.509e-06/0.4967, allocations: 0 / 0.493 GB, free: 10.44 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005495/0.4973, allocations: 165.1 kB / 0.4932 GB, free: 10.27 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.709e-05/0.4973, allocations: 55.41 kB / 0.4932 GB, free: 10.21 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002497/0.4976, allocations: 168.9 kB / 0.4934 GB, free: 10.04 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.66e-05/0.4976, allocations: 29.7 kB / 0.4934 GB, free: 10 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.439e-05/0.4977, allocations: 162.6 kB / 0.4936 GB, free: 9.844 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.675e-05/0.4978, allocations: 19.72 kB / 0.4936 GB, free: 9.824 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.966e-06/0.4978, allocations: 0 / 0.4936 GB, free: 9.824 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.498, allocations: 322.8 kB / 0.4939 GB, free: 9.5 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.776e-05/0.498, allocations: 16 kB / 0.4939 GB, free: 9.484 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.151e-05/0.4981, allocations: 37.72 kB / 0.4939 GB, free: 9.441 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.112e-05/0.4982, allocations: 31.98 kB / 0.494 GB, free: 9.41 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.4982, allocations: 0 / 0.494 GB, free: 9.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002091/0.4984, allocations: 81.69 kB / 0.4941 GB, free: 9.324 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.4985, allocations: 8 kB / 0.4941 GB, free: 9.316 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.083e-06/0.4985, allocations: 0 / 0.4941 GB, free: 9.316 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.4985, allocations: 3.984 kB / 0.4941 GB, free: 9.312 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.4986, allocations: 15.98 kB / 0.4941 GB, free: 9.297 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.95e-06/0.4987, allocations: 11.97 kB / 0.4941 GB, free: 9.285 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.841e-05/0.4987, allocations: 7.938 kB / 0.4941 GB, free: 9.277 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.449e-05/0.4988, allocations: 4 kB / 0.4941 GB, free: 9.273 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 9.819e-05/0.4989, allocations: 112.9 kB / 0.4942 GB, free: 9.156 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.43e-05/0.4989, allocations: 11.81 kB / 0.4942 GB, free: 9.145 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002963/0.4992, allocations: 118.2 kB / 0.4943 GB, free: 9.027 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.411e-06/0.4993, allocations: 0 / 0.4943 GB, free: 9.027 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.045e-06/0.4993, allocations: 0 / 0.4943 GB, free: 9.027 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.42e-06/0.4993, allocations: 4 kB / 0.4943 GB, free: 9.023 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006316/0.4999, allocations: 407.5 kB / 0.4947 GB, free: 8.566 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.777e-06/0.4999, allocations: 4 kB / 0.4947 GB, free: 8.562 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.155e-05/0.5, allocations: 12 kB / 0.4947 GB, free: 8.551 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.5, allocations: 288 / 0.4947 GB, free: 8.551 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.5001, allocations: 0 / 0.4947 GB, free: 8.551 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.506e-06/0.5001, allocations: 0 / 0.4947 GB, free: 8.551 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.431e-06/0.5001, allocations: 11.88 kB / 0.4948 GB, free: 8.539 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003064/0.5004, allocations: 225.8 kB / 0.495 GB, free: 8.293 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.402e-05/0.5005, allocations: 93.02 kB / 0.4951 GB, free: 8.184 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.075e-05/0.5005, allocations: 0 / 0.4951 GB, free: 8.184 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001182/0.5007, allocations: 7.984 kB / 0.4951 GB, free: 8.176 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.389e-05/0.5007, allocations: 11.95 kB / 0.4951 GB, free: 8.164 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-05/0.5008, allocations: 8 kB / 0.4951 GB, free: 8.156 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000179/0.5009, allocations: 144.3 kB / 0.4952 GB, free: 8.02 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.47e-07/0.501, allocations: 0 / 0.4952 GB, free: 8.02 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003804/0.5014, allocations: 28 kB / 0.4953 GB, free: 7.992 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.001737/0.5031, allocations: 464.6 kB / 0.4957 GB, free: 7.68 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002108/0.5033, allocations: 59.94 kB / 0.4958 GB, free: 7.621 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.5034, allocations: 0 / 0.4958 GB, free: 7.621 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.66e-05/0.5034, allocations: 28 kB / 0.4958 GB, free: 7.594 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003337/0.5038, allocations: 23.97 kB / 0.4958 GB, free: 7.57 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004982/0.5043, allocations: 200.8 kB / 0.496 GB, free: 7.336 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004052/0.5047, allocations: 0.7123 MB / 0.4967 GB, free: 6.598 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.136e-05/0.5048, allocations: 19.42 kB / 0.4967 GB, free: 6.578 MB / 426.7 MB Notification: Performance of SimCode: time 1.44e-06/0.5048, allocations: 3.938 kB / 0.4967 GB, free: 6.574 MB / 426.7 MB Notification: Performance of Templates: time 0.004786/0.5096, allocations: 1.927 MB / 0.4986 GB, free: 4.648 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test34CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test34CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test34Functions.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.Test34CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test34CalcHelperMain.o] Error 1