Running command: translateModel(Modelica.Blocks.Examples.LogicalNetwork1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Pre1.u|table1.y|table2.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Blocks.Examples.LogicalNetwork1") Notification: Performance of loadModel(Modelica): time 2.086/2.086, allocations: 224.7 MB / 241.1 MB, free: 1.688 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.727e-05/3.739e-05, allocations: 4 kB / 294.6 MB, free: 11.42 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1458, allocations: 50.41 MB / 345 MB, free: 8.945 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.LogicalNetwork1): time 0.003494/0.1493, allocations: 1.646 MB / 346.6 MB, free: 7.277 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002956/0.1523, allocations: 0.9438 MB / 347.6 MB, free: 6.332 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002258/0.1526, allocations: 11.94 kB / 347.6 MB, free: 6.32 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001474/0.1541, allocations: 331.3 kB / 347.9 MB, free: 5.996 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006509/0.1548, allocations: 155.6 kB / 348 MB, free: 5.844 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001204/0.156, allocations: 219.5 kB / 348.3 MB, free: 5.629 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004634/0.1565, allocations: 163.7 kB / 348.4 MB, free: 5.469 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001408/0.1567, allocations: 20.17 kB / 348.4 MB, free: 5.449 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000257/0.1569, allocations: 99.69 kB / 348.5 MB, free: 5.352 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002774/0.1572, allocations: 119.6 kB / 348.6 MB, free: 5.234 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002647/0.1575, allocations: 43.98 kB / 348.7 MB, free: 5.191 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.16e-05/0.1576, allocations: 8 kB / 348.7 MB, free: 5.184 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001753/0.1578, allocations: 71.73 kB / 348.8 MB, free: 5.113 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.556e-05/0.1579, allocations: 16 kB / 348.8 MB, free: 5.098 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000584/0.1585, allocations: 255.7 kB / 349 MB, free: 4.848 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1585, allocations: 3.938 kB / 349 MB, free: 4.844 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.386e-06/0.1585, allocations: 0 / 349 MB, free: 4.844 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.218e-05/0.1585, allocations: 7.938 kB / 349 MB, free: 4.836 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001135/0.1597, allocations: 0.541 MB / 349.6 MB, free: 4.234 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/0.1598, allocations: 8.031 kB / 349.6 MB, free: 4.227 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001366/0.1599, allocations: 47.48 kB / 349.6 MB, free: 4.18 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008955/0.1608, allocations: 338.9 kB / 350 MB, free: 3.809 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.687e-05/0.1609, allocations: 8 kB / 350 MB, free: 3.801 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.359e-05/0.1609, allocations: 12 kB / 350 MB, free: 3.789 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005641/0.1615, allocations: 148 kB / 350.1 MB, free: 3.629 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.1616, allocations: 3.938 kB / 350.1 MB, free: 3.625 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.274e-05/0.1616, allocations: 4 kB / 350.1 MB, free: 3.621 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.1616, allocations: 4 kB / 350.1 MB, free: 3.617 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003768/0.162, allocations: 75.91 kB / 350.2 MB, free: 3.543 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001363/0.1634, allocations: 0.4925 MB / 350.7 MB, free: 3 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006834/0.1641, allocations: 142.7 kB / 350.9 MB, free: 2.852 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.854e-05/0.1642, allocations: 0 / 350.9 MB, free: 2.852 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004635/0.1646, allocations: 122.7 kB / 351 MB, free: 2.723 MB / 282.7 MB Notification: Performance of pre-optimization done (n=15): time 3.036e-06/0.1647, allocations: 4 kB / 351 MB, free: 2.719 MB / 282.7 MB Notification: Performance of matching and sorting (n=15): time 0.009374/0.1741, allocations: 213.1 kB / 351.2 MB, free: 2.504 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/0.1742, allocations: 106.8 kB / 351.3 MB, free: 2.375 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008752/0.1751, allocations: 419.6 kB / 351.7 MB, free: 1.961 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.306e-05/0.1752, allocations: 29.7 kB / 351.7 MB, free: 1.926 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001584/0.1754, allocations: 206.5 kB / 351.9 MB, free: 1.723 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.73e-05/0.1754, allocations: 39.53 kB / 352 MB, free: 1.684 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.024e-05/0.1755, allocations: 4 kB / 352 MB, free: 1.68 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.1756, allocations: 318.8 kB / 352.3 MB, free: 1.359 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001947/0.1758, allocations: 47.92 kB / 352.3 MB, free: 1.312 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002424/0.1761, allocations: 100.6 kB / 352.4 MB, free: 1.195 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001931/0.1763, allocations: 51.98 kB / 352.5 MB, free: 1.145 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.1763, allocations: 3.938 kB / 352.5 MB, free: 1.141 MB / 282.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004922/0.1768, allocations: 150 kB / 352.6 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.1768, allocations: 8 kB / 352.6 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.1769, allocations: 0 / 352.6 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.1769, allocations: 0 / 352.6 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002148/0.1771, allocations: 27.98 kB / 352.7 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.1771, allocations: 0 / 352.7 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002316/0.1774, allocations: 27.95 kB / 352.7 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.019e-05/0.1774, allocations: 4 kB / 352.7 MB, free: 0.9219 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition2,$PRE.table1.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.table2.combiTimeTable.nextTimeEvent,table2.combiTimeTable.nextTimeEvent,$PRE.table2.combiTimeTable.nextTimeEventScaled,table2.combiTimeTable.nextTimeEventScaled,table1.y,table1.combiTimeTable.nextTimeEvent,$PRE.table1.combiTimeTable.nextTimeEventScaled,table1.combiTimeTable.nextTimeEventScaled,Not1.y,And1.y,$PRE.Pre1.u,Pre1.u,Pre1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0002363/0.1777, allocations: 179.4 kB / 352.9 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.72e-05/0.1778, allocations: 27.62 kB / 352.9 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000101/0.1779, allocations: 34.94 kB / 352.9 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/0.1779, allocations: 7.938 kB / 352.9 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.1779, allocations: 0 / 352.9 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.1779, allocations: 3.938 kB / 352.9 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003839/0.1783, allocations: 309.3 kB / 353.2 MB, free: 316 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1783, allocations: 0 / 353.2 MB, free: 316 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.179e-05/0.1784, allocations: 8 kB / 353.3 MB, free: 308 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.1784, allocations: 0 / 353.3 MB, free: 308 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.949e-05/0.1785, allocations: 3.984 kB / 353.3 MB, free: 304 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.1785, allocations: 4 kB / 353.3 MB, free: 300 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.1785, allocations: 3.938 kB / 353.3 MB, free: 296 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005501/0.179, allocations: 208.7 kB / 353.5 MB, free: 68 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001381/0.1792, allocations: 108.8 kB / 353.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.323e-05/0.1793, allocations: 4 kB / 353.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001714/0.1795, allocations: 19.98 kB / 353.6 MB, free: 15.92 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.838e-05/0.1796, allocations: 11.98 kB / 353.6 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.943e-05/0.1796, allocations: 8 kB / 353.6 MB, free: 15.9 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005528/0.1802, allocations: 307 kB / 353.9 MB, free: 15.6 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.1802, allocations: 4 kB / 353.9 MB, free: 15.6 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00041/0.1806, allocations: 55.84 kB / 354 MB, free: 15.54 MB / 298.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: 11 ($whenCondition2,$whenCondition1,table2.combiTimeTable.nextTimeEvent,table2.combiTimeTable.nextTimeEventScaled,table1.y,table1.combiTimeTable.nextTimeEvent,table1.combiTimeTable.nextTimeEventScaled,Not1.y,And1.y,Pre1.u,Pre1.y) * Number of discrete states: 5 (Pre1.u,table1.combiTimeTable.nextTimeEventScaled,table2.combiTimeTable.nextTimeEventScaled,table2.combiTimeTable.nextTimeEvent,table1.combiTimeTable.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * 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.001287/0.1819, allocations: 403.8 kB / 354.4 MB, free: 15.25 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004825/0.1824, allocations: 119.8 kB / 354.5 MB, free: 15.13 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.1824, allocations: 4.125 kB / 354.5 MB, free: 15.13 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002201/0.1827, allocations: 55.98 kB / 354.5 MB, free: 15.07 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005682/0.1832, allocations: 74.33 kB / 354.6 MB, free: 15 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001197/0.1845, allocations: 0.5642 MB / 355.2 MB, free: 14.41 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004236/0.1849, allocations: 0.7796 MB / 356 MB, free: 13.61 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001068/0.185, allocations: 27.44 kB / 356 MB, free: 13.58 MB / 298.7 MB Notification: Performance of SimCode: time 7.11e-07/0.185, allocations: 0 / 356 MB, free: 13.58 MB / 298.7 MB Notification: Performance of Templates: time 0.01114/0.1962, allocations: 4.113 MB / 360.1 MB, free: 9.48 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Blocks.Examples.LogicalNetwork1.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 OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.LogicalNetwork1CalcHelperMain.o OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.LogicalNetwork1CalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.LogicalNetwork1CalcHelperMain.cpp:29: ./OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.LogicalNetwork1Functions.cpp:294:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp61.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 'OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.LogicalNetwork1CalcHelperMain.o' failed make: *** [OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.LogicalNetwork1CalcHelperMain.o] Error 1