Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.BooleanNetwork1,fileNamePrefix="Modelica_trunk_cpp_Modelica_Blocks_Examples_BooleanNetwork1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.052/2.052, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.029e-05/3.039e-05, allocations: 6.188 kB / 292.2 MB, free: 8.781 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1119, allocations: 50.42 MB / 342.6 MB, free: 6.336 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4596/0.5716, allocations: 84.19 MB / 426.8 MB, free: 9.68 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002196/0.5718, allocations: 80.02 kB / 426.9 MB, free: 9.641 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04028/0.6121, allocations: 9.182 MB / 436.1 MB, free: 1.836 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.6122, allocations: 4 kB / 436.1 MB, free: 1.832 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.285e-05/0.6123, allocations: 8 kB / 436.1 MB, free: 1.824 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.001536/0.6138, allocations: 0.7274 MB / 436.8 MB, free: 1.07 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/0.6139, allocations: 12.03 kB / 436.8 MB, free: 1.059 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001186/0.614, allocations: 77.42 kB / 436.9 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001578/0.6142, allocations: 55.34 kB / 437 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008767/0.6151, allocations: 392.9 kB / 437.3 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.708e-05/0.6152, allocations: 56.48 kB / 437.4 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.604e-05/0.6153, allocations: 37.19 kB / 437.4 MB, free: 492 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000904/0.6162, allocations: 408.5 kB / 437.8 MB, free: 144 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.6162, allocations: 0 / 437.8 MB, free: 144 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.362e-05/0.6163, allocations: 19.33 kB / 437.8 MB, free: 136 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.803e-05/0.6163, allocations: 12.44 kB / 437.9 MB, free: 124 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006659/0.617, allocations: 239.9 kB / 438.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002879/0.6199, allocations: 1.678 MB / 439.8 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007159/0.6207, allocations: 279.9 kB / 440 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002937/0.621, allocations: 128.7 kB / 440.2 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.561e-05/0.6211, allocations: 12.22 kB / 440.2 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005675/0.6216, allocations: 313.1 kB / 440.5 MB, free: 13.75 MB / 362.7 MB Notification: Performance of pre-optimization done (n=37): time 3.446e-06/0.6217, allocations: 4 kB / 440.5 MB, free: 13.74 MB / 362.7 MB Notification: Performance of matching and sorting (n=37): time 0.001006/0.6227, allocations: 361 kB / 440.8 MB, free: 13.45 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/0.6228, allocations: 169.8 kB / 441 MB, free: 13.25 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007767/0.6236, allocations: 436.9 kB / 441.4 MB, free: 12.91 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.276e-05/0.6237, allocations: 40.77 kB / 441.5 MB, free: 12.87 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002281/0.6239, allocations: 273.4 kB / 441.7 MB, free: 12.66 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001155/0.624, allocations: 88.94 kB / 441.8 MB, free: 12.58 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.871e-05/0.6241, allocations: 7.25 kB / 441.8 MB, free: 12.58 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.6242, allocations: 337.5 kB / 442.2 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003096/0.6245, allocations: 112.5 kB / 442.3 MB, free: 12.18 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004317/0.625, allocations: 254.6 kB / 442.5 MB, free: 11.92 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003675/0.6254, allocations: 153.8 kB / 442.7 MB, free: 11.79 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.6254, allocations: 4 kB / 442.7 MB, free: 11.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0009892/0.6264, allocations: 422.4 kB / 443.1 MB, free: 11.45 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.068e-05/0.6265, allocations: 41.12 kB / 443.1 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.6265, allocations: 4 kB / 443.1 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.464e-05/0.6265, allocations: 4 kB / 443.1 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002564/0.6268, allocations: 44.14 kB / 443.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.464e-05/0.6268, allocations: 19.92 kB / 443.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004324/0.6273, allocations: 34.64 kB / 443.2 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.307e-05/0.6273, allocations: 23.94 kB / 443.3 MB, free: 11.29 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.0002433/0.6276, allocations: 193 kB / 443.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.6277, allocations: 47.47 kB / 443.5 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001047/0.6288, allocations: 402.5 kB / 443.9 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.211e-05/0.6288, allocations: 4 kB / 443.9 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.6288, allocations: 3.938 kB / 443.9 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.387e-06/0.6288, allocations: 7.922 kB / 443.9 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001578/0.6304, allocations: 0.7907 MB / 444.7 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.715e-06/0.6305, allocations: 3.984 kB / 444.7 MB, free: 10.03 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/0.6306, allocations: 14.94 kB / 444.7 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.304e-06/0.6306, allocations: 0 / 444.7 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.306e-05/0.6307, allocations: 15.92 kB / 444.7 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.909e-06/0.6307, allocations: 11.88 kB / 444.7 MB, free: 9.996 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/0.6307, allocations: 4 kB / 444.7 MB, free: 9.992 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001005/0.6317, allocations: 0.5221 MB / 445.3 MB, free: 9.508 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001663/0.6319, allocations: 133.6 kB / 445.4 MB, free: 9.363 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/0.632, allocations: 14.62 kB / 445.4 MB, free: 9.355 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003781/0.6324, allocations: 31.28 kB / 445.4 MB, free: 9.328 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001454/0.6325, allocations: 42.94 kB / 445.5 MB, free: 9.293 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.504e-05/0.6326, allocations: 19.05 kB / 445.5 MB, free: 9.277 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005354/0.6332, allocations: 317.4 kB / 445.8 MB, free: 9.039 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.6332, allocations: 0 / 445.8 MB, free: 9.039 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007389/0.6339, allocations: 111.8 kB / 445.9 MB, free: 8.941 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.002564/0.6365, allocations: 1.541 MB / 447.5 MB, free: 7.559 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009577/0.6375, allocations: 390.8 kB / 447.8 MB, free: 7.25 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.6375, allocations: 4.062 kB / 447.8 MB, free: 7.246 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000481/0.638, allocations: 236.4 kB / 448.1 MB, free: 7.059 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007175/0.6387, allocations: 65.77 kB / 448.1 MB, free: 7.016 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002193/0.6409, allocations: 0.7633 MB / 448.9 MB, free: 6.312 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005317/0.6415, allocations: 0.8508 MB / 449.8 MB, free: 5.438 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003527/0.6419, allocations: 168.4 kB / 449.9 MB, free: 5.379 MB / 362.7 MB Notification: Performance of SimCode: time 1.342e-06/0.6419, allocations: 0 / 449.9 MB, free: 5.379 MB / 362.7 MB Error: Error building simulator. Build log: clang++ -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DSUNDIALS_MAJOR_VERSION=2 -DSUNDIALS_MINOR_VERSION=6 -DPMC_USE_SUNDIALS -DFMU_BUILD -DRUNTIME_STATIC_LINKING -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp" -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -I"." "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources" -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, ^ In file included from OMCppModelica_trunk_cpp_Modelica_Blocks_Examples_BooleanNetwork1CalcHelperMain.cpp:35: In file included from ./OMCppModelica_trunk_cpp_Modelica_Blocks_Examples_BooleanNetwork1FMU.cpp:11: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/FMU2/FMU2Wrapper.cpp:93:11: warning: 6 enumeration values not handled in switch: 'LC_INIT', 'LC_LS', 'LC_SOLVER'... [-Wswitch] switch (cat) { ^ 1 warning and 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