Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test67,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.8/2.8, allocations: 270 MB / 282.6 MB, free: 1.91 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.463e-05/5.473e-05, allocations: 7.938 kB / 347.1 MB, free: 3.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4102/0.4103, allocations: 61.86 MB / 408.9 MB, free: 10.7 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.162/0.5723, allocations: 89.58 MB / 498.5 MB, free: 0.9961 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002638/0.5726, allocations: 75.95 kB / 498.6 MB, free: 0.9219 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05167/0.6243, allocations: 11.33 MB / 0.498 GB, free: 5.57 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.6244, allocations: 0 / 0.498 GB, free: 5.57 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.435e-05/0.6244, allocations: 11.98 kB / 0.498 GB, free: 5.559 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001326/0.6258, allocations: 0.6466 MB / 0.4986 GB, free: 4.863 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/0.6258, allocations: 8.031 kB / 0.4986 GB, free: 4.855 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.536e-05/0.6259, allocations: 42.55 kB / 0.4986 GB, free: 4.805 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001431/0.6261, allocations: 55.33 kB / 0.4987 GB, free: 4.75 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00126/0.6273, allocations: 427 kB / 0.4991 GB, free: 4.293 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.329e-05/0.6274, allocations: 19.95 kB / 0.4991 GB, free: 4.273 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.618e-05/0.6275, allocations: 15.94 kB / 0.4991 GB, free: 4.258 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004807/0.628, allocations: 207.2 kB / 0.4993 GB, free: 4.035 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/0.628, allocations: 0 / 0.4993 GB, free: 4.035 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.225e-05/0.628, allocations: 4 kB / 0.4993 GB, free: 4.031 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.6281, allocations: 7.984 kB / 0.4993 GB, free: 4.023 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003061/0.6284, allocations: 91.91 kB / 0.4994 GB, free: 3.934 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001435/0.6298, allocations: 0.8956 MB / 0.5003 GB, free: 2.973 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006319/0.6305, allocations: 269.8 kB / 0.5006 GB, free: 2.664 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002297/0.6307, allocations: 88.41 kB / 0.5007 GB, free: 2.562 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.715e-05/0.6308, allocations: 8 kB / 0.5007 GB, free: 2.555 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005253/0.6313, allocations: 219.5 kB / 0.5009 GB, free: 2.312 MB / 426.7 MB Notification: Performance of pre-optimization done (n=30): time 3.086e-06/0.6313, allocations: 0 / 0.5009 GB, free: 2.312 MB / 426.7 MB Notification: Performance of matching and sorting (n=40): time 0.002551/0.6339, allocations: 0.8937 MB / 0.5017 GB, free: 1.406 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.736e-05/0.634, allocations: 162.2 kB / 0.5019 GB, free: 1.211 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001172/0.6352, allocations: 0.5554 MB / 0.5024 GB, free: 0.6445 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.981e-05/0.6353, allocations: 37.7 kB / 0.5025 GB, free: 0.6016 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001976/0.6355, allocations: 251.2 kB / 0.5027 GB, free: 364 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001528/0.6356, allocations: 114.4 kB / 0.5028 GB, free: 248 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.726e-05/0.6357, allocations: 12 kB / 0.5028 GB, free: 236 kB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.6358, allocations: 326.8 kB / 0.5031 GB, free: 15.9 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000286/0.6361, allocations: 92.88 kB / 0.5032 GB, free: 15.81 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003512/0.6365, allocations: 172.1 kB / 0.5034 GB, free: 15.61 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003497/0.6369, allocations: 112.2 kB / 0.5035 GB, free: 15.5 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.6369, allocations: 4 kB / 0.5035 GB, free: 15.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009196/0.6378, allocations: 345.2 kB / 0.5038 GB, free: 15.16 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.616e-05/0.6379, allocations: 11.95 kB / 0.5039 GB, free: 15.14 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.6379, allocations: 3.984 kB / 0.5039 GB, free: 15.14 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.805e-05/0.6379, allocations: 4 kB / 0.5039 GB, free: 15.14 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006056/0.6385, allocations: 79.91 kB / 0.5039 GB, free: 15.06 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.777e-05/0.6386, allocations: 11.98 kB / 0.5039 GB, free: 15.05 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00046/0.639, allocations: 24.16 kB / 0.504 GB, free: 15.02 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-05/0.6391, allocations: 15.98 kB / 0.504 GB, free: 15.01 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$PRE.t_s.nextTimeEvent,t_s.nextTimeEvent,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEventScaled,$whenCondition4,$PRE.t_min.nextTimeEvent,t_min.nextTimeEvent,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEventScaled,$whenCondition3,$PRE.t_h.nextTimeEvent,t_h.nextTimeEvent,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEventScaled,$whenCondition2,$PRE.t_d.nextTimeEvent,t_d.nextTimeEvent,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEventScaled,$whenCondition1,$PRE.t_ms.nextTimeEvent,t_ms.nextTimeEvent,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0001738/0.6393, allocations: 143.9 kB / 0.5041 GB, free: 14.86 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001494/0.6394, allocations: 63.23 kB / 0.5042 GB, free: 14.8 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001332/0.6408, allocations: 465.5 kB / 0.5046 GB, free: 14.33 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.237e-05/0.6408, allocations: 11.94 kB / 0.5046 GB, free: 14.32 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.6408, allocations: 4 kB / 0.5046 GB, free: 14.32 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.291e-05/0.6409, allocations: 7.984 kB / 0.5046 GB, free: 14.31 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002549/0.6434, allocations: 1.335 MB / 0.506 GB, free: 12.9 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.578e-06/0.6435, allocations: 4 kB / 0.506 GB, free: 12.89 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003617/0.6438, allocations: 55.91 kB / 0.506 GB, free: 12.84 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.278e-05/0.6439, allocations: 4 kB / 0.506 GB, free: 12.84 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.758e-05/0.6439, allocations: 16.73 kB / 0.506 GB, free: 12.82 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.076e-05/0.6439, allocations: 7.938 kB / 0.506 GB, free: 12.81 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.644, allocations: 4 kB / 0.506 GB, free: 12.81 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001394/0.6454, allocations: 0.9289 MB / 0.5069 GB, free: 11.79 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002619/0.6456, allocations: 160.4 kB / 0.5071 GB, free: 11.61 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001247/0.6458, allocations: 24.41 kB / 0.5071 GB, free: 11.59 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005659/0.6464, allocations: 27.98 kB / 0.5072 GB, free: 11.56 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/0.6465, allocations: 35.94 kB / 0.5072 GB, free: 11.52 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.85e-05/0.6466, allocations: 23.98 kB / 0.5072 GB, free: 11.5 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0009022/0.6475, allocations: 445.5 kB / 0.5076 GB, free: 11.07 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6475, allocations: 7.938 kB / 0.5076 GB, free: 11.06 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0009039/0.6484, allocations: 104 kB / 0.5077 GB, free: 10.96 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.003211/0.6516, allocations: 2.457 MB / 0.5101 GB, free: 8.574 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000855/0.6525, allocations: 271.8 kB / 0.5104 GB, free: 8.309 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.732e-06/0.6526, allocations: 8.062 kB / 0.5104 GB, free: 8.301 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004071/0.653, allocations: 151.8 kB / 0.5106 GB, free: 8.152 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001336/0.6543, allocations: 122.3 kB / 0.5107 GB, free: 8.039 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002655/0.657, allocations: 0.8799 MB / 0.5115 GB, free: 7.09 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005877/0.6576, allocations: 0.8706 MB / 0.5124 GB, free: 6.191 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004373/0.6581, allocations: 179.4 kB / 0.5125 GB, free: 6.02 MB / 442.7 MB Notification: Performance of SimCode: time 1.021e-06/0.6581, allocations: 0 / 0.5125 GB, free: 6.02 MB / 442.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 OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test67CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test67CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test67CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test67Functions.cpp:241:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp25.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 OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test67CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test67FMU.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 'OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test67CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test67CalcHelperMain.o] Error 1