Running command: translateModel(Modelica.Blocks.Examples.Interaction1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booleanTable.y|integerTable.y|start.on|start.reset.1.|stop.on|stop.reset.1.",fileNamePrefix="Modelica_trunk_cpp_Modelica.Blocks.Examples.Interaction1") Notification: Performance of loadModel(Modelica): time 2.176/2.176, allocations: 224.7 MB / 241.1 MB, free: 1.691 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.6e-05/2.585e-05, allocations: 4 kB / 294.6 MB, free: 11.43 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1241, allocations: 50.41 MB / 345 MB, free: 8.969 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Interaction1): time 0.004822/0.129, allocations: 2.07 MB / 347 MB, free: 6.879 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004995/0.1341, allocations: 1.481 MB / 348.5 MB, free: 5.395 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005354/0.1347, allocations: 11.94 kB / 348.5 MB, free: 5.383 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002387/0.1371, allocations: 0.5691 MB / 349.1 MB, free: 4.812 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001466/0.1386, allocations: 339.2 kB / 349.4 MB, free: 4.48 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002972/0.1416, allocations: 0.5144 MB / 349.9 MB, free: 3.965 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001371/0.143, allocations: 331.3 kB / 350.3 MB, free: 3.641 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002349/0.1432, allocations: 51.81 kB / 350.3 MB, free: 3.59 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006207/0.1439, allocations: 223.3 kB / 350.5 MB, free: 3.371 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006686/0.1446, allocations: 263.2 kB / 350.8 MB, free: 3.113 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006967/0.1453, allocations: 151.8 kB / 350.9 MB, free: 2.965 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00019/0.1455, allocations: 28 kB / 351 MB, free: 2.938 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000389/0.1459, allocations: 171.5 kB / 351.1 MB, free: 2.77 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001784/0.1461, allocations: 32 kB / 351.2 MB, free: 2.738 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001429/0.1475, allocations: 0.6237 MB / 351.8 MB, free: 2.113 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1476, allocations: 0 / 351.8 MB, free: 2.113 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.196e-06/0.1476, allocations: 0 / 351.8 MB, free: 2.113 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.022e-05/0.1476, allocations: 0 / 351.8 MB, free: 2.113 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.002268/0.1499, allocations: 0.9437 MB / 352.7 MB, free: 1.074 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.488e-05/0.15, allocations: 8.031 kB / 352.7 MB, free: 1.066 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003447/0.1504, allocations: 87.02 kB / 352.8 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001842/0.1522, allocations: 0.5891 MB / 353.4 MB, free: 356 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.784e-05/0.1523, allocations: 19.95 kB / 353.4 MB, free: 336 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/0.1524, allocations: 23.98 kB / 353.5 MB, free: 312 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001236/0.1537, allocations: 350.8 kB / 353.8 MB, free: 15.92 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.836e-05/0.1537, allocations: 4 kB / 353.8 MB, free: 15.92 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.247e-05/0.1538, allocations: 15.98 kB / 353.8 MB, free: 15.9 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.833e-05/0.1539, allocations: 11.95 kB / 353.8 MB, free: 15.89 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008155/0.1547, allocations: 175.8 kB / 354 MB, free: 15.72 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003142/0.1579, allocations: 1.36 MB / 355.4 MB, free: 14.29 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001576/0.1595, allocations: 362.8 kB / 355.7 MB, free: 13.89 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.638e-05/0.1596, allocations: 4 kB / 355.7 MB, free: 13.89 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001333/0.161, allocations: 451.4 kB / 356.2 MB, free: 13.39 MB / 298.7 MB Notification: Performance of pre-optimization done (n=42): time 4.739e-06/0.161, allocations: 0 / 356.2 MB, free: 13.39 MB / 298.7 MB Notification: Performance of matching and sorting (n=42): time 0.003178/0.1642, allocations: 0.9747 MB / 357.1 MB, free: 12.34 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003194/0.1646, allocations: 464.9 kB / 357.6 MB, free: 11.78 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002558/0.1672, allocations: 0.8785 MB / 358.5 MB, free: 10.89 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001476/0.1674, allocations: 41.7 kB / 358.5 MB, free: 10.85 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004104/0.1678, allocations: 311.4 kB / 358.8 MB, free: 10.54 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002173/0.168, allocations: 106.7 kB / 358.9 MB, free: 10.44 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.226e-05/0.1681, allocations: 12 kB / 358.9 MB, free: 10.43 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.1683, allocations: 330.8 kB / 359.3 MB, free: 10.09 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007305/0.169, allocations: 148.9 kB / 359.4 MB, free: 9.949 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000939/0.17, allocations: 354.4 kB / 359.7 MB, free: 9.531 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008296/0.1708, allocations: 261 kB / 360 MB, free: 9.258 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.809e-06/0.1709, allocations: 4 kB / 360 MB, free: 9.254 MB / 298.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.002219/0.1731, allocations: 0.6042 MB / 360.6 MB, free: 8.625 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001229/0.1733, allocations: 101.4 kB / 360.7 MB, free: 8.508 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.014e-05/0.1733, allocations: 8 kB / 360.7 MB, free: 8.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.357e-05/0.1733, allocations: 8 kB / 360.7 MB, free: 8.492 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005836/0.1739, allocations: 67.78 kB / 360.8 MB, free: 8.426 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.307e-05/0.174, allocations: 8 kB / 360.8 MB, free: 8.418 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008126/0.1748, allocations: 67.52 kB / 360.9 MB, free: 8.352 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.497e-05/0.1749, allocations: 20.12 kB / 360.9 MB, free: 8.332 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 51 ($PRE.start.pre_reset[1],$PRE.stop.pre_reset[1],$whenCondition9,$PRE.integerTable.combiTimeTable.nextTimeEvent,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEventScaled,$whenCondition8,$PRE.booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition2,$PRE.start.table.combiTimeTable.nextTimeEvent,start.reset[1],$PRE.stop.on,stop.on,$PRE.start.on,start.on,stop.reset[1],$whenCondition4,$whenCondition5,$PRE.stop.reset[1],$PRE.stop.table.y,stop.table.y,stop.table.combiTimeTable.nextTimeEvent,$PRE.stop.table.combiTimeTable.nextTimeEventScaled,stop.table.combiTimeTable.nextTimeEventScaled,stop.pre_reset[1],$whenCondition6,$whenCondition7,$PRE.start.reset[1],$PRE.start.table.y,start.table.y,start.table.combiTimeTable.nextTimeEvent,$PRE.start.table.combiTimeTable.nextTimeEventScaled,start.table.combiTimeTable.nextTimeEventScaled,start.pre_reset[1],$whenCondition1,timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled,booleanValue.active,integerValue.number) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 3 * 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.0008261/0.1757, allocations: 390.7 kB / 361.3 MB, free: 7.93 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002655/0.176, allocations: 83.05 kB / 361.3 MB, free: 7.848 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002669/0.1763, allocations: 74.22 kB / 361.4 MB, free: 7.77 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/0.1763, allocations: 4 kB / 361.4 MB, free: 7.766 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.338e-06/0.1763, allocations: 4 kB / 361.4 MB, free: 7.762 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/0.1764, allocations: 7.984 kB / 361.4 MB, free: 7.754 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002471/0.1789, allocations: 0.9503 MB / 362.4 MB, free: 6.734 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.246e-06/0.1789, allocations: 0 / 362.4 MB, free: 6.734 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002401/0.1792, allocations: 19.98 kB / 362.4 MB, free: 6.715 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.308e-05/0.1792, allocations: 4 kB / 362.4 MB, free: 6.711 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.866e-05/0.1793, allocations: 19.98 kB / 362.4 MB, free: 6.691 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.199e-05/0.1793, allocations: 7.938 kB / 362.4 MB, free: 6.684 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.1793, allocations: 0 / 362.4 MB, free: 6.684 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002461/0.1818, allocations: 0.8189 MB / 363.3 MB, free: 5.801 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003228/0.1822, allocations: 168.1 kB / 363.4 MB, free: 5.617 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002677/0.1825, allocations: 20 kB / 363.4 MB, free: 5.598 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006197/0.1831, allocations: 31.97 kB / 363.5 MB, free: 5.566 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001924/0.1833, allocations: 43.89 kB / 363.5 MB, free: 5.523 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.701e-05/0.1834, allocations: 12 kB / 363.5 MB, free: 5.512 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.002095/0.1855, allocations: 0.6669 MB / 364.2 MB, free: 4.844 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.022e-06/0.1856, allocations: 4 kB / 364.2 MB, free: 4.84 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001455/0.187, allocations: 148.1 kB / 364.3 MB, free: 4.695 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled,$whenCondition3,$whenCondition2,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,start.reset[1],start.on,start.table.y,start.table.combiTimeTable.nextTimeEvent,start.table.combiTimeTable.nextTimeEventScaled,start.pre_reset[1],stop.reset[1],stop.on,stop.table.y,stop.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEventScaled,stop.pre_reset[1],$whenCondition8,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,$whenCondition9,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 26 (integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEvent,start.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEventScaled,$whenCondition5,stop.on,$whenCondition4,stop.pre_reset[1],stop.reset[1],stop.table.y,start.table.combiTimeTable.nextTimeEventScaled,$whenCondition7,start.on,$whenCondition6,start.pre_reset[1],start.reset[1],start.table.y,timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 3 * 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.002162/0.1892, allocations: 489 kB / 364.8 MB, free: 4.328 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002311/0.1916, allocations: 0.6033 MB / 365.4 MB, free: 3.688 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.674e-06/0.1916, allocations: 0 / 365.4 MB, free: 3.688 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00123/0.1929, allocations: 433.9 kB / 365.8 MB, free: 3.227 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001784/0.1947, allocations: 159.6 kB / 366 MB, free: 3.078 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004424/0.1992, allocations: 1.331 MB / 367.3 MB, free: 1.699 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001002/0.2002, allocations: 0.9488 MB / 368.3 MB, free: 0.7227 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003722/0.2006, allocations: 55.42 kB / 368.3 MB, free: 0.668 MB / 298.7 MB Notification: Performance of SimCode: time 1.863e-06/0.2007, allocations: 0 / 368.3 MB, free: 0.668 MB / 298.7 MB Notification: Performance of Templates: time 0.02885/0.2295, allocations: 9.578 MB / 377.9 MB, free: 7.113 MB / 314.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Blocks.Examples.Interaction1.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.Interaction1CalcHelperMain.o OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Interaction1CalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Interaction1CalcHelperMain.cpp:29: ./OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Interaction1Functions.cpp:545:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp132.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, ^ In file included from OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Interaction1CalcHelperMain.cpp:36: ./OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Interaction1.cpp:439:48: error: no matching member function for call to 'pre' _start_P_pre_reset_.assign(_discrete_events->pre(_start_P_reset_)); ~~~~~~~~~~~~~~~~~~^~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/Core/System/DiscreteEvents.h:29:11: note: candidate function not viable: no known conversion from 'StatArrayDim1' to 'const double' for 1st argument double& pre(const double& var); ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/Core/System/DiscreteEvents.h:30:8: note: candidate function not viable: no known conversion from 'StatArrayDim1' to 'const int' for 1st argument int& pre(const int& var); ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/Core/System/DiscreteEvents.h:31:9: note: candidate function not viable: no known conversion from 'StatArrayDim1' to 'const bool' for 1st argument bool& pre(const bool& var); ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/Core/System/DiscreteEvents.h:32:23: note: candidate function not viable: no known conversion from 'StatArrayDim1' to 'const std::string' (aka 'const basic_string') for 1st argument std::string & pre(const std::string & var); ^ In file included from OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Interaction1CalcHelperMain.cpp:36: ./OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Interaction1.cpp:593:47: error: no matching member function for call to 'pre' _stop_P_pre_reset_.assign(_discrete_events->pre(_stop_P_reset_)); ~~~~~~~~~~~~~~~~~~^~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/Core/System/DiscreteEvents.h:29:11: note: candidate function not viable: no known conversion from 'StatArrayDim1' to 'const double' for 1st argument double& pre(const double& var); ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/Core/System/DiscreteEvents.h:30:8: note: candidate function not viable: no known conversion from 'StatArrayDim1' to 'const int' for 1st argument int& pre(const int& var); ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/Core/System/DiscreteEvents.h:31:9: note: candidate function not viable: no known conversion from 'StatArrayDim1' to 'const bool' for 1st argument bool& pre(const bool& var); ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/Core/System/DiscreteEvents.h:32:23: note: candidate function not viable: no known conversion from 'StatArrayDim1' to 'const std::string' (aka 'const basic_string') for 1st argument std::string & pre(const std::string & var); ^ 3 errors generated. : recipe for target 'OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Interaction1CalcHelperMain.o' failed make: *** [OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Interaction1CalcHelperMain.o] Error 1