Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test48") Notification: Performance of loadModel(ModelicaTest): time 2.355/2.355, allocations: 270 MB / 282.7 MB, free: 1.918 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.635e-05/3.65e-05, allocations: 4 kB / 347 MB, free: 3.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3347/0.3348, allocations: 61.87 MB / 408.8 MB, free: 10.79 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1377/0.4725, allocations: 89.27 MB / 498.1 MB, free: 1.398 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000241/0.4728, allocations: 75.95 kB / 498.2 MB, free: 1.324 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02349/0.4963, allocations: 5.829 MB / 0.4922 GB, free: 11.49 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.743e-06/0.4964, allocations: 0 / 0.4922 GB, free: 11.49 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.472e-05/0.4964, allocations: 4 kB / 0.4922 GB, free: 11.48 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.0005655/0.497, allocations: 410.1 kB / 0.4926 GB, free: 11.04 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.4971, allocations: 15.97 kB / 0.4926 GB, free: 11.02 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.208e-05/0.4971, allocations: 11.81 kB / 0.4926 GB, free: 11.01 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003943/0.4975, allocations: 230.5 kB / 0.4929 GB, free: 10.75 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.495e-05/0.4976, allocations: 7.953 kB / 0.4929 GB, free: 10.74 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.366e-05/0.4976, allocations: 7.938 kB / 0.4929 GB, free: 10.73 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.4978, allocations: 49.67 kB / 0.4929 GB, free: 10.68 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.4978, allocations: 4 kB / 0.4929 GB, free: 10.67 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.776e-05/0.4978, allocations: 8 kB / 0.4929 GB, free: 10.66 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.357e-06/0.4978, allocations: 3.984 kB / 0.4929 GB, free: 10.66 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.24e-05/0.4979, allocations: 23.92 kB / 0.493 GB, free: 10.64 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000491/0.4984, allocations: 300.9 kB / 0.4932 GB, free: 10.29 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001613/0.4986, allocations: 54.69 kB / 0.4933 GB, free: 10.23 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.583e-05/0.4987, allocations: 20.98 kB / 0.4933 GB, free: 10.21 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.419e-05/0.4987, allocations: 0 / 0.4933 GB, free: 10.21 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001615/0.4989, allocations: 75.33 kB / 0.4934 GB, free: 10.12 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.447e-06/0.4989, allocations: 0 / 0.4934 GB, free: 10.12 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005539/0.4995, allocations: 161.1 kB / 0.4935 GB, free: 9.957 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.98e-05/0.4995, allocations: 55.41 kB / 0.4936 GB, free: 9.891 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003589/0.4999, allocations: 233.8 kB / 0.4938 GB, free: 9.648 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.771e-05/0.4999, allocations: 33.7 kB / 0.4938 GB, free: 9.609 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.5001, allocations: 166.6 kB / 0.494 GB, free: 9.445 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.964e-05/0.5001, allocations: 27.59 kB / 0.494 GB, free: 9.418 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.702e-06/0.5001, allocations: 0 / 0.494 GB, free: 9.418 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.5003, allocations: 322.8 kB / 0.4943 GB, free: 9.094 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.832e-05/0.5004, allocations: 16 kB / 0.4944 GB, free: 9.078 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.913e-05/0.5005, allocations: 33.72 kB / 0.4944 GB, free: 9.039 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.154e-05/0.5005, allocations: 27.98 kB / 0.4944 GB, free: 9.012 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.789e-06/0.5006, allocations: 0 / 0.4944 GB, free: 9.012 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002143/0.5008, allocations: 89.62 kB / 0.4945 GB, free: 8.918 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.5008, allocations: 4 kB / 0.4945 GB, free: 8.914 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.452e-06/0.5008, allocations: 0 / 0.4945 GB, free: 8.914 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.5008, allocations: 3.984 kB / 0.4945 GB, free: 8.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.501, allocations: 16 kB / 0.4945 GB, free: 8.895 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.72e-06/0.501, allocations: 0 / 0.4945 GB, free: 8.895 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.618e-05/0.5011, allocations: 4 kB / 0.4945 GB, free: 8.891 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.23e-05/0.5011, allocations: 4.031 kB / 0.4945 GB, free: 8.887 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.0001039/0.5012, allocations: 116.9 kB / 0.4946 GB, free: 8.766 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.144e-05/0.5013, allocations: 16 kB / 0.4947 GB, free: 8.75 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003062/0.5016, allocations: 127.2 kB / 0.4948 GB, free: 8.617 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.165e-06/0.5016, allocations: 4 kB / 0.4948 GB, free: 8.613 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.281e-06/0.5016, allocations: 3.938 kB / 0.4948 GB, free: 8.609 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.217e-06/0.5016, allocations: 0 / 0.4948 GB, free: 8.609 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006771/0.5023, allocations: 435.2 kB / 0.4952 GB, free: 8.125 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.283e-06/0.5024, allocations: 3.984 kB / 0.4952 GB, free: 8.121 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.911e-05/0.5024, allocations: 8 kB / 0.4952 GB, free: 8.113 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.316e-06/0.5024, allocations: 4 kB / 0.4952 GB, free: 8.109 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.5025, allocations: 4 kB / 0.4952 GB, free: 8.105 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.977e-06/0.5025, allocations: 3.938 kB / 0.4952 GB, free: 8.102 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/0.5025, allocations: 4 kB / 0.4952 GB, free: 8.098 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003096/0.5028, allocations: 217.9 kB / 0.4954 GB, free: 7.859 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.93e-05/0.5029, allocations: 97 kB / 0.4955 GB, free: 7.746 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.134e-05/0.503, allocations: 4 kB / 0.4955 GB, free: 7.742 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.5031, allocations: 15.92 kB / 0.4955 GB, free: 7.727 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.856e-05/0.5032, allocations: 3.953 kB / 0.4955 GB, free: 7.723 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.5032, allocations: 4 kB / 0.4956 GB, free: 7.719 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002671/0.5035, allocations: 196.2 kB / 0.4957 GB, free: 7.527 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.05e-07/0.5035, allocations: 0 / 0.4957 GB, free: 7.527 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003956/0.5039, allocations: 43.92 kB / 0.4958 GB, free: 7.484 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.001631/0.5055, allocations: 470.2 kB / 0.4962 GB, free: 7.164 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002027/0.5058, allocations: 59.92 kB / 0.4963 GB, free: 7.105 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.739e-06/0.5058, allocations: 0 / 0.4963 GB, free: 7.105 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.746e-05/0.5059, allocations: 35.92 kB / 0.4963 GB, free: 7.07 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003336/0.5062, allocations: 30.73 kB / 0.4964 GB, free: 7.043 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006023/0.5068, allocations: 256.8 kB / 0.4966 GB, free: 6.762 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00043/0.5073, allocations: 0.716 MB / 0.4973 GB, free: 6.02 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.339e-05/0.5074, allocations: 19.44 kB / 0.4973 GB, free: 6 MB / 426.7 MB Notification: Performance of SimCode: time 1.481e-06/0.5074, allocations: 0 / 0.4973 GB, free: 6 MB / 426.7 MB Notification: Performance of Templates: time 0.005035/0.5124, allocations: 2.152 MB / 0.4994 GB, free: 3.855 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test48CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test48CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test48Functions.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.Test48CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test48CalcHelperMain.o] Error 1