Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test10") Notification: Performance of loadModel(ModelicaTest): time 2.473/2.473, allocations: 270 MB / 282.7 MB, free: 1.863 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.308e-05/3.297e-05, allocations: 4 kB / 347 MB, free: 3.227 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3318/0.3318, allocations: 61.87 MB / 408.8 MB, free: 10.8 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1409/0.4728, allocations: 90.2 MB / 499 MB, free: 500 kB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000236/0.4731, allocations: 71.95 kB / 499.1 MB, free: 428 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01808/0.4911, allocations: 4.325 MB / 0.4916 GB, free: 12.08 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.946e-06/0.4912, allocations: 0 / 0.4916 GB, free: 12.08 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.013e-05/0.4912, allocations: 4 kB / 0.4916 GB, free: 12.08 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006566/0.4919, allocations: 455.8 kB / 0.4921 GB, free: 11.58 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.492, allocations: 12.03 kB / 0.4921 GB, free: 11.57 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.824e-05/0.492, allocations: 15.8 kB / 0.4921 GB, free: 11.55 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004011/0.4924, allocations: 228 kB / 0.4923 GB, free: 11.29 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.802e-05/0.4925, allocations: 11.95 kB / 0.4923 GB, free: 11.28 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.742e-05/0.4925, allocations: 4 kB / 0.4923 GB, free: 11.28 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002327/0.4928, allocations: 109.3 kB / 0.4924 GB, free: 11.16 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.144e-06/0.4928, allocations: 0 / 0.4924 GB, free: 11.16 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.829e-05/0.4928, allocations: 7.938 kB / 0.4924 GB, free: 11.15 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.469e-06/0.4928, allocations: 0 / 0.4924 GB, free: 11.15 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001224/0.493, allocations: 36 kB / 0.4925 GB, free: 11.11 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008018/0.4938, allocations: 0.5165 MB / 0.493 GB, free: 10.54 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003145/0.4941, allocations: 78.67 kB / 0.4931 GB, free: 10.45 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.12e-05/0.4942, allocations: 32.86 kB / 0.4931 GB, free: 10.42 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.4943, allocations: 7.938 kB / 0.4931 GB, free: 10.41 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001962/0.4945, allocations: 71.39 kB / 0.4932 GB, free: 10.33 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 3.101e-06/0.4945, allocations: 7.938 kB / 0.4932 GB, free: 10.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003124/0.4948, allocations: 109.4 kB / 0.4933 GB, free: 10.21 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.4949, allocations: 51.41 kB / 0.4933 GB, free: 10.14 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002589/0.4951, allocations: 174.6 kB / 0.4935 GB, free: 9.957 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.607e-05/0.4952, allocations: 33.7 kB / 0.4935 GB, free: 9.918 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.4953, allocations: 170.5 kB / 0.4937 GB, free: 9.75 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.952e-05/0.4954, allocations: 39.69 kB / 0.4937 GB, free: 9.711 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.046e-06/0.4954, allocations: 0 / 0.4937 GB, free: 9.711 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.4956, allocations: 314.8 kB / 0.494 GB, free: 9.395 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.903e-05/0.4957, allocations: 27.98 kB / 0.4941 GB, free: 9.367 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.75e-05/0.4958, allocations: 56.42 kB / 0.4941 GB, free: 9.297 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.054e-05/0.4959, allocations: 35.92 kB / 0.4941 GB, free: 9.262 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.828e-06/0.4959, allocations: 0 / 0.4941 GB, free: 9.262 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002819/0.4962, allocations: 113.6 kB / 0.4942 GB, free: 9.145 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.4962, allocations: 11.94 kB / 0.4943 GB, free: 9.133 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.75e-06/0.4962, allocations: 0 / 0.4943 GB, free: 9.133 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.4963, allocations: 8.125 kB / 0.4943 GB, free: 9.125 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001615/0.4964, allocations: 23.98 kB / 0.4943 GB, free: 9.102 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.4965, allocations: 4 kB / 0.4943 GB, free: 9.098 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000111/0.4966, allocations: 19.83 kB / 0.4943 GB, free: 9.078 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.079e-05/0.4966, allocations: 7.953 kB / 0.4943 GB, free: 9.07 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001068/0.4967, allocations: 114.5 kB / 0.4944 GB, free: 8.953 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.887e-05/0.4968, allocations: 15.81 kB / 0.4944 GB, free: 8.938 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003162/0.4971, allocations: 123.1 kB / 0.4946 GB, free: 8.809 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.4971, allocations: 0 / 0.4946 GB, free: 8.809 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.4971, allocations: 0 / 0.4946 GB, free: 8.809 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.4971, allocations: 0 / 0.4946 GB, free: 8.809 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002692/0.4974, allocations: 217.5 kB / 0.4948 GB, free: 8.547 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.904e-06/0.4974, allocations: 0 / 0.4948 GB, free: 8.547 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001228/0.4976, allocations: 12 kB / 0.4948 GB, free: 8.535 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.679e-06/0.4976, allocations: 3.984 kB / 0.4948 GB, free: 8.531 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.4976, allocations: 0 / 0.4948 GB, free: 8.531 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.017e-06/0.4976, allocations: 0 / 0.4948 GB, free: 8.531 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.592e-06/0.4976, allocations: 4 kB / 0.4948 GB, free: 8.527 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003981/0.4981, allocations: 180.8 kB / 0.495 GB, free: 8.332 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.308e-05/0.4982, allocations: 96.88 kB / 0.4951 GB, free: 8.219 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.753e-05/0.4982, allocations: 7.984 kB / 0.4951 GB, free: 8.211 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.4983, allocations: 11.98 kB / 0.4951 GB, free: 8.199 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.255e-05/0.4984, allocations: 4 kB / 0.4951 GB, free: 8.195 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.931e-05/0.4984, allocations: 8.266 kB / 0.4951 GB, free: 8.188 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000178/0.4986, allocations: 145.2 kB / 0.4952 GB, free: 8.047 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.41e-07/0.4986, allocations: 0 / 0.4952 GB, free: 8.047 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003373/0.499, allocations: 31.92 kB / 0.4953 GB, free: 8.016 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001435/0.5004, allocations: 411.7 kB / 0.4956 GB, free: 7.738 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002305/0.5007, allocations: 67.94 kB / 0.4957 GB, free: 7.672 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.268e-06/0.5007, allocations: 0 / 0.4957 GB, free: 7.672 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001025/0.5008, allocations: 39.92 kB / 0.4958 GB, free: 7.633 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003221/0.5011, allocations: 28.11 kB / 0.4958 GB, free: 7.602 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005879/0.5017, allocations: 214 kB / 0.496 GB, free: 7.367 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004172/0.5022, allocations: 0.7204 MB / 0.4967 GB, free: 6.621 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.821e-05/0.5023, allocations: 19.42 kB / 0.4967 GB, free: 6.602 MB / 426.7 MB Notification: Performance of SimCode: time 1.719e-06/0.5023, allocations: 0 / 0.4967 GB, free: 6.602 MB / 426.7 MB Notification: Performance of Templates: time 0.005362/0.5077, allocations: 2.161 MB / 0.4988 GB, free: 4.438 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test10CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test10CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test10Functions.cpp:204:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp6.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.Test10CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test10CalcHelperMain.o] Error 1