Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold,fileNamePrefix="Modelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.952/1.952, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.831e-05/3.838e-05, allocations: 5.25 kB / 292.2 MB, free: 8.723 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1102, allocations: 50.41 MB / 342.6 MB, free: 6.289 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4367/0.547, allocations: 81.55 MB / 424.2 MB, free: 12.24 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003143/0.5474, allocations: 82.52 kB / 424.3 MB, free: 12.2 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02668/0.5741, allocations: 6 MB / 430.3 MB, free: 7.16 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.5742, allocations: 0 / 430.3 MB, free: 7.16 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.766e-05/0.5742, allocations: 8 kB / 430.3 MB, free: 7.152 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007768/0.575, allocations: 481.6 kB / 430.7 MB, free: 6.645 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.5751, allocations: 12.03 kB / 430.8 MB, free: 6.633 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.7e-05/0.5751, allocations: 42 kB / 430.8 MB, free: 6.586 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.783e-05/0.5752, allocations: 19.81 kB / 430.8 MB, free: 6.566 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000581/0.5758, allocations: 259.8 kB / 431.1 MB, free: 6.293 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/0.5759, allocations: 7.812 kB / 431.1 MB, free: 6.289 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.435e-05/0.5759, allocations: 7.688 kB / 431.1 MB, free: 6.285 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004053/0.5763, allocations: 160.5 kB / 431.2 MB, free: 6.125 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.5763, allocations: 0 / 431.2 MB, free: 6.125 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.302e-05/0.5764, allocations: 7.984 kB / 431.2 MB, free: 6.117 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/0.5764, allocations: 3.953 kB / 431.3 MB, free: 6.113 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001243/0.5765, allocations: 34.44 kB / 431.3 MB, free: 6.09 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007346/0.5773, allocations: 451.2 kB / 431.7 MB, free: 5.637 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002708/0.5776, allocations: 126.6 kB / 431.8 MB, free: 5.496 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000113/0.5777, allocations: 53.88 kB / 431.9 MB, free: 5.441 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.918e-05/0.5777, allocations: 15.88 kB / 431.9 MB, free: 5.426 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001919/0.5779, allocations: 85.86 kB / 432 MB, free: 5.336 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 2.886e-06/0.578, allocations: 0 / 432 MB, free: 5.336 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003953/0.5784, allocations: 133.2 kB / 432.1 MB, free: 5.219 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000131/0.5785, allocations: 169.1 kB / 432.3 MB, free: 5.02 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004173/0.5789, allocations: 240.2 kB / 432.5 MB, free: 4.824 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.681e-05/0.579, allocations: 29.64 kB / 432.6 MB, free: 4.789 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.5791, allocations: 175.7 kB / 432.7 MB, free: 4.629 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.484e-05/0.5792, allocations: 23.75 kB / 432.8 MB, free: 4.609 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.165e-06/0.5792, allocations: 3.312 kB / 432.8 MB, free: 4.609 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.5793, allocations: 322 kB / 433.1 MB, free: 4.289 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.786e-05/0.5794, allocations: 23.25 kB / 433.1 MB, free: 4.273 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001284/0.5796, allocations: 72.36 kB / 433.2 MB, free: 4.188 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.599e-05/0.5797, allocations: 37.89 kB / 433.2 MB, free: 4.16 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.5797, allocations: 0 / 433.2 MB, free: 4.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002643/0.58, allocations: 105.2 kB / 433.3 MB, free: 4.07 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/0.58, allocations: 11.95 kB / 433.3 MB, free: 4.059 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.58, allocations: 0 / 433.3 MB, free: 4.059 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.5801, allocations: 4 kB / 433.3 MB, free: 4.055 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001477/0.5802, allocations: 11.94 kB / 433.3 MB, free: 4.043 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/0.5802, allocations: 7.984 kB / 433.3 MB, free: 4.035 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001379/0.5804, allocations: 15.69 kB / 433.4 MB, free: 4.023 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.638e-05/0.5804, allocations: 4 kB / 433.4 MB, free: 4.02 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,sample1.u,shiftSample1.y,hold1.u,hold1.y,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001115/0.5805, allocations: 118.2 kB / 433.5 MB, free: 3.902 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/0.5807, allocations: 64.5 kB / 433.5 MB, free: 3.836 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003005/0.581, allocations: 114.5 kB / 433.6 MB, free: 3.742 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.581, allocations: 0 / 433.6 MB, free: 3.742 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.747e-06/0.581, allocations: 4 kB / 433.7 MB, free: 3.738 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.5811, allocations: 4.062 kB / 433.7 MB, free: 3.734 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003365/0.5814, allocations: 237.9 kB / 433.9 MB, free: 3.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.5814, allocations: 3.984 kB / 433.9 MB, free: 3.477 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.263e-05/0.5815, allocations: 8 kB / 433.9 MB, free: 3.469 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.5815, allocations: 0 / 433.9 MB, free: 3.469 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.914e-05/0.5815, allocations: 7.438 kB / 433.9 MB, free: 3.465 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.152e-06/0.5815, allocations: 4.031 kB / 433.9 MB, free: 3.461 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.359e-05/0.5816, allocations: 7.984 kB / 433.9 MB, free: 3.453 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003833/0.582, allocations: 221.3 kB / 434.1 MB, free: 3.219 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001597/0.5821, allocations: 115.7 kB / 434.2 MB, free: 3.094 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.421e-05/0.5822, allocations: 3.688 kB / 434.3 MB, free: 3.094 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.5823, allocations: 12 kB / 434.3 MB, free: 3.082 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.698e-05/0.5824, allocations: 7.984 kB / 434.3 MB, free: 3.074 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.708e-05/0.5824, allocations: 7.812 kB / 434.3 MB, free: 3.07 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000286/0.5827, allocations: 190.5 kB / 434.5 MB, free: 2.914 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5827, allocations: 0 / 434.5 MB, free: 2.914 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000385/0.5831, allocations: 39.36 kB / 434.5 MB, free: 2.879 MB / 346.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: 9 ($whenCondition1,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,sample1.u,hold1.y,hold1.u,shiftSample1.y,sample1.y,shiftSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001929/0.5851, allocations: 1.26 MB / 435.8 MB, free: 1.723 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002682/0.5853, allocations: 73.03 kB / 435.8 MB, free: 1.668 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.5854, allocations: 0 / 435.8 MB, free: 1.668 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.657e-05/0.5855, allocations: 34.62 kB / 435.9 MB, free: 1.645 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005155/0.586, allocations: 66.75 kB / 435.9 MB, free: 1.59 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009428/0.587, allocations: 349.1 kB / 436.3 MB, free: 1.234 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003911/0.5874, allocations: 0.7362 MB / 437 MB, free: 488 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000128/0.5875, allocations: 52.72 kB / 437.1 MB, free: 460 kB / 346.7 MB Notification: Performance of SimCode: time 8.41e-07/0.5875, allocations: 0 / 437.1 MB, free: 460 kB / 346.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_Clocked_Examples_Elementary_BooleanSignals_HoldCalcHelperMain.o OMCppModelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_BooleanSignals_HoldCalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_BooleanSignals_HoldCalcHelperMain.cpp:28: ./OMCppModelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_BooleanSignals_HoldFunctions.cpp:248:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp13.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_Clocked_Examples_Elementary_BooleanSignals_HoldCalcHelperMain.cpp:35: In file included from ./OMCppModelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_BooleanSignals_HoldFMU.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_Clocked_Examples_Elementary_BooleanSignals_HoldCalcHelperMain.o' failed make: *** [OMCppModelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_BooleanSignals_HoldCalcHelperMain.o] Error 1