Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample,fileNamePrefix="Modelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_BooleanSignals_UpSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2/2, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.189e-05/4.197e-05, allocations: 8 kB / 292.2 MB, free: 8.734 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1079, allocations: 50.42 MB / 342.6 MB, free: 6.301 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4803/0.5883, allocations: 81.9 MB / 424.5 MB, free: 12.26 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003969/0.5888, allocations: 85.81 kB / 424.6 MB, free: 12.21 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04528/0.6341, allocations: 8.825 MB / 433.4 MB, free: 4.895 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.6341, allocations: 0 / 433.4 MB, free: 4.895 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.288e-05/0.6342, allocations: 4 kB / 433.4 MB, free: 4.891 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0008976/0.6351, allocations: 0.4926 MB / 433.9 MB, free: 4.363 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.107e-05/0.6351, allocations: 8.031 kB / 433.9 MB, free: 4.355 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.824e-05/0.6352, allocations: 49.12 kB / 434 MB, free: 4.305 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001007/0.6353, allocations: 35.56 kB / 434 MB, free: 4.27 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000611/0.636, allocations: 274.5 kB / 434.3 MB, free: 3.984 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.99e-05/0.636, allocations: 11.06 kB / 434.3 MB, free: 3.98 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.971e-05/0.6361, allocations: 15.36 kB / 434.3 MB, free: 3.969 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007114/0.6368, allocations: 283.2 kB / 434.6 MB, free: 3.727 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.6368, allocations: 0 / 434.6 MB, free: 3.727 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.588e-05/0.6369, allocations: 11.83 kB / 434.6 MB, free: 3.719 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.6369, allocations: 0 / 434.6 MB, free: 3.719 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001978/0.6371, allocations: 62.59 kB / 434.7 MB, free: 3.672 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007724/0.6379, allocations: 382.4 kB / 435 MB, free: 3.293 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004071/0.6383, allocations: 174 kB / 435.2 MB, free: 3.133 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001891/0.6385, allocations: 82.56 kB / 435.3 MB, free: 3.066 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.916e-05/0.6386, allocations: 3.938 kB / 435.3 MB, free: 3.062 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001867/0.6388, allocations: 73.89 kB / 435.4 MB, free: 2.988 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 7.684e-06/0.6388, allocations: 7.984 kB / 435.4 MB, free: 2.98 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005956/0.6394, allocations: 169.2 kB / 435.5 MB, free: 2.84 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000123/0.6395, allocations: 150.8 kB / 435.7 MB, free: 2.668 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004518/0.64, allocations: 245.6 kB / 435.9 MB, free: 2.469 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.844e-05/0.6401, allocations: 29.27 kB / 436 MB, free: 2.438 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.6402, allocations: 170.6 kB / 436.1 MB, free: 2.281 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.875e-05/0.6402, allocations: 34.2 kB / 436.2 MB, free: 2.254 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.121e-05/0.6403, allocations: 3.5 kB / 436.2 MB, free: 2.254 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.6404, allocations: 328.9 kB / 436.5 MB, free: 1.93 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001078/0.6405, allocations: 33.22 kB / 436.5 MB, free: 1.906 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002276/0.6408, allocations: 167.9 kB / 436.7 MB, free: 1.699 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001605/0.641, allocations: 54.02 kB / 436.7 MB, free: 1.66 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.573e-06/0.641, allocations: 7.953 kB / 436.7 MB, free: 1.652 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004781/0.6415, allocations: 189.9 kB / 436.9 MB, free: 1.492 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/0.6415, allocations: 8 kB / 436.9 MB, free: 1.484 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/0.6415, allocations: 8.531 kB / 436.9 MB, free: 1.477 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.582e-05/0.6416, allocations: 8 kB / 437 MB, free: 1.469 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001821/0.6418, allocations: 27.86 kB / 437 MB, free: 1.445 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.923e-05/0.6418, allocations: 15.97 kB / 437 MB, free: 1.43 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000222/0.642, allocations: 19.83 kB / 437 MB, free: 1.41 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.579e-05/0.6421, allocations: 11.31 kB / 437 MB, free: 1.402 MB / 346.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: 26 ($whenCondition1,$PRE.table1.combiTimeTable.nextTimeEvent,sample1.u,table1.combiTimeTable.nextTimeEvent,$PRE.table1.combiTimeTable.nextTimeEventScaled,table1.combiTimeTable.nextTimeEventScaled,and1.y,and1.u2,and1.u1,upSample2.u_super,upSample2.b_super,$CLKPRE.upSample2.b_super,upSample2.y,upSample1.u_super,upSample1.b_super,$CLKPRE.upSample1.b_super,upSample1.y,upSample2.b,$CLKPRE.upSample2.b,upSample2.dummy,upSample2.u,upSample1.b,$CLKPRE.upSample1.b,upSample1.dummy,upSample1.u,sample1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * 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.0001678/0.6422, allocations: 136.9 kB / 437.2 MB, free: 1.277 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003169/0.6426, allocations: 125.6 kB / 437.3 MB, free: 1.164 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003648/0.6429, allocations: 118.6 kB / 437.4 MB, free: 1.066 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.643, allocations: 4 kB / 437.4 MB, free: 1.062 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/0.643, allocations: 7.938 kB / 437.4 MB, free: 1.055 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.643, allocations: 0 / 437.4 MB, free: 1.055 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003441/0.6434, allocations: 248.1 kB / 437.7 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.6434, allocations: 0 / 437.7 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.695e-05/0.6435, allocations: 15.94 kB / 437.7 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.204e-06/0.6435, allocations: 0 / 437.7 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.27e-05/0.6435, allocations: 7.312 kB / 437.7 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.6436, allocations: 0 / 437.7 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.6436, allocations: 4 kB / 437.7 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005347/0.6441, allocations: 258.4 kB / 437.9 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001816/0.6443, allocations: 125.8 kB / 438.1 MB, free: 404 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.032e-05/0.6444, allocations: 6.938 kB / 438.1 MB, free: 400 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001516/0.6445, allocations: 11.25 kB / 438.1 MB, free: 392 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.971e-05/0.6446, allocations: 11.55 kB / 438.1 MB, free: 384 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.418e-05/0.6447, allocations: 4 kB / 438.1 MB, free: 380 kB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003369/0.645, allocations: 195.3 kB / 438.3 MB, free: 216 kB / 346.7 MB Notification: Performance of sort global known variables: time 4.5e-07/0.645, allocations: 0 / 438.3 MB, free: 216 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004875/0.6455, allocations: 53.69 kB / 438.3 MB, free: 172 kB / 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: 20 ($whenCondition1,sample1.u,table1.combiTimeTable.nextTimeEvent,table1.combiTimeTable.nextTimeEventScaled,upSample1.y,upSample1.b_super,upSample1.u_super,upSample2.y,upSample2.b_super,upSample2.u_super,and1.u1,and1.u2,and1.y,sample1.y,upSample1.u,upSample1.dummy,upSample1.b,upSample2.u,upSample2.dummy,upSample2.b) * Number of discrete states: 2 (table1.combiTimeTable.nextTimeEvent,table1.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * 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.002351/0.6479, allocations: 1.313 MB / 439.6 MB, free: 15 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005161/0.6485, allocations: 137.6 kB / 439.8 MB, free: 14.9 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.6485, allocations: 1.062 kB / 439.8 MB, free: 14.9 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.239e-05/0.6486, allocations: 29.31 kB / 439.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006787/0.6493, allocations: 104.6 kB / 439.9 MB, free: 14.8 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001251/0.6505, allocations: 401.7 kB / 440.3 MB, free: 14.41 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004694/0.6511, allocations: 0.7593 MB / 441.1 MB, free: 13.62 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001824/0.6513, allocations: 74.28 kB / 441.1 MB, free: 13.59 MB / 362.7 MB Notification: Performance of SimCode: time 1.603e-06/0.6513, allocations: 0 / 441.1 MB, free: 13.59 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_Clocked_Examples_Elementary_BooleanSignals_UpSampleCalcHelperMain.o OMCppModelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_BooleanSignals_UpSampleCalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_BooleanSignals_UpSampleCalcHelperMain.cpp:28: ./OMCppModelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_BooleanSignals_UpSampleFunctions.cpp:248:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp15.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_UpSampleCalcHelperMain.cpp:35: In file included from ./OMCppModelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_BooleanSignals_UpSampleFMU.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_UpSampleCalcHelperMain.o' failed make: *** [OMCppModelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_BooleanSignals_UpSampleCalcHelperMain.o] Error 1