Running command: translateModel(Modelica.Blocks.Examples.BooleanNetwork1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|and1.u.1.|and1.u.2.|and1.u.3.|booleanTable.y|changing.u|nand1.u.1.|nand1.u.2.|onDelay.u|or1.u.1.|or1.u.2.|or2.u.1.|or2.u.2.|rSFlipFlop.pre.u|rising.u|set1.y|triggeredAdd.y|xor1.u.1.|xor1.u.2.",fileNamePrefix="Modelica_trunk_cpp_Modelica.Blocks.Examples.BooleanNetwork1") Notification: Performance of loadModel(Modelica): time 2.225/2.225, allocations: 224.7 MB / 241.1 MB, free: 1.688 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.228e-05/3.229e-05, allocations: 4 kB / 294.5 MB, free: 11.42 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1113, allocations: 50.42 MB / 345 MB, free: 8.957 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BooleanNetwork1): time 0.003905/0.1153, allocations: 2.032 MB / 347 MB, free: 6.902 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003007/0.1183, allocations: 1.138 MB / 348.1 MB, free: 5.762 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003045/0.1187, allocations: 23.94 kB / 348.2 MB, free: 5.738 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009758/0.1197, allocations: 235.3 kB / 348.4 MB, free: 5.508 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005024/0.1202, allocations: 139.5 kB / 348.5 MB, free: 5.371 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009598/0.1212, allocations: 203.5 kB / 348.7 MB, free: 5.172 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005741/0.1218, allocations: 228.5 kB / 348.9 MB, free: 4.949 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003146/0.1221, allocations: 113.6 kB / 349.1 MB, free: 4.828 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002416/0.1223, allocations: 123.6 kB / 349.2 MB, free: 4.707 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002675/0.1226, allocations: 147.4 kB / 349.3 MB, free: 4.562 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003462/0.123, allocations: 71.89 kB / 349.4 MB, free: 4.492 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.556e-05/0.1231, allocations: 12 kB / 349.4 MB, free: 4.48 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001636/0.1233, allocations: 103.5 kB / 349.5 MB, free: 4.379 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.765e-05/0.1234, allocations: 24 kB / 349.5 MB, free: 4.355 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006782/0.1241, allocations: 375.4 kB / 349.9 MB, free: 3.988 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.1241, allocations: 0 / 349.9 MB, free: 3.988 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.745e-06/0.1241, allocations: 0 / 349.9 MB, free: 3.988 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.453e-05/0.1241, allocations: 0 / 349.9 MB, free: 3.988 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.001527/0.1257, allocations: 0.7157 MB / 350.6 MB, free: 3.211 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.1257, allocations: 8.031 kB / 350.6 MB, free: 3.203 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001761/0.1259, allocations: 59.3 kB / 350.7 MB, free: 3.145 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008838/0.1268, allocations: 386.1 kB / 351.1 MB, free: 2.727 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001002/0.1269, allocations: 62.7 kB / 351.1 MB, free: 2.66 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.487e-05/0.127, allocations: 36 kB / 351.2 MB, free: 2.625 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/0.1281, allocations: 432.6 kB / 351.6 MB, free: 2.164 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/0.1281, allocations: 0 / 351.6 MB, free: 2.164 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.99e-05/0.1282, allocations: 12 kB / 351.6 MB, free: 2.152 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.234e-05/0.1282, allocations: 16.39 kB / 351.6 MB, free: 2.137 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008015/0.129, allocations: 269.4 kB / 351.9 MB, free: 1.871 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003148/0.1322, allocations: 1.705 MB / 353.6 MB, free: 84 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009622/0.1332, allocations: 292 kB / 353.9 MB, free: 15.77 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.346e-05/0.1333, allocations: 11.98 kB / 353.9 MB, free: 15.76 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007281/0.1341, allocations: 336.8 kB / 354.2 MB, free: 15.39 MB / 298.7 MB Notification: Performance of pre-optimization done (n=37): time 3.276e-06/0.1341, allocations: 0 / 354.2 MB, free: 15.39 MB / 298.7 MB Notification: Performance of matching and sorting (n=37): time 0.00169/0.1358, allocations: 0.5552 MB / 354.8 MB, free: 14.81 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001139/0.1359, allocations: 166.2 kB / 354.9 MB, free: 14.61 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008958/0.1369, allocations: 464.4 kB / 355.4 MB, free: 14.15 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.844e-05/0.137, allocations: 45.69 kB / 355.4 MB, free: 14.1 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002354/0.1372, allocations: 263.1 kB / 355.7 MB, free: 13.84 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001338/0.1374, allocations: 98.83 kB / 355.8 MB, free: 13.74 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.17e-05/0.1374, allocations: 8 kB / 355.8 MB, free: 13.73 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.1376, allocations: 330.8 kB / 356.1 MB, free: 13.4 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004159/0.138, allocations: 117.1 kB / 356.2 MB, free: 13.29 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005296/0.1385, allocations: 266.6 kB / 356.5 MB, free: 12.97 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004819/0.139, allocations: 161.6 kB / 356.6 MB, free: 12.8 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.1391, allocations: 0 / 356.6 MB, free: 12.8 MB / 298.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001225/0.1403, allocations: 448.6 kB / 357.1 MB, free: 12.36 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.634e-05/0.1404, allocations: 38.16 kB / 357.1 MB, free: 12.31 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.1404, allocations: 8.094 kB / 357.1 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.767e-05/0.1404, allocations: 12 kB / 357.1 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002446/0.1407, allocations: 43.86 kB / 357.2 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.95e-05/0.1407, allocations: 11.92 kB / 357.2 MB, free: 12.24 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004898/0.1412, allocations: 63.56 kB / 357.2 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.907e-05/0.1413, allocations: 24 kB / 357.3 MB, free: 12.15 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 58 ($PRE.onDelay.u,$PRE.onDelay.t_next,$PRE.triggeredAdd.y,triggeredAdd.y,$whenCondition5,$whenCondition4,$whenCondition1,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition2,$whenCondition3,onDelay.u,onDelay.y,onDelay.delaySignal,onDelay.t_next,booleanTable.combiTimeTable.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEventScaled,rSFlipFlop.Q,rSFlipFlop.QI,$PRE.rSFlipFlop.pre.u,rSFlipFlop.pre.u,sampleTriggerSet.y,sampleTriggerReset.y,triggeredAdd.local_set,triggeredAdd.local_reset,$whenCondition6,and1.u[1],and1.u[2],$PRE.booleanPulse1.pulseStart,booleanPulse1.pulseStart,$PRE.booleanPulse2.pulseStart,booleanPulse2.pulseStart,or1.u[1],xor1.u[1],nand1.u[1],or2.u[1],nor1.y,$PRE.rising.u,rising.u,set1.u[1],set1.u[2],$PRE.set1.y,set1.y,set1.firstActiveIndex,$PRE.falling.not_u,falling.not_u,$PRE.changing.u,changing.u,changing.y,set1.expr[1],set1.expr[2],showValue6.active,showValue5.active,showValue1.number,showValue4.active,showValue3.active,showValue2.active,showValue.active) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 1 * 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.000421/0.1417, allocations: 256.5 kB / 357.5 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/0.1419, allocations: 47.44 kB / 357.6 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008002/0.1427, allocations: 263.2 kB / 357.8 MB, free: 11.58 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/0.1427, allocations: 7.984 kB / 357.8 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.1427, allocations: 0 / 357.8 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.293e-06/0.1427, allocations: 4 kB / 357.8 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001701/0.1445, allocations: 0.7789 MB / 358.6 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.1445, allocations: 0 / 358.6 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.753e-05/0.1446, allocations: 15.92 kB / 358.6 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.076e-06/0.1446, allocations: 4 kB / 358.6 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.194e-05/0.1447, allocations: 16 kB / 358.6 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.611e-06/0.1447, allocations: 4 kB / 358.6 MB, free: 10.69 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/0.1447, allocations: 3.953 kB / 358.7 MB, free: 10.69 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001174/0.1459, allocations: 0.5379 MB / 359.2 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001401/0.1461, allocations: 120.5 kB / 359.3 MB, free: 9.977 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/0.1462, allocations: 19.94 kB / 359.3 MB, free: 9.957 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003713/0.1466, allocations: 27.98 kB / 359.4 MB, free: 9.93 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001598/0.1467, allocations: 43.92 kB / 359.4 MB, free: 9.887 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.474e-05/0.1469, allocations: 19.98 kB / 359.4 MB, free: 9.867 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005755/0.1474, allocations: 323.1 kB / 359.7 MB, free: 9.551 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.41e-07/0.1475, allocations: 0 / 359.7 MB, free: 9.551 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007017/0.1482, allocations: 116 kB / 359.8 MB, free: 9.438 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 37 (rSFlipFlop.Q,rSFlipFlop.QI,rSFlipFlop.pre.u,sampleTriggerSet.y,sampleTriggerReset.y,$whenCondition1,$whenCondition2,$whenCondition3,onDelay.u,onDelay.y,onDelay.delaySignal,onDelay.t_next,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,nor1.y,or2.u[1],changing.y,$cse1,$cse2,$whenCondition6,$whenCondition5,$whenCondition4,and1.u[1],and1.u[2],booleanPulse1.pulseStart,booleanPulse2.pulseStart,or1.u[1],xor1.u[1],nand1.u[1],rising.u,set1.u[1],set1.u[2],set1.y,set1.firstActiveIndex,falling.not_u,changing.u,triggeredAdd.y) * Number of discrete states: 12 (falling.not_u,rising.u,set1.y,changing.u,triggeredAdd.y,booleanTable.combiTimeTable.nextTimeEventScaled,onDelay.t_next,onDelay.delaySignal,$whenCondition3,$whenCondition2,booleanTable.combiTimeTable.nextTimeEvent,rSFlipFlop.pre.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 5 * 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.001355/0.1495, allocations: 434.2 kB / 360.3 MB, free: 9.121 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001187/0.1508, allocations: 395.2 kB / 360.7 MB, free: 8.723 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/0.1508, allocations: 0.9375 kB / 360.7 MB, free: 8.723 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006002/0.1514, allocations: 243.2 kB / 360.9 MB, free: 8.473 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007355/0.1522, allocations: 76.94 kB / 361 MB, free: 8.402 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002248/0.1544, allocations: 0.9259 MB / 361.9 MB, free: 7.438 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005722/0.1551, allocations: 0.852 MB / 362.7 MB, free: 6.559 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002402/0.1553, allocations: 43.42 kB / 362.8 MB, free: 6.516 MB / 298.7 MB Notification: Performance of SimCode: time 1.403e-06/0.1553, allocations: 0 / 362.8 MB, free: 6.516 MB / 298.7 MB Notification: Performance of Templates: time 0.01616/0.1715, allocations: 6.226 MB / 369 MB, free: 312 kB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Blocks.Examples.BooleanNetwork1.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.BooleanNetwork1CalcHelperMain.o OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.BooleanNetwork1CalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.BooleanNetwork1CalcHelperMain.cpp:29: ./OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.BooleanNetwork1Functions.cpp:251:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp82.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.BooleanNetwork1CalcHelperMain.o' failed make: *** [OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.BooleanNetwork1CalcHelperMain.o] Error 1