Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.nextTimeEvent|startTime_0.y.1.|startTime.nextTimeEvent|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test71") Notification: Performance of loadModel(ModelicaTest): time 2.45/2.45, allocations: 269 MB / 284.1 MB, free: 3.625 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.253e-05/3.257e-05, allocations: 4 kB / 349 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1311, allocations: 61.9 MB / 410.9 MB, free: 12.83 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.002617/0.1338, allocations: 1.462 MB / 412.4 MB, free: 11.36 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001931/0.1358, allocations: 0.7842 MB / 413.2 MB, free: 10.57 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001474/0.136, allocations: 4 kB / 413.2 MB, free: 10.57 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005999/0.1366, allocations: 287.4 kB / 413.5 MB, free: 10.29 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004123/0.137, allocations: 179.6 kB / 413.6 MB, free: 10.11 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005822/0.1376, allocations: 139.6 kB / 413.8 MB, free: 9.973 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002912/0.1379, allocations: 119.8 kB / 413.9 MB, free: 9.855 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.672e-05/0.138, allocations: 4 kB / 413.9 MB, free: 9.852 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001809/0.1382, allocations: 87.75 kB / 414 MB, free: 9.766 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002831/0.1385, allocations: 135.7 kB / 414.1 MB, free: 9.633 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001492/0.1387, allocations: 35.92 kB / 414.2 MB, free: 9.598 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.077e-05/0.1387, allocations: 7.938 kB / 414.2 MB, free: 9.59 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001793/0.1389, allocations: 131.6 kB / 414.3 MB, free: 9.461 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.059e-05/0.139, allocations: 20 kB / 414.3 MB, free: 9.441 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004454/0.1394, allocations: 275.8 kB / 414.6 MB, free: 9.172 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1395, allocations: 0 / 414.6 MB, free: 9.172 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.845e-06/0.1395, allocations: 0 / 414.6 MB, free: 9.172 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.186e-05/0.1395, allocations: 0 / 414.6 MB, free: 9.172 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.0009247/0.1404, allocations: 0.5608 MB / 415.1 MB, free: 8.562 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.1405, allocations: 8.031 kB / 415.1 MB, free: 8.555 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001117/0.1406, allocations: 47.34 kB / 415.2 MB, free: 8.508 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000824/0.1414, allocations: 427.1 kB / 415.6 MB, free: 8.047 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.802e-05/0.1415, allocations: 15.86 kB / 415.6 MB, free: 8.031 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.258e-05/0.1415, allocations: 4 kB / 415.6 MB, free: 8.027 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000279/0.1418, allocations: 83.33 kB / 415.7 MB, free: 7.934 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.1418, allocations: 0 / 415.7 MB, free: 7.934 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.911e-05/0.1419, allocations: 3.984 kB / 415.7 MB, free: 7.93 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.1419, allocations: 4 kB / 415.7 MB, free: 7.926 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001663/0.1421, allocations: 27.98 kB / 415.7 MB, free: 7.898 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005514/0.1426, allocations: 374.3 kB / 416.1 MB, free: 7.48 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004065/0.143, allocations: 105.3 kB / 416.2 MB, free: 7.359 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.016e-05/0.1431, allocations: 0 / 416.2 MB, free: 7.359 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003262/0.1434, allocations: 129 kB / 416.3 MB, free: 7.215 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 1.954e-06/0.1434, allocations: 0 / 416.3 MB, free: 7.215 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007599/0.1442, allocations: 193 kB / 416.5 MB, free: 7.02 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.297e-05/0.1443, allocations: 77.11 kB / 416.6 MB, free: 6.926 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001705/0.146, allocations: 0.9669 MB / 417.6 MB, free: 5.949 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.081e-05/0.1461, allocations: 33.7 kB / 417.6 MB, free: 5.91 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002092/0.1463, allocations: 250.5 kB / 417.8 MB, free: 5.664 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.847e-05/0.1464, allocations: 31.55 kB / 417.9 MB, free: 5.633 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.295e-06/0.1464, allocations: 0 / 417.9 MB, free: 5.633 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.1465, allocations: 318.8 kB / 418.2 MB, free: 5.312 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/0.1467, allocations: 23.98 kB / 418.2 MB, free: 5.289 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001646/0.1469, allocations: 67.34 kB / 418.3 MB, free: 5.211 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/0.147, allocations: 28 kB / 418.3 MB, free: 5.184 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.147, allocations: 0 / 418.3 MB, free: 5.184 MB / 346.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004239/0.1475, allocations: 117.6 kB / 418.4 MB, free: 5.062 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.1475, allocations: 8 kB / 418.4 MB, free: 5.055 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.1475, allocations: 3.953 kB / 418.4 MB, free: 5.051 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.1476, allocations: 4.062 kB / 418.4 MB, free: 5.047 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002023/0.1478, allocations: 27.92 kB / 418.5 MB, free: 5.02 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.1478, allocations: 0 / 418.5 MB, free: 5.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002175/0.148, allocations: 15.91 kB / 418.5 MB, free: 5.004 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.631e-05/0.1481, allocations: 7.938 kB / 418.5 MB, free: 4.996 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.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.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.0003249/0.1484, allocations: 213.8 kB / 418.7 MB, free: 4.777 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.917e-05/0.1485, allocations: 47.44 kB / 418.7 MB, free: 4.73 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001482/0.1487, allocations: 64 kB / 418.8 MB, free: 4.66 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/0.1487, allocations: 3.953 kB / 418.8 MB, free: 4.656 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.1487, allocations: 12.5 kB / 418.8 MB, free: 4.645 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.1487, allocations: 3.984 kB / 418.8 MB, free: 4.641 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000429/0.1491, allocations: 341.3 kB / 419.2 MB, free: 4.258 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.1492, allocations: 0 / 419.2 MB, free: 4.258 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.387e-05/0.1492, allocations: 15.98 kB / 419.2 MB, free: 4.242 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.1493, allocations: 0 / 419.2 MB, free: 4.242 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.035e-05/0.1493, allocations: 4 kB / 419.2 MB, free: 4.238 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.1493, allocations: 0 / 419.2 MB, free: 4.238 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/0.1493, allocations: 3.953 kB / 419.2 MB, free: 4.234 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005331/0.1499, allocations: 211 kB / 419.4 MB, free: 4 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002012/0.1501, allocations: 144.4 kB / 419.5 MB, free: 3.84 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.641e-05/0.1502, allocations: 4 kB / 419.5 MB, free: 3.836 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001504/0.1503, allocations: 11.94 kB / 419.5 MB, free: 3.824 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.42e-05/0.1504, allocations: 4 kB / 419.5 MB, free: 3.82 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.744e-05/0.1504, allocations: 11.98 kB / 419.6 MB, free: 3.809 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001281/0.1517, allocations: 0.776 MB / 420.3 MB, free: 3.035 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.1517, allocations: 0 / 420.3 MB, free: 3.035 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004136/0.1522, allocations: 44 kB / 420.4 MB, free: 2.992 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,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.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.001186/0.1534, allocations: 407.2 kB / 420.8 MB, free: 2.699 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004054/0.1538, allocations: 79.89 kB / 420.9 MB, free: 2.621 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.1538, allocations: 4 kB / 420.9 MB, free: 2.617 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001639/0.154, allocations: 31.98 kB / 420.9 MB, free: 2.586 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005476/0.1545, allocations: 68.44 kB / 421 MB, free: 2.523 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001937/0.1565, allocations: 0.9534 MB / 421.9 MB, free: 1.531 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005737/0.1571, allocations: 0.8546 MB / 422.8 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001285/0.1573, allocations: 31.44 kB / 422.8 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of SimCode: time 8.82e-07/0.1573, allocations: 0 / 422.8 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of Templates: time 0.3641/0.5214, allocations: 4.942 MB / 427.7 MB, free: 11.84 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.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.Test71CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test71CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test71CalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test71Functions.cpp:205:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp31.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.Test71CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test71CalcHelperMain.o] Error 1