Running command: translateModel(Modelica.Blocks.Examples.BooleanNetwork1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Blocks.Examples.BooleanNetwork1") Notification: Performance of loadModel(Modelica): time 1.903/1.903, allocations: 225.8 MB / 239.3 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.688e-05/2.696e-05, allocations: 7.984 kB / 292.1 MB, free: 8.82 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08997/0.09002, allocations: 50.43 MB / 342.5 MB, free: 6.371 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3602/0.4503, allocations: 84.16 MB / 426.7 MB, free: 10.05 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002099/0.4505, allocations: 73.64 kB / 426.8 MB, free: 10.02 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03664/0.4872, allocations: 9.185 MB / 436 MB, free: 2.207 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.379e-06/0.4872, allocations: 0 / 436 MB, free: 2.207 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.592e-05/0.4873, allocations: 12 kB / 436 MB, free: 2.195 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.001317/0.4886, allocations: 0.7255 MB / 436.7 MB, free: 1.441 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.4887, allocations: 8.031 kB / 436.7 MB, free: 1.434 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001589/0.4888, allocations: 59.3 kB / 436.8 MB, free: 1.375 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008072/0.4897, allocations: 391 kB / 437.2 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.291e-05/0.4898, allocations: 60.48 kB / 437.2 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.623e-05/0.4899, allocations: 40.31 kB / 437.3 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008322/0.4907, allocations: 405.5 kB / 437.6 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.4908, allocations: 0 / 437.6 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.212e-05/0.4908, allocations: 17.5 kB / 437.7 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.466e-05/0.4909, allocations: 19.58 kB / 437.7 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005948/0.4915, allocations: 229.8 kB / 437.9 MB, free: 400 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002658/0.4941, allocations: 1.682 MB / 439.6 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006419/0.4948, allocations: 276.3 kB / 439.9 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002706/0.4951, allocations: 125.1 kB / 440 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.122e-05/0.4952, allocations: 15.89 kB / 440 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005367/0.4957, allocations: 317.1 kB / 440.3 MB, free: 14.18 MB / 362.7 MB Notification: Performance of pre-optimization done (n=37): time 3.475e-06/0.4958, allocations: 4 kB / 440.3 MB, free: 14.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=37): time 0.0008905/0.4967, allocations: 358 kB / 440.7 MB, free: 13.88 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001247/0.4968, allocations: 173.5 kB / 440.8 MB, free: 13.68 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006998/0.4975, allocations: 429.9 kB / 441.2 MB, free: 13.35 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.433e-05/0.4976, allocations: 42.95 kB / 441.3 MB, free: 13.31 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002123/0.4978, allocations: 273.8 kB / 441.6 MB, free: 13.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/0.498, allocations: 85.53 kB / 441.6 MB, free: 13.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.694e-05/0.498, allocations: 6.812 kB / 441.6 MB, free: 13.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001754/0.4982, allocations: 338.5 kB / 442 MB, free: 12.69 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002808/0.4985, allocations: 106.4 kB / 442.1 MB, free: 12.62 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000413/0.4989, allocations: 252.9 kB / 442.3 MB, free: 12.36 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003375/0.4993, allocations: 159.2 kB / 442.5 MB, free: 12.24 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.93e-06/0.4993, allocations: 0 / 442.5 MB, free: 12.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0009351/0.5002, allocations: 434.4 kB / 442.9 MB, free: 11.89 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.182e-05/0.5003, allocations: 37.64 kB / 442.9 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.5003, allocations: 4 kB / 443 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.512e-05/0.5004, allocations: 8 kB / 443 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001971/0.5006, allocations: 43.59 kB / 443 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.013e-05/0.5006, allocations: 12.41 kB / 443 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000337/0.5009, allocations: 47.44 kB / 443.1 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.553e-05/0.501, allocations: 19.31 kB / 443.1 MB, free: 11.73 MB / 362.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,rSFlipFlop.S,rSFlipFlop.R,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.0002368/0.5013, allocations: 197.5 kB / 443.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/0.5014, allocations: 43.53 kB / 443.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009176/0.5023, allocations: 401.3 kB / 443.7 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.344e-05/0.5024, allocations: 4 kB / 443.7 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.819e-06/0.5024, allocations: 0 / 443.7 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.469e-06/0.5024, allocations: 7.938 kB / 443.7 MB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00149/0.5039, allocations: 0.7951 MB / 444.5 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.581e-06/0.5039, allocations: 0 / 444.5 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.178e-05/0.504, allocations: 22.86 kB / 444.5 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.234e-06/0.5041, allocations: 0 / 444.5 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.88e-05/0.5041, allocations: 15.92 kB / 444.6 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.101e-06/0.5041, allocations: 0 / 444.6 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.929e-06/0.5041, allocations: 11.95 kB / 444.6 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009329/0.5051, allocations: 0.5227 MB / 445.1 MB, free: 9.941 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001573/0.5053, allocations: 131.3 kB / 445.2 MB, free: 9.801 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.267e-05/0.5054, allocations: 23.72 kB / 445.2 MB, free: 9.781 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003117/0.5057, allocations: 34.86 kB / 445.3 MB, free: 9.754 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/0.5058, allocations: 35.56 kB / 445.3 MB, free: 9.723 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.295e-05/0.5059, allocations: 19.05 kB / 445.3 MB, free: 9.707 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005044/0.5064, allocations: 314.8 kB / 445.6 MB, free: 9.473 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.35e-07/0.5064, allocations: 0 / 445.6 MB, free: 9.473 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006786/0.5071, allocations: 114.3 kB / 445.7 MB, free: 9.375 MB / 362.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,rSFlipFlop.S,rSFlipFlop.R,$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 (rising.u,falling.not_u,set1.y,changing.u,triggeredAdd.y,onDelay.t_next,onDelay.delaySignal,$whenCondition3,$whenCondition2,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,rSFlipFlop.pre.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 31 * 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.001531/0.5087, allocations: 455.1 kB / 446.2 MB, free: 9.047 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000819/0.5095, allocations: 380.1 kB / 446.6 MB, free: 8.746 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.801e-06/0.5095, allocations: 0 / 446.6 MB, free: 8.746 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004479/0.51, allocations: 240.8 kB / 446.8 MB, free: 8.555 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005511/0.5106, allocations: 68.53 kB / 446.9 MB, free: 8.508 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001501/0.5121, allocations: 0.6394 MB / 447.5 MB, free: 7.926 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006276/0.5127, allocations: 0.8621 MB / 448.4 MB, free: 7.039 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001663/0.5129, allocations: 43.3 kB / 448.4 MB, free: 7 MB / 362.7 MB Notification: Performance of SimCode: time 3.658e-06/0.5129, allocations: 0 / 448.4 MB, free: 7 MB / 362.7 MB Notification: Performance of Templates: time 0.01289/0.5258, allocations: 6.291 MB / 454.7 MB, free: 0.7812 MB / 362.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 -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -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:28: ./OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.BooleanNetwork1Functions.cpp:248:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp34.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