Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,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.Test56") Notification: Performance of loadModel(ModelicaTest): time 2.461/2.461, allocations: 269 MB / 284.1 MB, free: 3.633 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.993e-05/2.982e-05, allocations: 4 kB / 349 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1315, allocations: 61.9 MB / 410.9 MB, free: 12.87 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.002601/0.1342, allocations: 1.396 MB / 412.3 MB, free: 11.46 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002553/0.1368, allocations: 1.288 MB / 413.6 MB, free: 10.16 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.099e-05/0.1369, allocations: 0 / 413.6 MB, free: 10.16 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002495/0.1372, allocations: 27.89 kB / 413.6 MB, free: 10.14 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001865/0.1374, allocations: 35.88 kB / 413.7 MB, free: 10.1 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003344/0.1377, allocations: 79.7 kB / 413.8 MB, free: 10.02 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001595/0.1379, allocations: 59.86 kB / 413.8 MB, free: 9.965 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.12e-05/0.138, allocations: 4 kB / 413.8 MB, free: 9.961 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.487e-05/0.1381, allocations: 31.91 kB / 413.8 MB, free: 9.93 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001403/0.1382, allocations: 31.86 kB / 413.9 MB, free: 9.898 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001407/0.1384, allocations: 39.92 kB / 413.9 MB, free: 9.859 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.922e-05/0.1384, allocations: 7.984 kB / 413.9 MB, free: 9.852 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.448e-05/0.1385, allocations: 11.98 kB / 413.9 MB, free: 9.84 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.435e-05/0.1385, allocations: 4 kB / 413.9 MB, free: 9.836 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002229/0.1387, allocations: 92.08 kB / 414 MB, free: 9.746 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.514e-06/0.1388, allocations: 3.938 kB / 414 MB, free: 9.742 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.488e-06/0.1388, allocations: 0 / 414 MB, free: 9.742 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.167e-06/0.1388, allocations: 3.938 kB / 414 MB, free: 9.738 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.0005758/0.1394, allocations: 383.1 kB / 414.4 MB, free: 9.316 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.1394, allocations: 8.031 kB / 414.4 MB, free: 9.309 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.152e-05/0.1395, allocations: 11.91 kB / 414.4 MB, free: 9.297 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002993/0.1398, allocations: 191 kB / 414.6 MB, free: 9.07 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.348e-05/0.1398, allocations: 7.953 kB / 414.6 MB, free: 9.062 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.734e-05/0.1399, allocations: 3.906 kB / 414.6 MB, free: 9.059 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002123/0.1401, allocations: 67.39 kB / 414.7 MB, free: 8.98 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.1401, allocations: 7.938 kB / 414.7 MB, free: 8.973 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.1402, allocations: 4 kB / 414.7 MB, free: 8.969 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.1402, allocations: 3.938 kB / 414.7 MB, free: 8.965 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001055/0.1403, allocations: 19.98 kB / 414.7 MB, free: 8.945 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004369/0.1407, allocations: 284.8 kB / 415 MB, free: 8.617 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002326/0.141, allocations: 54.61 kB / 415.1 MB, free: 8.555 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.61e-05/0.141, allocations: 8 kB / 415.1 MB, free: 8.547 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002048/0.1412, allocations: 63.52 kB / 415.1 MB, free: 8.473 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 4.258e-06/0.1413, allocations: 0 / 415.1 MB, free: 8.473 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007245/0.142, allocations: 177.2 kB / 415.3 MB, free: 8.293 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.19e-05/0.1421, allocations: 77.11 kB / 415.4 MB, free: 8.199 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001975/0.1423, allocations: 139.3 kB / 415.5 MB, free: 8.059 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.271e-05/0.1423, allocations: 29.7 kB / 415.5 MB, free: 8.023 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.234e-05/0.1424, allocations: 162.6 kB / 415.7 MB, free: 7.863 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.534e-05/0.1425, allocations: 27.64 kB / 415.7 MB, free: 7.836 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.656e-06/0.1425, allocations: 4 kB / 415.7 MB, free: 7.832 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.1426, allocations: 314.8 kB / 416 MB, free: 7.516 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.205e-05/0.1427, allocations: 23.98 kB / 416.1 MB, free: 7.492 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001143/0.1428, allocations: 38.56 kB / 416.1 MB, free: 7.445 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.93e-05/0.143, allocations: 27.97 kB / 416.1 MB, free: 7.418 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.143, allocations: 0 / 416.1 MB, free: 7.418 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002825/0.1433, allocations: 97.58 kB / 416.2 MB, free: 7.316 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.1433, allocations: 6.812 kB / 416.2 MB, free: 7.312 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.1433, allocations: 0 / 416.2 MB, free: 7.312 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.721e-05/0.1433, allocations: 7.984 kB / 416.2 MB, free: 7.305 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/0.1435, allocations: 15.94 kB / 416.3 MB, free: 7.289 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.1435, allocations: 0 / 416.3 MB, free: 7.289 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.332e-05/0.1436, allocations: 7.984 kB / 416.3 MB, free: 7.281 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.1436, allocations: 8.031 kB / 416.3 MB, free: 7.273 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.0001253/0.1438, allocations: 121.8 kB / 416.4 MB, free: 7.145 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.265e-05/0.1438, allocations: 7.906 kB / 416.4 MB, free: 7.137 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.815e-05/0.1439, allocations: 16.7 kB / 416.4 MB, free: 7.117 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.1439, allocations: 0 / 416.4 MB, free: 7.117 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.1439, allocations: 4 kB / 416.4 MB, free: 7.113 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.1439, allocations: 384 / 416.4 MB, free: 7.113 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006417/0.1446, allocations: 391.3 kB / 416.8 MB, free: 6.672 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.1446, allocations: 4 kB / 416.8 MB, free: 6.668 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.138e-05/0.1447, allocations: 12 kB / 416.8 MB, free: 6.656 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.144e-06/0.1447, allocations: 4.172 kB / 416.8 MB, free: 6.652 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.1447, allocations: 3.938 kB / 416.8 MB, free: 6.648 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/0.1447, allocations: 7.938 kB / 416.8 MB, free: 6.641 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.1447, allocations: 0 / 416.8 MB, free: 6.641 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003398/0.1451, allocations: 214 kB / 417 MB, free: 6.406 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.354e-05/0.1452, allocations: 89 kB / 417.1 MB, free: 6.301 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.351e-05/0.1452, allocations: 8 kB / 417.1 MB, free: 6.293 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.1453, allocations: 3.938 kB / 417.1 MB, free: 6.289 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.509e-05/0.1454, allocations: 11.94 kB / 417.2 MB, free: 6.277 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.016e-05/0.1454, allocations: 4 kB / 417.2 MB, free: 6.273 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001395/0.1456, allocations: 115.2 kB / 417.3 MB, free: 6.16 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.1456, allocations: 4 kB / 417.3 MB, free: 6.156 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003608/0.1459, allocations: 35.91 kB / 417.3 MB, free: 6.121 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.001422/0.1474, allocations: 487.5 kB / 417.8 MB, free: 5.785 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002714/0.1477, allocations: 55.98 kB / 417.8 MB, free: 5.73 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.1477, allocations: 0 / 417.8 MB, free: 5.73 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001189/0.1478, allocations: 31.92 kB / 417.9 MB, free: 5.699 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003478/0.1482, allocations: 27.86 kB / 417.9 MB, free: 5.672 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006015/0.1488, allocations: 240 kB / 418.1 MB, free: 5.395 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004458/0.1493, allocations: 0.7004 MB / 418.8 MB, free: 4.668 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.096e-05/0.1493, allocations: 23.36 kB / 418.9 MB, free: 4.645 MB / 346.7 MB Notification: Performance of SimCode: time 1.162e-06/0.1494, allocations: 3.938 kB / 418.9 MB, free: 4.641 MB / 346.7 MB Notification: Performance of Templates: time 0.005704/0.1551, allocations: 2.06 MB / 420.9 MB, free: 2.582 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test56CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test56CalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test56Functions.cpp:258:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp20.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.Test56CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test56CalcHelperMain.o] Error 1