Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_s.nextTimeEvent|t_s.y.1.|d_t_s.y|t_min.nextTimeEvent|t_min.y.1.|d_t_min.y|t_h.nextTimeEvent|t_h.y.1.|d_t_h.y|t_d.nextTimeEvent|t_d.y.1.|d_t_d.y|t_ms.nextTimeEvent|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test67") Notification: Performance of loadModel(ModelicaTest): time 2.487/2.487, allocations: 269 MB / 284.1 MB, free: 3.652 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.516e-05/3.51e-05, allocations: 4 kB / 349 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1344, allocations: 61.89 MB / 410.9 MB, free: 12.88 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.003392/0.1378, allocations: 1.887 MB / 412.8 MB, free: 10.98 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0028/0.1407, allocations: 1.053 MB / 413.9 MB, free: 9.918 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002609/0.141, allocations: 7.938 kB / 413.9 MB, free: 9.91 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006356/0.1416, allocations: 243.4 kB / 414.1 MB, free: 9.672 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006268/0.1423, allocations: 231.4 kB / 414.3 MB, free: 9.445 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001262/0.1435, allocations: 311.2 kB / 414.6 MB, free: 9.141 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006942/0.1442, allocations: 283.4 kB / 414.9 MB, free: 8.863 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.1444, allocations: 23.97 kB / 414.9 MB, free: 8.84 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003513/0.1448, allocations: 183.4 kB / 415.1 MB, free: 8.66 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003682/0.1451, allocations: 183.5 kB / 415.3 MB, free: 8.48 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001872/0.1453, allocations: 28 kB / 415.3 MB, free: 8.453 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.387e-05/0.1454, allocations: 12 kB / 415.3 MB, free: 8.441 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001596/0.1456, allocations: 95.64 kB / 415.4 MB, free: 8.348 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 8.248e-05/0.1457, allocations: 20 kB / 415.5 MB, free: 8.328 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004995/0.1462, allocations: 279.6 kB / 415.7 MB, free: 8.055 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.1462, allocations: 0 / 415.7 MB, free: 8.055 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.415e-06/0.1462, allocations: 7.938 kB / 415.7 MB, free: 8.047 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.22e-05/0.1463, allocations: 4 kB / 415.7 MB, free: 8.043 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001298/0.1476, allocations: 0.6043 MB / 416.3 MB, free: 7.387 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.1476, allocations: 8.031 kB / 416.3 MB, free: 7.379 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001311/0.1478, allocations: 59.33 kB / 416.4 MB, free: 7.32 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008083/0.1486, allocations: 383.2 kB / 416.8 MB, free: 6.902 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.264e-05/0.1486, allocations: 4 kB / 416.8 MB, free: 6.898 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.261e-05/0.1487, allocations: 23.89 kB / 416.8 MB, free: 6.875 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006077/0.1493, allocations: 205.2 kB / 417 MB, free: 6.656 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.07e-05/0.1494, allocations: 3.984 kB / 417 MB, free: 6.652 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.323e-05/0.1494, allocations: 12 kB / 417 MB, free: 6.641 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.1494, allocations: 0 / 417 MB, free: 6.641 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004357/0.1499, allocations: 103.8 kB / 417.1 MB, free: 6.539 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001282/0.1512, allocations: 0.8527 MB / 418 MB, free: 5.621 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001041/0.1522, allocations: 285.7 kB / 418.3 MB, free: 5.297 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.757e-05/0.1523, allocations: 12.11 kB / 418.3 MB, free: 5.285 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006303/0.1529, allocations: 223.4 kB / 418.5 MB, free: 5.039 MB / 346.7 MB Notification: Performance of pre-optimization done (n=30): time 3.426e-06/0.153, allocations: 0 / 418.5 MB, free: 5.039 MB / 346.7 MB Notification: Performance of matching and sorting (n=40): time 0.003277/0.1563, allocations: 0.9733 MB / 419.5 MB, free: 4.055 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/0.1564, allocations: 170 kB / 419.6 MB, free: 3.852 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001015/0.1574, allocations: 0.5604 MB / 420.2 MB, free: 3.281 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.099e-05/0.1575, allocations: 37.7 kB / 420.2 MB, free: 3.238 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001966/0.1577, allocations: 239.6 kB / 420.5 MB, free: 3 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001631/0.1579, allocations: 126.3 kB / 420.6 MB, free: 2.875 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.666e-05/0.1579, allocations: 8 kB / 420.6 MB, free: 2.867 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.1581, allocations: 330.8 kB / 420.9 MB, free: 2.535 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004002/0.1585, allocations: 96.83 kB / 421 MB, free: 2.438 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000464/0.159, allocations: 184.9 kB / 421.2 MB, free: 2.227 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004406/0.1594, allocations: 116 kB / 421.3 MB, free: 2.113 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.1594, allocations: 0 / 421.3 MB, free: 2.113 MB / 346.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001168/0.1606, allocations: 365.4 kB / 421.7 MB, free: 1.75 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.1607, allocations: 6.812 kB / 421.7 MB, free: 1.746 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.1607, allocations: 4 kB / 421.7 MB, free: 1.742 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.425e-05/0.1607, allocations: 4 kB / 421.7 MB, free: 1.738 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005865/0.1613, allocations: 79.84 kB / 421.8 MB, free: 1.66 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.945e-05/0.1613, allocations: 11.94 kB / 421.8 MB, free: 1.648 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004031/0.1618, allocations: 24.16 kB / 421.8 MB, free: 1.625 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.433e-05/0.1618, allocations: 19.98 kB / 421.8 MB, free: 1.605 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$PRE.t_s.nextTimeEvent,t_s.nextTimeEvent,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEventScaled,$whenCondition4,$PRE.t_min.nextTimeEvent,t_min.nextTimeEvent,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEventScaled,$whenCondition3,$PRE.t_h.nextTimeEvent,t_h.nextTimeEvent,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEventScaled,$whenCondition2,$PRE.t_d.nextTimeEvent,t_d.nextTimeEvent,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEventScaled,$whenCondition1,$PRE.t_ms.nextTimeEvent,t_ms.nextTimeEvent,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0003487/0.1622, allocations: 204.2 kB / 422 MB, free: 1.398 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001241/0.1623, allocations: 63.23 kB / 422.1 MB, free: 1.336 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001747/0.1625, allocations: 63.91 kB / 422.1 MB, free: 1.27 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.1625, allocations: 4 kB / 422.1 MB, free: 1.266 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.168e-05/0.1625, allocations: 4 kB / 422.1 MB, free: 1.262 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/0.1626, allocations: 7.938 kB / 422.1 MB, free: 1.254 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3477/0.5103, allocations: 1.249 MB / 423.4 MB, free: 12.44 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.219e-05/0.5104, allocations: 3.531 kB / 423.4 MB, free: 12.44 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003165/0.5107, allocations: 48.25 kB / 423.4 MB, free: 12.44 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.428e-05/0.5107, allocations: 4.688 kB / 423.4 MB, free: 12.44 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.673e-05/0.5108, allocations: 16.48 kB / 423.5 MB, free: 12.44 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.091e-05/0.5108, allocations: 7.969 kB / 423.5 MB, free: 12.44 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/0.5108, allocations: 5.656 kB / 423.5 MB, free: 12.44 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001534/0.5124, allocations: 0.9095 MB / 424.4 MB, free: 11.81 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001637/0.5125, allocations: 141.9 kB / 424.5 MB, free: 11.72 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001288/0.5127, allocations: 15.05 kB / 424.5 MB, free: 11.72 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005384/0.5132, allocations: 25.14 kB / 424.6 MB, free: 11.72 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001343/0.5134, allocations: 38.42 kB / 424.6 MB, free: 11.72 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.986e-05/0.5135, allocations: 21.78 kB / 424.6 MB, free: 11.72 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0008527/0.5143, allocations: 453.1 kB / 425.1 MB, free: 11.63 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.8e-07/0.5144, allocations: 0 / 425.1 MB, free: 11.63 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008254/0.5152, allocations: 83.41 kB / 425.1 MB, free: 11.63 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001359/0.5166, allocations: 470.8 kB / 425.6 MB, free: 11.46 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001117/0.5177, allocations: 285.4 kB / 425.9 MB, free: 11.45 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.5177, allocations: 0.8438 kB / 425.9 MB, free: 11.45 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005551/0.5183, allocations: 151.7 kB / 426 MB, free: 11.43 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00127/0.5196, allocations: 115.8 kB / 426.1 MB, free: 11.43 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002068/0.5217, allocations: 0.9947 MB / 427.1 MB, free: 10.89 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004943/0.5222, allocations: 0.8597 MB / 428 MB, free: 10.19 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002446/0.5225, allocations: 52.62 kB / 428.1 MB, free: 10.18 MB / 346.7 MB Notification: Performance of SimCode: time 9.92e-07/0.5225, allocations: 0 / 428.1 MB, free: 10.18 MB / 346.7 MB Notification: Performance of Templates: time 0.018/0.5405, allocations: 6.18 MB / 434.2 MB, free: 9.578 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.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.Test67CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test67CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test67CalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test67Functions.cpp:244:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp86.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.Test67CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test67CalcHelperMain.o] Error 1