Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample,fileNamePrefix="Modelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.02/2.02, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.221e-05/3.229e-05, allocations: 0 / 292.2 MB, free: 8.73 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1133, allocations: 50.41 MB / 342.6 MB, free: 6.305 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4493/0.5626, allocations: 81.53 MB / 424.2 MB, free: 12.67 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003082/0.563, allocations: 81.95 kB / 424.2 MB, free: 12.62 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02674/0.5898, allocations: 6.032 MB / 430.3 MB, free: 7.562 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.5898, allocations: 0 / 430.3 MB, free: 7.562 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.971e-05/0.5899, allocations: 8 kB / 430.3 MB, free: 7.555 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.0007781/0.5906, allocations: 493 kB / 430.8 MB, free: 7.035 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.557e-05/0.5907, allocations: 8.031 kB / 430.8 MB, free: 7.027 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.191e-05/0.5908, allocations: 41.83 kB / 430.8 MB, free: 6.98 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.867e-05/0.5909, allocations: 27.7 kB / 430.8 MB, free: 6.953 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005321/0.5914, allocations: 260.2 kB / 431.1 MB, free: 6.684 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.569e-05/0.5915, allocations: 4 kB / 431.1 MB, free: 6.68 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.531e-05/0.5915, allocations: 6.688 kB / 431.1 MB, free: 6.676 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004185/0.5919, allocations: 168.5 kB / 431.3 MB, free: 6.512 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.592, allocations: 0 / 431.3 MB, free: 6.512 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.309e-05/0.592, allocations: 4 kB / 431.3 MB, free: 6.508 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.592, allocations: 11.88 kB / 431.3 MB, free: 6.496 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001314/0.5921, allocations: 37.05 kB / 431.3 MB, free: 6.469 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007074/0.5929, allocations: 378.5 kB / 431.7 MB, free: 6.086 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002942/0.5932, allocations: 135.5 kB / 431.8 MB, free: 5.938 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000122/0.5933, allocations: 48.94 kB / 431.9 MB, free: 5.887 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.109e-05/0.5934, allocations: 11.08 kB / 431.9 MB, free: 5.879 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001716/0.5936, allocations: 73.77 kB / 432 MB, free: 5.805 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 2.404e-06/0.5936, allocations: 0 / 432 MB, free: 5.805 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003962/0.594, allocations: 125.3 kB / 432.1 MB, free: 5.695 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001234/0.5941, allocations: 166.2 kB / 432.2 MB, free: 5.496 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004225/0.5946, allocations: 249.7 kB / 432.5 MB, free: 5.293 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.23e-05/0.5946, allocations: 29.2 kB / 432.5 MB, free: 5.262 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.5947, allocations: 172 kB / 432.7 MB, free: 5.105 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.088e-05/0.5948, allocations: 23.05 kB / 432.7 MB, free: 5.086 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.426e-06/0.5948, allocations: 3.375 kB / 432.7 MB, free: 5.086 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.595, allocations: 314.8 kB / 433 MB, free: 4.77 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.971e-05/0.5951, allocations: 21.94 kB / 433 MB, free: 4.758 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000131/0.5952, allocations: 81.34 kB / 433.1 MB, free: 4.66 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.224e-05/0.5953, allocations: 35.7 kB / 433.2 MB, free: 4.633 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.5953, allocations: 0 / 433.2 MB, free: 4.633 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002625/0.5956, allocations: 111.1 kB / 433.3 MB, free: 4.539 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.5956, allocations: 7.953 kB / 433.3 MB, free: 4.531 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.5956, allocations: 0 / 433.3 MB, free: 4.531 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.5957, allocations: 4 kB / 433.3 MB, free: 4.527 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001393/0.5958, allocations: 15.98 kB / 433.3 MB, free: 4.512 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.5958, allocations: 0 / 433.3 MB, free: 4.512 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000136/0.596, allocations: 16.09 kB / 433.3 MB, free: 4.496 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.701e-05/0.596, allocations: 7.938 kB / 433.3 MB, free: 4.492 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,sample1.u,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,backSample1.y,backSample1.u,shiftSample1.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.0001131/0.5961, allocations: 117.8 kB / 433.4 MB, free: 4.375 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001505/0.5963, allocations: 72.77 kB / 433.5 MB, free: 4.301 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002971/0.5966, allocations: 115.3 kB / 433.6 MB, free: 4.211 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.5966, allocations: 4 kB / 433.6 MB, free: 4.207 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.5967, allocations: 4.094 kB / 433.6 MB, free: 4.203 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.5967, allocations: 3.984 kB / 433.6 MB, free: 4.199 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003006/0.597, allocations: 239.5 kB / 433.9 MB, free: 3.945 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.597, allocations: 7.938 kB / 433.9 MB, free: 3.938 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.201e-05/0.5971, allocations: 11.92 kB / 433.9 MB, free: 3.926 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.875e-06/0.5971, allocations: 4 kB / 433.9 MB, free: 3.922 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.5971, allocations: 0 / 433.9 MB, free: 3.922 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.044e-05/0.5971, allocations: 7.953 kB / 433.9 MB, free: 3.914 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.5971, allocations: 0 / 433.9 MB, free: 3.914 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003545/0.5975, allocations: 207.5 kB / 434.1 MB, free: 3.695 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001574/0.5977, allocations: 119.2 kB / 434.2 MB, free: 3.566 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.023e-05/0.5977, allocations: 7.312 kB / 434.2 MB, free: 3.562 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.5979, allocations: 11.94 kB / 434.2 MB, free: 3.551 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.523e-05/0.5979, allocations: 7.984 kB / 434.2 MB, free: 3.543 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.796e-05/0.598, allocations: 7.625 kB / 434.2 MB, free: 3.539 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003059/0.5983, allocations: 196.5 kB / 434.4 MB, free: 3.379 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.5983, allocations: 0 / 434.4 MB, free: 3.379 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004318/0.5987, allocations: 35.06 kB / 434.5 MB, free: 3.348 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,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,backSample1.y,shiftSample1.y,backSample1.u,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.001881/0.6006, allocations: 1.265 MB / 435.7 MB, free: 2.18 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002977/0.601, allocations: 75.23 kB / 435.8 MB, free: 2.125 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.601, allocations: 0 / 435.8 MB, free: 2.125 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.899e-05/0.6011, allocations: 30.94 kB / 435.8 MB, free: 2.102 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005683/0.6017, allocations: 64.95 kB / 435.9 MB, free: 2.051 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009914/0.6027, allocations: 347.9 kB / 436.2 MB, free: 1.695 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003719/0.6031, allocations: 0.7435 MB / 437 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001232/0.6032, allocations: 48.8 kB / 437 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of SimCode: time 1.162e-06/0.6032, allocations: 4 kB / 437 MB, free: 0.9062 MB / 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_BackSampleCalcHelperMain.o OMCppModelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSampleCalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSampleCalcHelperMain.cpp:28: ./OMCppModelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSampleFunctions.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_BackSampleCalcHelperMain.cpp:35: In file included from ./OMCppModelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSampleFMU.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_BackSampleCalcHelperMain.o' failed make: *** [OMCppModelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSampleCalcHelperMain.o] Error 1