Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Interaction1,fileNamePrefix="Modelica_trunk_cpp_Modelica_Blocks_Examples_Interaction1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.005/2.005, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.963e-05/3.97e-05, allocations: 2.188 kB / 292.2 MB, free: 8.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1166, allocations: 50.43 MB / 342.6 MB, free: 6.324 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4413/0.5579, allocations: 82.66 MB / 425.3 MB, free: 11.52 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002443/0.5582, allocations: 68.28 kB / 425.3 MB, free: 11.49 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1199/0.6781, allocations: 26.56 MB / 451.9 MB, free: 5.215 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.6782, allocations: 0 / 451.9 MB, free: 5.215 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.538e-05/0.6783, allocations: 12 kB / 451.9 MB, free: 5.203 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001958/0.6803, allocations: 0.9953 MB / 452.9 MB, free: 4.156 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/0.6803, allocations: 12.03 kB / 452.9 MB, free: 4.145 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001127/0.6805, allocations: 60.53 kB / 453 MB, free: 4.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002679/0.6807, allocations: 75.06 kB / 453.1 MB, free: 4.016 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001703/0.6825, allocations: 0.6097 MB / 453.7 MB, free: 3.465 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.197e-05/0.6825, allocations: 15.25 kB / 453.7 MB, free: 3.457 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.983e-05/0.6826, allocations: 27.5 kB / 453.7 MB, free: 3.434 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008398/0.6835, allocations: 358.5 kB / 454.1 MB, free: 3.117 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.6835, allocations: 0 / 454.1 MB, free: 3.117 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.663e-05/0.6836, allocations: 15.45 kB / 454.1 MB, free: 3.109 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.585e-05/0.6836, allocations: 8 kB / 454.1 MB, free: 3.102 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000516/0.6841, allocations: 184 kB / 454.3 MB, free: 2.973 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002616/0.6868, allocations: 1.424 MB / 455.7 MB, free: 1.711 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008375/0.6876, allocations: 348.8 kB / 456 MB, free: 1.375 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004298/0.6881, allocations: 179.5 kB / 456.2 MB, free: 1.188 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.006e-05/0.6881, allocations: 4 kB / 456.2 MB, free: 1.184 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008229/0.689, allocations: 467.2 kB / 456.7 MB, free: 0.668 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 3.958e-06/0.689, allocations: 0 / 456.7 MB, free: 0.668 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.001775/0.6908, allocations: 0.6223 MB / 457.3 MB, free: 16 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002609/0.6911, allocations: 460.9 kB / 457.7 MB, free: 15.46 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001895/0.693, allocations: 0.8512 MB / 458.6 MB, free: 14.6 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001554/0.6931, allocations: 41.7 kB / 458.6 MB, free: 14.55 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003211/0.6935, allocations: 303.4 kB / 458.9 MB, free: 14.26 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001662/0.6937, allocations: 110.7 kB / 459 MB, free: 14.15 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.023e-05/0.6937, allocations: 8 kB / 459 MB, free: 14.14 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.6939, allocations: 338.8 kB / 459.4 MB, free: 13.8 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004296/0.6943, allocations: 145 kB / 459.5 MB, free: 13.66 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006554/0.695, allocations: 370 kB / 459.9 MB, free: 13.23 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005377/0.6955, allocations: 267.2 kB / 460.1 MB, free: 12.95 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.6956, allocations: 4 kB / 460.1 MB, free: 12.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001499/0.6971, allocations: 0.619 MB / 460.8 MB, free: 12.3 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.817e-05/0.6972, allocations: 93.36 kB / 460.9 MB, free: 12.19 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/0.6972, allocations: 8 kB / 460.9 MB, free: 12.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.667e-05/0.6972, allocations: 8 kB / 460.9 MB, free: 12.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004951/0.6978, allocations: 63.91 kB / 460.9 MB, free: 12.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.326e-05/0.6978, allocations: 11.89 kB / 460.9 MB, free: 12.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006446/0.6984, allocations: 47.73 kB / 461 MB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.022e-05/0.6985, allocations: 27.98 kB / 461 MB, free: 12.03 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 51 ($PRE.start.pre_reset[1],$PRE.stop.pre_reset[1],$whenCondition9,$PRE.integerTable.combiTimeTable.nextTimeEvent,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEventScaled,$whenCondition8,$PRE.booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition2,$PRE.start.table.combiTimeTable.nextTimeEvent,start.reset[1],$PRE.stop.on,stop.on,$PRE.start.on,start.on,stop.reset[1],$whenCondition4,$whenCondition5,$PRE.stop.reset[1],$PRE.stop.table.y,stop.table.y,stop.table.combiTimeTable.nextTimeEvent,$PRE.stop.table.combiTimeTable.nextTimeEventScaled,stop.table.combiTimeTable.nextTimeEventScaled,stop.pre_reset[1],$whenCondition6,$whenCondition7,$PRE.start.reset[1],$PRE.start.table.y,start.table.y,start.table.combiTimeTable.nextTimeEvent,$PRE.start.table.combiTimeTable.nextTimeEventScaled,start.table.combiTimeTable.nextTimeEventScaled,start.pre_reset[1],$whenCondition1,timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled,booleanValue.active,integerValue.number) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 3 * 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.0003458/0.6989, allocations: 274.3 kB / 461.3 MB, free: 11.74 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002206/0.6991, allocations: 83.06 kB / 461.4 MB, free: 11.66 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001384/0.7005, allocations: 0.514 MB / 461.9 MB, free: 11.13 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.758e-06/0.7006, allocations: 7.938 kB / 461.9 MB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.288e-06/0.7006, allocations: 4 kB / 461.9 MB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/0.7006, allocations: 7.938 kB / 461.9 MB, free: 11.11 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002074/0.7027, allocations: 1.063 MB / 463 MB, free: 9.977 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.7027, allocations: 0 / 463 MB, free: 9.977 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002569/0.703, allocations: 31.92 kB / 463 MB, free: 9.945 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.087e-06/0.703, allocations: 0 / 463 MB, free: 9.945 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.42e-05/0.7031, allocations: 19.98 kB / 463 MB, free: 9.926 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.094e-05/0.7031, allocations: 4.109 kB / 463 MB, free: 9.922 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/0.7031, allocations: 4 kB / 463 MB, free: 9.918 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001844/0.705, allocations: 0.8593 MB / 463.9 MB, free: 8.992 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003582/0.7054, allocations: 192.1 kB / 464.1 MB, free: 8.785 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001979/0.7056, allocations: 27.98 kB / 464.1 MB, free: 8.758 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004904/0.7061, allocations: 31.98 kB / 464.1 MB, free: 8.727 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001572/0.7063, allocations: 39.94 kB / 464.2 MB, free: 8.688 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.629e-05/0.7064, allocations: 23.98 kB / 464.2 MB, free: 8.664 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001411/0.7078, allocations: 0.6553 MB / 464.8 MB, free: 8.004 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.7078, allocations: 0 / 464.8 MB, free: 8.004 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001144/0.709, allocations: 184.2 kB / 465 MB, free: 7.824 MB / 378.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: 32 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled,$whenCondition3,$whenCondition2,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,start.reset[1],start.on,start.table.y,start.table.combiTimeTable.nextTimeEvent,start.table.combiTimeTable.nextTimeEventScaled,start.pre_reset[1],stop.reset[1],stop.on,stop.table.y,stop.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEventScaled,stop.pre_reset[1],$whenCondition8,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,$whenCondition9,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 26 (integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,stop.table.combiTimeTable.nextTimeEvent,start.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEventScaled,$whenCondition5,stop.on,$whenCondition4,stop.pre_reset[1],stop.reset[1],stop.table.y,start.table.combiTimeTable.nextTimeEventScaled,$whenCondition7,start.on,$whenCondition6,start.pre_reset[1],start.reset[1],start.table.y,timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 8 * 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.003708/0.7127, allocations: 1.978 MB / 467 MB, free: 5.891 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001454/0.7142, allocations: 0.6153 MB / 467.6 MB, free: 5.238 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/0.7142, allocations: 4 kB / 467.6 MB, free: 5.234 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007234/0.715, allocations: 434.1 kB / 468 MB, free: 4.773 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001338/0.7163, allocations: 153.3 kB / 468.2 MB, free: 4.633 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003779/0.7201, allocations: 1.225 MB / 469.4 MB, free: 3.352 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007026/0.7209, allocations: 0.9413 MB / 470.4 MB, free: 2.379 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006425/0.7215, allocations: 251.3 kB / 470.6 MB, free: 2.133 MB / 378.7 MB Notification: Performance of SimCode: time 4.058e-06/0.7215, allocations: 0 / 470.6 MB, free: 2.133 MB / 378.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_Interaction1CalcHelperMain.o OMCppModelica_trunk_cpp_Modelica_Blocks_Examples_Interaction1CalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica_Blocks_Examples_Interaction1CalcHelperMain.cpp:28: ./OMCppModelica_trunk_cpp_Modelica_Blocks_Examples_Interaction1Functions.cpp:542:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp64.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_Interaction1CalcHelperMain.cpp:35: In file included from ./OMCppModelica_trunk_cpp_Modelica_Blocks_Examples_Interaction1FMU.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_Interaction1CalcHelperMain.o' failed make: *** [OMCppModelica_trunk_cpp_Modelica_Blocks_Examples_Interaction1CalcHelperMain.o] Error 1