Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test56,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.462/2.462, allocations: 235 MB / 247.6 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.406e-05/4.407e-05, allocations: 8 kB / 305 MB, free: 5.555 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4578/0.4579, allocations: 54.85 MB / 359.9 MB, free: 2.328 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1521/0.61, allocations: 82.27 MB / 442.1 MB, free: 14.61 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002752/0.6104, allocations: 73.03 kB / 442.2 MB, free: 14.54 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmin. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.02213/0.6325, allocations: 4.925 MB / 447.1 MB, free: 9.652 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.6326, allocations: 0 / 447.1 MB, free: 9.652 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.288e-05/0.6326, allocations: 4 kB / 447.1 MB, free: 9.648 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006066/0.6332, allocations: 449.6 kB / 447.6 MB, free: 9.152 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.6333, allocations: 8.031 kB / 447.6 MB, free: 9.145 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.254e-05/0.6333, allocations: 38.56 kB / 447.6 MB, free: 9.098 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.724e-05/0.6334, allocations: 8.469 kB / 447.6 MB, free: 9.09 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003399/0.6338, allocations: 195 kB / 447.8 MB, free: 8.859 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.288e-05/0.6338, allocations: 8 kB / 447.8 MB, free: 8.852 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.825e-05/0.6338, allocations: 11.91 kB / 447.8 MB, free: 8.84 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001768/0.634, allocations: 67.39 kB / 447.9 MB, free: 8.762 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.6341, allocations: 3.953 kB / 447.9 MB, free: 8.758 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.772e-05/0.6341, allocations: 2.531 kB / 447.9 MB, free: 8.758 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.6341, allocations: 3.938 kB / 447.9 MB, free: 8.754 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.699e-05/0.6342, allocations: 23.98 kB / 447.9 MB, free: 8.73 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004588/0.6347, allocations: 284.9 kB / 448.2 MB, free: 8.402 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001634/0.6349, allocations: 58.69 kB / 448.3 MB, free: 8.336 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.523e-05/0.6349, allocations: 24.94 kB / 448.3 MB, free: 8.309 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.635, allocations: 3.984 kB / 448.3 MB, free: 8.305 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001733/0.6351, allocations: 68.2 kB / 448.4 MB, free: 8.227 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.645e-06/0.6352, allocations: 0 / 448.4 MB, free: 8.227 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006283/0.6358, allocations: 161.9 kB / 448.5 MB, free: 8.062 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.842e-05/0.6359, allocations: 81.05 kB / 448.6 MB, free: 7.965 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002028/0.6361, allocations: 135.2 kB / 448.7 MB, free: 7.824 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.733e-05/0.6361, allocations: 29.7 kB / 448.8 MB, free: 7.789 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.093e-05/0.6362, allocations: 166.4 kB / 448.9 MB, free: 7.625 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.067e-05/0.6363, allocations: 23.66 kB / 449 MB, free: 7.602 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.287e-06/0.6363, allocations: 0 / 449 MB, free: 7.602 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.6364, allocations: 322.8 kB / 449.3 MB, free: 7.277 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.443e-05/0.6365, allocations: 31.94 kB / 449.3 MB, free: 7.246 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001162/0.6367, allocations: 59.41 kB / 449.4 MB, free: 7.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001341/0.6368, allocations: 65.64 kB / 449.4 MB, free: 7.109 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.6368, allocations: 0 / 449.4 MB, free: 7.109 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003414/0.6372, allocations: 147.3 kB / 449.6 MB, free: 6.953 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.829e-05/0.6372, allocations: 37.7 kB / 449.6 MB, free: 6.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.6373, allocations: 0 / 449.6 MB, free: 6.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.6373, allocations: 4 kB / 449.6 MB, free: 6.906 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001645/0.6375, allocations: 22.23 kB / 449.6 MB, free: 6.887 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.6375, allocations: 1.781 kB / 449.6 MB, free: 6.887 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.6376, allocations: 4 kB / 449.6 MB, free: 6.883 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.006e-05/0.6376, allocations: 4 kB / 449.6 MB, free: 6.879 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.0001121/0.6378, allocations: 121.4 kB / 449.8 MB, free: 6.754 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.194e-05/0.6378, allocations: 11.89 kB / 449.8 MB, free: 6.742 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003311/0.6381, allocations: 116.2 kB / 449.9 MB, free: 6.625 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.6382, allocations: 4 kB / 449.9 MB, free: 6.621 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.6382, allocations: 4 kB / 449.9 MB, free: 6.617 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/0.6382, allocations: 3.984 kB / 449.9 MB, free: 6.613 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005982/0.6388, allocations: 391.3 kB / 450.3 MB, free: 6.172 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.6388, allocations: 0 / 450.3 MB, free: 6.172 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.35e-05/0.6389, allocations: 15.94 kB / 450.3 MB, free: 6.156 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.6389, allocations: 0 / 450.3 MB, free: 6.156 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/0.639, allocations: 5.406 kB / 450.3 MB, free: 6.152 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.639, allocations: 3.984 kB / 450.3 MB, free: 6.148 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.639, allocations: 4.031 kB / 450.3 MB, free: 6.145 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003098/0.6393, allocations: 217.9 kB / 450.5 MB, free: 5.906 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.877e-05/0.6394, allocations: 93 kB / 450.6 MB, free: 5.797 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.521e-05/0.6395, allocations: 4.875 kB / 450.6 MB, free: 5.793 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.6396, allocations: 4 kB / 450.6 MB, free: 5.789 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.518e-05/0.6397, allocations: 15.98 kB / 450.6 MB, free: 5.773 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/0.6397, allocations: 0 / 450.6 MB, free: 5.773 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001265/0.6398, allocations: 118.2 kB / 450.7 MB, free: 5.66 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6398, allocations: 4 kB / 450.7 MB, free: 5.656 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004647/0.6403, allocations: 51.86 kB / 450.8 MB, free: 5.605 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001979/0.6423, allocations: 1.216 MB / 452 MB, free: 4.445 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003531/0.6427, allocations: 147.3 kB / 452.2 MB, free: 4.289 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.6427, allocations: 0 / 452.2 MB, free: 4.289 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.651e-05/0.6428, allocations: 39.92 kB / 452.2 MB, free: 4.25 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003663/0.6432, allocations: 31.05 kB / 452.2 MB, free: 4.223 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007313/0.6439, allocations: 215.1 kB / 452.4 MB, free: 3.965 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003301/0.6443, allocations: 0.7004 MB / 453.1 MB, free: 3.238 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.913e-05/0.6444, allocations: 35.36 kB / 453.2 MB, free: 3.207 MB / 378.7 MB Notification: Performance of SimCode: time 9.82e-07/0.6444, allocations: 192 / 453.2 MB, free: 3.207 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"." -DUSE_LOGGER -c -o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test56CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test56CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test56CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test56InitializeParameter.cpp:42:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp27; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test56InitializeParameter.cpp:43:16: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Data/Tables/test_v6.mat", tmp27); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test56CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test56Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp9; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test56Initialize.cpp:96:16: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Data/Tables/test_v6.mat", tmp9); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test56Initialize.cpp:301:39: warning: magnitude of floating-point constant too large for type 'double'; maximum is 1.7976931348623157E+308 [-Wliteral-range] if (_t_new_P_nextTimeEventScaled_ < 1.797693134862316e+308) { ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test56Initialize.cpp:304:13: warning: magnitude of floating-point constant too large for type 'double'; maximum is 1.7976931348623157E+308 [-Wliteral-range] tmp17 = 1.797693134862316e+308; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test56Initialize.cpp:362:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp18; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test56Initialize.cpp:363:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource(_functions->_OMC_LIT2, tmp18); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test56CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test56.cpp:208:41: warning: magnitude of floating-point constant too large for type 'double'; maximum is 1.7976931348623157E+308 [-Wliteral-range] if (_t_new_P_nextTimeEventScaled_ < 1.797693134862316e+308) { ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test56.cpp:211:14: warning: magnitude of floating-point constant too large for type 'double'; maximum is 1.7976931348623157E+308 [-Wliteral-range] tmp1 = 1.797693134862316e+308; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test56.cpp:785:24: error: use of undeclared identifier 'tmp4' _t_new_P_fileName_ = tmp4; ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test56CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test56FMU.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) { ^ 5 warnings and 7 errors generated. : recipe for target 'OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test56CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test56CalcHelperMain.o] Error 1