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.Test55.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.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.285/2.285, allocations: 235.1 MB / 243 MB, free: 15.69 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.451e-05/2.449e-05, allocations: 4 kB / 303.3 MB, free: 3.332 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3429/0.3429, allocations: 54.86 MB / 358.1 MB, free: 15.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1451/0.488, allocations: 81.62 MB / 439.7 MB, free: 13.91 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002799/0.4884, allocations: 71.97 kB / 439.8 MB, free: 13.84 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.02135/0.5097, allocations: 4.829 MB / 444.6 MB, free: 9.004 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.299e-06/0.5098, allocations: 0 / 444.6 MB, free: 9.004 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.219e-05/0.5098, allocations: 3.938 kB / 444.7 MB, free: 9 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.0005608/0.5104, allocations: 453.6 kB / 445.1 MB, free: 8.5 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.5104, allocations: 12.03 kB / 445.1 MB, free: 8.488 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.8e-05/0.5105, allocations: 7.906 kB / 445.1 MB, free: 8.48 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003289/0.5108, allocations: 194.9 kB / 445.3 MB, free: 8.25 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.5109, allocations: 8 kB / 445.3 MB, free: 8.242 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.687e-05/0.5109, allocations: 4 kB / 445.3 MB, free: 8.238 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.768e-05/0.511, allocations: 19.94 kB / 445.3 MB, free: 8.219 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.5112, allocations: 67.39 kB / 445.4 MB, free: 8.141 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.5112, allocations: 3.953 kB / 445.4 MB, free: 8.137 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.5112, allocations: 0 / 445.4 MB, free: 8.137 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.5112, allocations: 0 / 445.4 MB, free: 8.137 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000429/0.5117, allocations: 277.4 kB / 445.7 MB, free: 7.828 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001537/0.5119, allocations: 50.64 kB / 445.7 MB, free: 7.77 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.814e-05/0.5119, allocations: 24.97 kB / 445.8 MB, free: 7.742 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.231e-05/0.5119, allocations: 0 / 445.8 MB, free: 7.742 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001558/0.5121, allocations: 63.36 kB / 445.8 MB, free: 7.668 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.974e-06/0.5121, allocations: 4 kB / 445.8 MB, free: 7.664 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005789/0.5127, allocations: 154 kB / 446 MB, free: 7.508 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.824e-05/0.5128, allocations: 85.05 kB / 446.1 MB, free: 7.406 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/0.513, allocations: 132.2 kB / 446.2 MB, free: 7.27 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.239e-05/0.513, allocations: 25.7 kB / 446.2 MB, free: 7.238 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.472e-05/0.5131, allocations: 166.5 kB / 446.4 MB, free: 7.074 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.35e-05/0.5131, allocations: 19.75 kB / 446.4 MB, free: 7.055 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.246e-06/0.5131, allocations: 0 / 446.4 MB, free: 7.055 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.5133, allocations: 314.8 kB / 446.7 MB, free: 6.738 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.985e-05/0.5134, allocations: 35.94 kB / 446.7 MB, free: 6.703 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/0.5135, allocations: 46.58 kB / 446.8 MB, free: 6.648 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001014/0.5136, allocations: 31.98 kB / 446.8 MB, free: 6.617 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.5136, allocations: 0 / 446.8 MB, free: 6.617 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000293/0.5139, allocations: 125.5 kB / 446.9 MB, free: 6.488 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.659e-05/0.514, allocations: 40.34 kB / 447 MB, free: 6.445 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.514, allocations: 0 / 447 MB, free: 6.445 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.514, allocations: 4.062 kB / 447 MB, free: 6.441 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001476/0.5142, allocations: 19.94 kB / 447 MB, free: 6.422 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.5142, allocations: 4.172 kB / 447 MB, free: 6.418 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.179e-05/0.5143, allocations: 8 kB / 447 MB, free: 6.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.5143, allocations: 4 kB / 447 MB, free: 6.406 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 9.286e-05/0.5144, allocations: 109 kB / 447.1 MB, free: 6.293 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002154/0.5146, allocations: 93.53 kB / 447.2 MB, free: 6.195 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.51e-05/0.5147, allocations: 7.906 kB / 447.2 MB, free: 6.188 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002894/0.515, allocations: 110.2 kB / 447.3 MB, free: 6.078 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.545e-06/0.515, allocations: 7.984 kB / 447.3 MB, free: 6.07 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.515, allocations: 0 / 447.3 MB, free: 6.07 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.515, allocations: 0 / 447.3 MB, free: 6.07 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005443/0.5156, allocations: 371.9 kB / 447.7 MB, free: 5.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.5156, allocations: 0 / 447.7 MB, free: 5.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.536e-05/0.5157, allocations: 12 kB / 447.7 MB, free: 5.648 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.5157, allocations: 3.984 kB / 447.7 MB, free: 5.645 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.5157, allocations: 4.031 kB / 447.7 MB, free: 5.641 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.5157, allocations: 0 / 447.7 MB, free: 5.641 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.5158, allocations: 8.016 kB / 447.7 MB, free: 5.633 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002798/0.5161, allocations: 214 kB / 447.9 MB, free: 5.398 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.35e-05/0.5162, allocations: 100.9 kB / 448 MB, free: 5.281 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.516e-05/0.5162, allocations: 4 kB / 448 MB, free: 5.277 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.5163, allocations: 4.281 kB / 448 MB, free: 5.273 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.954e-05/0.5164, allocations: 11.92 kB / 448 MB, free: 5.262 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.488e-05/0.5164, allocations: 4 kB / 448 MB, free: 5.258 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001039/0.5165, allocations: 115.2 kB / 448.2 MB, free: 5.145 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5165, allocations: 0 / 448.2 MB, free: 5.145 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004145/0.517, allocations: 47.94 kB / 448.2 MB, free: 5.098 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.001766/0.5187, allocations: 1.148 MB / 449.4 MB, free: 3.965 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002995/0.5191, allocations: 147.3 kB / 449.5 MB, free: 3.809 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/0.5191, allocations: 4.062 kB / 449.5 MB, free: 3.805 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.783e-05/0.5192, allocations: 31.94 kB / 449.5 MB, free: 3.773 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003341/0.5195, allocations: 24.89 kB / 449.6 MB, free: 3.75 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006643/0.5202, allocations: 213.8 kB / 449.8 MB, free: 3.492 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002776/0.5205, allocations: 0.7079 MB / 450.5 MB, free: 2.758 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.387e-05/0.5206, allocations: 35.48 kB / 450.5 MB, free: 2.723 MB / 378.7 MB Notification: Performance of SimCode: time 7.71e-07/0.5206, allocations: 0 / 450.5 MB, free: 2.723 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_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/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/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/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_Test55CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test55CalcHelperMain.o] Error 1