Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test8") Notification: Performance of loadModel(ModelicaTest): time 2.593/2.593, allocations: 269 MB / 284.1 MB, free: 3.562 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.59e-05/3.587e-05, allocations: 4 kB / 349 MB, free: 10.74 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1365, allocations: 61.89 MB / 410.9 MB, free: 12.85 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.00255/0.1391, allocations: 1.415 MB / 412.3 MB, free: 11.43 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001742/0.1409, allocations: 0.7297 MB / 413.1 MB, free: 10.69 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.71e-05/0.141, allocations: 0 / 413.1 MB, free: 10.69 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003369/0.1414, allocations: 91.67 kB / 413.2 MB, free: 10.6 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002301/0.1416, allocations: 67.83 kB / 413.2 MB, free: 10.54 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003771/0.142, allocations: 83.75 kB / 413.3 MB, free: 10.45 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001945/0.1423, allocations: 79.83 kB / 413.4 MB, free: 10.38 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.56e-05/0.1423, allocations: 4 kB / 413.4 MB, free: 10.37 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.1425, allocations: 47.83 kB / 413.4 MB, free: 10.32 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001281/0.1426, allocations: 43.91 kB / 413.5 MB, free: 10.28 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001539/0.1428, allocations: 43.92 kB / 413.5 MB, free: 10.24 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.657e-05/0.1428, allocations: 8 kB / 413.5 MB, free: 10.23 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.442e-05/0.1429, allocations: 31.84 kB / 413.6 MB, free: 10.2 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.931e-05/0.1429, allocations: 4 kB / 413.6 MB, free: 10.2 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002432/0.1432, allocations: 104.1 kB / 413.7 MB, free: 10.09 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.1432, allocations: 0 / 413.7 MB, free: 10.09 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.1432, allocations: 0 / 413.7 MB, free: 10.09 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.328e-06/0.1432, allocations: 0 / 413.7 MB, free: 10.09 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000649/0.1439, allocations: 407 kB / 414.1 MB, free: 9.648 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/0.144, allocations: 12.03 kB / 414.1 MB, free: 9.637 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.182e-05/0.144, allocations: 15.81 kB / 414.1 MB, free: 9.621 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003629/0.1444, allocations: 218.6 kB / 414.3 MB, free: 9.367 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.666e-05/0.1444, allocations: 4 kB / 414.3 MB, free: 9.363 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.498e-05/0.1445, allocations: 11.98 kB / 414.3 MB, free: 9.352 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002178/0.1447, allocations: 65.56 kB / 414.4 MB, free: 9.281 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.1447, allocations: 0 / 414.4 MB, free: 9.281 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.1448, allocations: 4 kB / 414.4 MB, free: 9.277 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.1448, allocations: 0 / 414.4 MB, free: 9.277 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001415/0.1449, allocations: 31.97 kB / 414.4 MB, free: 9.246 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005578/0.1455, allocations: 328.7 kB / 414.7 MB, free: 8.875 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003732/0.1459, allocations: 70.55 kB / 414.8 MB, free: 8.797 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.47e-05/0.1459, allocations: 0 / 414.8 MB, free: 8.797 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000234/0.1462, allocations: 79.28 kB / 414.9 MB, free: 8.707 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 5.661e-06/0.1462, allocations: 4.094 kB / 414.9 MB, free: 8.703 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.001165/0.1474, allocations: 281.2 kB / 415.2 MB, free: 8.422 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.953e-05/0.1475, allocations: 51.41 kB / 415.2 MB, free: 8.359 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003498/0.1478, allocations: 226.5 kB / 415.4 MB, free: 8.129 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.922e-05/0.1479, allocations: 29.7 kB / 415.5 MB, free: 8.094 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.148, allocations: 174.5 kB / 415.6 MB, free: 7.922 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.949e-05/0.1481, allocations: 31.55 kB / 415.7 MB, free: 7.891 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.037e-05/0.1481, allocations: 8 kB / 415.7 MB, free: 7.883 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.1482, allocations: 318.8 kB / 416 MB, free: 7.562 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001625/0.1484, allocations: 31.98 kB / 416 MB, free: 7.531 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001457/0.1486, allocations: 57.69 kB / 416.1 MB, free: 7.469 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.1487, allocations: 32 kB / 416.1 MB, free: 7.438 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1487, allocations: 4 kB / 416.1 MB, free: 7.434 MB / 346.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003912/0.1491, allocations: 133.5 kB / 416.2 MB, free: 7.297 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.1492, allocations: 8 kB / 416.3 MB, free: 7.289 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.1492, allocations: 0 / 416.3 MB, free: 7.289 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.1492, allocations: 0 / 416.3 MB, free: 7.289 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001771/0.1494, allocations: 27.92 kB / 416.3 MB, free: 7.262 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.256e-05/0.1494, allocations: 3.938 kB / 416.3 MB, free: 7.258 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.984e-05/0.1496, allocations: 8 kB / 416.3 MB, free: 7.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/0.1496, allocations: 4 kB / 416.3 MB, free: 7.246 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 (14): * Single equations (assignments): 14 * 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.0001809/0.1498, allocations: 137.8 kB / 416.4 MB, free: 7.102 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.787e-05/0.1498, allocations: 19.8 kB / 416.4 MB, free: 7.082 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.376e-05/0.1499, allocations: 25.41 kB / 416.5 MB, free: 7.051 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.1499, allocations: 0 / 416.5 MB, free: 7.051 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.1499, allocations: 0 / 416.5 MB, free: 7.051 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.15, allocations: 3.984 kB / 416.5 MB, free: 7.047 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008935/0.1509, allocations: 471.9 kB / 416.9 MB, free: 6.523 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.1509, allocations: 4.062 kB / 416.9 MB, free: 6.52 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001098/0.151, allocations: 19.98 kB / 417 MB, free: 6.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.151, allocations: 0 / 417 MB, free: 6.5 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.051e-05/0.1511, allocations: 8 kB / 417 MB, free: 6.492 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.1511, allocations: 0 / 417 MB, free: 6.492 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.338e-06/0.1511, allocations: 11.92 kB / 417 MB, free: 6.48 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004781/0.1516, allocations: 268.4 kB / 417.2 MB, free: 6.184 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.656e-05/0.1517, allocations: 89.02 kB / 417.3 MB, free: 6.078 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.592e-05/0.1517, allocations: 15.92 kB / 417.3 MB, free: 6.062 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001286/0.1519, allocations: 7.953 kB / 417.4 MB, free: 6.055 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.905e-05/0.1519, allocations: 15.98 kB / 417.4 MB, free: 6.039 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.678e-05/0.152, allocations: 4 kB / 417.4 MB, free: 6.035 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002632/0.1523, allocations: 188 kB / 417.6 MB, free: 5.852 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.1523, allocations: 11.94 kB / 417.6 MB, free: 5.84 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003683/0.1527, allocations: 27.98 kB / 417.6 MB, free: 5.812 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.001469/0.1542, allocations: 490.3 kB / 418.1 MB, free: 5.48 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003724/0.1545, allocations: 95.84 kB / 418.2 MB, free: 5.387 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.1546, allocations: 0 / 418.2 MB, free: 5.387 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001493/0.1547, allocations: 39.92 kB / 418.2 MB, free: 5.348 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003939/0.1551, allocations: 38.22 kB / 418.2 MB, free: 5.312 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008592/0.156, allocations: 361.7 kB / 418.6 MB, free: 4.918 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004271/0.1565, allocations: 0.7282 MB / 419.3 MB, free: 4.164 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.487e-05/0.1565, allocations: 19.44 kB / 419.3 MB, free: 4.145 MB / 346.7 MB Notification: Performance of SimCode: time 1.463e-06/0.1566, allocations: 4 kB / 419.3 MB, free: 4.141 MB / 346.7 MB Notification: Performance of Templates: time 0.006643/0.1632, allocations: 2.342 MB / 421.7 MB, free: 1.801 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test8CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test8CalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test8Functions.cpp:285:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp22.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.Test8CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test8CalcHelperMain.o] Error 1