Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test56") Notification: Performance of loadModel(ModelicaTest): time 2.428/2.428, allocations: 270 MB / 282.7 MB, free: 1.719 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.759e-05/3.777e-05, allocations: 4 kB / 347 MB, free: 3.102 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.3296, allocations: 61.88 MB / 408.8 MB, free: 10.72 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1905/0.5201, allocations: 89.5 MB / 498.4 MB, free: 1.098 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002456/0.5204, allocations: 75.95 kB / 498.4 MB, free: 1.023 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02428/0.5447, allocations: 5.908 MB / 0.4925 GB, free: 11.11 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.5447, allocations: 0 / 0.4925 GB, free: 11.11 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.765e-05/0.5448, allocations: 4 kB / 0.4925 GB, free: 11.1 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.0005468/0.5453, allocations: 398.1 kB / 0.4929 GB, free: 10.67 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.5454, allocations: 8.031 kB / 0.4929 GB, free: 10.66 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.922e-05/0.5455, allocations: 7.906 kB / 0.4929 GB, free: 10.65 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003442/0.5458, allocations: 202.8 kB / 0.4931 GB, free: 10.41 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.514e-05/0.5459, allocations: 8 kB / 0.4931 GB, free: 10.41 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.17e-05/0.5459, allocations: 7.922 kB / 0.4931 GB, free: 10.4 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.5461, allocations: 67.39 kB / 0.4932 GB, free: 10.32 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.5461, allocations: 0 / 0.4932 GB, free: 10.32 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.5461, allocations: 4 kB / 0.4932 GB, free: 10.32 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.5461, allocations: 0 / 0.4932 GB, free: 10.32 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.337e-05/0.5462, allocations: 19.98 kB / 0.4932 GB, free: 10.3 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004659/0.5467, allocations: 288.9 kB / 0.4935 GB, free: 9.965 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001486/0.5469, allocations: 58.56 kB / 0.4935 GB, free: 9.898 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.593e-05/0.5469, allocations: 16.98 kB / 0.4936 GB, free: 9.879 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.658e-05/0.547, allocations: 8 kB / 0.4936 GB, free: 9.871 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001542/0.5471, allocations: 67.33 kB / 0.4936 GB, free: 9.793 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.618e-06/0.5471, allocations: 0 / 0.4936 GB, free: 9.793 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005405/0.5477, allocations: 145.3 kB / 0.4938 GB, free: 9.645 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.219e-05/0.5478, allocations: 85.09 kB / 0.4938 GB, free: 9.543 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002008/0.548, allocations: 147.8 kB / 0.494 GB, free: 9.395 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.408e-05/0.548, allocations: 25.7 kB / 0.494 GB, free: 9.363 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.409e-05/0.5481, allocations: 170.5 kB / 0.4942 GB, free: 9.195 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.844e-05/0.5482, allocations: 23.64 kB / 0.4942 GB, free: 9.172 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.736e-06/0.5482, allocations: 4 kB / 0.4942 GB, free: 9.168 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.5484, allocations: 310.8 kB / 0.4945 GB, free: 8.855 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.834e-05/0.5485, allocations: 20 kB / 0.4945 GB, free: 8.836 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.743e-05/0.5486, allocations: 42.56 kB / 0.4946 GB, free: 8.785 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.893e-05/0.5486, allocations: 28.03 kB / 0.4946 GB, free: 8.758 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.861e-06/0.5487, allocations: 4 kB / 0.4946 GB, free: 8.754 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002236/0.5489, allocations: 93.66 kB / 0.4947 GB, free: 8.656 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.5489, allocations: 5.719 kB / 0.4947 GB, free: 8.652 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.604e-06/0.5489, allocations: 0 / 0.4947 GB, free: 8.652 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.549, allocations: 0 / 0.4947 GB, free: 8.652 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.5491, allocations: 19.94 kB / 0.4947 GB, free: 8.633 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.19e-06/0.5491, allocations: 0 / 0.4947 GB, free: 8.633 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.713e-05/0.5492, allocations: 11.94 kB / 0.4947 GB, free: 8.621 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.275e-05/0.5492, allocations: 192 / 0.4947 GB, free: 8.621 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 0.000104/0.5493, allocations: 114.6 kB / 0.4948 GB, free: 8.504 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.98e-05/0.5494, allocations: 7.906 kB / 0.4948 GB, free: 8.496 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003058/0.5497, allocations: 118.2 kB / 0.4949 GB, free: 8.375 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.5497, allocations: 0 / 0.4949 GB, free: 8.375 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.495e-06/0.5497, allocations: 0 / 0.4949 GB, free: 8.375 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.181e-06/0.5497, allocations: 0 / 0.4949 GB, free: 8.375 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006178/0.5504, allocations: 407.2 kB / 0.4953 GB, free: 7.918 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.345e-06/0.5504, allocations: 4.031 kB / 0.4953 GB, free: 7.914 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.04e-05/0.5505, allocations: 8 kB / 0.4953 GB, free: 7.906 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.38e-06/0.5505, allocations: 288 / 0.4953 GB, free: 7.906 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.483e-05/0.5505, allocations: 8 kB / 0.4953 GB, free: 7.898 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.533e-06/0.5505, allocations: 11.88 kB / 0.4954 GB, free: 7.887 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.212e-06/0.5505, allocations: 3.938 kB / 0.4954 GB, free: 7.883 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003022/0.5508, allocations: 218 kB / 0.4956 GB, free: 7.645 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.718e-05/0.5509, allocations: 85.02 kB / 0.4957 GB, free: 7.543 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.57e-05/0.551, allocations: 7.938 kB / 0.4957 GB, free: 7.535 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/0.5511, allocations: 8 kB / 0.4957 GB, free: 7.527 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.982e-05/0.5512, allocations: 4 kB / 0.4957 GB, free: 7.523 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-05/0.5512, allocations: 7.984 kB / 0.4957 GB, free: 7.516 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001398/0.5514, allocations: 121.8 kB / 0.4958 GB, free: 7.398 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.11e-07/0.5514, allocations: 0 / 0.4958 GB, free: 7.398 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003965/0.5518, allocations: 39.94 kB / 0.4958 GB, free: 7.359 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.001774/0.5536, allocations: 0.5027 MB / 0.4963 GB, free: 7.008 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001968/0.5538, allocations: 55.94 kB / 0.4964 GB, free: 6.953 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.187e-06/0.5538, allocations: 0 / 0.4964 GB, free: 6.953 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.421e-05/0.5539, allocations: 28 kB / 0.4964 GB, free: 6.926 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003183/0.5542, allocations: 27.91 kB / 0.4964 GB, free: 6.898 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004404/0.5547, allocations: 168.7 kB / 0.4966 GB, free: 6.699 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003985/0.5551, allocations: 0.7084 MB / 0.4973 GB, free: 5.965 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.547e-05/0.5552, allocations: 15.44 kB / 0.4973 GB, free: 5.949 MB / 426.7 MB Notification: Performance of SimCode: time 1.471e-06/0.5552, allocations: 0 / 0.4973 GB, free: 5.949 MB / 426.7 MB Notification: Performance of Templates: time 0.004945/0.5601, allocations: 2.054 MB / 0.4993 GB, free: 3.898 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test56CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test56CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test56Functions.cpp:255: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.Test56CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test56CalcHelperMain.o] Error 1