Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test55,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.461/2.461, allocations: 235 MB / 247.6 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.556e-05/4.576e-05, allocations: 12.92 kB / 305 MB, free: 5.562 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4019/0.4019, allocations: 54.86 MB / 359.9 MB, free: 2.332 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1602/0.5622, allocations: 82.27 MB / 442.1 MB, free: 14.63 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002939/0.5626, allocations: 71.95 kB / 442.2 MB, free: 14.56 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.02214/0.5848, allocations: 4.925 MB / 447.1 MB, free: 9.668 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.5848, allocations: 0 / 447.1 MB, free: 9.668 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.771e-05/0.5848, allocations: 4.547 kB / 447.1 MB, free: 9.664 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.0006615/0.5855, allocations: 453.6 kB / 447.6 MB, free: 9.164 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/0.5856, allocations: 8.031 kB / 447.6 MB, free: 9.156 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.708e-05/0.5856, allocations: 34.56 kB / 447.6 MB, free: 9.113 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.287e-05/0.5857, allocations: 11.89 kB / 447.6 MB, free: 9.102 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003543/0.5861, allocations: 191 kB / 447.8 MB, free: 8.875 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/0.5861, allocations: 4 kB / 447.8 MB, free: 8.871 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.981e-05/0.5862, allocations: 7.906 kB / 447.8 MB, free: 8.863 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001964/0.5864, allocations: 75.39 kB / 447.9 MB, free: 8.777 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.5864, allocations: 3.953 kB / 447.9 MB, free: 8.773 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.5864, allocations: 0 / 447.9 MB, free: 8.773 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.5864, allocations: 0 / 447.9 MB, free: 8.773 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.041e-05/0.5865, allocations: 23.92 kB / 447.9 MB, free: 8.75 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005095/0.5871, allocations: 292.9 kB / 448.2 MB, free: 8.414 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002099/0.5873, allocations: 58.69 kB / 448.3 MB, free: 8.348 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.839e-05/0.5874, allocations: 29.86 kB / 448.3 MB, free: 8.316 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.5874, allocations: 0 / 448.3 MB, free: 8.316 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001747/0.5876, allocations: 64.03 kB / 448.4 MB, free: 8.242 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.084e-06/0.5876, allocations: 0 / 448.4 MB, free: 8.242 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000645/0.5883, allocations: 161.3 kB / 448.5 MB, free: 8.078 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.906e-05/0.5883, allocations: 81.11 kB / 448.6 MB, free: 7.98 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000192/0.5885, allocations: 139 kB / 448.7 MB, free: 7.836 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.508e-05/0.5886, allocations: 33.7 kB / 448.8 MB, free: 7.797 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.113e-05/0.5887, allocations: 158.5 kB / 448.9 MB, free: 7.641 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.206e-05/0.5888, allocations: 23.66 kB / 449 MB, free: 7.617 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.72e-05/0.5888, allocations: 4.938 kB / 449 MB, free: 7.613 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.5889, allocations: 322.8 kB / 449.3 MB, free: 7.289 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.426e-05/0.589, allocations: 24 kB / 449.3 MB, free: 7.266 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001266/0.5892, allocations: 62.56 kB / 449.4 MB, free: 7.195 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001374/0.5893, allocations: 65.64 kB / 449.4 MB, free: 7.125 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.5893, allocations: 0 / 449.4 MB, free: 7.125 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003574/0.5897, allocations: 151.3 kB / 449.6 MB, free: 6.965 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.715e-05/0.5898, allocations: 31.42 kB / 449.6 MB, free: 6.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.5898, allocations: 0 / 449.6 MB, free: 6.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.5898, allocations: 4.562 kB / 449.6 MB, free: 6.926 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001637/0.59, allocations: 20.05 kB / 449.6 MB, free: 6.906 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.465e-06/0.59, allocations: 1.016 kB / 449.6 MB, free: 6.906 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001093/0.5901, allocations: 8 kB / 449.6 MB, free: 6.898 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.995e-05/0.5902, allocations: 4 kB / 449.6 MB, free: 6.895 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.0001101/0.5903, allocations: 125.4 kB / 449.8 MB, free: 6.766 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.058e-05/0.5903, allocations: 9.5 kB / 449.8 MB, free: 6.758 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003283/0.5907, allocations: 110.2 kB / 449.9 MB, free: 6.645 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.5907, allocations: 3.938 kB / 449.9 MB, free: 6.641 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.5907, allocations: 7.984 kB / 449.9 MB, free: 6.633 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.5907, allocations: 0 / 449.9 MB, free: 6.633 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006282/0.5914, allocations: 397.3 kB / 450.3 MB, free: 6.188 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.5914, allocations: 0 / 450.3 MB, free: 6.188 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.737e-05/0.5915, allocations: 11.94 kB / 450.3 MB, free: 6.176 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.593e-06/0.5915, allocations: 3.984 kB / 450.3 MB, free: 6.172 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.712e-05/0.5915, allocations: 7.984 kB / 450.3 MB, free: 6.164 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.5915, allocations: 0 / 450.3 MB, free: 6.164 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.5915, allocations: 0.9375 kB / 450.3 MB, free: 6.164 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00031/0.5918, allocations: 221.9 kB / 450.5 MB, free: 5.922 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.204e-05/0.592, allocations: 97 kB / 450.6 MB, free: 5.809 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.618e-05/0.592, allocations: 4 kB / 450.6 MB, free: 5.805 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/0.5921, allocations: 4.562 kB / 450.6 MB, free: 5.801 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.617e-05/0.5922, allocations: 7.984 kB / 450.6 MB, free: 5.793 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.325e-05/0.5922, allocations: 4 kB / 450.6 MB, free: 5.789 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001381/0.5924, allocations: 122.5 kB / 450.7 MB, free: 5.672 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.186e-06/0.5924, allocations: 0 / 450.7 MB, free: 5.672 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004311/0.5928, allocations: 51.86 kB / 450.8 MB, free: 5.621 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.002009/0.5949, allocations: 1.214 MB / 452 MB, free: 4.461 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003913/0.5953, allocations: 139.3 kB / 452.1 MB, free: 4.312 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.201e-06/0.5953, allocations: 4 kB / 452.2 MB, free: 4.309 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001025/0.5954, allocations: 39.91 kB / 452.2 MB, free: 4.27 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003882/0.5958, allocations: 24 kB / 452.2 MB, free: 4.246 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007848/0.5966, allocations: 227.1 kB / 452.4 MB, free: 3.977 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003476/0.597, allocations: 0.7004 MB / 453.1 MB, free: 3.25 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.5971, allocations: 31.42 kB / 453.2 MB, free: 3.223 MB / 378.7 MB Notification: Performance of SimCode: time 3.737e-06/0.5971, allocations: 0 / 453.2 MB, free: 3.223 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_Test55CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test55CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test55CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test55InitializeParameter.cpp:42:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp27; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test55InitializeParameter.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_v4.mat", tmp27); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test55CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test55Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp9; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test55Initialize.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_v4.mat", tmp9); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test55Initialize.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_Test55Initialize.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_Test55Initialize.cpp:362:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp18; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test55Initialize.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_Test55CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test55.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_Test55.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_Test55.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_Test55CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test55FMU.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_Test55CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test55CalcHelperMain.o] Error 1