Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test63") Notification: Performance of loadModel(ModelicaTest): time 2.444/2.444, allocations: 270 MB / 282.7 MB, free: 1.918 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.133e-05/4.14e-05, allocations: 7.938 kB / 347 MB, free: 3.285 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.3277, allocations: 61.88 MB / 408.8 MB, free: 10.83 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1606/0.4884, allocations: 89.1 MB / 497.9 MB, free: 1.605 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004496/0.4889, allocations: 75.95 kB / 498 MB, free: 1.531 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04402/0.533, allocations: 5.675 MB / 0.4919 GB, free: 11.85 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.533, allocations: 0 / 0.4919 GB, free: 11.85 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.868e-05/0.5331, allocations: 4 kB / 0.4919 GB, free: 11.85 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005394/0.5336, allocations: 394.2 kB / 0.4923 GB, free: 11.42 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.5337, allocations: 16.03 kB / 0.4923 GB, free: 11.4 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.699e-05/0.5338, allocations: 11.81 kB / 0.4923 GB, free: 11.39 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003993/0.5342, allocations: 230.5 kB / 0.4925 GB, free: 11.12 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.5342, allocations: 3.938 kB / 0.4925 GB, free: 11.12 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.936e-05/0.5342, allocations: 7.953 kB / 0.4925 GB, free: 11.11 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.5344, allocations: 49.67 kB / 0.4926 GB, free: 11.06 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.415e-06/0.5344, allocations: 0 / 0.4926 GB, free: 11.06 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.542e-06/0.5344, allocations: 0 / 0.4926 GB, free: 11.06 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.276e-06/0.5344, allocations: 0 / 0.4926 GB, free: 11.06 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.235e-05/0.5345, allocations: 23.98 kB / 0.4926 GB, free: 11.04 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002527/0.5348, allocations: 185.7 kB / 0.4928 GB, free: 10.8 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001396/0.5349, allocations: 46.62 kB / 0.4928 GB, free: 10.75 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.902e-05/0.535, allocations: 24.88 kB / 0.4928 GB, free: 10.72 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.456e-05/0.535, allocations: 0 / 0.4928 GB, free: 10.72 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001607/0.5352, allocations: 71.36 kB / 0.4929 GB, free: 10.64 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 2.571e-06/0.5352, allocations: 0 / 0.4929 GB, free: 10.64 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002507/0.5355, allocations: 81.48 kB / 0.493 GB, free: 10.55 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.806e-05/0.5355, allocations: 59.34 kB / 0.493 GB, free: 10.48 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003697/0.5359, allocations: 229.8 kB / 0.4933 GB, free: 10.25 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.825e-05/0.536, allocations: 29.7 kB / 0.4933 GB, free: 10.21 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.929e-05/0.5361, allocations: 166.6 kB / 0.4935 GB, free: 10.05 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.752e-05/0.5361, allocations: 11.89 kB / 0.4935 GB, free: 10.04 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.543e-06/0.5361, allocations: 4 kB / 0.4935 GB, free: 10.03 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.5363, allocations: 314.8 kB / 0.4938 GB, free: 9.715 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.636e-05/0.5364, allocations: 15.94 kB / 0.4938 GB, free: 9.699 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.645e-05/0.5364, allocations: 25.72 kB / 0.4938 GB, free: 9.668 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.65e-05/0.5365, allocations: 19.98 kB / 0.4938 GB, free: 9.648 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.366e-06/0.5365, allocations: 0 / 0.4938 GB, free: 9.648 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001723/0.5367, allocations: 65.59 kB / 0.4939 GB, free: 9.578 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.5367, allocations: 11.95 kB / 0.4939 GB, free: 9.566 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.264e-06/0.5368, allocations: 4.031 kB / 0.4939 GB, free: 9.562 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.5368, allocations: 0 / 0.4939 GB, free: 9.562 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.5369, allocations: 15.92 kB / 0.4939 GB, free: 9.547 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.831e-06/0.5369, allocations: 0 / 0.4939 GB, free: 9.547 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.973e-05/0.537, allocations: 11.94 kB / 0.4939 GB, free: 9.535 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.438e-05/0.537, allocations: 4 kB / 0.4939 GB, free: 9.531 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 (7): * Single equations (assignments): 7 * 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.425e-05/0.5371, allocations: 105 kB / 0.494 GB, free: 9.422 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.772e-05/0.5372, allocations: 15.81 kB / 0.4941 GB, free: 9.406 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002581/0.5375, allocations: 110.7 kB / 0.4942 GB, free: 9.285 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.425e-06/0.5375, allocations: 0 / 0.4942 GB, free: 9.285 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.5375, allocations: 7.938 kB / 0.4942 GB, free: 9.277 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.842e-06/0.5375, allocations: 0 / 0.4942 GB, free: 9.277 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002424/0.5378, allocations: 201.6 kB / 0.4944 GB, free: 9.031 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.359e-06/0.5378, allocations: 0 / 0.4944 GB, free: 9.031 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.235e-05/0.5378, allocations: 11.94 kB / 0.4944 GB, free: 9.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.734e-06/0.5379, allocations: 0 / 0.4944 GB, free: 9.02 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.5379, allocations: 3.984 kB / 0.4944 GB, free: 9.016 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.795e-06/0.5379, allocations: 3.953 kB / 0.4944 GB, free: 9.012 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.751e-06/0.5379, allocations: 0 / 0.4944 GB, free: 9.012 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002325/0.5382, allocations: 120.9 kB / 0.4945 GB, free: 8.875 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.893e-05/0.5383, allocations: 89.02 kB / 0.4946 GB, free: 8.77 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.166e-05/0.5383, allocations: 0 / 0.4946 GB, free: 8.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.342e-05/0.5384, allocations: 11.98 kB / 0.4946 GB, free: 8.758 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.867e-05/0.5384, allocations: 11.89 kB / 0.4946 GB, free: 8.746 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.5385, allocations: 0 / 0.4946 GB, free: 8.746 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000271/0.5388, allocations: 196.2 kB / 0.4948 GB, free: 8.555 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.64e-07/0.5388, allocations: 4 kB / 0.4948 GB, free: 8.551 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000329/0.5391, allocations: 31.89 kB / 0.4948 GB, free: 8.52 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001437/0.5406, allocations: 416.1 kB / 0.4952 GB, free: 8.238 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001604/0.5407, allocations: 32 kB / 0.4952 GB, free: 8.207 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.033e-06/0.5408, allocations: 4 kB / 0.4953 GB, free: 8.203 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.813e-05/0.5408, allocations: 23.94 kB / 0.4953 GB, free: 8.18 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002956/0.5411, allocations: 30.59 kB / 0.4953 GB, free: 8.152 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005657/0.5417, allocations: 224.2 kB / 0.4955 GB, free: 7.906 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004321/0.5422, allocations: 0.7278 MB / 0.4962 GB, free: 7.152 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.71e-05/0.5423, allocations: 15.44 kB / 0.4962 GB, free: 7.137 MB / 426.7 MB Notification: Performance of SimCode: time 1.459e-06/0.5423, allocations: 0 / 0.4962 GB, free: 7.137 MB / 426.7 MB Notification: Performance of Templates: time 0.004721/0.547, allocations: 1.915 MB / 0.4981 GB, free: 5.215 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test63CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test63CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test63Functions.cpp:202:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp4.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.Test63CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test63CalcHelperMain.o] Error 1