Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test59,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test59",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.332/2.332, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.185e-05/5.192e-05, allocations: 8 kB / 305 MB, free: 5.562 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4703/0.4704, allocations: 54.86 MB / 359.9 MB, free: 2.336 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2155/0.686, allocations: 82.27 MB / 442.1 MB, free: 14.62 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002708/0.6863, allocations: 73.08 kB / 442.2 MB, free: 14.55 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.02249/0.7088, allocations: 4.925 MB / 447.1 MB, free: 9.656 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.7088, allocations: 0 / 447.1 MB, free: 9.656 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.349e-05/0.7089, allocations: 4 kB / 447.1 MB, free: 9.652 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.0006509/0.7095, allocations: 453.6 kB / 447.6 MB, free: 9.152 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.7096, allocations: 12.03 kB / 447.6 MB, free: 9.141 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.715e-05/0.7096, allocations: 30.56 kB / 447.6 MB, free: 9.102 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.43e-05/0.7097, allocations: 7.906 kB / 447.6 MB, free: 9.094 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003709/0.7101, allocations: 199 kB / 447.8 MB, free: 8.859 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.7101, allocations: 0 / 447.8 MB, free: 8.859 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.908e-05/0.7102, allocations: 7.906 kB / 447.8 MB, free: 8.852 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000186/0.7104, allocations: 72.27 kB / 447.9 MB, free: 8.77 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.7104, allocations: 3.953 kB / 447.9 MB, free: 8.766 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/0.7104, allocations: 4 kB / 447.9 MB, free: 8.762 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.7104, allocations: 0 / 447.9 MB, free: 8.762 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.539e-05/0.7105, allocations: 23.92 kB / 447.9 MB, free: 8.738 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005821/0.7111, allocations: 296.9 kB / 448.2 MB, free: 8.398 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002181/0.7114, allocations: 50.69 kB / 448.3 MB, free: 8.34 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.356e-05/0.7115, allocations: 24.94 kB / 448.3 MB, free: 8.312 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.7115, allocations: 4 kB / 448.3 MB, free: 8.309 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002159/0.7117, allocations: 72.77 kB / 448.4 MB, free: 8.227 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.815e-06/0.7117, allocations: 0.6562 kB / 448.4 MB, free: 8.227 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006868/0.7124, allocations: 153.3 kB / 448.5 MB, free: 8.07 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.744e-05/0.7125, allocations: 81.11 kB / 448.6 MB, free: 7.973 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001982/0.7127, allocations: 135 kB / 448.7 MB, free: 7.832 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4e-05/0.7128, allocations: 29.7 kB / 448.8 MB, free: 7.797 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/0.7129, allocations: 162.5 kB / 448.9 MB, free: 7.637 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.138e-05/0.7131, allocations: 23.66 kB / 448.9 MB, free: 7.613 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-05/0.7131, allocations: 10.34 kB / 449 MB, free: 7.605 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002396/0.7134, allocations: 318.8 kB / 449.3 MB, free: 7.285 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001893/0.7136, allocations: 32 kB / 449.3 MB, free: 7.254 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001727/0.7138, allocations: 51.42 kB / 449.3 MB, free: 7.195 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002286/0.7141, allocations: 69.62 kB / 449.4 MB, free: 7.121 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.7141, allocations: 0 / 449.4 MB, free: 7.121 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005463/0.7146, allocations: 155.3 kB / 449.6 MB, free: 6.957 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.315e-05/0.7147, allocations: 29.7 kB / 449.6 MB, free: 6.922 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/0.7147, allocations: 4 kB / 449.6 MB, free: 6.918 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.7148, allocations: 0 / 449.6 MB, free: 6.918 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001699/0.7149, allocations: 20.05 kB / 449.6 MB, free: 6.898 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-05/0.715, allocations: 4 kB / 449.6 MB, free: 6.895 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001199/0.7151, allocations: 5.312 kB / 449.6 MB, free: 6.891 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.123e-05/0.7151, allocations: 8 kB / 449.6 MB, free: 6.883 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.0001413/0.7153, allocations: 113.4 kB / 449.7 MB, free: 6.766 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.718e-05/0.7153, allocations: 15.89 kB / 449.8 MB, free: 6.75 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003589/0.7157, allocations: 112.2 kB / 449.9 MB, free: 6.637 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.7157, allocations: 3.938 kB / 449.9 MB, free: 6.633 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.7157, allocations: 5.219 kB / 449.9 MB, free: 6.629 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.7158, allocations: 0 / 449.9 MB, free: 6.629 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006499/0.7164, allocations: 399.3 kB / 450.3 MB, free: 6.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.7164, allocations: 0 / 450.3 MB, free: 6.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.408e-05/0.7165, allocations: 15.92 kB / 450.3 MB, free: 6.164 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.047e-05/0.7166, allocations: 4.875 kB / 450.3 MB, free: 6.16 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.7166, allocations: 0 / 450.3 MB, free: 6.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.596e-06/0.7166, allocations: 0 / 450.3 MB, free: 6.16 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.7166, allocations: 4.031 kB / 450.3 MB, free: 6.156 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003353/0.717, allocations: 222.9 kB / 450.5 MB, free: 5.914 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.978e-05/0.7171, allocations: 97 kB / 450.6 MB, free: 5.801 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.517e-05/0.7171, allocations: 0 / 450.6 MB, free: 5.801 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001381/0.7173, allocations: 8.188 kB / 450.6 MB, free: 5.793 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.379e-05/0.7173, allocations: 15.98 kB / 450.6 MB, free: 5.777 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.671e-05/0.7174, allocations: 4 kB / 450.6 MB, free: 5.773 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001374/0.7175, allocations: 118.1 kB / 450.8 MB, free: 5.66 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.515e-06/0.7175, allocations: 0 / 450.8 MB, free: 5.66 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000446/0.718, allocations: 55.84 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.002129/0.7201, allocations: 1.208 MB / 452 MB, free: 4.453 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003935/0.7206, allocations: 147.3 kB / 452.2 MB, free: 4.297 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.7206, allocations: 0 / 452.2 MB, free: 4.297 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001059/0.7207, allocations: 35.92 kB / 452.2 MB, free: 4.262 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003701/0.7211, allocations: 35.03 kB / 452.2 MB, free: 4.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000737/0.7218, allocations: 219.1 kB / 452.4 MB, free: 3.969 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003275/0.7222, allocations: 0.7004 MB / 453.1 MB, free: 3.242 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.617e-05/0.7223, allocations: 31.42 kB / 453.2 MB, free: 3.215 MB / 378.7 MB Notification: Performance of SimCode: time 4.639e-06/0.7223, allocations: 0 / 453.2 MB, free: 3.215 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_Test59CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test59CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test59CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test59InitializeParameter.cpp:42:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp27; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test59InitializeParameter.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_Test59CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test59Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp9; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test59Initialize.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_Test59Initialize.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_Test59Initialize.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_Test59Initialize.cpp:362:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp18; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test59Initialize.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_Test59CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test59.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_Test59.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_Test59.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_Test59CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test59FMU.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_Test59CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test59CalcHelperMain.o] Error 1