Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test27") Notification: Performance of loadModel(ModelicaTest): time 2.456/2.456, allocations: 269 MB / 284.1 MB, free: 3.641 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.166e-05/3.166e-05, allocations: 4 kB / 349 MB, free: 10.78 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1488, allocations: 61.89 MB / 410.9 MB, free: 12.88 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.002539/0.1514, allocations: 1.388 MB / 412.3 MB, free: 11.48 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001665/0.1531, allocations: 0.718 MB / 413 MB, free: 10.76 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.404e-05/0.1532, allocations: 7.938 kB / 413 MB, free: 10.75 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002312/0.1534, allocations: 27.84 kB / 413.1 MB, free: 10.72 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001724/0.1536, allocations: 35.86 kB / 413.1 MB, free: 10.69 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003409/0.154, allocations: 91.62 kB / 413.2 MB, free: 10.6 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000158/0.1542, allocations: 51.88 kB / 413.2 MB, free: 10.55 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.202e-05/0.1542, allocations: 3.984 kB / 413.3 MB, free: 10.54 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.512e-05/0.1544, allocations: 39.84 kB / 413.3 MB, free: 10.5 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.659e-05/0.1544, allocations: 19.92 kB / 413.3 MB, free: 10.48 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001083/0.1546, allocations: 24 kB / 413.3 MB, free: 10.46 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.239e-05/0.1546, allocations: 8 kB / 413.3 MB, free: 10.45 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.691e-05/0.1547, allocations: 15.92 kB / 413.4 MB, free: 10.44 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.868e-05/0.1547, allocations: 4 kB / 413.4 MB, free: 10.43 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001977/0.1549, allocations: 92.03 kB / 413.5 MB, free: 10.34 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.1549, allocations: 0 / 413.5 MB, free: 10.34 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.444e-06/0.1549, allocations: 0 / 413.5 MB, free: 10.34 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.576e-06/0.1549, allocations: 0 / 413.5 MB, free: 10.34 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005717/0.1555, allocations: 379.1 kB / 413.8 MB, free: 9.926 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.1556, allocations: 12.03 kB / 413.8 MB, free: 9.914 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.718e-05/0.1556, allocations: 11.91 kB / 413.8 MB, free: 9.902 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002909/0.1559, allocations: 206.8 kB / 414 MB, free: 9.66 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.064e-05/0.156, allocations: 3.984 kB / 414 MB, free: 9.656 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.688e-05/0.156, allocations: 4 kB / 414.1 MB, free: 9.652 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001848/0.1562, allocations: 57.62 kB / 414.1 MB, free: 9.59 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.1562, allocations: 0 / 414.1 MB, free: 9.59 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.1563, allocations: 0 / 414.1 MB, free: 9.59 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.1563, allocations: 4 kB / 414.1 MB, free: 9.586 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001011/0.1564, allocations: 23.92 kB / 414.1 MB, free: 9.562 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004283/0.1568, allocations: 292.8 kB / 414.4 MB, free: 9.227 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002308/0.1571, allocations: 58.67 kB / 414.5 MB, free: 9.16 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/0.1571, allocations: 0 / 414.5 MB, free: 9.16 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001947/0.1573, allocations: 75.44 kB / 414.6 MB, free: 9.074 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.944e-06/0.1573, allocations: 0 / 414.6 MB, free: 9.074 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007117/0.158, allocations: 161.3 kB / 414.7 MB, free: 8.91 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.26e-05/0.1581, allocations: 55.34 kB / 414.8 MB, free: 8.844 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002276/0.1584, allocations: 181.9 kB / 414.9 MB, free: 8.664 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/0.1584, allocations: 29.7 kB / 415 MB, free: 8.629 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.044e-05/0.1585, allocations: 158.6 kB / 415.1 MB, free: 8.473 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.591e-05/0.1585, allocations: 19.72 kB / 415.1 MB, free: 8.453 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.593e-06/0.1586, allocations: 0 / 415.1 MB, free: 8.453 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.1587, allocations: 326.8 kB / 415.5 MB, free: 8.125 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.294e-05/0.1588, allocations: 12 kB / 415.5 MB, free: 8.113 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001048/0.1589, allocations: 41.64 kB / 415.5 MB, free: 8.066 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001324/0.1591, allocations: 31.97 kB / 415.5 MB, free: 8.035 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.1591, allocations: 3.953 kB / 415.6 MB, free: 8.031 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002661/0.1594, allocations: 85.62 kB / 415.6 MB, free: 7.941 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.1594, allocations: 14.84 kB / 415.7 MB, free: 7.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.1594, allocations: 0 / 415.7 MB, free: 7.93 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.1594, allocations: 0 / 415.7 MB, free: 7.93 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.1596, allocations: 15.98 kB / 415.7 MB, free: 7.914 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.1596, allocations: 4 kB / 415.7 MB, free: 7.91 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.909e-05/0.1597, allocations: 4 kB / 415.7 MB, free: 7.906 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.1597, allocations: 4 kB / 415.7 MB, free: 7.902 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 (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.0001321/0.1599, allocations: 125.8 kB / 415.8 MB, free: 7.77 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.167e-05/0.1599, allocations: 15.77 kB / 415.8 MB, free: 7.754 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.777e-05/0.16, allocations: 20.72 kB / 415.8 MB, free: 7.73 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.16, allocations: 0 / 415.8 MB, free: 7.73 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.16, allocations: 0 / 415.8 MB, free: 7.73 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.16, allocations: 3.984 kB / 415.8 MB, free: 7.727 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006277/0.1607, allocations: 395.3 kB / 416.2 MB, free: 7.281 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.1607, allocations: 0 / 416.2 MB, free: 7.281 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.731e-05/0.1607, allocations: 8 kB / 416.2 MB, free: 7.273 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.1608, allocations: 0 / 416.2 MB, free: 7.273 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/0.1608, allocations: 11.97 kB / 416.2 MB, free: 7.262 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.1608, allocations: 4.375 kB / 416.3 MB, free: 7.258 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.1608, allocations: 0 / 416.3 MB, free: 7.258 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003311/0.1611, allocations: 209.9 kB / 416.5 MB, free: 7.027 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.639e-05/0.1612, allocations: 96.91 kB / 416.6 MB, free: 6.914 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.42e-05/0.1613, allocations: 4 kB / 416.6 MB, free: 6.91 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.1614, allocations: 8 kB / 416.6 MB, free: 6.902 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.142e-05/0.1614, allocations: 7.984 kB / 416.6 MB, free: 6.895 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.818e-05/0.1615, allocations: 4 kB / 416.6 MB, free: 6.891 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000168/0.1616, allocations: 139.2 kB / 416.7 MB, free: 6.754 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.1617, allocations: 4 kB / 416.7 MB, free: 6.75 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003316/0.162, allocations: 20 kB / 416.7 MB, free: 6.73 MB / 346.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 (8): * Single equations (assignments): 6 * 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.001341/0.1634, allocations: 440.8 kB / 417.2 MB, free: 6.426 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002726/0.1636, allocations: 63.91 kB / 417.2 MB, free: 6.363 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.092e-06/0.1637, allocations: 0 / 417.2 MB, free: 6.363 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001196/0.1638, allocations: 47.98 kB / 417.3 MB, free: 6.316 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003513/0.1642, allocations: 19.98 kB / 417.3 MB, free: 6.297 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006054/0.1648, allocations: 260.2 kB / 417.5 MB, free: 5.996 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003132/0.1651, allocations: 0.7004 MB / 418.2 MB, free: 5.27 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.839e-05/0.1652, allocations: 23.42 kB / 418.3 MB, free: 5.246 MB / 346.7 MB Notification: Performance of SimCode: time 8.12e-07/0.1652, allocations: 4 kB / 418.3 MB, free: 5.242 MB / 346.7 MB Notification: Performance of Templates: time 0.005206/0.1704, allocations: 1.901 MB / 420.2 MB, free: 3.344 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test27CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test27CalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test27Functions.cpp:244:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp18.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.Test27CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test27CalcHelperMain.o] Error 1