Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test24") Notification: Performance of loadModel(ModelicaTest): time 2.389/2.389, allocations: 270 MB / 282.7 MB, free: 1.863 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.013e-05/4.025e-05, allocations: 4 kB / 347 MB, free: 3.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.3271, allocations: 61.89 MB / 408.9 MB, free: 10.78 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.14/0.4671, allocations: 89.24 MB / 498.1 MB, free: 1.422 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002474/0.4674, allocations: 71.97 kB / 498.2 MB, free: 1.352 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02392/0.4914, allocations: 5.452 MB / 0.4918 GB, free: 11.89 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.101e-06/0.4914, allocations: 0 / 0.4918 GB, free: 11.89 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.376e-05/0.4914, allocations: 0 / 0.4918 GB, free: 11.89 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.0005558/0.492, allocations: 402.1 kB / 0.4922 GB, free: 11.45 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.4921, allocations: 8.031 kB / 0.4922 GB, free: 11.44 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.185e-05/0.4921, allocations: 11.91 kB / 0.4922 GB, free: 11.43 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003785/0.4925, allocations: 215.4 kB / 0.4924 GB, free: 11.18 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/0.4926, allocations: 3.953 kB / 0.4924 GB, free: 11.17 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.133e-05/0.4926, allocations: 4 kB / 0.4924 GB, free: 11.17 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.4927, allocations: 53.67 kB / 0.4925 GB, free: 11.11 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.4928, allocations: 0 / 0.4925 GB, free: 11.11 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.4928, allocations: 4 kB / 0.4925 GB, free: 11.11 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.005e-06/0.4928, allocations: 4 kB / 0.4925 GB, free: 11.1 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.522e-05/0.4929, allocations: 15.98 kB / 0.4925 GB, free: 11.09 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004816/0.4934, allocations: 296.8 kB / 0.4928 GB, free: 10.75 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001541/0.4936, allocations: 50.69 kB / 0.4928 GB, free: 10.69 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.717e-05/0.4936, allocations: 24.91 kB / 0.4929 GB, free: 10.66 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.454e-05/0.4937, allocations: 4 kB / 0.4929 GB, free: 10.66 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001584/0.4938, allocations: 67.34 kB / 0.4929 GB, free: 10.58 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.657e-06/0.4938, allocations: 0 / 0.4929 GB, free: 10.58 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005619/0.4944, allocations: 169.2 kB / 0.4931 GB, free: 10.41 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.607e-05/0.4945, allocations: 51.41 kB / 0.4931 GB, free: 10.34 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002656/0.4948, allocations: 182.2 kB / 0.4933 GB, free: 10.16 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.801e-05/0.4948, allocations: 29.7 kB / 0.4933 GB, free: 10.12 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.4949, allocations: 166.6 kB / 0.4935 GB, free: 9.957 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.974e-05/0.495, allocations: 23.66 kB / 0.4935 GB, free: 9.934 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.76e-06/0.495, allocations: 0 / 0.4935 GB, free: 9.934 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000177/0.4952, allocations: 322.8 kB / 0.4938 GB, free: 9.609 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.639e-05/0.4952, allocations: 16 kB / 0.4938 GB, free: 9.594 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.523e-05/0.4953, allocations: 37.66 kB / 0.4939 GB, free: 9.551 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.896e-05/0.4954, allocations: 23.98 kB / 0.4939 GB, free: 9.527 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.788e-06/0.4954, allocations: 4 kB / 0.4939 GB, free: 9.523 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002227/0.4957, allocations: 85.59 kB / 0.494 GB, free: 9.434 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.4957, allocations: 8 kB / 0.494 GB, free: 9.426 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.994e-06/0.4957, allocations: 0 / 0.494 GB, free: 9.426 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.4957, allocations: 0 / 0.494 GB, free: 9.426 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.4959, allocations: 19.92 kB / 0.494 GB, free: 9.406 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.4959, allocations: 4 kB / 0.494 GB, free: 9.402 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.724e-05/0.496, allocations: 0 / 0.494 GB, free: 9.402 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.748e-05/0.496, allocations: 8 kB / 0.494 GB, free: 9.395 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.0001066/0.4961, allocations: 117 kB / 0.4941 GB, free: 9.273 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.092e-05/0.4962, allocations: 7.906 kB / 0.4941 GB, free: 9.266 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002942/0.4965, allocations: 115.1 kB / 0.4943 GB, free: 9.148 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.119e-06/0.4965, allocations: 3.984 kB / 0.4943 GB, free: 9.145 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.462e-06/0.4965, allocations: 4 kB / 0.4943 GB, free: 9.141 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.091e-06/0.4965, allocations: 0 / 0.4943 GB, free: 9.141 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006342/0.4972, allocations: 415.3 kB / 0.4947 GB, free: 8.676 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.439e-06/0.4972, allocations: 4.031 kB / 0.4947 GB, free: 8.672 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.985e-05/0.4972, allocations: 8 kB / 0.4947 GB, free: 8.664 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-06/0.4973, allocations: 4.281 kB / 0.4947 GB, free: 8.66 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.4973, allocations: 7.984 kB / 0.4947 GB, free: 8.652 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.509e-06/0.4973, allocations: 0 / 0.4947 GB, free: 8.652 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.535e-06/0.4973, allocations: 11.88 kB / 0.4947 GB, free: 8.641 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003049/0.4976, allocations: 213.9 kB / 0.4949 GB, free: 8.406 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.104e-05/0.4977, allocations: 96.92 kB / 0.495 GB, free: 8.293 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.629e-05/0.4978, allocations: 7.984 kB / 0.495 GB, free: 8.285 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.4979, allocations: 4 kB / 0.495 GB, free: 8.281 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.182e-05/0.498, allocations: 11.94 kB / 0.495 GB, free: 8.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.829e-05/0.498, allocations: 7.984 kB / 0.495 GB, free: 8.262 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001945/0.4982, allocations: 151.5 kB / 0.4952 GB, free: 8.117 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.03e-07/0.4982, allocations: 3.938 kB / 0.4952 GB, free: 8.113 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003746/0.4986, allocations: 35.94 kB / 0.4952 GB, free: 8.078 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.001644/0.5003, allocations: 455.2 kB / 0.4956 GB, free: 7.777 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001938/0.5005, allocations: 59.91 kB / 0.4957 GB, free: 7.719 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.15e-06/0.5005, allocations: 0 / 0.4957 GB, free: 7.719 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.326e-05/0.5006, allocations: 28 kB / 0.4957 GB, free: 7.691 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003291/0.5009, allocations: 24.11 kB / 0.4957 GB, free: 7.668 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005086/0.5015, allocations: 216.4 kB / 0.496 GB, free: 7.43 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004158/0.5019, allocations: 0.7121 MB / 0.4966 GB, free: 6.691 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.937e-05/0.502, allocations: 19.42 kB / 0.4967 GB, free: 6.672 MB / 426.7 MB Notification: Performance of SimCode: time 1.837e-06/0.502, allocations: 0 / 0.4967 GB, free: 6.672 MB / 426.7 MB Notification: Performance of Templates: time 0.00482/0.5068, allocations: 1.964 MB / 0.4986 GB, free: 4.711 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test24CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test24CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test24Functions.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.Test24CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test24CalcHelperMain.o] Error 1