Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test22") Notification: Performance of loadModel(ModelicaTest): time 2.397/2.397, allocations: 270 MB / 282.6 MB, free: 1.766 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.08e-05/5.078e-05, allocations: 4 kB / 347 MB, free: 3.133 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3334/0.3335, allocations: 61.89 MB / 408.9 MB, free: 10.75 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1382/0.4717, allocations: 89.28 MB / 498.1 MB, free: 1.352 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000232/0.472, allocations: 67.97 kB / 498.2 MB, free: 1.285 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02266/0.4947, allocations: 5.511 MB / 0.4919 GB, free: 11.76 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4947, allocations: 0 / 0.4919 GB, free: 11.76 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.655e-05/0.4947, allocations: 4 kB / 0.4919 GB, free: 11.76 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005143/0.4953, allocations: 382.3 kB / 0.4923 GB, free: 11.34 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.4953, allocations: 8.031 kB / 0.4923 GB, free: 11.33 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.264e-05/0.4954, allocations: 15.89 kB / 0.4923 GB, free: 11.32 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003849/0.4958, allocations: 215.6 kB / 0.4925 GB, free: 11.07 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.4958, allocations: 7.938 kB / 0.4925 GB, free: 11.06 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.22e-05/0.4959, allocations: 11.98 kB / 0.4925 GB, free: 11.05 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.496, allocations: 49.69 kB / 0.4926 GB, free: 10.99 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.496, allocations: 0 / 0.4926 GB, free: 10.99 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.496, allocations: 4 kB / 0.4926 GB, free: 10.99 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.431e-06/0.4961, allocations: 0 / 0.4926 GB, free: 10.99 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.544e-05/0.4961, allocations: 19.98 kB / 0.4926 GB, free: 10.97 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004489/0.4966, allocations: 288.8 kB / 0.4929 GB, free: 10.64 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001505/0.4968, allocations: 62.62 kB / 0.4929 GB, free: 10.57 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.008e-05/0.4969, allocations: 20.97 kB / 0.493 GB, free: 10.54 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.526e-05/0.4969, allocations: 7.938 kB / 0.493 GB, free: 10.54 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001501/0.497, allocations: 59.41 kB / 0.493 GB, free: 10.46 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.695e-06/0.4971, allocations: 0 / 0.493 GB, free: 10.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005353/0.4976, allocations: 157.1 kB / 0.4932 GB, free: 10.3 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.4977, allocations: 55.41 kB / 0.4932 GB, free: 10.24 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002344/0.4979, allocations: 172.9 kB / 0.4934 GB, free: 10.07 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.759e-05/0.498, allocations: 25.7 kB / 0.4934 GB, free: 10.04 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.438e-05/0.4981, allocations: 162.6 kB / 0.4936 GB, free: 9.875 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.586e-05/0.4981, allocations: 19.7 kB / 0.4936 GB, free: 9.855 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.239e-06/0.4981, allocations: 4 kB / 0.4936 GB, free: 9.852 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.4983, allocations: 318.8 kB / 0.4939 GB, free: 9.531 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.018e-05/0.4984, allocations: 20 kB / 0.4939 GB, free: 9.512 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.04e-05/0.4985, allocations: 41.69 kB / 0.4939 GB, free: 9.465 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.35e-05/0.4985, allocations: 19.94 kB / 0.494 GB, free: 9.445 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.189e-06/0.4986, allocations: 3.984 kB / 0.494 GB, free: 9.441 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000228/0.4988, allocations: 85.69 kB / 0.4941 GB, free: 9.352 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.4988, allocations: 4 kB / 0.4941 GB, free: 9.348 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.4988, allocations: 0 / 0.4941 GB, free: 9.348 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.4989, allocations: 4 kB / 0.4941 GB, free: 9.344 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.499, allocations: 19.92 kB / 0.4941 GB, free: 9.324 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.126e-06/0.499, allocations: 4.031 kB / 0.4941 GB, free: 9.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.412e-05/0.4991, allocations: 11.94 kB / 0.4941 GB, free: 9.309 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.4991, allocations: 4 kB / 0.4941 GB, free: 9.305 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 9.958e-05/0.4992, allocations: 110.8 kB / 0.4942 GB, free: 9.191 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.288e-05/0.4993, allocations: 15.81 kB / 0.4942 GB, free: 9.176 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002848/0.4996, allocations: 110.2 kB / 0.4943 GB, free: 9.066 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.4996, allocations: 4 kB / 0.4943 GB, free: 9.062 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.297e-06/0.4996, allocations: 192 / 0.4943 GB, free: 9.062 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.01e-06/0.4996, allocations: 4.281 kB / 0.4943 GB, free: 9.059 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006133/0.5002, allocations: 411.3 kB / 0.4947 GB, free: 8.598 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.098e-06/0.5003, allocations: 0 / 0.4947 GB, free: 8.598 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.945e-05/0.5003, allocations: 15.92 kB / 0.4947 GB, free: 8.582 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.812e-06/0.5003, allocations: 0 / 0.4947 GB, free: 8.582 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.5004, allocations: 8 kB / 0.4947 GB, free: 8.574 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.596e-06/0.5004, allocations: 0 / 0.4947 GB, free: 8.574 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.235e-06/0.5004, allocations: 0 / 0.4947 GB, free: 8.574 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003037/0.5007, allocations: 225.8 kB / 0.495 GB, free: 8.328 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.649e-05/0.5008, allocations: 97 kB / 0.4951 GB, free: 8.215 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.044e-05/0.5008, allocations: 0 / 0.4951 GB, free: 8.215 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.501, allocations: 8 kB / 0.4951 GB, free: 8.207 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.622e-05/0.501, allocations: 11.94 kB / 0.4951 GB, free: 8.195 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/0.5011, allocations: 0 / 0.4951 GB, free: 8.195 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001768/0.5012, allocations: 148.6 kB / 0.4952 GB, free: 8.051 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.68e-07/0.5013, allocations: 0 / 0.4952 GB, free: 8.051 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003686/0.5016, allocations: 28 kB / 0.4952 GB, free: 8.023 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001635/0.5033, allocations: 458.2 kB / 0.4957 GB, free: 7.715 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001896/0.5035, allocations: 63.91 kB / 0.4957 GB, free: 7.652 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.832e-06/0.5035, allocations: 4.062 kB / 0.4957 GB, free: 7.648 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.255e-05/0.5036, allocations: 28 kB / 0.4958 GB, free: 7.621 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003196/0.5039, allocations: 23.92 kB / 0.4958 GB, free: 7.598 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004822/0.5044, allocations: 196.9 kB / 0.496 GB, free: 7.367 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003998/0.5049, allocations: 0.7082 MB / 0.4967 GB, free: 6.633 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.428e-05/0.5049, allocations: 19.5 kB / 0.4967 GB, free: 6.613 MB / 426.7 MB Notification: Performance of SimCode: time 1.377e-06/0.5049, allocations: 0 / 0.4967 GB, free: 6.613 MB / 426.7 MB Notification: Performance of Templates: time 0.00464/0.5096, allocations: 1.935 MB / 0.4986 GB, free: 4.68 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test22CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test22CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test22Functions.cpp:241:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp5.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.Test22CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test22CalcHelperMain.o] Error 1