Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test73") Notification: Performance of loadModel(ModelicaTest): time 2.404/2.404, allocations: 270 MB / 282.7 MB, free: 1.809 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.905e-05/3.912e-05, allocations: 8 kB / 347 MB, free: 3.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3214/0.3215, allocations: 61.87 MB / 408.8 MB, free: 10.81 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1388/0.4604, allocations: 89.54 MB / 498.4 MB, free: 1.156 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002464/0.4607, allocations: 79.94 kB / 498.5 MB, free: 1.078 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03324/0.4939, allocations: 8.007 MB / 0.4946 GB, free: 9.055 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.145e-06/0.494, allocations: 0 / 0.4946 GB, free: 9.055 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.348e-05/0.494, allocations: 8 kB / 0.4946 GB, free: 9.047 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.0007494/0.4948, allocations: 485.8 kB / 0.4951 GB, free: 8.527 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.4948, allocations: 8.031 kB / 0.4951 GB, free: 8.52 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.518e-05/0.4949, allocations: 23.72 kB / 0.4951 GB, free: 8.496 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005763/0.4955, allocations: 278.5 kB / 0.4954 GB, free: 8.184 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.564e-05/0.4956, allocations: 7.953 kB / 0.4954 GB, free: 8.176 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.693e-05/0.4956, allocations: 15.88 kB / 0.4954 GB, free: 8.16 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002448/0.4959, allocations: 111.3 kB / 0.4955 GB, free: 8.039 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/0.4959, allocations: 7.906 kB / 0.4955 GB, free: 8.031 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.88e-05/0.4959, allocations: 3.984 kB / 0.4955 GB, free: 8.027 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.884e-06/0.4959, allocations: 0 / 0.4955 GB, free: 8.027 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001315/0.4961, allocations: 43.98 kB / 0.4955 GB, free: 7.984 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007905/0.4969, allocations: 484.7 kB / 0.496 GB, free: 7.457 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004032/0.4973, allocations: 117.2 kB / 0.4961 GB, free: 7.324 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.4974, allocations: 41.84 kB / 0.4962 GB, free: 7.277 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.386e-05/0.4975, allocations: 0 / 0.4962 GB, free: 7.277 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002545/0.4977, allocations: 121.2 kB / 0.4963 GB, free: 7.141 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 2.675e-06/0.4977, allocations: 0 / 0.4963 GB, free: 7.141 MB / 426.7 MB Notification: Performance of matching and sorting (n=22): time 0.001276/0.499, allocations: 428.4 kB / 0.4967 GB, free: 6.715 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.098e-05/0.4991, allocations: 81.11 kB / 0.4968 GB, free: 6.617 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005312/0.4997, allocations: 323.4 kB / 0.4971 GB, free: 6.293 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.201e-05/0.4997, allocations: 25.7 kB / 0.4971 GB, free: 6.262 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/0.4999, allocations: 206.9 kB / 0.4973 GB, free: 6.059 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.855e-05/0.5, allocations: 63.11 kB / 0.4974 GB, free: 5.996 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.394e-05/0.5, allocations: 4 kB / 0.4974 GB, free: 5.992 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000171/0.5002, allocations: 322.8 kB / 0.4977 GB, free: 5.668 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00014/0.5003, allocations: 52 kB / 0.4977 GB, free: 5.617 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001726/0.5005, allocations: 93.92 kB / 0.4978 GB, free: 5.516 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001621/0.5007, allocations: 63.97 kB / 0.4979 GB, free: 5.453 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.5007, allocations: 0 / 0.4979 GB, free: 5.453 MB / 426.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004694/0.5012, allocations: 201.4 kB / 0.4981 GB, free: 5.25 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.5012, allocations: 8 kB / 0.4981 GB, free: 5.242 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.326e-06/0.5012, allocations: 0 / 0.4981 GB, free: 5.242 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.5012, allocations: 3.953 kB / 0.4981 GB, free: 5.238 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002376/0.5015, allocations: 47.91 kB / 0.4981 GB, free: 5.191 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/0.5015, allocations: 4 kB / 0.4981 GB, free: 5.188 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000171/0.5017, allocations: 15.97 kB / 0.4981 GB, free: 5.172 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.648e-05/0.5017, allocations: 8 kB / 0.4981 GB, free: 5.164 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.0001279/0.5019, allocations: 120.9 kB / 0.4983 GB, free: 5.039 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.39e-05/0.502, allocations: 23.72 kB / 0.4983 GB, free: 5.016 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006576/0.5026, allocations: 259.7 kB / 0.4985 GB, free: 4.754 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.847e-06/0.5027, allocations: 4 kB / 0.4985 GB, free: 4.75 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.175e-05/0.5027, allocations: 3.953 kB / 0.4985 GB, free: 4.746 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.422e-06/0.5027, allocations: 11.94 kB / 0.4985 GB, free: 4.734 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001338/0.504, allocations: 0.7545 MB / 0.4993 GB, free: 3.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.949e-06/0.5041, allocations: 8 kB / 0.4993 GB, free: 3.902 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000143/0.5042, allocations: 28.12 kB / 0.4993 GB, free: 3.875 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.29e-05/0.5043, allocations: 11.92 kB / 0.4993 GB, free: 3.863 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.745e-05/0.5043, allocations: 8 kB / 0.4993 GB, free: 3.855 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.902e-06/0.5043, allocations: 4 kB / 0.4993 GB, free: 3.852 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.444e-06/0.5043, allocations: 3.984 kB / 0.4993 GB, free: 3.848 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006515/0.505, allocations: 483.2 kB / 0.4998 GB, free: 3.312 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001408/0.5051, allocations: 124.6 kB / 0.4999 GB, free: 3.172 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.521e-05/0.5052, allocations: 8 kB / 0.4999 GB, free: 3.164 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002278/0.5055, allocations: 15.98 kB / 0.4999 GB, free: 3.148 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.721e-05/0.5055, allocations: 15.98 kB / 0.5 GB, free: 3.133 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.058e-05/0.5056, allocations: 11.98 kB / 0.5 GB, free: 3.121 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003873/0.506, allocations: 255.1 kB / 0.5002 GB, free: 2.871 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.7e-07/0.506, allocations: 0 / 0.5002 GB, free: 2.871 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005293/0.5065, allocations: 67.98 kB / 0.5003 GB, free: 2.805 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.001901/0.5085, allocations: 0.5152 MB / 0.5008 GB, free: 2.453 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004342/0.5089, allocations: 158.8 kB / 0.5009 GB, free: 2.301 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.32e-06/0.5089, allocations: 0 / 0.5009 GB, free: 2.301 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001934/0.5091, allocations: 83.86 kB / 0.501 GB, free: 2.219 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005315/0.5097, allocations: 52.8 kB / 0.5011 GB, free: 2.164 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009737/0.5107, allocations: 426.8 kB / 0.5015 GB, free: 1.703 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005154/0.5112, allocations: 0.7678 MB / 0.5022 GB, free: 0.9102 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/0.5113, allocations: 31.42 kB / 0.5023 GB, free: 0.8789 MB / 426.7 MB Notification: Performance of SimCode: time 1.559e-06/0.5114, allocations: 0 / 0.5023 GB, free: 0.8789 MB / 426.7 MB Notification: Performance of Templates: time 0.00772/0.5191, allocations: 3.595 MB / 0.5058 GB, free: 13.3 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test73CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test73CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test73Functions.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.Test73CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test73CalcHelperMain.o] Error 1