Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test39") Notification: Performance of loadModel(ModelicaTest): time 2.4/2.4, allocations: 270 MB / 282.7 MB, free: 1.758 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.198e-05/3.208e-05, allocations: 4 kB / 347 MB, free: 3.121 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3721/0.3722, allocations: 61.88 MB / 408.9 MB, free: 10.75 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.138/0.5102, allocations: 89.09 MB / 497.9 MB, free: 1.527 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002314/0.5105, allocations: 71.97 kB / 498 MB, free: 1.457 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02236/0.5328, allocations: 5.372 MB / 0.4916 GB, free: 12.08 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.548e-06/0.5329, allocations: 4 kB / 0.4916 GB, free: 12.07 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.273e-05/0.5329, allocations: 0 / 0.4916 GB, free: 12.07 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.0005093/0.5334, allocations: 386.2 kB / 0.492 GB, free: 11.65 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.5335, allocations: 8.031 kB / 0.492 GB, free: 11.64 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.838e-05/0.5336, allocations: 11.91 kB / 0.492 GB, free: 11.63 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003532/0.5339, allocations: 203.8 kB / 0.4922 GB, free: 11.39 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.534, allocations: 4 kB / 0.4922 GB, free: 11.39 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.75e-05/0.534, allocations: 3.953 kB / 0.4922 GB, free: 11.39 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.5341, allocations: 49.62 kB / 0.4922 GB, free: 11.33 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.449e-06/0.5342, allocations: 4 kB / 0.4922 GB, free: 11.33 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.5342, allocations: 0 / 0.4922 GB, free: 11.33 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.743e-06/0.5342, allocations: 0 / 0.4922 GB, free: 11.33 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.361e-05/0.5343, allocations: 15.98 kB / 0.4923 GB, free: 11.31 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002442/0.5345, allocations: 189.5 kB / 0.4924 GB, free: 11.08 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001476/0.5347, allocations: 42.62 kB / 0.4925 GB, free: 11.03 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.996e-05/0.5348, allocations: 24.84 kB / 0.4925 GB, free: 11 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.184e-05/0.5348, allocations: 8 kB / 0.4925 GB, free: 10.99 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001499/0.5349, allocations: 67.38 kB / 0.4926 GB, free: 10.91 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 2.582e-06/0.535, allocations: 0 / 0.4926 GB, free: 10.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002419/0.5352, allocations: 77.58 kB / 0.4926 GB, free: 10.83 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.614e-05/0.5353, allocations: 59.34 kB / 0.4927 GB, free: 10.76 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002776/0.5356, allocations: 168.8 kB / 0.4929 GB, free: 10.59 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.753e-05/0.5356, allocations: 29.7 kB / 0.4929 GB, free: 10.56 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.899e-05/0.5357, allocations: 166.6 kB / 0.493 GB, free: 10.39 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.757e-05/0.5358, allocations: 15.8 kB / 0.4931 GB, free: 10.38 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.06e-06/0.5358, allocations: 0 / 0.4931 GB, free: 10.38 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.536, allocations: 314.8 kB / 0.4934 GB, free: 10.06 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.584e-05/0.536, allocations: 12 kB / 0.4934 GB, free: 10.05 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.835e-05/0.5361, allocations: 25.72 kB / 0.4934 GB, free: 10.02 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.516e-05/0.5362, allocations: 19.92 kB / 0.4934 GB, free: 10 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.427e-06/0.5362, allocations: 4 kB / 0.4934 GB, free: 9.996 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001698/0.5363, allocations: 69.81 kB / 0.4935 GB, free: 9.922 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.5364, allocations: 7.953 kB / 0.4935 GB, free: 9.914 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.866e-06/0.5364, allocations: 4 kB / 0.4935 GB, free: 9.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.5364, allocations: 4 kB / 0.4935 GB, free: 9.906 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.845e-05/0.5365, allocations: 11.98 kB / 0.4935 GB, free: 9.895 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.936e-06/0.5365, allocations: 3.938 kB / 0.4935 GB, free: 9.891 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.705e-05/0.5366, allocations: 4 kB / 0.4935 GB, free: 9.887 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.375e-06/0.5366, allocations: 0 / 0.4935 GB, free: 9.887 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.943e-05/0.5368, allocations: 114.8 kB / 0.4936 GB, free: 9.77 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.845e-05/0.5368, allocations: 7.906 kB / 0.4936 GB, free: 9.762 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002334/0.537, allocations: 97.7 kB / 0.4937 GB, free: 9.656 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.313e-06/0.5371, allocations: 0 / 0.4937 GB, free: 9.656 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.5371, allocations: 0 / 0.4937 GB, free: 9.656 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.102e-06/0.5371, allocations: 0 / 0.4937 GB, free: 9.656 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002149/0.5373, allocations: 189.5 kB / 0.4939 GB, free: 9.422 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.267e-06/0.5373, allocations: 0 / 0.4939 GB, free: 9.422 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.204e-05/0.5374, allocations: 4 kB / 0.4939 GB, free: 9.418 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.634e-06/0.5374, allocations: 7.938 kB / 0.4939 GB, free: 9.41 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.5374, allocations: 4 kB / 0.4939 GB, free: 9.406 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.825e-06/0.5374, allocations: 3.953 kB / 0.4939 GB, free: 9.402 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.584e-06/0.5374, allocations: 0 / 0.4939 GB, free: 9.402 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002133/0.5377, allocations: 109 kB / 0.494 GB, free: 9.277 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.614e-05/0.5378, allocations: 92.94 kB / 0.4941 GB, free: 9.168 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.114e-05/0.5378, allocations: 4 kB / 0.4941 GB, free: 9.164 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.14e-05/0.5379, allocations: 7.938 kB / 0.4941 GB, free: 9.156 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.371e-05/0.5379, allocations: 15.89 kB / 0.4942 GB, free: 9.141 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.538, allocations: 3.984 kB / 0.4942 GB, free: 9.137 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000172/0.5381, allocations: 144.3 kB / 0.4943 GB, free: 9 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.81e-07/0.5382, allocations: 0 / 0.4943 GB, free: 9 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003009/0.5385, allocations: 23.98 kB / 0.4943 GB, free: 8.977 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.001425/0.5399, allocations: 421.5 kB / 0.4947 GB, free: 8.691 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001467/0.5401, allocations: 32 kB / 0.4947 GB, free: 8.66 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.303e-06/0.5401, allocations: 0 / 0.4947 GB, free: 8.66 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.908e-05/0.5402, allocations: 27.94 kB / 0.4948 GB, free: 8.633 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002582/0.5404, allocations: 20.22 kB / 0.4948 GB, free: 8.613 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004299/0.5409, allocations: 175.7 kB / 0.495 GB, free: 8.414 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003942/0.5413, allocations: 0.7121 MB / 0.4957 GB, free: 7.676 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.854e-05/0.5414, allocations: 15.44 kB / 0.4957 GB, free: 7.66 MB / 426.7 MB Notification: Performance of SimCode: time 1.351e-06/0.5414, allocations: 0 / 0.4957 GB, free: 7.66 MB / 426.7 MB Notification: Performance of Templates: time 0.004347/0.5457, allocations: 1.696 MB / 0.4973 GB, free: 5.957 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test39CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test39CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test39Functions.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.Test39CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test39CalcHelperMain.o] Error 1