Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test85") Notification: Performance of loadModel(ModelicaTest): time 2.371/2.371, allocations: 269 MB / 284.1 MB, free: 3.566 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.965e-05/2.957e-05, allocations: 4 kB / 349 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1298, allocations: 61.89 MB / 410.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.002371/0.1323, allocations: 1.353 MB / 412.3 MB, free: 11.49 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001654/0.134, allocations: 0.7141 MB / 413 MB, free: 10.77 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.447e-05/0.1341, allocations: 3.938 kB / 413 MB, free: 10.77 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002595/0.1343, allocations: 43.81 kB / 413 MB, free: 10.73 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001892/0.1345, allocations: 35.88 kB / 413.1 MB, free: 10.69 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003216/0.1349, allocations: 87.69 kB / 413.2 MB, free: 10.61 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001455/0.135, allocations: 47.88 kB / 413.2 MB, free: 10.56 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.369e-05/0.1351, allocations: 0 / 413.2 MB, free: 10.56 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.946e-05/0.1352, allocations: 39.84 kB / 413.2 MB, free: 10.52 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.95e-05/0.1353, allocations: 27.91 kB / 413.3 MB, free: 10.49 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.027e-05/0.1354, allocations: 20 kB / 413.3 MB, free: 10.47 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.1354, allocations: 0 / 413.3 MB, free: 10.47 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.344e-05/0.1355, allocations: 15.92 kB / 413.3 MB, free: 10.46 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.407e-05/0.1355, allocations: 4 kB / 413.3 MB, free: 10.45 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000176/0.1357, allocations: 68.11 kB / 413.4 MB, free: 10.39 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.1357, allocations: 4 kB / 413.4 MB, free: 10.38 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.1357, allocations: 0 / 413.4 MB, free: 10.38 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.388e-06/0.1358, allocations: 0 / 413.4 MB, free: 10.38 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005285/0.1363, allocations: 379.1 kB / 413.8 MB, free: 9.965 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.1363, allocations: 8.031 kB / 413.8 MB, free: 9.957 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.557e-05/0.1364, allocations: 7.906 kB / 413.8 MB, free: 9.949 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002693/0.1367, allocations: 197.4 kB / 414 MB, free: 9.719 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.1367, allocations: 3.938 kB / 414 MB, free: 9.715 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.007e-05/0.1367, allocations: 8 kB / 414 MB, free: 9.707 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001678/0.1369, allocations: 57.56 kB / 414 MB, free: 9.645 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.1369, allocations: 0 / 414 MB, free: 9.645 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.137, allocations: 0 / 414 MB, free: 9.645 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.137, allocations: 0 / 414 MB, free: 9.645 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.431e-05/0.1371, allocations: 15.98 kB / 414 MB, free: 9.629 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002177/0.1373, allocations: 177.6 kB / 414.2 MB, free: 9.406 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002602/0.1376, allocations: 54.62 kB / 414.3 MB, free: 9.344 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.369e-05/0.1376, allocations: 4 kB / 414.3 MB, free: 9.34 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001922/0.1378, allocations: 75.36 kB / 414.4 MB, free: 9.254 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.854e-06/0.1378, allocations: 0 / 414.4 MB, free: 9.254 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003768/0.1382, allocations: 89.58 kB / 414.4 MB, free: 9.16 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.1383, allocations: 55.39 kB / 414.5 MB, free: 9.094 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002148/0.1385, allocations: 153.4 kB / 414.6 MB, free: 8.938 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.1385, allocations: 33.64 kB / 414.7 MB, free: 8.898 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.977e-05/0.1386, allocations: 162.5 kB / 414.8 MB, free: 8.738 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.181e-05/0.1387, allocations: 19.8 kB / 414.9 MB, free: 8.719 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.989e-06/0.1387, allocations: 0 / 414.9 MB, free: 8.719 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.1388, allocations: 310.8 kB / 415.2 MB, free: 8.406 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.581e-05/0.1389, allocations: 15.98 kB / 415.2 MB, free: 8.391 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.53e-05/0.139, allocations: 25.72 kB / 415.2 MB, free: 8.359 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.002e-05/0.1391, allocations: 19.98 kB / 415.2 MB, free: 8.34 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.1391, allocations: 4 kB / 415.2 MB, free: 8.336 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002234/0.1394, allocations: 69.88 kB / 415.3 MB, free: 8.262 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.1394, allocations: 6.656 kB / 415.3 MB, free: 8.258 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.1394, allocations: 8.062 kB / 415.3 MB, free: 8.25 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.1394, allocations: 3.953 kB / 415.3 MB, free: 8.246 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.1396, allocations: 11.98 kB / 415.3 MB, free: 8.234 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.1396, allocations: 0 / 415.3 MB, free: 8.234 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.665e-05/0.1397, allocations: 12.03 kB / 415.3 MB, free: 8.223 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.1397, allocations: 4 kB / 415.3 MB, free: 8.219 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 (7): * Single equations (assignments): 7 * 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.000111/0.1398, allocations: 113.8 kB / 415.4 MB, free: 8.098 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.009e-05/0.1398, allocations: 15.8 kB / 415.5 MB, free: 8.082 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.274e-05/0.1399, allocations: 12.31 kB / 415.5 MB, free: 8.062 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.196e-06/0.1399, allocations: 7.953 kB / 415.5 MB, free: 8.055 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.1399, allocations: 0 / 415.5 MB, free: 8.055 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.14, allocations: 0 / 415.5 MB, free: 8.055 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001734/0.1401, allocations: 177.6 kB / 415.7 MB, free: 7.832 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.1402, allocations: 4 kB / 415.7 MB, free: 7.828 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.823e-05/0.1402, allocations: 15.92 kB / 415.7 MB, free: 7.812 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.1402, allocations: 0 / 415.7 MB, free: 7.812 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.1402, allocations: 7.938 kB / 415.7 MB, free: 7.805 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.1402, allocations: 0 / 415.7 MB, free: 7.805 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/0.1403, allocations: 3.953 kB / 415.7 MB, free: 7.801 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002519/0.1405, allocations: 105 kB / 415.8 MB, free: 7.68 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.696e-05/0.1406, allocations: 89.02 kB / 415.9 MB, free: 7.574 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.87e-05/0.1406, allocations: 4 kB / 415.9 MB, free: 7.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.131e-05/0.1407, allocations: 3.984 kB / 415.9 MB, free: 7.566 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.733e-05/0.1408, allocations: 4 kB / 415.9 MB, free: 7.562 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.138e-05/0.1408, allocations: 7.953 kB / 415.9 MB, free: 7.555 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001468/0.1409, allocations: 139.1 kB / 416 MB, free: 7.422 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.141, allocations: 0 / 416 MB, free: 7.422 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002709/0.1412, allocations: 19.98 kB / 416.1 MB, free: 7.402 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001156/0.1424, allocations: 395.4 kB / 416.4 MB, free: 7.125 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000218/0.1426, allocations: 35.98 kB / 416.5 MB, free: 7.09 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1427, allocations: 0 / 416.5 MB, free: 7.09 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.536e-05/0.1428, allocations: 23.92 kB / 416.5 MB, free: 7.066 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002941/0.1431, allocations: 27.92 kB / 416.5 MB, free: 7.039 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005206/0.1436, allocations: 223.1 kB / 416.7 MB, free: 6.785 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002844/0.1439, allocations: 0.7004 MB / 417.4 MB, free: 6.059 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.038e-05/0.144, allocations: 15.44 kB / 417.5 MB, free: 6.047 MB / 346.7 MB Notification: Performance of SimCode: time 6.01e-07/0.144, allocations: 0 / 417.5 MB, free: 6.047 MB / 346.7 MB Notification: Performance of Templates: time 0.004692/0.1487, allocations: 1.641 MB / 419.1 MB, free: 4.398 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.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.Test85CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test85CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test85CalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test85Functions.cpp:205:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp16.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.Test85CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test85CalcHelperMain.o] Error 1