Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test19.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test19,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test19",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.18/2.18, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004339/0.000434, allocations: 16 kB / 314.4 MB, free: 9.5 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3281/0.3286, allocations: 54.86 MB / 369.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test19): time 0.002201/0.3308, allocations: 1.219 MB / 370.5 MB, free: 9.477 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001517/0.3324, allocations: 0.8297 MB / 371.3 MB, free: 8.641 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.008e-05/0.3324, allocations: 4 kB / 371.3 MB, free: 8.637 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001917/0.3326, allocations: 19.91 kB / 371.4 MB, free: 8.617 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001564/0.3328, allocations: 23.91 kB / 371.4 MB, free: 8.594 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001391/0.333, allocations: 39.84 kB / 371.4 MB, free: 8.555 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001289/0.3331, allocations: 31.97 kB / 371.4 MB, free: 8.523 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.087e-05/0.3332, allocations: 7.984 kB / 371.5 MB, free: 8.516 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.329e-05/0.3333, allocations: 19.92 kB / 371.5 MB, free: 8.496 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001715/0.3334, allocations: 31.84 kB / 371.5 MB, free: 8.465 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.432e-05/0.3335, allocations: 0 / 371.5 MB, free: 8.465 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001051/0.3336, allocations: 27.98 kB / 371.5 MB, free: 8.438 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.232e-05/0.3336, allocations: 7.984 kB / 371.5 MB, free: 8.43 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.774e-05/0.3337, allocations: 37.64 kB / 371.6 MB, free: 8.387 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001643/0.3339, allocations: 63.84 kB / 371.6 MB, free: 8.324 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.3339, allocations: 0 / 371.6 MB, free: 8.324 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3339, allocations: 0 / 371.6 MB, free: 8.324 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.908e-06/0.3339, allocations: 0 / 371.6 MB, free: 8.324 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005559/0.3345, allocations: 393.8 kB / 372 MB, free: 7.887 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.3345, allocations: 8.031 kB / 372 MB, free: 7.879 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.565e-05/0.3346, allocations: 34.56 kB / 372.1 MB, free: 7.836 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.663e-05/0.3346, allocations: 11.89 kB / 372.1 MB, free: 7.824 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002257/0.3349, allocations: 175 kB / 372.2 MB, free: 7.613 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.3349, allocations: 8 kB / 372.3 MB, free: 7.605 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.936e-05/0.3349, allocations: 0 / 372.3 MB, free: 7.605 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002083/0.3351, allocations: 71.34 kB / 372.3 MB, free: 7.523 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.3352, allocations: 0 / 372.3 MB, free: 7.523 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.3352, allocations: 7.922 kB / 372.3 MB, free: 7.516 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.3352, allocations: 0 / 372.3 MB, free: 7.516 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001527/0.3354, allocations: 31.94 kB / 372.4 MB, free: 7.484 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005048/0.3359, allocations: 281 kB / 372.6 MB, free: 7.16 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002583/0.3362, allocations: 50.48 kB / 372.7 MB, free: 7.102 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/0.3362, allocations: 0 / 372.7 MB, free: 7.102 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.806e-05/0.3362, allocations: 34.56 kB / 372.7 MB, free: 7.059 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.372e-06/0.3362, allocations: 0 / 372.7 MB, free: 7.059 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.000838/0.3371, allocations: 173.3 kB / 372.9 MB, free: 6.883 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.038e-05/0.3372, allocations: 85.09 kB / 373 MB, free: 6.781 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.3373, allocations: 117.8 kB / 373.1 MB, free: 6.656 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/0.3374, allocations: 29.7 kB / 373.1 MB, free: 6.621 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.437e-05/0.3374, allocations: 158.5 kB / 373.3 MB, free: 6.465 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.089e-05/0.3375, allocations: 23.72 kB / 373.3 MB, free: 6.441 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.005e-06/0.3375, allocations: 4 kB / 373.3 MB, free: 6.438 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.3376, allocations: 310.8 kB / 373.6 MB, free: 6.125 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001386/0.3378, allocations: 27.98 kB / 373.6 MB, free: 6.098 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001524/0.3379, allocations: 45.69 kB / 373.7 MB, free: 6.047 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001699/0.3381, allocations: 61.7 kB / 373.7 MB, free: 5.98 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.3381, allocations: 3.938 kB / 373.7 MB, free: 5.977 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003628/0.3385, allocations: 123.4 kB / 373.9 MB, free: 5.844 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.872e-05/0.3386, allocations: 33.7 kB / 373.9 MB, free: 5.805 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.3386, allocations: 3.953 kB / 373.9 MB, free: 5.801 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.3386, allocations: 0 / 373.9 MB, free: 5.801 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.3387, allocations: 15.98 kB / 373.9 MB, free: 5.785 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.3387, allocations: 0 / 373.9 MB, free: 5.785 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.633e-05/0.3388, allocations: 4 kB / 373.9 MB, free: 5.781 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.441e-05/0.3389, allocations: 12 kB / 373.9 MB, free: 5.77 MB / 298.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 (6): * Single equations (assignments): 5 * 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.505e-05/0.339, allocations: 109.8 kB / 374 MB, free: 5.652 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.926e-05/0.339, allocations: 7.906 kB / 374 MB, free: 5.645 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003853/0.3394, allocations: 109.5 kB / 374.1 MB, free: 5.531 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.3394, allocations: 7.891 kB / 374.2 MB, free: 5.523 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.3394, allocations: 11.94 kB / 374.2 MB, free: 5.512 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3395, allocations: 0 / 374.2 MB, free: 5.512 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006123/0.3401, allocations: 350.5 kB / 374.5 MB, free: 5.113 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.3401, allocations: 0 / 374.5 MB, free: 5.113 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/0.3402, allocations: 20.36 kB / 374.5 MB, free: 5.094 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.3402, allocations: 3.953 kB / 374.5 MB, free: 5.09 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.3402, allocations: 8 kB / 374.5 MB, free: 5.082 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.3403, allocations: 4 kB / 374.5 MB, free: 5.078 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3403, allocations: 0 / 374.5 MB, free: 5.078 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003659/0.3406, allocations: 187.4 kB / 374.7 MB, free: 4.879 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.123e-05/0.3407, allocations: 81.11 kB / 374.8 MB, free: 4.781 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.95e-05/0.3407, allocations: 7.953 kB / 374.8 MB, free: 4.773 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.3409, allocations: 7.984 kB / 374.8 MB, free: 4.766 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.73e-05/0.3409, allocations: 4 kB / 374.8 MB, free: 4.762 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.3409, allocations: 0 / 374.8 MB, free: 4.762 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.079e-05/0.341, allocations: 103.2 kB / 374.9 MB, free: 4.66 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.341, allocations: 0 / 374.9 MB, free: 4.66 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003266/0.3414, allocations: 31.89 kB / 375 MB, free: 4.629 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.001583/0.343, allocations: 0.9952 MB / 376 MB, free: 3.695 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003814/0.3434, allocations: 131.3 kB / 376.1 MB, free: 3.555 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.3434, allocations: 0 / 376.1 MB, free: 3.555 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001484/0.3435, allocations: 27.98 kB / 376.1 MB, free: 3.527 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002587/0.3438, allocations: 11.94 kB / 376.1 MB, free: 3.516 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007377/0.3446, allocations: 408.7 kB / 376.5 MB, free: 3.062 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002813/0.3449, allocations: 0.6887 MB / 377.2 MB, free: 2.348 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.914e-05/0.345, allocations: 27.36 kB / 377.2 MB, free: 2.32 MB / 298.7 MB Notification: Performance of SimCode: time 2.585e-06/0.345, allocations: 0 / 377.2 MB, free: 2.32 MB / 298.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_2_cpp_ModelicaTest_Tables_CombiTable1D_Test19CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test19CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test19CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test19InitializeParameter.cpp:35:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp21; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test19InitializeParameter.cpp:36: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.2/Resources/Data/Tables/test_v4.mat", tmp21); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test19CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test19Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp9; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test19Initialize.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.2/Resources/Data/Tables/test_v4.mat", tmp9); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test19Initialize.cpp:261:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp16; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test19Initialize.cpp:262:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource(_functions->_OMC_LIT0, tmp16); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test19CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test19.cpp:714:24: error: use of undeclared identifier 'tmp4' _t_new_P_fileName_ = tmp4; ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test19CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test19FMU.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_2_cpp_ModelicaTest_Tables_CombiTable1D_Test19CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test19CalcHelperMain.o] Error 1