Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,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.Test72") Notification: Performance of loadModel(ModelicaTest): time 2.424/2.424, allocations: 269 MB / 284.1 MB, free: 3.555 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.371e-05/3.364e-05, allocations: 8 kB / 349 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1299, allocations: 61.89 MB / 410.9 MB, free: 12.84 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.002637/0.1326, allocations: 1.47 MB / 412.4 MB, free: 11.36 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00192/0.1346, allocations: 0.7804 MB / 413.2 MB, free: 10.57 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001138/0.1347, allocations: 3.938 kB / 413.2 MB, free: 10.57 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006171/0.1354, allocations: 287.4 kB / 413.5 MB, free: 10.29 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004487/0.1358, allocations: 183.6 kB / 413.6 MB, free: 10.11 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000564/0.1364, allocations: 131.5 kB / 413.8 MB, free: 9.98 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002981/0.1367, allocations: 127.7 kB / 413.9 MB, free: 9.855 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.712e-05/0.1368, allocations: 0 / 413.9 MB, free: 9.855 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001862/0.137, allocations: 87.81 kB / 414 MB, free: 9.77 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002791/0.1373, allocations: 143.7 kB / 414.1 MB, free: 9.629 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001546/0.1374, allocations: 27.94 kB / 414.1 MB, free: 9.602 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.701e-05/0.1375, allocations: 4 kB / 414.2 MB, free: 9.598 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001895/0.1377, allocations: 139.6 kB / 414.3 MB, free: 9.461 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.725e-05/0.1378, allocations: 12 kB / 414.3 MB, free: 9.449 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004396/0.1382, allocations: 271.8 kB / 414.6 MB, free: 9.184 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1382, allocations: 0 / 414.6 MB, free: 9.184 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.1382, allocations: 0 / 414.6 MB, free: 9.184 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.09e-05/0.1383, allocations: 0 / 414.6 MB, free: 9.184 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.0009132/0.1392, allocations: 0.5608 MB / 415.1 MB, free: 8.574 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.341e-05/0.1393, allocations: 15.97 kB / 415.1 MB, free: 8.559 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001169/0.1394, allocations: 55.28 kB / 415.2 MB, free: 8.504 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008683/0.1403, allocations: 423.1 kB / 415.6 MB, free: 8.047 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.1403, allocations: 4 kB / 415.6 MB, free: 8.043 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.82e-05/0.1403, allocations: 4 kB / 415.6 MB, free: 8.039 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002798/0.1406, allocations: 87.31 kB / 415.7 MB, free: 7.941 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.1406, allocations: 4 kB / 415.7 MB, free: 7.938 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.1407, allocations: 0 / 415.7 MB, free: 7.938 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.1407, allocations: 0 / 415.7 MB, free: 7.938 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001773/0.1409, allocations: 43.84 kB / 415.8 MB, free: 7.895 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005905/0.1415, allocations: 378.4 kB / 416.1 MB, free: 7.473 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004198/0.1419, allocations: 109.3 kB / 416.2 MB, free: 7.348 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.1419, allocations: 0 / 416.2 MB, free: 7.348 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000318/0.1423, allocations: 113 kB / 416.3 MB, free: 7.219 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 1.964e-06/0.1423, allocations: 0 / 416.3 MB, free: 7.219 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007153/0.143, allocations: 193.1 kB / 416.5 MB, free: 7.023 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.938e-05/0.1431, allocations: 85.05 kB / 416.6 MB, free: 6.922 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00171/0.1448, allocations: 0.9669 MB / 417.6 MB, free: 5.945 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.811e-05/0.1449, allocations: 25.7 kB / 417.6 MB, free: 5.914 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002134/0.1451, allocations: 246.6 kB / 417.8 MB, free: 5.672 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.732e-05/0.1452, allocations: 31.56 kB / 417.9 MB, free: 5.641 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.134e-05/0.1452, allocations: 4 kB / 417.9 MB, free: 5.637 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.1453, allocations: 318.8 kB / 418.2 MB, free: 5.316 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001551/0.1455, allocations: 27.98 kB / 418.2 MB, free: 5.289 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001621/0.1457, allocations: 51.42 kB / 418.3 MB, free: 5.227 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001561/0.1459, allocations: 35.98 kB / 418.3 MB, free: 5.191 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.1459, allocations: 0 / 418.3 MB, free: 5.191 MB / 346.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004231/0.1463, allocations: 125.5 kB / 418.4 MB, free: 5.062 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.1463, allocations: 4 kB / 418.4 MB, free: 5.059 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.1464, allocations: 7.953 kB / 418.4 MB, free: 5.051 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.1464, allocations: 0 / 418.4 MB, free: 5.051 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002009/0.1466, allocations: 23.98 kB / 418.5 MB, free: 5.027 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.201e-05/0.1466, allocations: 3.984 kB / 418.5 MB, free: 5.023 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001872/0.1468, allocations: 15.84 kB / 418.5 MB, free: 5.008 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.72e-05/0.1468, allocations: 4 kB / 418.5 MB, free: 5.004 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.0003385/0.1472, allocations: 230.4 kB / 418.7 MB, free: 4.77 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.044e-05/0.1473, allocations: 47.44 kB / 418.8 MB, free: 4.723 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001269/0.1474, allocations: 56 kB / 418.8 MB, free: 4.66 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.597e-06/0.1475, allocations: 7.953 kB / 418.8 MB, free: 4.652 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.1475, allocations: 0 / 418.8 MB, free: 4.652 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.1475, allocations: 0 / 418.8 MB, free: 4.652 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004826/0.148, allocations: 353.3 kB / 419.2 MB, free: 4.258 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.148, allocations: 0 / 419.2 MB, free: 4.258 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.704e-05/0.1481, allocations: 8 kB / 419.2 MB, free: 4.25 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.1481, allocations: 0 / 419.2 MB, free: 4.25 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.784e-05/0.1481, allocations: 11.92 kB / 419.2 MB, free: 4.238 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.1481, allocations: 4 kB / 419.2 MB, free: 4.234 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.1481, allocations: 3.953 kB / 419.2 MB, free: 4.23 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005242/0.1487, allocations: 203 kB / 419.4 MB, free: 4.004 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000205/0.1489, allocations: 152.4 kB / 419.5 MB, free: 3.836 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.868e-05/0.149, allocations: 4 kB / 419.5 MB, free: 3.832 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/0.1491, allocations: 11.95 kB / 419.5 MB, free: 3.82 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.858e-05/0.1492, allocations: 15.92 kB / 419.6 MB, free: 3.805 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.132e-05/0.1493, allocations: 4 kB / 419.6 MB, free: 3.801 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001302/0.1506, allocations: 0.7682 MB / 420.3 MB, free: 3.035 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.1506, allocations: 4 kB / 420.3 MB, free: 3.031 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003853/0.151, allocations: 47.98 kB / 420.4 MB, free: 2.984 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.001163/0.1522, allocations: 398.5 kB / 420.8 MB, free: 2.703 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004023/0.1526, allocations: 75.91 kB / 420.9 MB, free: 2.629 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.1526, allocations: 0 / 420.9 MB, free: 2.629 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001725/0.1528, allocations: 43.92 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.0005552/0.1534, allocations: 58.39 kB / 421 MB, free: 2.531 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001908/0.1553, allocations: 0.9534 MB / 421.9 MB, free: 1.539 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005866/0.1559, allocations: 0.8546 MB / 422.8 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001265/0.156, allocations: 27.42 kB / 422.8 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of SimCode: time 1.262e-06/0.1561, allocations: 0 / 422.8 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of Templates: time 0.3897/0.5458, allocations: 4.954 MB / 427.7 MB, free: 11.89 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test72CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test72CalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test72Functions.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.Test72CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test72CalcHelperMain.o] Error 1