Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test86") Notification: Performance of loadModel(ModelicaTest): time 2.34/2.34, allocations: 269 MB / 284.1 MB, free: 3.652 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.352e-05/3.341e-05, allocations: 4 kB / 349 MB, free: 10.78 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1361, allocations: 61.89 MB / 410.9 MB, free: 12.88 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.003227/0.1394, allocations: 1.357 MB / 412.3 MB, free: 11.51 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00228/0.1418, allocations: 0.7062 MB / 413 MB, free: 10.8 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.1419, allocations: 4 kB / 413 MB, free: 10.8 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003399/0.1423, allocations: 55.8 kB / 413.1 MB, free: 10.75 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002587/0.1425, allocations: 43.86 kB / 413.1 MB, free: 10.7 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004711/0.143, allocations: 83.69 kB / 413.2 MB, free: 10.62 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001839/0.1432, allocations: 47.89 kB / 413.2 MB, free: 10.57 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.407e-05/0.1433, allocations: 0 / 413.2 MB, free: 10.57 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000133/0.1434, allocations: 39.89 kB / 413.3 MB, free: 10.54 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001373/0.1436, allocations: 27.92 kB / 413.3 MB, free: 10.51 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001242/0.1437, allocations: 19.92 kB / 413.3 MB, free: 10.49 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.864e-05/0.1438, allocations: 4 kB / 413.3 MB, free: 10.48 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.095e-05/0.1439, allocations: 15.97 kB / 413.3 MB, free: 10.47 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.234e-05/0.1439, allocations: 8 kB / 413.3 MB, free: 10.46 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002339/0.1442, allocations: 68.12 kB / 413.4 MB, free: 10.39 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1442, allocations: 0 / 413.4 MB, free: 10.39 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.815e-06/0.1442, allocations: 0 / 413.4 MB, free: 10.39 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.122e-05/0.1442, allocations: 0 / 413.4 MB, free: 10.39 MB / 346.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.0006773/0.1449, allocations: 383 kB / 413.8 MB, free: 9.973 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.145, allocations: 8.031 kB / 413.8 MB, free: 9.965 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.834e-05/0.1451, allocations: 11.91 kB / 413.8 MB, free: 9.953 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003784/0.1455, allocations: 202.9 kB / 414 MB, free: 9.715 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.366e-05/0.1455, allocations: 4 kB / 414 MB, free: 9.711 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.764e-05/0.1455, allocations: 0 / 414 MB, free: 9.711 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002129/0.1458, allocations: 53.62 kB / 414.1 MB, free: 9.652 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.1458, allocations: 0 / 414.1 MB, free: 9.652 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.1458, allocations: 0 / 414.1 MB, free: 9.652 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.1458, allocations: 4 kB / 414.1 MB, free: 9.648 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001216/0.146, allocations: 19.92 kB / 414.1 MB, free: 9.629 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002909/0.1463, allocations: 177.7 kB / 414.2 MB, free: 9.406 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002838/0.1466, allocations: 50.62 kB / 414.3 MB, free: 9.348 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.85e-05/0.1466, allocations: 0 / 414.3 MB, free: 9.348 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002455/0.1469, allocations: 71.38 kB / 414.4 MB, free: 9.266 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 4.889e-06/0.1469, allocations: 0 / 414.4 MB, free: 9.266 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004802/0.1474, allocations: 105.4 kB / 414.5 MB, free: 9.156 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.619e-05/0.1475, allocations: 55.41 kB / 414.5 MB, free: 9.09 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003007/0.1478, allocations: 173.9 kB / 414.7 MB, free: 8.918 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.941e-05/0.1479, allocations: 25.7 kB / 414.7 MB, free: 8.887 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.989e-05/0.148, allocations: 162.6 kB / 414.9 MB, free: 8.727 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.194e-05/0.148, allocations: 7.906 kB / 414.9 MB, free: 8.719 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.643e-06/0.148, allocations: 0 / 414.9 MB, free: 8.719 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.1482, allocations: 318.8 kB / 415.2 MB, free: 8.398 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.213e-05/0.1483, allocations: 8 kB / 415.2 MB, free: 8.391 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001169/0.1485, allocations: 37.7 kB / 415.2 MB, free: 8.348 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000109/0.1486, allocations: 20.19 kB / 415.3 MB, free: 8.328 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.1486, allocations: 0 / 415.3 MB, free: 8.328 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002988/0.1489, allocations: 69.69 kB / 415.3 MB, free: 8.254 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.45e-05/0.149, allocations: 6.656 kB / 415.3 MB, free: 8.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.149, allocations: 3.984 kB / 415.3 MB, free: 8.246 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.149, allocations: 3.953 kB / 415.3 MB, free: 8.242 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001492/0.1492, allocations: 15.97 kB / 415.4 MB, free: 8.227 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.1492, allocations: 8 kB / 415.4 MB, free: 8.219 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/0.1493, allocations: 3.906 kB / 415.4 MB, free: 8.215 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.514e-05/0.1493, allocations: 4 kB / 415.4 MB, free: 8.211 MB / 346.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 0.0001609/0.1495, allocations: 125.8 kB / 415.5 MB, free: 8.078 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.086e-05/0.1496, allocations: 7.906 kB / 415.5 MB, free: 8.07 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.723e-05/0.1497, allocations: 12.31 kB / 415.5 MB, free: 8.051 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.26e-05/0.1497, allocations: 11.94 kB / 415.5 MB, free: 8.039 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.1497, allocations: 0 / 415.5 MB, free: 8.039 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.1497, allocations: 4 kB / 415.5 MB, free: 8.035 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002453/0.15, allocations: 177.6 kB / 415.7 MB, free: 7.812 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.15, allocations: 4 kB / 415.7 MB, free: 7.809 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.935e-05/0.15, allocations: 0 / 415.7 MB, free: 7.809 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.1501, allocations: 4 kB / 415.7 MB, free: 7.805 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.1501, allocations: 0 / 415.7 MB, free: 7.805 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.1501, allocations: 0 / 415.7 MB, free: 7.805 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/0.1501, allocations: 3.953 kB / 415.7 MB, free: 7.801 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003656/0.1505, allocations: 116.9 kB / 415.8 MB, free: 7.668 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.394e-05/0.1506, allocations: 92.91 kB / 415.9 MB, free: 7.559 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.978e-05/0.1507, allocations: 0 / 415.9 MB, free: 7.559 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.727e-05/0.1508, allocations: 4 kB / 415.9 MB, free: 7.555 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.246e-05/0.1508, allocations: 7.984 kB / 415.9 MB, free: 7.547 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.681e-05/0.1509, allocations: 12.02 kB / 415.9 MB, free: 7.535 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002265/0.1511, allocations: 135.2 kB / 416.1 MB, free: 7.402 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.1511, allocations: 3.938 kB / 416.1 MB, free: 7.398 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005023/0.1516, allocations: 19.98 kB / 416.1 MB, free: 7.379 MB / 346.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.nextTimeEventScaled,t_new.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001689/0.1533, allocations: 399.5 kB / 416.5 MB, free: 7.098 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002999/0.1537, allocations: 39.92 kB / 416.5 MB, free: 7.059 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.1537, allocations: 4 kB / 416.5 MB, free: 7.055 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000124/0.1538, allocations: 15.98 kB / 416.5 MB, free: 7.039 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004175/0.1543, allocations: 28.05 kB / 416.6 MB, free: 7.012 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007276/0.155, allocations: 234.7 kB / 416.8 MB, free: 6.75 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004147/0.1555, allocations: 0.7004 MB / 417.5 MB, free: 6.023 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.933e-05/0.1555, allocations: 19.42 kB / 417.5 MB, free: 6.004 MB / 346.7 MB Notification: Performance of SimCode: time 1.062e-06/0.1556, allocations: 0 / 417.5 MB, free: 6.004 MB / 346.7 MB Notification: Performance of Templates: time 0.006377/0.162, allocations: 1.663 MB / 419.2 MB, free: 4.336 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.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 -DENABLE_OMSI -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/base" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/solver" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/" -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.Test86CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test86CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test86CalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test86Functions.cpp:205:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp16.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.Test86CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test86CalcHelperMain.o] Error 1