Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test88,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test88") Notification: Performance of loadModel(ModelicaTest): time 2.45/2.45, allocations: 269 MB / 284.1 MB, free: 3.566 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.119e-05/3.113e-05, allocations: 4 kB / 349 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1279, allocations: 61.9 MB / 410.9 MB, free: 12.87 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.003148/0.1311, allocations: 1.832 MB / 412.8 MB, free: 11.02 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002545/0.1337, allocations: 0.9709 MB / 413.7 MB, free: 10.05 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002778/0.134, allocations: 7.938 kB / 413.7 MB, free: 10.04 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004047/0.1344, allocations: 107.5 kB / 413.8 MB, free: 9.934 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004729/0.1349, allocations: 139.6 kB / 414 MB, free: 9.797 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001062/0.136, allocations: 267.3 kB / 414.2 MB, free: 9.535 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006415/0.1367, allocations: 251.5 kB / 414.5 MB, free: 9.289 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001454/0.1368, allocations: 32.09 kB / 414.5 MB, free: 9.258 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003938/0.1372, allocations: 175.5 kB / 414.7 MB, free: 9.086 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002124/0.1375, allocations: 107.6 kB / 414.8 MB, free: 8.98 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002275/0.1377, allocations: 43.98 kB / 414.8 MB, free: 8.938 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.952e-05/0.1378, allocations: 8 kB / 414.8 MB, free: 8.93 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001846/0.138, allocations: 107.6 kB / 415 MB, free: 8.824 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.956e-05/0.1381, allocations: 24 kB / 415 MB, free: 8.801 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005045/0.1386, allocations: 299.6 kB / 415.3 MB, free: 8.508 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1386, allocations: 0 / 415.3 MB, free: 8.508 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.345e-06/0.1386, allocations: 0 / 415.3 MB, free: 8.508 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.299e-05/0.1386, allocations: 0 / 415.3 MB, free: 8.508 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001198/0.1399, allocations: 0.6429 MB / 415.9 MB, free: 7.812 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.539e-05/0.1399, allocations: 16.02 kB / 415.9 MB, free: 7.797 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001474/0.1401, allocations: 55.34 kB / 416 MB, free: 7.742 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007535/0.1409, allocations: 375 kB / 416.3 MB, free: 7.332 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.643e-05/0.1409, allocations: 12 kB / 416.4 MB, free: 7.32 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.014e-05/0.141, allocations: 15.95 kB / 416.4 MB, free: 7.305 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000566/0.1416, allocations: 204.9 kB / 416.6 MB, free: 7.086 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.026e-05/0.1416, allocations: 0 / 416.6 MB, free: 7.086 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.046e-05/0.1416, allocations: 12 kB / 416.6 MB, free: 7.074 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.565e-06/0.1417, allocations: 0 / 416.6 MB, free: 7.074 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004002/0.1421, allocations: 95.86 kB / 416.7 MB, free: 6.98 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001289/0.1434, allocations: 0.7859 MB / 417.5 MB, free: 6.133 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009837/0.1444, allocations: 246.5 kB / 417.7 MB, free: 5.855 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.415e-05/0.1445, allocations: 12.2 kB / 417.7 MB, free: 5.844 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005407/0.145, allocations: 204.5 kB / 417.9 MB, free: 5.617 MB / 346.7 MB Notification: Performance of pre-optimization done (n=28): time 2.785e-06/0.145, allocations: 0 / 417.9 MB, free: 5.617 MB / 346.7 MB Notification: Performance of matching and sorting (n=44): time 0.003773/0.1488, allocations: 1.087 MB / 419 MB, free: 4.52 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.511e-05/0.1489, allocations: 136.5 kB / 419.1 MB, free: 4.355 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001189/0.1501, allocations: 0.6819 MB / 419.8 MB, free: 3.664 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.093e-05/0.1502, allocations: 33.7 kB / 419.9 MB, free: 3.625 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002111/0.1504, allocations: 263.4 kB / 420.1 MB, free: 3.363 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001682/0.1506, allocations: 138.1 kB / 420.2 MB, free: 3.227 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.793e-05/0.1506, allocations: 8 kB / 420.3 MB, free: 3.219 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.1508, allocations: 326.8 kB / 420.6 MB, free: 2.891 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004035/0.1512, allocations: 120.8 kB / 420.7 MB, free: 2.773 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004482/0.1517, allocations: 175.2 kB / 420.9 MB, free: 2.574 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004451/0.1521, allocations: 136.3 kB / 421 MB, free: 2.441 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.1521, allocations: 7.953 kB / 421 MB, free: 2.434 MB / 346.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001153/0.1533, allocations: 385.1 kB / 421.4 MB, free: 2.051 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.1533, allocations: 4 kB / 421.4 MB, free: 2.047 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.1534, allocations: 4 kB / 421.4 MB, free: 2.043 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.391e-05/0.1534, allocations: 4 kB / 421.4 MB, free: 2.039 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005866/0.154, allocations: 88.02 kB / 421.5 MB, free: 1.953 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.359e-05/0.154, allocations: 11.94 kB / 421.5 MB, free: 1.941 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003289/0.1544, allocations: 19.98 kB / 421.5 MB, free: 1.922 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.195e-05/0.1544, allocations: 16 kB / 421.5 MB, free: 1.906 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition4,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition3,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$whenCondition2,$PRE.t_new_3.nextTimeEvent,t_new_3.nextTimeEvent,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEventScaled,$whenCondition1,$PRE.t_new_4.nextTimeEvent,t_new_4.nextTimeEvent,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0004107/0.1548, allocations: 228 kB / 421.7 MB, free: 1.676 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001377/0.155, allocations: 67.11 kB / 421.8 MB, free: 1.609 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002147/0.1552, allocations: 84.48 kB / 421.9 MB, free: 1.523 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.1552, allocations: 4 kB / 421.9 MB, free: 1.52 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.166e-05/0.1553, allocations: 8 kB / 421.9 MB, free: 1.512 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.1553, allocations: 0 / 421.9 MB, free: 1.512 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002547/0.1578, allocations: 1.295 MB / 423.2 MB, free: 136 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-05/0.1579, allocations: 4 kB / 423.2 MB, free: 132 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003289/0.1583, allocations: 59.92 kB / 423.3 MB, free: 72 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.419e-05/0.1583, allocations: 7.953 kB / 423.3 MB, free: 64 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.441e-05/0.1583, allocations: 20.23 kB / 423.3 MB, free: 44 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.808e-06/0.1584, allocations: 4 kB / 423.3 MB, free: 40 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/0.1584, allocations: 7.938 kB / 423.3 MB, free: 32 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3984/0.5568, allocations: 0.9002 MB / 424.2 MB, free: 12.03 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003002/0.5571, allocations: 177.8 kB / 424.4 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001254/0.5573, allocations: 17.39 kB / 424.4 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004294/0.5577, allocations: 21.62 kB / 424.4 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001503/0.5579, allocations: 41.97 kB / 424.5 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.17e-05/0.558, allocations: 23.92 kB / 424.5 MB, free: 11.93 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001053/0.559, allocations: 0.5446 MB / 425 MB, free: 11.84 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5591, allocations: 0 / 425 MB, free: 11.84 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007777/0.5598, allocations: 84.91 kB / 425.1 MB, free: 11.84 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001442/0.5613, allocations: 0.5142 MB / 425.6 MB, free: 11.65 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00115/0.5625, allocations: 307.6 kB / 425.9 MB, free: 11.65 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.5625, allocations: 0.5312 kB / 425.9 MB, free: 11.65 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005408/0.563, allocations: 164.1 kB / 426.1 MB, free: 11.64 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/0.5641, allocations: 106.7 kB / 426.2 MB, free: 11.63 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002318/0.5665, allocations: 1.169 MB / 427.4 MB, free: 11.04 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005514/0.5671, allocations: 0.89 MB / 428.2 MB, free: 10.33 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002134/0.5673, allocations: 52.77 kB / 428.3 MB, free: 10.32 MB / 346.7 MB Notification: Performance of SimCode: time 1.022e-06/0.5673, allocations: 0 / 428.3 MB, free: 10.32 MB / 346.7 MB Notification: Performance of Templates: time 0.01689/0.5842, allocations: 6.157 MB / 434.5 MB, free: 9.656 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test88.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.Test88CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test88CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test88CalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test88Functions.cpp:285:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp77.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.Test88CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test88CalcHelperMain.o] Error 1