Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test18.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test18,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test18",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.918/1.918, allocations: 209.2 MB / 224.8 MB, free: 0.7656 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006314/0.0006315, allocations: 15.94 kB / 282.6 MB, free: 9.609 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.107, allocations: 48.7 MB / 331.3 MB, free: 8.809 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test18): time 0.00231/0.1094, allocations: 1.218 MB / 332.5 MB, free: 7.578 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001568/0.111, allocations: 0.841 MB / 333.3 MB, free: 6.734 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.468e-05/0.1111, allocations: 0 / 333.3 MB, free: 6.734 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002194/0.1113, allocations: 23.91 kB / 333.4 MB, free: 6.711 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001825/0.1115, allocations: 31.84 kB / 333.4 MB, free: 6.68 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001538/0.1117, allocations: 23.97 kB / 333.4 MB, free: 6.656 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001521/0.1119, allocations: 51.89 kB / 333.5 MB, free: 6.605 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.112, allocations: 19.97 kB / 333.5 MB, free: 6.586 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.143e-05/0.1121, allocations: 23.91 kB / 333.5 MB, free: 6.562 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001576/0.1122, allocations: 19.92 kB / 333.5 MB, free: 6.543 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.951e-05/0.1123, allocations: 4 kB / 333.5 MB, free: 6.539 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001238/0.1124, allocations: 39.91 kB / 333.6 MB, free: 6.5 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.45e-05/0.1125, allocations: 15.92 kB / 333.6 MB, free: 6.484 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.713e-05/0.1125, allocations: 33.64 kB / 333.6 MB, free: 6.445 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002048/0.1127, allocations: 67.91 kB / 333.7 MB, free: 6.379 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.1127, allocations: 0 / 333.7 MB, free: 6.379 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1127, allocations: 0 / 333.7 MB, free: 6.379 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.1128, allocations: 0 / 333.7 MB, free: 6.379 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000561/0.1133, allocations: 401.2 kB / 334.1 MB, free: 5.934 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.1134, allocations: 8.031 kB / 334.1 MB, free: 5.926 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.324e-05/0.1134, allocations: 38.56 kB / 334.1 MB, free: 5.879 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.746e-05/0.1135, allocations: 7.906 kB / 334.1 MB, free: 5.871 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002083/0.1137, allocations: 190.8 kB / 334.3 MB, free: 5.645 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.1137, allocations: 4 kB / 334.3 MB, free: 5.641 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.107e-05/0.1138, allocations: 4 kB / 334.3 MB, free: 5.637 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002478/0.114, allocations: 88.19 kB / 334.4 MB, free: 5.535 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.1141, allocations: 3.984 kB / 334.4 MB, free: 5.531 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.1141, allocations: 4 kB / 334.4 MB, free: 5.527 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.1141, allocations: 0 / 334.4 MB, free: 5.527 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001864/0.1143, allocations: 47.84 kB / 334.5 MB, free: 5.48 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005849/0.1149, allocations: 385.1 kB / 334.8 MB, free: 5.051 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003908/0.1153, allocations: 89.16 kB / 334.9 MB, free: 4.945 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.137e-05/0.1154, allocations: 8 kB / 334.9 MB, free: 4.938 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.1154, allocations: 30.56 kB / 335 MB, free: 4.898 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.894e-06/0.1154, allocations: 0 / 335 MB, free: 4.898 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.001112/0.1165, allocations: 253.5 kB / 335.2 MB, free: 4.645 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.662e-05/0.1166, allocations: 102.8 kB / 335.3 MB, free: 4.52 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001631/0.1168, allocations: 133.8 kB / 335.4 MB, free: 4.379 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.1168, allocations: 25.7 kB / 335.5 MB, free: 4.348 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.92e-05/0.1169, allocations: 162.5 kB / 335.6 MB, free: 4.188 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.376e-05/0.117, allocations: 39.48 kB / 335.7 MB, free: 4.148 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.945e-06/0.117, allocations: 0 / 335.7 MB, free: 4.148 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.1171, allocations: 318.8 kB / 336 MB, free: 3.828 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001744/0.1173, allocations: 39.97 kB / 336 MB, free: 3.789 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001849/0.1175, allocations: 57.69 kB / 336.1 MB, free: 3.727 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001997/0.1177, allocations: 73.66 kB / 336.1 MB, free: 3.648 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.1177, allocations: 7.984 kB / 336.2 MB, free: 3.641 MB / 282.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004555/0.1182, allocations: 151.4 kB / 336.3 MB, free: 3.48 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.25e-05/0.1183, allocations: 29.7 kB / 336.3 MB, free: 3.445 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.1183, allocations: 4 kB / 336.3 MB, free: 3.441 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.1183, allocations: 3.984 kB / 336.3 MB, free: 3.438 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001671/0.1185, allocations: 31.94 kB / 336.4 MB, free: 3.406 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.1185, allocations: 0 / 336.4 MB, free: 3.406 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.65e-05/0.1186, allocations: 15.89 kB / 336.4 MB, free: 3.391 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.423e-05/0.1186, allocations: 0 / 336.4 MB, free: 3.391 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked 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.0001228/0.1188, allocations: 125.8 kB / 336.5 MB, free: 3.258 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.11e-05/0.1188, allocations: 8 kB / 336.5 MB, free: 3.25 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005304/0.1194, allocations: 153.7 kB / 336.7 MB, free: 3.094 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/0.1194, allocations: 4 kB / 336.7 MB, free: 3.09 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.1194, allocations: 7.953 kB / 336.7 MB, free: 3.082 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.1194, allocations: 3.984 kB / 336.7 MB, free: 3.078 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009329/0.1204, allocations: 0.4947 MB / 337.2 MB, free: 2.523 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.1204, allocations: 4 kB / 337.2 MB, free: 2.52 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001768/0.1206, allocations: 23.95 kB / 337.2 MB, free: 2.496 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.003e-05/0.1206, allocations: 11.95 kB / 337.2 MB, free: 2.484 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.1206, allocations: 4 kB / 337.2 MB, free: 2.48 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.1206, allocations: 0 / 337.2 MB, free: 2.48 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.1207, allocations: 4 kB / 337.2 MB, free: 2.477 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004814/0.1211, allocations: 307.4 kB / 337.5 MB, free: 2.156 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.863e-05/0.1212, allocations: 89.02 kB / 337.6 MB, free: 2.051 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.332e-05/0.1213, allocations: 7.938 kB / 337.6 MB, free: 2.043 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001641/0.1214, allocations: 8 kB / 337.6 MB, free: 2.035 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.557e-05/0.1215, allocations: 11.98 kB / 337.6 MB, free: 2.023 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.1215, allocations: 4 kB / 337.6 MB, free: 2.02 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001008/0.1216, allocations: 103.3 kB / 337.7 MB, free: 1.918 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1217, allocations: 0 / 337.7 MB, free: 1.918 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000394/0.1221, allocations: 27.98 kB / 337.8 MB, free: 1.891 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.001549/0.1236, allocations: 1.062 MB / 338.8 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004712/0.1241, allocations: 155.3 kB / 339 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/0.1241, allocations: 0 / 339 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001976/0.1243, allocations: 55.91 kB / 339 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003532/0.1247, allocations: 11.95 kB / 339 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009767/0.1257, allocations: 482.4 kB / 339.5 MB, free: 120 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2436/0.3693, allocations: 0.6958 MB / 340.2 MB, free: 14.91 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001495/0.3695, allocations: 26.72 kB / 340.2 MB, free: 14.9 MB / 282.7 MB Notification: Performance of SimCode: time 1.503e-06/0.3695, allocations: 0 / 340.2 MB, free: 14.9 MB / 282.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=5 -DSUNDIALS_MINOR_VERSION=4 -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_1_cpp_ModelicaTest_Tables_CombiTable1D_Test18CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test18CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test18CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test18InitializeParameter.cpp:36:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp25; ^ ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test18InitializeParameter.cpp:37: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.1/Resources/Data/Tables/test.txt", tmp25); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test18CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test18Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp11; ^ ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test18Initialize.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.1/Resources/Data/Tables/test.txt", tmp11); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test18Initialize.cpp:315:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp20; ^ ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test18Initialize.cpp:316:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource(_functions->_OMC_LIT0, tmp20); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test18CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test18.cpp:765:24: error: use of undeclared identifier 'tmp6' _t_new_P_fileName_ = tmp6; ^ In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test18CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test18FMU.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) { ^ 1 warning and 7 errors generated. : recipe for target 'OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test18CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test18CalcHelperMain.o] Error 1