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.Test59.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.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.216/2.216, allocations: 235.1 MB / 243 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.643e-05/2.654e-05, allocations: 8 kB / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3502/0.3503, allocations: 54.86 MB / 358.1 MB, free: 14.88 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1436/0.494, allocations: 81.61 MB / 439.7 MB, free: 13.16 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002657/0.4943, allocations: 71.97 kB / 439.8 MB, free: 13.09 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.02127/0.5156, allocations: 4.836 MB / 444.6 MB, free: 8.242 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.5156, allocations: 0 / 444.6 MB, free: 8.242 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.226e-05/0.5156, allocations: 0 / 444.6 MB, free: 8.242 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.0006008/0.5163, allocations: 461.5 kB / 445.1 MB, free: 7.734 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.5163, allocations: 8.031 kB / 445.1 MB, free: 7.727 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.859e-05/0.5164, allocations: 11.91 kB / 445.1 MB, free: 7.715 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003408/0.5167, allocations: 200.3 kB / 445.3 MB, free: 7.48 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.144e-05/0.5168, allocations: 3.984 kB / 445.3 MB, free: 7.477 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.956e-05/0.5168, allocations: 4 kB / 445.3 MB, free: 7.473 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.641e-05/0.5169, allocations: 16 kB / 445.3 MB, free: 7.457 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.5171, allocations: 67.33 kB / 445.4 MB, free: 7.379 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.5171, allocations: 11.95 kB / 445.4 MB, free: 7.367 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.5171, allocations: 0 / 445.4 MB, free: 7.367 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.5172, allocations: 0 / 445.4 MB, free: 7.367 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004281/0.5176, allocations: 269.4 kB / 445.7 MB, free: 7.066 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001448/0.5178, allocations: 50.69 kB / 445.7 MB, free: 7.008 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.92e-05/0.5178, allocations: 24.92 kB / 445.8 MB, free: 6.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.483e-05/0.5179, allocations: 0 / 445.8 MB, free: 6.98 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001596/0.518, allocations: 71.34 kB / 445.8 MB, free: 6.898 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.923e-06/0.518, allocations: 0 / 445.8 MB, free: 6.898 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005857/0.5186, allocations: 150 kB / 446 MB, free: 6.746 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.926e-05/0.5187, allocations: 77.11 kB / 446 MB, free: 6.652 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001595/0.5189, allocations: 135.4 kB / 446.2 MB, free: 6.512 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.661e-05/0.5189, allocations: 25.7 kB / 446.2 MB, free: 6.48 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.426e-05/0.519, allocations: 166.4 kB / 446.4 MB, free: 6.316 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.534e-05/0.519, allocations: 23.73 kB / 446.4 MB, free: 6.293 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.356e-06/0.5191, allocations: 4 kB / 446.4 MB, free: 6.289 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.5192, allocations: 314.8 kB / 446.7 MB, free: 5.973 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.91e-05/0.5193, allocations: 27.98 kB / 446.7 MB, free: 5.945 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.5194, allocations: 46.58 kB / 446.8 MB, free: 5.891 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001059/0.5196, allocations: 36.02 kB / 446.8 MB, free: 5.855 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.5196, allocations: 4 kB / 446.8 MB, free: 5.852 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002995/0.5199, allocations: 125.5 kB / 446.9 MB, free: 5.723 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.473e-05/0.5199, allocations: 33.78 kB / 447 MB, free: 5.684 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.52, allocations: 7.938 kB / 447 MB, free: 5.676 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.52, allocations: 0 / 447 MB, free: 5.676 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001489/0.5201, allocations: 12.19 kB / 447 MB, free: 5.664 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.5202, allocations: 4 kB / 447 MB, free: 5.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.424e-05/0.5203, allocations: 7.984 kB / 447 MB, free: 5.652 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.229e-05/0.5203, allocations: 12 kB / 447 MB, free: 5.641 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.895e-05/0.5204, allocations: 113 kB / 447.1 MB, free: 5.523 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000225/0.5207, allocations: 97.52 kB / 447.2 MB, free: 5.422 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.478e-05/0.5207, allocations: 7.906 kB / 447.2 MB, free: 5.414 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002965/0.521, allocations: 106.2 kB / 447.3 MB, free: 5.305 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.521, allocations: 0 / 447.3 MB, free: 5.305 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.521, allocations: 0 / 447.3 MB, free: 5.305 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.521, allocations: 3.984 kB / 447.3 MB, free: 5.301 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005409/0.5216, allocations: 379.9 kB / 447.7 MB, free: 4.883 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.5216, allocations: 0 / 447.7 MB, free: 4.883 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.45e-05/0.5217, allocations: 11.98 kB / 447.7 MB, free: 4.871 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.257e-06/0.5217, allocations: 4 kB / 447.7 MB, free: 4.867 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.5217, allocations: 0 / 447.7 MB, free: 4.867 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.5218, allocations: 0 / 447.7 MB, free: 4.867 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.5218, allocations: 0 / 447.7 MB, free: 4.867 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002948/0.5221, allocations: 221.9 kB / 447.9 MB, free: 4.625 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.679e-05/0.5222, allocations: 93 kB / 448 MB, free: 4.516 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.481e-05/0.5222, allocations: 3.984 kB / 448 MB, free: 4.512 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/0.5223, allocations: 4 kB / 448 MB, free: 4.508 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.251e-05/0.5224, allocations: 11.92 kB / 448 MB, free: 4.496 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.819e-05/0.5224, allocations: 7.984 kB / 448 MB, free: 4.488 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001062/0.5225, allocations: 113.1 kB / 448.2 MB, free: 4.379 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.155e-06/0.5226, allocations: 4 kB / 448.2 MB, free: 4.375 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004182/0.523, allocations: 47.88 kB / 448.2 MB, free: 4.328 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.001822/0.5248, allocations: 1.148 MB / 449.4 MB, free: 3.211 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003145/0.5252, allocations: 147.3 kB / 449.5 MB, free: 3.055 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.5252, allocations: 0 / 449.5 MB, free: 3.055 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.614e-05/0.5253, allocations: 31.98 kB / 449.5 MB, free: 3.023 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003632/0.5257, allocations: 20.75 kB / 449.6 MB, free: 3.004 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007268/0.5264, allocations: 221.8 kB / 449.8 MB, free: 2.738 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000298/0.5267, allocations: 0.708 MB / 450.5 MB, free: 2.004 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.296e-05/0.5268, allocations: 27.42 kB / 450.5 MB, free: 1.98 MB / 378.7 MB Notification: Performance of SimCode: time 7.32e-07/0.5268, allocations: 0 / 450.5 MB, free: 1.98 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_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/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/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/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_Test59CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test59CalcHelperMain.o] Error 1