Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test60,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.863/2.863, allocations: 235 MB / 247.6 MB, free: 14.61 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.421e-05/4.433e-05, allocations: 4 kB / 305 MB, free: 5.785 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4489/0.449, allocations: 54.86 MB / 359.9 MB, free: 2.23 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2156/0.6647, allocations: 82.26 MB / 442.1 MB, free: 14.66 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002948/0.665, allocations: 72.62 kB / 442.2 MB, free: 14.59 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.02292/0.688, allocations: 4.928 MB / 447.1 MB, free: 9.695 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.688, allocations: 0 / 447.1 MB, free: 9.695 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.37e-05/0.6881, allocations: 2.344 kB / 447.1 MB, free: 9.695 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.0006936/0.6888, allocations: 453.5 kB / 447.6 MB, free: 9.195 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/0.6888, allocations: 11.97 kB / 447.6 MB, free: 9.184 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.544e-05/0.6889, allocations: 42.55 kB / 447.6 MB, free: 9.133 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.73e-05/0.689, allocations: 11.91 kB / 447.6 MB, free: 9.121 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003716/0.6893, allocations: 191 kB / 447.8 MB, free: 8.895 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.483e-05/0.6894, allocations: 7.984 kB / 447.8 MB, free: 8.887 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.952e-05/0.6894, allocations: 8 kB / 447.8 MB, free: 8.879 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000195/0.6896, allocations: 68.27 kB / 447.9 MB, free: 8.801 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.6897, allocations: 0 / 447.9 MB, free: 8.801 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.766e-05/0.6897, allocations: 7.953 kB / 447.9 MB, free: 8.793 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.6897, allocations: 0 / 447.9 MB, free: 8.793 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.196e-05/0.6898, allocations: 19.94 kB / 447.9 MB, free: 8.773 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005084/0.6903, allocations: 296.8 kB / 448.2 MB, free: 8.434 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002094/0.6906, allocations: 54.69 kB / 448.3 MB, free: 8.371 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.254e-05/0.6906, allocations: 16.98 kB / 448.3 MB, free: 8.352 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.6907, allocations: 11.95 kB / 448.3 MB, free: 8.34 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001882/0.6909, allocations: 71.33 kB / 448.4 MB, free: 8.258 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.535e-06/0.6909, allocations: 0 / 448.4 MB, free: 8.258 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006758/0.6916, allocations: 157.3 kB / 448.5 MB, free: 8.098 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.777e-05/0.6917, allocations: 77.11 kB / 448.6 MB, free: 8.004 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001959/0.6919, allocations: 139 kB / 448.7 MB, free: 7.859 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.371e-05/0.6919, allocations: 33.7 kB / 448.8 MB, free: 7.82 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.566e-05/0.692, allocations: 166.5 kB / 448.9 MB, free: 7.656 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.977e-05/0.6921, allocations: 23.73 kB / 449 MB, free: 7.633 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.277e-06/0.6921, allocations: 1.219 kB / 449 MB, free: 7.633 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.6922, allocations: 318.8 kB / 449.3 MB, free: 7.312 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.294e-05/0.6923, allocations: 27.94 kB / 449.3 MB, free: 7.285 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001244/0.6925, allocations: 55.41 kB / 449.3 MB, free: 7.223 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001352/0.6926, allocations: 61.72 kB / 449.4 MB, free: 7.156 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.6926, allocations: 11.95 kB / 449.4 MB, free: 7.145 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003716/0.693, allocations: 151.2 kB / 449.6 MB, free: 6.984 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.787e-05/0.6931, allocations: 37.69 kB / 449.6 MB, free: 6.941 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.6931, allocations: 0 / 449.6 MB, free: 6.941 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/0.6931, allocations: 4 kB / 449.6 MB, free: 6.938 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001729/0.6933, allocations: 16 kB / 449.6 MB, free: 6.922 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.6933, allocations: 0 / 449.6 MB, free: 6.922 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001108/0.6935, allocations: 5.031 kB / 449.6 MB, free: 6.918 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.392e-05/0.6935, allocations: 7.984 kB / 449.6 MB, free: 6.91 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.0001208/0.6936, allocations: 125.5 kB / 449.8 MB, free: 6.781 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.431e-05/0.6937, allocations: 11.86 kB / 449.8 MB, free: 6.77 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003481/0.694, allocations: 106.3 kB / 449.9 MB, free: 6.66 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/0.6941, allocations: 4.188 kB / 449.9 MB, free: 6.656 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.6941, allocations: 3.938 kB / 449.9 MB, free: 6.652 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.6941, allocations: 3.938 kB / 449.9 MB, free: 6.648 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006756/0.6948, allocations: 403.2 kB / 450.3 MB, free: 6.195 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.6948, allocations: 0 / 450.3 MB, free: 6.195 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.54e-05/0.6949, allocations: 15.92 kB / 450.3 MB, free: 6.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.772e-06/0.6949, allocations: 0 / 450.3 MB, free: 6.18 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.05e-05/0.695, allocations: 8 kB / 450.3 MB, free: 6.172 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.695, allocations: 0 / 450.3 MB, free: 6.172 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.695, allocations: 0 / 450.3 MB, free: 6.172 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003553/0.6954, allocations: 221.9 kB / 450.5 MB, free: 5.93 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.6955, allocations: 89 kB / 450.6 MB, free: 5.824 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.182e-05/0.6955, allocations: 8 kB / 450.6 MB, free: 5.816 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001367/0.6957, allocations: 7.984 kB / 450.6 MB, free: 5.809 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.081e-05/0.6957, allocations: 4 kB / 450.6 MB, free: 5.805 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.625e-05/0.6958, allocations: 4.188 kB / 450.6 MB, free: 5.801 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001413/0.6959, allocations: 114.1 kB / 450.7 MB, free: 5.691 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.6959, allocations: 0 / 450.7 MB, free: 5.691 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000485/0.6964, allocations: 59.86 kB / 450.8 MB, free: 5.633 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.002252/0.6987, allocations: 1.212 MB / 452 MB, free: 4.473 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004175/0.6991, allocations: 151.3 kB / 452.2 MB, free: 4.312 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.6992, allocations: 0 / 452.2 MB, free: 4.312 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.899e-05/0.6993, allocations: 27.94 kB / 452.2 MB, free: 4.285 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003879/0.6997, allocations: 30.92 kB / 452.2 MB, free: 4.258 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008354/0.7005, allocations: 219.1 kB / 452.4 MB, free: 3.996 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003858/0.7009, allocations: 0.7044 MB / 453.1 MB, free: 3.266 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.7011, allocations: 31.42 kB / 453.2 MB, free: 3.238 MB / 378.7 MB Notification: Performance of SimCode: time 1.413e-06/0.7011, allocations: 0 / 453.2 MB, free: 3.238 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_Test60CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test60CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test60CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test60InitializeParameter.cpp:42:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp27; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test60InitializeParameter.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.txt", tmp27); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test60CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test60Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp9; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test60Initialize.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.txt", tmp9); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test60Initialize.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_Test60Initialize.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_Test60Initialize.cpp:362:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp18; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test60Initialize.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_Test60CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test60.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_Test60.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_Test60.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_Test60CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test60FMU.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_Test60CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test60CalcHelperMain.o] Error 1