Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test65") Notification: Performance of loadModel(ModelicaTest): time 2.374/2.374, allocations: 270 MB / 282.7 MB, free: 1.789 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.126e-05/4.144e-05, allocations: 11.98 kB / 347 MB, free: 3.148 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3475/0.3476, allocations: 61.88 MB / 408.9 MB, free: 10.76 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.182/0.5296, allocations: 89.05 MB / 497.9 MB, free: 1.586 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002302/0.5299, allocations: 71.95 kB / 498 MB, free: 1.516 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02223/0.5522, allocations: 5.392 MB / 0.4916 GB, free: 12.11 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.177e-06/0.5522, allocations: 0 / 0.4916 GB, free: 12.11 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.615e-05/0.5522, allocations: 8 kB / 0.4916 GB, free: 12.11 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.0005173/0.5528, allocations: 394.1 kB / 0.492 GB, free: 11.68 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.5528, allocations: 8.031 kB / 0.492 GB, free: 11.67 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.357e-05/0.5529, allocations: 11.91 kB / 0.492 GB, free: 11.66 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003622/0.5532, allocations: 216 kB / 0.4922 GB, free: 11.41 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.5533, allocations: 0 / 0.4922 GB, free: 11.41 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.937e-05/0.5533, allocations: 11.94 kB / 0.4922 GB, free: 11.39 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/0.5534, allocations: 45.67 kB / 0.4922 GB, free: 11.34 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.5535, allocations: 11.94 kB / 0.4922 GB, free: 11.33 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.5535, allocations: 0 / 0.4922 GB, free: 11.33 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.025e-06/0.5535, allocations: 4 kB / 0.4923 GB, free: 11.33 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.498e-05/0.5536, allocations: 15.98 kB / 0.4923 GB, free: 11.31 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002482/0.5538, allocations: 185.6 kB / 0.4924 GB, free: 11.08 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000152/0.554, allocations: 50.56 kB / 0.4925 GB, free: 11.02 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.99e-05/0.5541, allocations: 20.86 kB / 0.4925 GB, free: 11 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.439e-05/0.5541, allocations: 4 kB / 0.4925 GB, free: 11 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001519/0.5543, allocations: 67.44 kB / 0.4926 GB, free: 10.92 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 2.748e-06/0.5543, allocations: 3.938 kB / 0.4926 GB, free: 10.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002366/0.5545, allocations: 73.59 kB / 0.4927 GB, free: 10.84 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.875e-05/0.5546, allocations: 59.33 kB / 0.4927 GB, free: 10.77 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002771/0.5549, allocations: 193.4 kB / 0.4929 GB, free: 10.57 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.484e-05/0.5549, allocations: 25.7 kB / 0.4929 GB, free: 10.54 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.797e-05/0.555, allocations: 174.5 kB / 0.4931 GB, free: 10.36 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.578e-05/0.5551, allocations: 15.81 kB / 0.4931 GB, free: 10.35 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.24e-06/0.5551, allocations: 0 / 0.4931 GB, free: 10.35 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.5553, allocations: 310.8 kB / 0.4934 GB, free: 10.04 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.646e-05/0.5553, allocations: 12 kB / 0.4934 GB, free: 10.02 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.914e-05/0.5554, allocations: 33.7 kB / 0.4934 GB, free: 9.984 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.207e-05/0.5555, allocations: 12 kB / 0.4935 GB, free: 9.973 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.5555, allocations: 4 kB / 0.4935 GB, free: 9.969 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000179/0.5557, allocations: 73.62 kB / 0.4935 GB, free: 9.891 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.5557, allocations: 7.953 kB / 0.4935 GB, free: 9.883 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.084e-06/0.5557, allocations: 3.984 kB / 0.4935 GB, free: 9.879 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.5557, allocations: 0 / 0.4935 GB, free: 9.879 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.572e-05/0.5558, allocations: 8 kB / 0.4935 GB, free: 9.871 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.884e-06/0.5559, allocations: 4 kB / 0.4935 GB, free: 9.867 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.657e-05/0.5559, allocations: 3.906 kB / 0.4936 GB, free: 9.863 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.5e-06/0.556, allocations: 4 kB / 0.4936 GB, free: 9.859 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.794e-05/0.5561, allocations: 117 kB / 0.4937 GB, free: 9.738 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.014e-05/0.5561, allocations: 7.906 kB / 0.4937 GB, free: 9.73 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002364/0.5564, allocations: 98.56 kB / 0.4938 GB, free: 9.629 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.865e-06/0.5564, allocations: 0 / 0.4938 GB, free: 9.629 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.9e-06/0.5564, allocations: 0 / 0.4938 GB, free: 9.629 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.5564, allocations: 0 / 0.4938 GB, free: 9.629 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000217/0.5566, allocations: 197.7 kB / 0.494 GB, free: 9.387 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.022e-06/0.5567, allocations: 4 kB / 0.494 GB, free: 9.383 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.936e-05/0.5567, allocations: 4 kB / 0.494 GB, free: 9.379 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.439e-06/0.5567, allocations: 4 kB / 0.494 GB, free: 9.375 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.5567, allocations: 4 kB / 0.494 GB, free: 9.371 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.5568, allocations: 7.953 kB / 0.494 GB, free: 9.363 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.5568, allocations: 3.938 kB / 0.494 GB, free: 9.359 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002188/0.557, allocations: 108.9 kB / 0.4941 GB, free: 9.234 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.167e-05/0.5571, allocations: 89.02 kB / 0.4942 GB, free: 9.129 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.44e-05/0.5572, allocations: 15.86 kB / 0.4942 GB, free: 9.113 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.166e-05/0.5572, allocations: 0 / 0.4942 GB, free: 9.113 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.721e-05/0.5573, allocations: 11.95 kB / 0.4942 GB, free: 9.102 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.912e-06/0.5573, allocations: 0 / 0.4942 GB, free: 9.102 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002019/0.5575, allocations: 164.2 kB / 0.4944 GB, free: 8.941 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.59e-07/0.5575, allocations: 0 / 0.4944 GB, free: 8.941 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003642/0.5579, allocations: 28 kB / 0.4944 GB, free: 8.914 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.001423/0.5593, allocations: 415 kB / 0.4948 GB, free: 8.629 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001488/0.5595, allocations: 35.94 kB / 0.4948 GB, free: 8.594 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.36e-06/0.5595, allocations: 0 / 0.4948 GB, free: 8.594 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.952e-05/0.5596, allocations: 23.98 kB / 0.4948 GB, free: 8.57 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000267/0.5599, allocations: 19.98 kB / 0.4949 GB, free: 8.551 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004456/0.5603, allocations: 191.8 kB / 0.495 GB, free: 8.336 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003955/0.5608, allocations: 0.7082 MB / 0.4957 GB, free: 7.602 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.275e-05/0.5608, allocations: 19.44 kB / 0.4957 GB, free: 7.582 MB / 426.7 MB Notification: Performance of SimCode: time 1.438e-06/0.5608, allocations: 0 / 0.4957 GB, free: 7.582 MB / 426.7 MB Notification: Performance of Templates: time 0.004334/0.5652, allocations: 1.772 MB / 0.4975 GB, free: 5.809 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test65CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test65CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test65Functions.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.Test65CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test65CalcHelperMain.o] Error 1