Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|t_new_2.nextTimeEvent|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test80") Notification: Performance of loadModel(ModelicaTest): time 2.524/2.524, allocations: 269 MB / 284.1 MB, free: 3.562 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.37e-05/3.381e-05, allocations: 7.984 kB / 349 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1468, allocations: 61.89 MB / 410.9 MB, free: 12.83 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.002823/0.1497, allocations: 1.454 MB / 412.4 MB, free: 11.37 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002911/0.1527, allocations: 1.351 MB / 413.7 MB, free: 10.01 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001214/0.1528, allocations: 3.938 kB / 413.7 MB, free: 10 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002875/0.1531, allocations: 31.89 kB / 413.8 MB, free: 9.973 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002776/0.1534, allocations: 63.77 kB / 413.8 MB, free: 9.91 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000581/0.154, allocations: 147.5 kB / 414 MB, free: 9.766 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002565/0.1543, allocations: 103.8 kB / 414.1 MB, free: 9.664 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.237e-05/0.1544, allocations: 3.938 kB / 414.1 MB, free: 9.66 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001509/0.1545, allocations: 63.81 kB / 414.1 MB, free: 9.598 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002185/0.1548, allocations: 47.78 kB / 414.2 MB, free: 9.551 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001868/0.155, allocations: 39.92 kB / 414.2 MB, free: 9.512 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.8e-05/0.155, allocations: 8 kB / 414.2 MB, free: 9.504 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.834e-05/0.1551, allocations: 27.89 kB / 414.3 MB, free: 9.477 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.777e-05/0.1552, allocations: 8 kB / 414.3 MB, free: 9.469 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002934/0.1555, allocations: 124 kB / 414.4 MB, free: 9.348 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1555, allocations: 4 kB / 414.4 MB, free: 9.344 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1555, allocations: 0 / 414.4 MB, free: 9.344 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.988e-06/0.1555, allocations: 0 / 414.4 MB, free: 9.344 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.000722/0.1562, allocations: 426.9 kB / 414.8 MB, free: 8.879 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.1563, allocations: 8.031 kB / 414.8 MB, free: 8.871 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.411e-05/0.1564, allocations: 11.91 kB / 414.8 MB, free: 8.859 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004245/0.1568, allocations: 230.7 kB / 415.1 MB, free: 8.594 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.378e-05/0.1568, allocations: 7.938 kB / 415.1 MB, free: 8.586 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.572e-05/0.1569, allocations: 8 kB / 415.1 MB, free: 8.578 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002952/0.1572, allocations: 105 kB / 415.2 MB, free: 8.457 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.1572, allocations: 0 / 415.2 MB, free: 8.457 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.134e-05/0.1573, allocations: 4 kB / 415.2 MB, free: 8.453 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.1573, allocations: 4 kB / 415.2 MB, free: 8.449 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001609/0.1574, allocations: 27.97 kB / 415.2 MB, free: 8.422 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002937/0.1577, allocations: 218.5 kB / 415.4 MB, free: 8.156 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004026/0.1582, allocations: 101.3 kB / 415.5 MB, free: 8.039 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.746e-05/0.1582, allocations: 3.984 kB / 415.5 MB, free: 8.035 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000321/0.1586, allocations: 124.9 kB / 415.7 MB, free: 7.895 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 2.345e-06/0.1586, allocations: 0 / 415.7 MB, free: 7.895 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007086/0.1593, allocations: 165.4 kB / 415.8 MB, free: 7.727 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.465e-05/0.1594, allocations: 128.5 kB / 415.9 MB, free: 7.57 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002998/0.1597, allocations: 191 kB / 416.1 MB, free: 7.375 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.818e-05/0.1597, allocations: 37.7 kB / 416.2 MB, free: 7.332 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.494e-05/0.1599, allocations: 166.6 kB / 416.3 MB, free: 7.168 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.638e-05/0.1599, allocations: 23.7 kB / 416.4 MB, free: 7.145 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.105e-06/0.1599, allocations: 0 / 416.4 MB, free: 7.145 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.1601, allocations: 318.8 kB / 416.7 MB, free: 6.824 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.1602, allocations: 27.98 kB / 416.7 MB, free: 6.797 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001771/0.1604, allocations: 77.06 kB / 416.8 MB, free: 6.703 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001491/0.1606, allocations: 28 kB / 416.8 MB, free: 6.676 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.1606, allocations: 0 / 416.8 MB, free: 6.676 MB / 346.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004091/0.161, allocations: 121.5 kB / 416.9 MB, free: 6.551 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.1611, allocations: 10.5 kB / 416.9 MB, free: 6.543 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/0.1611, allocations: 4.047 kB / 416.9 MB, free: 6.539 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.1611, allocations: 4 kB / 416.9 MB, free: 6.535 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000196/0.1613, allocations: 31.92 kB / 417 MB, free: 6.504 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.343e-06/0.1613, allocations: 0 / 417 MB, free: 6.504 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001467/0.1615, allocations: 12.56 kB / 417 MB, free: 6.492 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.506e-05/0.1615, allocations: 4 kB / 417 MB, free: 6.488 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.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$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 (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.0001584/0.1617, allocations: 129.8 kB / 417.1 MB, free: 6.352 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.564e-05/0.1617, allocations: 15.81 kB / 417.1 MB, free: 6.336 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.034e-05/0.1618, allocations: 24.98 kB / 417.1 MB, free: 6.305 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.1618, allocations: 7.953 kB / 417.2 MB, free: 6.297 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.1619, allocations: 7.938 kB / 417.2 MB, free: 6.289 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-06/0.1619, allocations: 4 kB / 417.2 MB, free: 6.285 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002478/0.1621, allocations: 221.4 kB / 417.4 MB, free: 6.02 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.1621, allocations: 0 / 417.4 MB, free: 6.02 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.234e-05/0.1622, allocations: 7.984 kB / 417.4 MB, free: 6.012 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.1622, allocations: 4 kB / 417.4 MB, free: 6.008 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.1623, allocations: 0 / 417.4 MB, free: 6.008 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.315e-06/0.1623, allocations: 7.984 kB / 417.4 MB, free: 6 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.1623, allocations: 3.953 kB / 417.4 MB, free: 5.996 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004823/0.1628, allocations: 183.4 kB / 417.6 MB, free: 5.789 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.282e-05/0.1629, allocations: 104.8 kB / 417.7 MB, free: 5.668 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.249e-05/0.163, allocations: 4 kB / 417.7 MB, free: 5.664 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.1631, allocations: 7.953 kB / 417.7 MB, free: 5.656 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.531e-05/0.1632, allocations: 15.98 kB / 417.7 MB, free: 5.641 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.548e-05/0.1632, allocations: 4 kB / 417.7 MB, free: 5.637 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002286/0.1634, allocations: 156.2 kB / 417.9 MB, free: 5.484 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.1635, allocations: 0 / 417.9 MB, free: 5.484 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003545/0.1638, allocations: 36 kB / 417.9 MB, free: 5.449 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,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.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.001272/0.1651, allocations: 437.1 kB / 418.3 MB, free: 5.141 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003943/0.1655, allocations: 79.84 kB / 418.4 MB, free: 5.062 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.1655, allocations: 0 / 418.4 MB, free: 5.062 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001716/0.1657, allocations: 44.09 kB / 418.5 MB, free: 5.02 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004687/0.1662, allocations: 48.23 kB / 418.5 MB, free: 4.973 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007463/0.167, allocations: 308.7 kB / 418.8 MB, free: 4.637 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003574/0.1673, allocations: 0.7166 MB / 419.5 MB, free: 3.895 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.578e-05/0.1674, allocations: 23.42 kB / 419.5 MB, free: 3.871 MB / 346.7 MB Notification: Performance of SimCode: time 8.11e-07/0.1675, allocations: 4 kB / 419.5 MB, free: 3.867 MB / 346.7 MB Notification: Performance of Templates: time 0.00728/0.1748, allocations: 2.725 MB / 422.3 MB, free: 1.145 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test80CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test80CalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test80Functions.cpp:219:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp35.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.Test80CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test80CalcHelperMain.o] Error 1