Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|t_new_2.nextTimeEvent|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test81") Notification: Performance of loadModel(ModelicaTest): time 2.447/2.447, allocations: 269 MB / 284.1 MB, free: 3.641 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.334e-05/3.359e-05, allocations: 4 kB / 349 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1461, allocations: 61.89 MB / 410.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.002657/0.1488, allocations: 1.458 MB / 412.4 MB, free: 11.39 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002856/0.1517, allocations: 1.354 MB / 413.7 MB, free: 10.03 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001208/0.1519, allocations: 0 / 413.7 MB, free: 10.03 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002809/0.1522, allocations: 35.81 kB / 413.8 MB, free: 9.992 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002759/0.1525, allocations: 75.7 kB / 413.8 MB, free: 9.918 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005367/0.1531, allocations: 131.6 kB / 414 MB, free: 9.789 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002462/0.1533, allocations: 107.8 kB / 414.1 MB, free: 9.684 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.416e-05/0.1534, allocations: 0 / 414.1 MB, free: 9.684 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001551/0.1535, allocations: 67.7 kB / 414.1 MB, free: 9.617 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002421/0.1538, allocations: 54.42 kB / 414.2 MB, free: 9.566 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00017/0.154, allocations: 35.98 kB / 414.2 MB, free: 9.531 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.647e-05/0.154, allocations: 8 kB / 414.2 MB, free: 9.523 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.831e-05/0.1541, allocations: 23.91 kB / 414.3 MB, free: 9.5 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.651e-05/0.1541, allocations: 12 kB / 414.3 MB, free: 9.488 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002774/0.1544, allocations: 131.9 kB / 414.4 MB, free: 9.359 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.1544, allocations: 3.938 kB / 414.4 MB, free: 9.355 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1545, allocations: 0 / 414.4 MB, free: 9.355 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.348e-06/0.1545, allocations: 0 / 414.4 MB, free: 9.355 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006879/0.1552, allocations: 415 kB / 414.8 MB, free: 8.902 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.1552, allocations: 12.03 kB / 414.8 MB, free: 8.891 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.915e-05/0.1553, allocations: 15.84 kB / 414.8 MB, free: 8.875 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004178/0.1557, allocations: 242.7 kB / 415.1 MB, free: 8.598 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.31e-05/0.1558, allocations: 4 kB / 415.1 MB, free: 8.594 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.504e-05/0.1558, allocations: 4 kB / 415.1 MB, free: 8.59 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002881/0.1561, allocations: 97.05 kB / 415.2 MB, free: 8.477 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.1561, allocations: 3.938 kB / 415.2 MB, free: 8.473 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.094e-05/0.1562, allocations: 3.984 kB / 415.2 MB, free: 8.469 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.1562, allocations: 0 / 415.2 MB, free: 8.469 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000154/0.1563, allocations: 31.98 kB / 415.2 MB, free: 8.438 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002973/0.1566, allocations: 210.5 kB / 415.4 MB, free: 8.18 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004017/0.1571, allocations: 105.3 kB / 415.5 MB, free: 8.059 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.487e-05/0.1571, allocations: 8.078 kB / 415.5 MB, free: 8.051 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003183/0.1574, allocations: 116.9 kB / 415.7 MB, free: 7.918 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 2.275e-06/0.1575, allocations: 0 / 415.7 MB, free: 7.918 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007254/0.1582, allocations: 161.8 kB / 415.8 MB, free: 7.754 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.537e-05/0.1583, allocations: 132.5 kB / 415.9 MB, free: 7.594 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003134/0.1586, allocations: 191 kB / 416.1 MB, free: 7.398 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.971e-05/0.1587, allocations: 33.69 kB / 416.2 MB, free: 7.359 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.104e-05/0.1588, allocations: 170.6 kB / 416.3 MB, free: 7.191 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.101e-05/0.1588, allocations: 19.72 kB / 416.3 MB, free: 7.172 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.704e-06/0.1589, allocations: 0 / 416.3 MB, free: 7.172 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.159, allocations: 322.8 kB / 416.7 MB, free: 6.848 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001336/0.1591, allocations: 23.98 kB / 416.7 MB, free: 6.824 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001702/0.1593, allocations: 69.27 kB / 416.8 MB, free: 6.738 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001576/0.1595, allocations: 43.92 kB / 416.8 MB, free: 6.695 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1595, allocations: 0 / 416.8 MB, free: 6.695 MB / 346.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004021/0.1599, allocations: 117.5 kB / 416.9 MB, free: 6.574 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.16, allocations: 12.09 kB / 416.9 MB, free: 6.562 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.16, allocations: 3.953 kB / 416.9 MB, free: 6.559 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.16, allocations: 0 / 416.9 MB, free: 6.559 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001953/0.1602, allocations: 27.92 kB / 417 MB, free: 6.531 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.1602, allocations: 3.938 kB / 417 MB, free: 6.527 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001518/0.1604, allocations: 19.92 kB / 417 MB, free: 6.508 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.545e-05/0.1604, allocations: 4 kB / 417 MB, free: 6.504 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$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.000152/0.1606, allocations: 121.8 kB / 417.1 MB, free: 6.375 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.77e-05/0.1606, allocations: 23.8 kB / 417.1 MB, free: 6.352 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.231e-05/0.1607, allocations: 24.94 kB / 417.1 MB, free: 6.32 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.1607, allocations: 3.953 kB / 417.2 MB, free: 6.316 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.1608, allocations: 0 / 417.2 MB, free: 6.316 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.1608, allocations: 11.97 kB / 417.2 MB, free: 6.305 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002453/0.161, allocations: 217.5 kB / 417.4 MB, free: 6.043 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.161, allocations: 0 / 417.4 MB, free: 6.043 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.487e-05/0.1611, allocations: 7.938 kB / 417.4 MB, free: 6.035 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.1611, allocations: 4 kB / 417.4 MB, free: 6.031 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.1611, allocations: 3.984 kB / 417.4 MB, free: 6.027 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.1612, allocations: 0 / 417.4 MB, free: 6.027 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/0.1612, allocations: 11.95 kB / 417.4 MB, free: 6.016 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004803/0.1617, allocations: 179.5 kB / 417.6 MB, free: 5.812 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.273e-05/0.1618, allocations: 100.8 kB / 417.7 MB, free: 5.695 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.179e-05/0.1618, allocations: 4 kB / 417.7 MB, free: 5.691 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.162, allocations: 15.94 kB / 417.7 MB, free: 5.676 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.37e-05/0.162, allocations: 8 kB / 417.7 MB, free: 5.668 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.787e-05/0.1621, allocations: 7.984 kB / 417.7 MB, free: 5.66 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002215/0.1623, allocations: 152.2 kB / 417.9 MB, free: 5.512 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.1623, allocations: 0 / 417.9 MB, free: 5.512 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003514/0.1627, allocations: 39.98 kB / 417.9 MB, free: 5.473 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001278/0.164, allocations: 441 kB / 418.3 MB, free: 5.16 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004033/0.1644, allocations: 79.84 kB / 418.4 MB, free: 5.082 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.1644, allocations: 4.125 kB / 418.4 MB, free: 5.078 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001684/0.1646, allocations: 43.91 kB / 418.5 MB, free: 5.035 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004549/0.1651, allocations: 46.19 kB / 418.5 MB, free: 4.992 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007499/0.1658, allocations: 300.8 kB / 418.8 MB, free: 4.664 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003234/0.1662, allocations: 0.7244 MB / 419.5 MB, free: 3.914 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.333e-05/0.1663, allocations: 31.36 kB / 419.5 MB, free: 3.883 MB / 346.7 MB Notification: Performance of SimCode: time 1.032e-06/0.1663, allocations: 0 / 419.5 MB, free: 3.883 MB / 346.7 MB Notification: Performance of Templates: time 0.007294/0.1736, allocations: 2.702 MB / 422.3 MB, free: 1.18 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test81CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test81CalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test81Functions.cpp:219:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp35.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.Test81CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test81CalcHelperMain.o] Error 1