Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test84") Notification: Performance of loadModel(ModelicaTest): time 2.376/2.376, allocations: 269 MB / 284.1 MB, free: 3.551 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.097e-05/3.095e-05, allocations: 4 kB / 349 MB, free: 10.74 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1314, allocations: 61.89 MB / 410.9 MB, free: 12.84 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.002464/0.1339, allocations: 1.384 MB / 412.3 MB, free: 11.45 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002517/0.1364, allocations: 1.292 MB / 413.6 MB, free: 10.14 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.475e-05/0.1366, allocations: 3.938 kB / 413.6 MB, free: 10.14 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002456/0.1368, allocations: 23.91 kB / 413.6 MB, free: 10.12 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001895/0.137, allocations: 43.81 kB / 413.7 MB, free: 10.07 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003341/0.1374, allocations: 75.75 kB / 413.8 MB, free: 10 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001511/0.1375, allocations: 51.88 kB / 413.8 MB, free: 9.949 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.461e-05/0.1376, allocations: 12 kB / 413.8 MB, free: 9.938 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.812e-05/0.1377, allocations: 35.84 kB / 413.9 MB, free: 9.902 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001577/0.1379, allocations: 23.91 kB / 413.9 MB, free: 9.879 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000146/0.1381, allocations: 43.91 kB / 413.9 MB, free: 9.836 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.786e-05/0.1381, allocations: 4 kB / 413.9 MB, free: 9.832 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.382e-05/0.1382, allocations: 15.92 kB / 413.9 MB, free: 9.816 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.398e-05/0.1382, allocations: 4 kB / 413.9 MB, free: 9.812 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002231/0.1384, allocations: 92.03 kB / 414 MB, free: 9.723 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.215e-06/0.1385, allocations: 0 / 414 MB, free: 9.723 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.165e-06/0.1385, allocations: 0 / 414 MB, free: 9.723 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.796e-06/0.1385, allocations: 4 kB / 414 MB, free: 9.719 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.0005797/0.1391, allocations: 379.1 kB / 414.4 MB, free: 9.301 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.1391, allocations: 11.97 kB / 414.4 MB, free: 9.289 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.678e-05/0.1392, allocations: 7.906 kB / 414.4 MB, free: 9.281 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003099/0.1395, allocations: 203 kB / 414.6 MB, free: 9.043 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.06e-05/0.1395, allocations: 3.953 kB / 414.6 MB, free: 9.039 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.153e-05/0.1396, allocations: 7.906 kB / 414.6 MB, free: 9.031 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002065/0.1398, allocations: 71.38 kB / 414.7 MB, free: 8.949 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.1398, allocations: 0 / 414.7 MB, free: 8.949 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.673e-05/0.1398, allocations: 4 kB / 414.7 MB, free: 8.945 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.1399, allocations: 0 / 414.7 MB, free: 8.945 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.14, allocations: 15.98 kB / 414.7 MB, free: 8.93 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004176/0.1404, allocations: 288.8 kB / 415 MB, free: 8.598 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002353/0.1406, allocations: 58.69 kB / 415.1 MB, free: 8.531 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.773e-05/0.1407, allocations: 3.984 kB / 415.1 MB, free: 8.527 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000194/0.1409, allocations: 75.45 kB / 415.1 MB, free: 8.441 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.884e-06/0.1409, allocations: 3.938 kB / 415.1 MB, free: 8.438 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007056/0.1416, allocations: 157.4 kB / 415.3 MB, free: 8.277 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.297e-05/0.1417, allocations: 89.05 kB / 415.4 MB, free: 8.172 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001831/0.1419, allocations: 139.3 kB / 415.5 MB, free: 8.031 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.408e-05/0.1419, allocations: 29.7 kB / 415.6 MB, free: 7.996 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.432e-05/0.142, allocations: 162.5 kB / 415.7 MB, free: 7.836 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.7e-05/0.1421, allocations: 23.66 kB / 415.7 MB, free: 7.812 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.211e-06/0.1421, allocations: 0 / 415.7 MB, free: 7.812 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.1422, allocations: 318.8 kB / 416 MB, free: 7.492 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.523e-05/0.1423, allocations: 19.98 kB / 416.1 MB, free: 7.473 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001085/0.1424, allocations: 46.56 kB / 416.1 MB, free: 7.418 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.752e-05/0.1426, allocations: 24 kB / 416.1 MB, free: 7.395 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.1426, allocations: 0 / 416.1 MB, free: 7.395 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002683/0.1428, allocations: 97.5 kB / 416.2 MB, free: 7.293 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.1429, allocations: 10.66 kB / 416.2 MB, free: 7.285 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1429, allocations: 0 / 416.2 MB, free: 7.285 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.1429, allocations: 0 / 416.2 MB, free: 7.285 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/0.1431, allocations: 16.05 kB / 416.3 MB, free: 7.27 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.1431, allocations: 8 kB / 416.3 MB, free: 7.262 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.038e-05/0.1432, allocations: 4 kB / 416.3 MB, free: 7.258 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.1432, allocations: 7.938 kB / 416.3 MB, free: 7.25 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.0001202/0.1434, allocations: 121.8 kB / 416.4 MB, free: 7.121 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.012e-05/0.1434, allocations: 12.08 kB / 416.4 MB, free: 7.109 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.448e-05/0.1435, allocations: 12.72 kB / 416.4 MB, free: 7.094 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.738e-06/0.1435, allocations: 3.938 kB / 416.4 MB, free: 7.09 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1435, allocations: 0 / 416.4 MB, free: 7.09 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.1435, allocations: 4 kB / 416.4 MB, free: 7.086 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006007/0.1441, allocations: 391.3 kB / 416.8 MB, free: 6.645 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.1441, allocations: 0 / 416.8 MB, free: 6.645 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.912e-05/0.1442, allocations: 8 kB / 416.8 MB, free: 6.637 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.1442, allocations: 0 / 416.8 MB, free: 6.637 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.1442, allocations: 4 kB / 416.8 MB, free: 6.633 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.1442, allocations: 0 / 416.8 MB, free: 6.633 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.1443, allocations: 0 / 416.8 MB, free: 6.633 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003468/0.1446, allocations: 221.9 kB / 417 MB, free: 6.391 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.062e-05/0.1447, allocations: 93 kB / 417.1 MB, free: 6.281 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.433e-05/0.1447, allocations: 3.938 kB / 417.1 MB, free: 6.277 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.1449, allocations: 4 kB / 417.1 MB, free: 6.273 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.403e-05/0.1449, allocations: 15.94 kB / 417.1 MB, free: 6.258 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.099e-05/0.1449, allocations: 8.375 kB / 417.2 MB, free: 6.25 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001367/0.1451, allocations: 115.2 kB / 417.3 MB, free: 6.137 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1451, allocations: 0 / 417.3 MB, free: 6.137 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000352/0.1455, allocations: 35.89 kB / 417.3 MB, free: 6.102 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.001431/0.1469, allocations: 483.8 kB / 417.8 MB, free: 5.77 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002592/0.1472, allocations: 63.89 kB / 417.8 MB, free: 5.707 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.1472, allocations: 0 / 417.8 MB, free: 5.707 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001099/0.1473, allocations: 39.81 kB / 417.9 MB, free: 5.668 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003411/0.1477, allocations: 27.91 kB / 417.9 MB, free: 5.641 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005427/0.1482, allocations: 232 kB / 418.1 MB, free: 5.371 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000295/0.1485, allocations: 0.6965 MB / 418.8 MB, free: 4.648 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.535e-05/0.1486, allocations: 23.42 kB / 418.9 MB, free: 4.625 MB / 346.7 MB Notification: Performance of SimCode: time 7.02e-07/0.1486, allocations: 0 / 418.9 MB, free: 4.625 MB / 346.7 MB Notification: Performance of Templates: time 0.005608/0.1543, allocations: 2.067 MB / 420.9 MB, free: 2.562 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test84.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.Test84CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test84CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test84CalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test84Functions.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.Test84CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test84CalcHelperMain.o] Error 1