Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test68") Notification: Performance of loadModel(ModelicaTest): time 2.369/2.369, allocations: 270 MB / 282.6 MB, free: 1.77 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.171e-05/3.177e-05, allocations: 4 kB / 347 MB, free: 3.129 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.3224, allocations: 61.89 MB / 408.9 MB, free: 10.75 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1379/0.4603, allocations: 89.11 MB / 498 MB, free: 1.52 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002277/0.4606, allocations: 71.97 kB / 498 MB, free: 1.449 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03011/0.4907, allocations: 6.6 MB / 0.4928 GB, free: 10.84 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.285e-06/0.4908, allocations: 0 / 0.4928 GB, free: 10.84 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.324e-05/0.4909, allocations: 4 kB / 0.4928 GB, free: 10.84 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.001355/0.4923, allocations: 0.5909 MB / 0.4934 GB, free: 10.2 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.83e-05/0.4923, allocations: 12.03 kB / 0.4934 GB, free: 10.19 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002009/0.4926, allocations: 43.44 kB / 0.4934 GB, free: 10.14 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001622/0.4942, allocations: 479 kB / 0.4939 GB, free: 9.637 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.262e-05/0.4943, allocations: 7.953 kB / 0.4939 GB, free: 9.629 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.892e-05/0.4943, allocations: 3.938 kB / 0.4939 GB, free: 9.625 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002957/0.4946, allocations: 83.38 kB / 0.494 GB, free: 9.531 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.4947, allocations: 0 / 0.494 GB, free: 9.531 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.822e-05/0.4947, allocations: 11.98 kB / 0.494 GB, free: 9.52 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.86e-06/0.4947, allocations: 0 / 0.494 GB, free: 9.52 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001735/0.4949, allocations: 35.92 kB / 0.494 GB, free: 9.484 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008195/0.4958, allocations: 370.4 kB / 0.4944 GB, free: 9.07 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003849/0.4962, allocations: 93.3 kB / 0.4945 GB, free: 8.961 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001623/0.4964, allocations: 49.66 kB / 0.4945 GB, free: 8.906 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.4964, allocations: 0 / 0.4945 GB, free: 8.906 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003664/0.4968, allocations: 109.1 kB / 0.4946 GB, free: 8.781 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 3.941e-06/0.4968, allocations: 3.938 kB / 0.4946 GB, free: 8.777 MB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007305/0.4976, allocations: 169 kB / 0.4948 GB, free: 8.605 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.506e-05/0.4977, allocations: 77.11 kB / 0.4949 GB, free: 8.512 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002336/0.5, allocations: 0.907 MB / 0.4958 GB, free: 7.598 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.899e-05/0.5001, allocations: 29.7 kB / 0.4958 GB, free: 7.562 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002006/0.5003, allocations: 242.6 kB / 0.496 GB, free: 7.324 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.008e-05/0.5004, allocations: 27.64 kB / 0.496 GB, free: 7.297 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.02e-05/0.5004, allocations: 4 kB / 0.496 GB, free: 7.293 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.5005, allocations: 314.8 kB / 0.4963 GB, free: 6.977 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.371e-05/0.5006, allocations: 28 kB / 0.4964 GB, free: 6.949 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001198/0.5008, allocations: 51.42 kB / 0.4964 GB, free: 6.887 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.605e-05/0.5009, allocations: 35.92 kB / 0.4965 GB, free: 6.852 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.882e-06/0.5009, allocations: 0 / 0.4965 GB, free: 6.852 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002982/0.5012, allocations: 121.5 kB / 0.4966 GB, free: 6.727 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.5012, allocations: 7.984 kB / 0.4966 GB, free: 6.719 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.869e-06/0.5013, allocations: 4.062 kB / 0.4966 GB, free: 6.715 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.5013, allocations: 4 kB / 0.4966 GB, free: 6.711 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000174/0.5015, allocations: 20 kB / 0.4966 GB, free: 6.691 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/0.5015, allocations: 7.984 kB / 0.4966 GB, free: 6.684 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001669/0.5017, allocations: 7.906 kB / 0.4966 GB, free: 6.676 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.917e-05/0.5017, allocations: 4.25 kB / 0.4966 GB, free: 6.672 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.0001141/0.5018, allocations: 119.8 kB / 0.4967 GB, free: 6.551 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001212/0.502, allocations: 55.38 kB / 0.4968 GB, free: 6.496 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004537/0.5024, allocations: 201.4 kB / 0.497 GB, free: 6.289 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.038e-06/0.5025, allocations: 0 / 0.497 GB, free: 6.289 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.256e-06/0.5025, allocations: 0 / 0.497 GB, free: 6.289 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.5025, allocations: 7.938 kB / 0.497 GB, free: 6.281 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005168/0.503, allocations: 389.2 kB / 0.4974 GB, free: 5.852 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.99e-06/0.503, allocations: 0 / 0.4974 GB, free: 5.852 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.46e-05/0.5031, allocations: 8 kB / 0.4974 GB, free: 5.844 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.552e-06/0.5031, allocations: 7.953 kB / 0.4974 GB, free: 5.836 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.759e-05/0.5032, allocations: 3.984 kB / 0.4974 GB, free: 5.832 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.128e-06/0.5032, allocations: 4 kB / 0.4974 GB, free: 5.828 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.5032, allocations: 4 kB / 0.4974 GB, free: 5.824 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004319/0.5036, allocations: 215 kB / 0.4976 GB, free: 5.586 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003107/0.5039, allocations: 192.4 kB / 0.4978 GB, free: 5.379 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.501e-05/0.504, allocations: 8 kB / 0.4978 GB, free: 5.371 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001498/0.5042, allocations: 8 kB / 0.4978 GB, free: 5.363 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.025e-05/0.5043, allocations: 11.98 kB / 0.4978 GB, free: 5.352 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-05/0.5043, allocations: 8 kB / 0.4978 GB, free: 5.344 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001219/0.5055, allocations: 0.724 MB / 0.4985 GB, free: 4.621 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.68e-07/0.5056, allocations: 0 / 0.4985 GB, free: 4.621 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004427/0.506, allocations: 79.94 kB / 0.4986 GB, free: 4.543 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.001422/0.5074, allocations: 412.9 kB / 0.499 GB, free: 4.262 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002434/0.5077, allocations: 71.98 kB / 0.4991 GB, free: 4.191 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.275e-06/0.5077, allocations: 3.938 kB / 0.4991 GB, free: 4.188 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001136/0.5078, allocations: 40 kB / 0.4991 GB, free: 4.148 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004559/0.5083, allocations: 70.11 kB / 0.4992 GB, free: 4.082 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001626/0.51, allocations: 0.7927 MB / 0.4999 GB, free: 3.258 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000632/0.5106, allocations: 0.8585 MB / 0.5008 GB, free: 2.375 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001487/0.5108, allocations: 39.44 kB / 0.5008 GB, free: 2.336 MB / 426.7 MB Notification: Performance of SimCode: time 1.568e-06/0.5108, allocations: 0 / 0.5008 GB, free: 2.336 MB / 426.7 MB Notification: Performance of Templates: time 0.01161/0.5224, allocations: 5.475 MB / 0.5062 GB, free: 12.86 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test68CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test68CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test68Functions.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.Test68CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test68CalcHelperMain.o] Error 1