Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test70") Notification: Performance of loadModel(ModelicaTest): time 2.394/2.394, allocations: 270 MB / 282.7 MB, free: 1.758 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.113e-05/4.129e-05, allocations: 11.92 kB / 347 MB, free: 3.113 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.3265, allocations: 61.88 MB / 408.9 MB, free: 10.74 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1387/0.4652, allocations: 89.12 MB / 498 MB, free: 1.5 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000229/0.4655, allocations: 67.97 kB / 498 MB, free: 1.434 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02607/0.4916, allocations: 6.636 MB / 0.4929 GB, free: 10.79 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.92e-06/0.4916, allocations: 0 / 0.4929 GB, free: 10.79 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.738e-05/0.4917, allocations: 4 kB / 0.4929 GB, free: 10.79 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.0009056/0.4926, allocations: 0.6104 MB / 0.4935 GB, free: 10.13 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.4926, allocations: 12.03 kB / 0.4935 GB, free: 10.12 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001238/0.4928, allocations: 51.34 kB / 0.4935 GB, free: 10.07 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001016/0.4938, allocations: 475.1 kB / 0.494 GB, free: 9.562 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.925e-05/0.4938, allocations: 11.95 kB / 0.494 GB, free: 9.551 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.636e-05/0.4939, allocations: 0 / 0.494 GB, free: 9.551 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001986/0.4941, allocations: 87.31 kB / 0.4941 GB, free: 9.453 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.963e-06/0.4941, allocations: 0 / 0.4941 GB, free: 9.453 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.4941, allocations: 0 / 0.4941 GB, free: 9.453 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.583e-06/0.4941, allocations: 7.984 kB / 0.4941 GB, free: 9.445 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001053/0.4943, allocations: 27.98 kB / 0.4941 GB, free: 9.418 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005421/0.4948, allocations: 378.3 kB / 0.4945 GB, free: 8.996 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002378/0.4951, allocations: 105.2 kB / 0.4946 GB, free: 8.875 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001122/0.4952, allocations: 45.7 kB / 0.4946 GB, free: 8.824 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.4952, allocations: 8.078 kB / 0.4946 GB, free: 8.816 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002316/0.4955, allocations: 97.03 kB / 0.4947 GB, free: 8.703 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 2.56e-06/0.4955, allocations: 0 / 0.4947 GB, free: 8.703 MB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004592/0.496, allocations: 169 kB / 0.4949 GB, free: 8.531 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.035e-05/0.4961, allocations: 81.11 kB / 0.4949 GB, free: 8.434 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001836/0.4979, allocations: 0.9381 MB / 0.4959 GB, free: 7.484 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.456e-05/0.498, allocations: 33.7 kB / 0.4959 GB, free: 7.445 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002064/0.4982, allocations: 242.6 kB / 0.4961 GB, free: 7.207 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.682e-05/0.4983, allocations: 35.62 kB / 0.4962 GB, free: 7.172 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.428e-06/0.4983, allocations: 0 / 0.4962 GB, free: 7.172 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.4984, allocations: 314.8 kB / 0.4965 GB, free: 6.855 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.539e-05/0.4985, allocations: 27.98 kB / 0.4965 GB, free: 6.828 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/0.4987, allocations: 59.44 kB / 0.4965 GB, free: 6.758 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001035/0.4988, allocations: 27.98 kB / 0.4966 GB, free: 6.73 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.795e-06/0.4988, allocations: 0 / 0.4966 GB, free: 6.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003031/0.4991, allocations: 129.5 kB / 0.4967 GB, free: 6.598 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.4991, allocations: 4 kB / 0.4967 GB, free: 6.594 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.106e-06/0.4992, allocations: 256 / 0.4967 GB, free: 6.594 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.4992, allocations: 8.062 kB / 0.4967 GB, free: 6.586 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001594/0.4994, allocations: 23.94 kB / 0.4967 GB, free: 6.562 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.5e-05/0.4994, allocations: 7.984 kB / 0.4967 GB, free: 6.555 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001778/0.4996, allocations: 4 kB / 0.4967 GB, free: 6.551 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.776e-05/0.4996, allocations: 4 kB / 0.4967 GB, free: 6.547 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.0001159/0.4997, allocations: 113 kB / 0.4968 GB, free: 6.43 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000124/0.4999, allocations: 55.3 kB / 0.4969 GB, free: 6.375 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004703/0.5003, allocations: 197.6 kB / 0.4971 GB, free: 6.172 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.51e-06/0.5004, allocations: 4 kB / 0.4971 GB, free: 6.168 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.81e-06/0.5004, allocations: 0 / 0.4971 GB, free: 6.168 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.721e-06/0.5004, allocations: 0 / 0.4971 GB, free: 6.168 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005219/0.5009, allocations: 385.3 kB / 0.4975 GB, free: 5.742 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.831e-06/0.5009, allocations: 0 / 0.4975 GB, free: 5.742 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.317e-05/0.501, allocations: 15.92 kB / 0.4975 GB, free: 5.727 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.304e-06/0.501, allocations: 3.953 kB / 0.4975 GB, free: 5.723 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.971e-05/0.5011, allocations: 8 kB / 0.4975 GB, free: 5.715 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.363e-06/0.5011, allocations: 0 / 0.4975 GB, free: 5.715 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.1e-06/0.5011, allocations: 3.938 kB / 0.4975 GB, free: 5.711 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000443/0.5016, allocations: 219 kB / 0.4977 GB, free: 5.469 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003257/0.5019, allocations: 200.4 kB / 0.4979 GB, free: 5.254 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.914e-05/0.502, allocations: 7.984 kB / 0.4979 GB, free: 5.246 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000153/0.5022, allocations: 8 kB / 0.4979 GB, free: 5.238 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.417e-05/0.5022, allocations: 11.98 kB / 0.4979 GB, free: 5.227 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.5023, allocations: 8 kB / 0.4979 GB, free: 5.219 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00128/0.5036, allocations: 0.7435 MB / 0.4986 GB, free: 4.477 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.75e-07/0.5036, allocations: 0 / 0.4986 GB, free: 4.477 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004704/0.5041, allocations: 80 kB / 0.4987 GB, free: 4.398 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.001493/0.5056, allocations: 428.5 kB / 0.4991 GB, free: 4.105 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002624/0.5058, allocations: 75.92 kB / 0.4992 GB, free: 4.031 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.254e-06/0.5059, allocations: 0 / 0.4992 GB, free: 4.031 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001176/0.506, allocations: 43.92 kB / 0.4992 GB, free: 3.988 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004961/0.5065, allocations: 58.56 kB / 0.4993 GB, free: 3.93 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00174/0.5083, allocations: 0.824 MB / 0.5001 GB, free: 3.074 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006422/0.5089, allocations: 0.8546 MB / 0.5009 GB, free: 2.195 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001707/0.5091, allocations: 39.44 kB / 0.501 GB, free: 2.156 MB / 426.7 MB Notification: Performance of SimCode: time 2.301e-06/0.5091, allocations: 0 / 0.501 GB, free: 2.156 MB / 426.7 MB Notification: Performance of Templates: time 0.01239/0.5215, allocations: 5.589 MB / 0.5064 GB, free: 12.57 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test70CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test70CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test70Functions.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.Test70CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test70CalcHelperMain.o] Error 1