Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample,fileNamePrefix="Modelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.975/1.975, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.793e-05/3.8e-05, allocations: 4 kB / 292.2 MB, free: 8.746 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1088, allocations: 50.41 MB / 342.6 MB, free: 6.316 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4428/0.5517, allocations: 81.41 MB / 424 MB, free: 12.37 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003004/0.552, allocations: 87.22 kB / 424.1 MB, free: 12.32 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03717/0.5892, allocations: 6.507 MB / 430.6 MB, free: 6.875 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.5893, allocations: 0 / 430.6 MB, free: 6.875 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.952e-05/0.5893, allocations: 4 kB / 430.6 MB, free: 6.871 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0009594/0.5903, allocations: 477.3 kB / 431.1 MB, free: 6.363 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.211e-05/0.5904, allocations: 12.03 kB / 431.1 MB, free: 6.352 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.974e-05/0.5905, allocations: 41.86 kB / 431.2 MB, free: 6.305 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.772e-05/0.5906, allocations: 23.81 kB / 431.2 MB, free: 6.281 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007453/0.5914, allocations: 265.9 kB / 431.4 MB, free: 6.004 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.677e-05/0.5914, allocations: 7.188 kB / 431.4 MB, free: 6 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.365e-05/0.5914, allocations: 4 kB / 431.4 MB, free: 5.996 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005003/0.592, allocations: 135.2 kB / 431.6 MB, free: 5.863 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.592, allocations: 4 kB / 431.6 MB, free: 5.859 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.807e-05/0.592, allocations: 7.953 kB / 431.6 MB, free: 5.852 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.5921, allocations: 0 / 431.6 MB, free: 5.852 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00017/0.5922, allocations: 37.86 kB / 431.6 MB, free: 5.824 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008568/0.5931, allocations: 357.8 kB / 432 MB, free: 5.461 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003208/0.5935, allocations: 111.3 kB / 432.1 MB, free: 5.344 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001466/0.5936, allocations: 46.83 kB / 432.1 MB, free: 5.297 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.486e-05/0.5937, allocations: 4 kB / 432.1 MB, free: 5.293 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000225/0.5939, allocations: 76.83 kB / 432.2 MB, free: 5.215 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 3.156e-06/0.5939, allocations: 0 / 432.2 MB, free: 5.215 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004745/0.5944, allocations: 113.8 kB / 432.3 MB, free: 5.117 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001166/0.5946, allocations: 128.5 kB / 432.4 MB, free: 4.961 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005687/0.5952, allocations: 243.9 kB / 432.7 MB, free: 4.762 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.328e-05/0.5952, allocations: 29.7 kB / 432.7 MB, free: 4.727 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.5954, allocations: 173.6 kB / 432.9 MB, free: 4.574 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.372e-05/0.5954, allocations: 19.05 kB / 432.9 MB, free: 4.559 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.226e-05/0.5955, allocations: 4 kB / 432.9 MB, free: 4.555 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.5956, allocations: 317.5 kB / 433.2 MB, free: 4.238 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.029e-05/0.5957, allocations: 22.31 kB / 433.2 MB, free: 4.223 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000164/0.5959, allocations: 68 kB / 433.3 MB, free: 4.145 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000114/0.5961, allocations: 35.2 kB / 433.3 MB, free: 4.121 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.5961, allocations: 0 / 433.3 MB, free: 4.121 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003456/0.5964, allocations: 102.9 kB / 433.4 MB, free: 4.031 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.5965, allocations: 4 kB / 433.4 MB, free: 4.027 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.904e-06/0.5965, allocations: 0 / 433.4 MB, free: 4.027 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/0.5965, allocations: 4 kB / 433.4 MB, free: 4.023 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001695/0.5967, allocations: 11.94 kB / 433.5 MB, free: 4.012 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.5967, allocations: 4.125 kB / 433.5 MB, free: 4.008 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001801/0.5969, allocations: 15.89 kB / 433.5 MB, free: 3.992 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.17e-05/0.597, allocations: 7.938 kB / 433.5 MB, free: 3.988 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,sample1.u,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,subSample1.y,subSample1.u,sample1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001304/0.5971, allocations: 109.5 kB / 433.6 MB, free: 3.879 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001658/0.5973, allocations: 65.44 kB / 433.7 MB, free: 3.809 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003854/0.5977, allocations: 110.6 kB / 433.8 MB, free: 3.723 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.377e-06/0.5977, allocations: 4 kB / 433.8 MB, free: 3.719 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.5978, allocations: 0 / 433.8 MB, free: 3.719 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.5978, allocations: 3.984 kB / 433.8 MB, free: 3.715 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003884/0.5982, allocations: 230.2 kB / 434 MB, free: 3.469 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.5982, allocations: 0 / 434 MB, free: 3.469 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.509e-05/0.5983, allocations: 11.94 kB / 434 MB, free: 3.457 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.381e-06/0.5983, allocations: 0 / 434 MB, free: 3.457 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.053e-05/0.5983, allocations: 8.016 kB / 434 MB, free: 3.449 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.822e-06/0.5984, allocations: 4 kB / 434 MB, free: 3.445 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.5984, allocations: 0 / 434 MB, free: 3.445 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004615/0.5988, allocations: 185.3 kB / 434.2 MB, free: 3.25 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001989/0.5991, allocations: 119.3 kB / 434.3 MB, free: 3.125 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.02e-05/0.5991, allocations: 4 kB / 434.3 MB, free: 3.121 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001555/0.5993, allocations: 4 kB / 434.3 MB, free: 3.117 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.586e-05/0.5994, allocations: 11.42 kB / 434.3 MB, free: 3.109 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.036e-05/0.5994, allocations: 7.938 kB / 434.3 MB, free: 3.102 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003982/0.5998, allocations: 192.5 kB / 434.5 MB, free: 2.945 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.5999, allocations: 0 / 434.5 MB, free: 2.945 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006172/0.6005, allocations: 31.38 kB / 434.6 MB, free: 2.918 MB / 346.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: 7 ($whenCondition1,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,subSample1.y,sample1.y,subSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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.002548/0.6031, allocations: 1.166 MB / 435.7 MB, free: 1.852 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000359/0.6034, allocations: 63.73 kB / 435.8 MB, free: 1.805 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.6035, allocations: 4 kB / 435.8 MB, free: 1.801 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001192/0.6036, allocations: 23.31 kB / 435.8 MB, free: 1.785 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006844/0.6043, allocations: 61.97 kB / 435.9 MB, free: 1.738 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00128/0.6056, allocations: 331.7 kB / 436.2 MB, free: 1.391 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004897/0.6061, allocations: 0.7316 MB / 436.9 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001654/0.6063, allocations: 54.86 kB / 437 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of SimCode: time 1.202e-06/0.6063, allocations: 0 / 437 MB, free: 0.6094 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_SubSampleCalcHelperMain.o OMCppModelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSampleCalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSampleCalcHelperMain.cpp:28: ./OMCppModelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSampleFunctions.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_SubSampleCalcHelperMain.cpp:35: In file included from ./OMCppModelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSampleFMU.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_SubSampleCalcHelperMain.o' failed make: *** [OMCppModelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSampleCalcHelperMain.o] Error 1