Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test77") Notification: Performance of loadModel(ModelicaTest): time 2.41/2.41, allocations: 270 MB / 282.7 MB, free: 1.75 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.444e-05/3.453e-05, allocations: 4 kB / 347 MB, free: 3.145 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.3268, allocations: 61.89 MB / 408.9 MB, free: 10.78 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1398/0.4667, allocations: 89.53 MB / 498.4 MB, free: 1.125 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002462/0.467, allocations: 71.97 kB / 498.5 MB, free: 1.055 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03374/0.5007, allocations: 8.007 MB / 0.4946 GB, free: 9.031 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.248e-06/0.5008, allocations: 4 kB / 0.4946 GB, free: 9.027 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.529e-05/0.5008, allocations: 7.984 kB / 0.4946 GB, free: 9.02 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007631/0.5016, allocations: 481.8 kB / 0.4951 GB, free: 8.504 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.5016, allocations: 8.031 kB / 0.4951 GB, free: 8.496 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.704e-05/0.5017, allocations: 23.72 kB / 0.4951 GB, free: 8.473 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005651/0.5023, allocations: 282.4 kB / 0.4954 GB, free: 8.156 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/0.5024, allocations: 7.953 kB / 0.4954 GB, free: 8.148 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.539e-05/0.5024, allocations: 12 kB / 0.4954 GB, free: 8.137 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002471/0.5027, allocations: 109.1 kB / 0.4955 GB, free: 8.02 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/0.5027, allocations: 7.906 kB / 0.4955 GB, free: 8.012 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.892e-05/0.5027, allocations: 3.984 kB / 0.4955 GB, free: 8.008 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.666e-06/0.5027, allocations: 4 kB / 0.4955 GB, free: 8.004 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001423/0.5029, allocations: 51.89 kB / 0.4956 GB, free: 7.953 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008072/0.5037, allocations: 472.8 kB / 0.496 GB, free: 7.438 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004234/0.5042, allocations: 117.2 kB / 0.4961 GB, free: 7.305 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000123/0.5043, allocations: 45.83 kB / 0.4962 GB, free: 7.254 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.745e-05/0.5043, allocations: 4 kB / 0.4962 GB, free: 7.25 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002658/0.5046, allocations: 125.1 kB / 0.4963 GB, free: 7.109 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 3.586e-06/0.5046, allocations: 0 / 0.4963 GB, free: 7.109 MB / 426.7 MB Notification: Performance of matching and sorting (n=22): time 0.001269/0.5059, allocations: 432 kB / 0.4967 GB, free: 6.68 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.927e-05/0.506, allocations: 81.05 kB / 0.4968 GB, free: 6.582 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005357/0.5066, allocations: 319.4 kB / 0.4971 GB, free: 6.262 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.78e-05/0.5066, allocations: 37.7 kB / 0.4971 GB, free: 6.219 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000138/0.5068, allocations: 190.9 kB / 0.4973 GB, free: 6.031 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.954e-05/0.5069, allocations: 71.09 kB / 0.4974 GB, free: 5.961 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.119e-05/0.5069, allocations: 0 / 0.4974 GB, free: 5.961 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.5071, allocations: 318.8 kB / 0.4977 GB, free: 5.641 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001398/0.5072, allocations: 52 kB / 0.4977 GB, free: 5.59 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001728/0.5074, allocations: 88.3 kB / 0.4978 GB, free: 5.492 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001708/0.5076, allocations: 72.12 kB / 0.4979 GB, free: 5.422 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.443e-06/0.5076, allocations: 0 / 0.4979 GB, free: 5.422 MB / 426.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004843/0.5081, allocations: 201.4 kB / 0.4981 GB, free: 5.219 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.5081, allocations: 4 kB / 0.4981 GB, free: 5.215 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.661e-06/0.5081, allocations: 0 / 0.4981 GB, free: 5.215 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.5082, allocations: 7.953 kB / 0.4981 GB, free: 5.207 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00024/0.5084, allocations: 43.92 kB / 0.4981 GB, free: 5.164 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.5085, allocations: 8.062 kB / 0.4981 GB, free: 5.156 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001578/0.5086, allocations: 15.89 kB / 0.4981 GB, free: 5.141 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.835e-05/0.5087, allocations: 12 kB / 0.4982 GB, free: 5.129 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.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001278/0.5088, allocations: 116.9 kB / 0.4983 GB, free: 5.008 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.323e-05/0.5089, allocations: 27.72 kB / 0.4983 GB, free: 4.98 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006555/0.5096, allocations: 260.2 kB / 0.4985 GB, free: 4.719 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.837e-06/0.5096, allocations: 4 kB / 0.4985 GB, free: 4.715 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/0.5096, allocations: 11.94 kB / 0.4986 GB, free: 4.703 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.927e-06/0.5096, allocations: 0 / 0.4986 GB, free: 4.703 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001333/0.511, allocations: 0.7507 MB / 0.4993 GB, free: 3.883 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.633e-06/0.511, allocations: 4.125 kB / 0.4993 GB, free: 3.879 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001638/0.5112, allocations: 36.11 kB / 0.4993 GB, free: 3.844 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.328e-06/0.5112, allocations: 0 / 0.4993 GB, free: 3.844 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.78e-05/0.5112, allocations: 15.92 kB / 0.4993 GB, free: 3.828 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.965e-06/0.5112, allocations: 7.984 kB / 0.4993 GB, free: 3.82 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.997e-06/0.5113, allocations: 0 / 0.4993 GB, free: 3.82 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007103/0.512, allocations: 470.7 kB / 0.4998 GB, free: 3.297 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001597/0.5122, allocations: 136.6 kB / 0.4999 GB, free: 3.145 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.069e-05/0.5122, allocations: 4 kB / 0.4999 GB, free: 3.141 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002305/0.5125, allocations: 12 kB / 0.4999 GB, free: 3.129 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.918e-05/0.5126, allocations: 23.97 kB / 0.5 GB, free: 3.105 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.772e-05/0.5126, allocations: 8 kB / 0.5 GB, free: 3.098 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004115/0.513, allocations: 259.1 kB / 0.5002 GB, free: 2.844 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-06/0.513, allocations: 0 / 0.5002 GB, free: 2.844 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005469/0.5136, allocations: 67.92 kB / 0.5003 GB, free: 2.777 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * 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.001839/0.5155, allocations: 0.5023 MB / 0.5008 GB, free: 2.438 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004393/0.5159, allocations: 155.9 kB / 0.5009 GB, free: 2.285 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.622e-06/0.5159, allocations: 0 / 0.5009 GB, free: 2.285 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001985/0.5161, allocations: 87.8 kB / 0.501 GB, free: 2.199 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005544/0.5167, allocations: 55.44 kB / 0.5011 GB, free: 2.145 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/0.5178, allocations: 430.7 kB / 0.5015 GB, free: 1.68 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004984/0.5183, allocations: 0.7678 MB / 0.5022 GB, free: 0.8867 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.5184, allocations: 31.44 kB / 0.5023 GB, free: 0.8555 MB / 426.7 MB Notification: Performance of SimCode: time 1.659e-06/0.5184, allocations: 0 / 0.5023 GB, free: 0.8555 MB / 426.7 MB Notification: Performance of Templates: time 0.008027/0.5265, allocations: 3.601 MB / 0.5058 GB, free: 13.27 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test77CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test77CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test77Functions.cpp:282:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp12.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.Test77CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test77CalcHelperMain.o] Error 1