Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test50.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.224/2.224, allocations: 235.1 MB / 243 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.384e-05/2.395e-05, allocations: 4 kB / 303.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3303/0.3304, allocations: 54.85 MB / 358.1 MB, free: 14.87 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.143/0.4735, allocations: 81.61 MB / 439.7 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002542/0.4738, allocations: 75.95 kB / 439.8 MB, free: 13.06 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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/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.0222/0.496, allocations: 5.086 MB / 444.9 MB, free: 7.969 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.496, allocations: 4 kB / 444.9 MB, free: 7.965 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.661e-05/0.496, allocations: 4 kB / 444.9 MB, free: 7.961 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006261/0.4967, allocations: 459.6 kB / 445.4 MB, free: 7.457 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.4967, allocations: 8.031 kB / 445.4 MB, free: 7.449 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.482e-05/0.4968, allocations: 11.91 kB / 445.4 MB, free: 7.438 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003617/0.4972, allocations: 202.9 kB / 445.6 MB, free: 7.199 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.4972, allocations: 0 / 445.6 MB, free: 7.199 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.275e-05/0.4973, allocations: 4 kB / 445.6 MB, free: 7.195 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001351/0.4974, allocations: 35.94 kB / 445.6 MB, free: 7.16 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001732/0.4976, allocations: 83.36 kB / 445.7 MB, free: 7.066 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.4976, allocations: 0 / 445.7 MB, free: 7.066 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.704e-05/0.4977, allocations: 0 / 445.7 MB, free: 7.066 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.4977, allocations: 3.938 kB / 445.7 MB, free: 7.062 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004794/0.4982, allocations: 289.3 kB / 446 MB, free: 6.742 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002047/0.4984, allocations: 70.64 kB / 446.1 MB, free: 6.664 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.089e-05/0.4985, allocations: 24.97 kB / 446.1 MB, free: 6.637 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.4985, allocations: 4 kB / 446.1 MB, free: 6.633 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001709/0.4987, allocations: 72.2 kB / 446.2 MB, free: 6.551 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.994e-06/0.4987, allocations: 0 / 446.2 MB, free: 6.551 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006659/0.4994, allocations: 173.4 kB / 446.3 MB, free: 6.375 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.594e-05/0.4994, allocations: 81.11 kB / 446.4 MB, free: 6.277 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000214/0.4997, allocations: 148.6 kB / 446.5 MB, free: 6.125 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.718e-05/0.4997, allocations: 33.64 kB / 446.6 MB, free: 6.086 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.068e-05/0.4998, allocations: 158.5 kB / 446.7 MB, free: 5.93 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.965e-05/0.4998, allocations: 27.7 kB / 446.8 MB, free: 5.902 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.936e-06/0.4999, allocations: 0 / 446.8 MB, free: 5.902 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.5, allocations: 314.8 kB / 447.1 MB, free: 5.586 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.861e-05/0.5001, allocations: 35.98 kB / 447.1 MB, free: 5.551 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001131/0.5002, allocations: 54.58 kB / 447.2 MB, free: 5.488 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001267/0.5003, allocations: 48.06 kB / 447.2 MB, free: 5.441 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.5004, allocations: 3.938 kB / 447.2 MB, free: 5.438 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003434/0.5007, allocations: 137.5 kB / 447.3 MB, free: 5.297 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.523e-05/0.5008, allocations: 33.7 kB / 447.4 MB, free: 5.258 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.5008, allocations: 0 / 447.4 MB, free: 5.258 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.5008, allocations: 3.984 kB / 447.4 MB, free: 5.254 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001687/0.501, allocations: 20 kB / 447.4 MB, free: 5.234 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.501, allocations: 4.062 kB / 447.4 MB, free: 5.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.935e-05/0.5011, allocations: 4 kB / 447.4 MB, free: 5.227 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.336e-05/0.5012, allocations: 7.984 kB / 447.4 MB, free: 5.219 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 (12): * Single equations (assignments): 11 * 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.0001003/0.5013, allocations: 112.9 kB / 447.5 MB, free: 5.102 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002644/0.5015, allocations: 113.8 kB / 447.6 MB, free: 4.984 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.997e-05/0.5016, allocations: 11.81 kB / 447.6 MB, free: 4.973 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003622/0.502, allocations: 134.1 kB / 447.8 MB, free: 4.832 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.502, allocations: 4 kB / 447.8 MB, free: 4.828 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.502, allocations: 3.984 kB / 447.8 MB, free: 4.824 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.502, allocations: 4 kB / 447.8 MB, free: 4.82 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000629/0.5027, allocations: 391.8 kB / 448.2 MB, free: 4.391 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.5027, allocations: 0 / 448.2 MB, free: 4.391 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.5028, allocations: 15.98 kB / 448.2 MB, free: 4.375 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.184e-06/0.5028, allocations: 0 / 448.2 MB, free: 4.375 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.697e-05/0.5028, allocations: 11.92 kB / 448.2 MB, free: 4.363 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/0.5028, allocations: 0 / 448.2 MB, free: 4.363 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.5029, allocations: 4.031 kB / 448.2 MB, free: 4.359 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003451/0.5032, allocations: 241.8 kB / 448.4 MB, free: 4.098 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.509e-05/0.5033, allocations: 93 kB / 448.5 MB, free: 3.988 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.963e-05/0.5034, allocations: 4 kB / 448.5 MB, free: 3.984 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/0.5035, allocations: 4 kB / 448.5 MB, free: 3.98 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.595e-05/0.5036, allocations: 12.27 kB / 448.6 MB, free: 3.969 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/0.5036, allocations: 4 kB / 448.6 MB, free: 3.965 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001203/0.5038, allocations: 115.8 kB / 448.7 MB, free: 3.852 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.5038, allocations: 3.938 kB / 448.7 MB, free: 3.848 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004344/0.5042, allocations: 51.89 kB / 448.7 MB, free: 3.797 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 (11): * Single equations (assignments): 9 * 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.001847/0.5061, allocations: 1.178 MB / 449.9 MB, free: 2.656 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003621/0.5065, allocations: 155.4 kB / 450.1 MB, free: 2.492 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.5065, allocations: 0 / 450.1 MB, free: 2.492 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000111/0.5066, allocations: 47.97 kB / 450.1 MB, free: 2.445 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003603/0.507, allocations: 20.75 kB / 450.1 MB, free: 2.426 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008013/0.5078, allocations: 245.4 kB / 450.4 MB, free: 2.141 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000284/0.5081, allocations: 0.7041 MB / 451.1 MB, free: 1.41 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001192/0.5082, allocations: 39.41 kB / 451.1 MB, free: 1.375 MB / 378.7 MB Notification: Performance of SimCode: time 9.62e-07/0.5083, allocations: 4.062 kB / 451.1 MB, free: 1.371 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=7 -DPMC_USE_SUNDIALS -DFMU_BUILD -DRUNTIME_STATIC_LINKING -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/cpp" -I"." -I"." -I"." -DUSE_LOGGER -c -o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test50CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test50CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test50CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test50InitializeParameter.cpp:44:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp29; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test50InitializeParameter.cpp:45:16: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Data/Tables/test.txt", tmp29); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test50CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test50Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp10; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test50Initialize.cpp:96:16: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Data/Tables/test.txt", tmp10); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test50Initialize.cpp:313: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_Test50Initialize.cpp:316:13: warning: magnitude of floating-point constant too large for type 'double'; maximum is 1.7976931348623157E+308 [-Wliteral-range] tmp19 = 1.797693134862316e+308; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test50Initialize.cpp:375:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp20; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test50Initialize.cpp:376:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource(_functions->_OMC_LIT2, tmp20); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test50CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test50.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_Test50.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_Test50.cpp:807:24: error: use of undeclared identifier 'tmp5' _t_new_P_fileName_ = tmp5; ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test50CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test50FMU.cpp:11: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/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_Test50CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test50CalcHelperMain.o] Error 1