Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test71") Notification: Performance of loadModel(ModelicaTest): time 2.38/2.38, allocations: 270 MB / 282.7 MB, free: 1.754 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.955e-05/3.978e-05, allocations: 7.938 kB / 347 MB, free: 3.117 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3251/0.3251, allocations: 61.89 MB / 408.9 MB, free: 10.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1378/0.463, allocations: 89.12 MB / 498 MB, free: 1.523 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002099/0.4632, allocations: 71.95 kB / 498 MB, free: 1.453 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02601/0.4892, allocations: 6.636 MB / 0.4929 GB, free: 10.81 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.935e-06/0.4893, allocations: 0 / 0.4929 GB, free: 10.81 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.899e-05/0.4893, allocations: 11.98 kB / 0.4929 GB, free: 10.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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009036/0.4903, allocations: 0.5948 MB / 0.4934 GB, free: 10.16 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.4903, allocations: 12.03 kB / 0.4935 GB, free: 10.14 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001221/0.4905, allocations: 55.28 kB / 0.4935 GB, free: 10.09 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001026/0.4915, allocations: 487 kB / 0.494 GB, free: 9.574 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.449e-05/0.4915, allocations: 11.94 kB / 0.494 GB, free: 9.562 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.992e-05/0.4916, allocations: 4 kB / 0.494 GB, free: 9.559 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001949/0.4918, allocations: 83.38 kB / 0.4941 GB, free: 9.465 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.527e-06/0.4918, allocations: 0 / 0.4941 GB, free: 9.465 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.4918, allocations: 0 / 0.4941 GB, free: 9.465 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.795e-06/0.4918, allocations: 0 / 0.4941 GB, free: 9.465 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001117/0.492, allocations: 35.92 kB / 0.4941 GB, free: 9.43 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000563/0.4925, allocations: 382.3 kB / 0.4945 GB, free: 9.004 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002429/0.4928, allocations: 105.3 kB / 0.4946 GB, free: 8.883 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.882e-05/0.4929, allocations: 41.8 kB / 0.4946 GB, free: 8.836 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.4929, allocations: 3.938 kB / 0.4946 GB, free: 8.832 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002395/0.4932, allocations: 109.1 kB / 0.4947 GB, free: 8.707 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 2.75e-06/0.4932, allocations: 0 / 0.4947 GB, free: 8.707 MB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004743/0.4937, allocations: 164.9 kB / 0.4949 GB, free: 8.539 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.216e-05/0.4938, allocations: 77.11 kB / 0.4949 GB, free: 8.445 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001872/0.4957, allocations: 0.9344 MB / 0.4959 GB, free: 7.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.165e-05/0.4957, allocations: 25.7 kB / 0.4959 GB, free: 7.469 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002081/0.4959, allocations: 246.6 kB / 0.4961 GB, free: 7.227 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.405e-05/0.496, allocations: 27.64 kB / 0.4961 GB, free: 7.199 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.126e-05/0.496, allocations: 4 kB / 0.4961 GB, free: 7.195 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.4962, allocations: 322.8 kB / 0.4965 GB, free: 6.871 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.371e-05/0.4963, allocations: 24 kB / 0.4965 GB, free: 6.848 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001054/0.4964, allocations: 55.42 kB / 0.4965 GB, free: 6.781 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.982e-05/0.4965, allocations: 35.92 kB / 0.4966 GB, free: 6.746 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.164e-06/0.4965, allocations: 0 / 0.4966 GB, free: 6.746 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003212/0.4969, allocations: 125.5 kB / 0.4967 GB, free: 6.617 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.4969, allocations: 4 kB / 0.4967 GB, free: 6.613 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.4969, allocations: 4 kB / 0.4967 GB, free: 6.609 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.497, allocations: 0 / 0.4967 GB, free: 6.609 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001664/0.4971, allocations: 20.23 kB / 0.4967 GB, free: 6.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.4972, allocations: 4 kB / 0.4967 GB, free: 6.586 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000219/0.4974, allocations: 16 kB / 0.4967 GB, free: 6.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.737e-05/0.4974, allocations: 4 kB / 0.4967 GB, free: 6.566 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * 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.000126/0.4976, allocations: 121 kB / 0.4969 GB, free: 6.441 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001264/0.4977, allocations: 59.23 kB / 0.4969 GB, free: 6.383 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004938/0.4982, allocations: 197.5 kB / 0.4971 GB, free: 6.18 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.916e-06/0.4982, allocations: 4 kB / 0.4971 GB, free: 6.176 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.716e-06/0.4982, allocations: 0 / 0.4971 GB, free: 6.176 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.787e-06/0.4983, allocations: 0 / 0.4971 GB, free: 6.176 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005293/0.4988, allocations: 389.3 kB / 0.4975 GB, free: 5.746 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.205e-06/0.4988, allocations: 0 / 0.4975 GB, free: 5.746 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.416e-05/0.4989, allocations: 8 kB / 0.4975 GB, free: 5.738 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.368e-05/0.4989, allocations: 11.95 kB / 0.4975 GB, free: 5.727 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.843e-05/0.4989, allocations: 3.984 kB / 0.4975 GB, free: 5.723 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.799e-06/0.499, allocations: 4 kB / 0.4975 GB, free: 5.719 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.207e-06/0.499, allocations: 0 / 0.4975 GB, free: 5.719 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004495/0.4994, allocations: 219 kB / 0.4977 GB, free: 5.477 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003238/0.4998, allocations: 192.4 kB / 0.4979 GB, free: 5.27 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.758e-05/0.4999, allocations: 8 kB / 0.4979 GB, free: 5.262 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001597/0.5, allocations: 12 kB / 0.4979 GB, free: 5.25 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.658e-05/0.5001, allocations: 7.984 kB / 0.4979 GB, free: 5.242 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.347e-05/0.5002, allocations: 15.92 kB / 0.4979 GB, free: 5.227 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001294/0.5015, allocations: 0.7396 MB / 0.4987 GB, free: 4.488 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.7e-07/0.5015, allocations: 0 / 0.4987 GB, free: 4.488 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004825/0.502, allocations: 79.98 kB / 0.4987 GB, free: 4.41 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001474/0.5035, allocations: 411.6 kB / 0.4991 GB, free: 4.133 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002728/0.5037, allocations: 75.92 kB / 0.4992 GB, free: 4.059 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.678e-06/0.5038, allocations: 0 / 0.4992 GB, free: 4.059 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001204/0.5039, allocations: 48.06 kB / 0.4992 GB, free: 4.012 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005406/0.5045, allocations: 66.48 kB / 0.4993 GB, free: 3.945 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001775/0.5062, allocations: 0.8199 MB / 0.5001 GB, free: 3.094 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006438/0.5069, allocations: 0.8507 MB / 0.5009 GB, free: 2.219 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001736/0.5071, allocations: 47.42 kB / 0.501 GB, free: 2.172 MB / 426.7 MB Notification: Performance of SimCode: time 1.596e-06/0.5071, allocations: 4 kB / 0.501 GB, free: 2.168 MB / 426.7 MB Notification: Performance of Templates: time 0.01226/0.5194, allocations: 5.58 MB / 0.5064 GB, free: 12.59 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.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.Test71CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test71CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test71CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test71Functions.cpp:202:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp8.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.Test71CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test71CalcHelperMain.o] Error 1