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.Test56.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.Test56,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.322/2.322, allocations: 235.1 MB / 243 MB, free: 9.574 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.433e-05/2.413e-05, allocations: 4 kB / 303.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.3337, allocations: 54.85 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1441/0.4779, allocations: 81.6 MB / 439.7 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002667/0.4782, allocations: 79.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.02088/0.4991, allocations: 4.824 MB / 444.6 MB, free: 8.23 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.4992, allocations: 0 / 444.6 MB, free: 8.23 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.139e-05/0.4992, allocations: 4 kB / 444.6 MB, free: 8.227 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.0005711/0.4998, allocations: 461.5 kB / 445.1 MB, free: 7.719 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.4998, allocations: 8.031 kB / 445.1 MB, free: 7.711 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.356e-05/0.4999, allocations: 7.906 kB / 445.1 MB, free: 7.703 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003377/0.5003, allocations: 204.3 kB / 445.3 MB, free: 7.465 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.5003, allocations: 3.984 kB / 445.3 MB, free: 7.461 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.876e-05/0.5003, allocations: 7.984 kB / 445.3 MB, free: 7.453 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.575e-05/0.5004, allocations: 19.94 kB / 445.3 MB, free: 7.434 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.5006, allocations: 63.39 kB / 445.4 MB, free: 7.359 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.5006, allocations: 7.953 kB / 445.4 MB, free: 7.352 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.5006, allocations: 0 / 445.4 MB, free: 7.352 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.812e-06/0.5007, allocations: 4 kB / 445.4 MB, free: 7.348 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004135/0.5011, allocations: 269.4 kB / 445.7 MB, free: 7.047 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001423/0.5012, allocations: 54.62 kB / 445.7 MB, free: 6.984 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.518e-05/0.5013, allocations: 20.98 kB / 445.7 MB, free: 6.961 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.5013, allocations: 0 / 445.7 MB, free: 6.961 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001557/0.5015, allocations: 71.34 kB / 445.8 MB, free: 6.879 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.114e-06/0.5015, allocations: 3.938 kB / 445.8 MB, free: 6.875 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005847/0.5021, allocations: 146 kB / 446 MB, free: 6.727 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/0.5022, allocations: 85.09 kB / 446 MB, free: 6.625 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/0.5023, allocations: 127.4 kB / 446.2 MB, free: 6.492 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.739e-05/0.5024, allocations: 33.7 kB / 446.2 MB, free: 6.453 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.761e-05/0.5025, allocations: 162.4 kB / 446.4 MB, free: 6.293 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.721e-05/0.5025, allocations: 23.73 kB / 446.4 MB, free: 6.27 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.255e-06/0.5025, allocations: 0 / 446.4 MB, free: 6.27 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.5027, allocations: 318.8 kB / 446.7 MB, free: 5.949 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.292e-05/0.5028, allocations: 31.98 kB / 446.7 MB, free: 5.918 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.79e-05/0.5029, allocations: 43.84 kB / 446.8 MB, free: 5.867 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001028/0.503, allocations: 40.02 kB / 446.8 MB, free: 5.828 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.503, allocations: 0 / 446.8 MB, free: 5.828 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002854/0.5033, allocations: 121.5 kB / 446.9 MB, free: 5.703 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.442e-05/0.5033, allocations: 37.7 kB / 447 MB, free: 5.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.5034, allocations: 3.984 kB / 447 MB, free: 5.656 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.5034, allocations: 4 kB / 447 MB, free: 5.652 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000143/0.5035, allocations: 15.94 kB / 447 MB, free: 5.637 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.401e-06/0.5036, allocations: 192 / 447 MB, free: 5.637 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.031e-05/0.5037, allocations: 8 kB / 447 MB, free: 5.629 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.931e-05/0.5037, allocations: 8.016 kB / 447 MB, free: 5.621 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 8.699e-05/0.5038, allocations: 109 kB / 447.1 MB, free: 5.508 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002208/0.504, allocations: 101.5 kB / 447.2 MB, free: 5.402 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.572e-05/0.5041, allocations: 11.89 kB / 447.2 MB, free: 5.391 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002837/0.5044, allocations: 106.2 kB / 447.3 MB, free: 5.281 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.5044, allocations: 0 / 447.3 MB, free: 5.281 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.5044, allocations: 0 / 447.3 MB, free: 5.281 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.5044, allocations: 0 / 447.3 MB, free: 5.281 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005181/0.5049, allocations: 379.9 kB / 447.7 MB, free: 4.863 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.5049, allocations: 0 / 447.7 MB, free: 4.863 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.309e-05/0.505, allocations: 11.98 kB / 447.7 MB, free: 4.852 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.505, allocations: 0 / 447.7 MB, free: 4.852 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.694e-05/0.5051, allocations: 8 kB / 447.7 MB, free: 4.844 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.5051, allocations: 0 / 447.7 MB, free: 4.844 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.5051, allocations: 3.938 kB / 447.7 MB, free: 4.84 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000277/0.5054, allocations: 214.1 kB / 447.9 MB, free: 4.605 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.359e-05/0.5055, allocations: 97 kB / 448 MB, free: 4.492 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.095e-05/0.5055, allocations: 0 / 448 MB, free: 4.492 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001238/0.5056, allocations: 7.984 kB / 448 MB, free: 4.484 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.467e-05/0.5057, allocations: 15.88 kB / 448 MB, free: 4.469 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.5057, allocations: 0 / 448 MB, free: 4.469 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001049/0.5058, allocations: 113.8 kB / 448.2 MB, free: 4.359 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5059, allocations: 4 kB / 448.2 MB, free: 4.355 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004123/0.5063, allocations: 47.92 kB / 448.2 MB, free: 4.309 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.001742/0.508, allocations: 1.159 MB / 449.4 MB, free: 3.184 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002926/0.5083, allocations: 147.3 kB / 449.5 MB, free: 3.027 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.5084, allocations: 0 / 449.5 MB, free: 3.027 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.91e-05/0.5084, allocations: 23.94 kB / 449.5 MB, free: 3.004 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003405/0.5088, allocations: 24.75 kB / 449.6 MB, free: 2.98 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006896/0.5095, allocations: 221.9 kB / 449.8 MB, free: 2.715 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003/0.5098, allocations: 0.7001 MB / 450.5 MB, free: 1.988 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.692e-05/0.5099, allocations: 31.42 kB / 450.5 MB, free: 1.961 MB / 378.7 MB Notification: Performance of SimCode: time 7.51e-07/0.5099, allocations: 0 / 450.5 MB, free: 1.961 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_Test56CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test56CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test56CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test56InitializeParameter.cpp:42:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp27; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test56InitializeParameter.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_v6.mat", tmp27); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test56CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test56Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp9; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test56Initialize.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_v6.mat", tmp9); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test56Initialize.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_Test56Initialize.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_Test56Initialize.cpp:362:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp18; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test56Initialize.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_Test56CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test56.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_Test56.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_Test56.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_Test56CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test56FMU.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_Test56CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test56CalcHelperMain.o] Error 1