Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test14.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.CombiTable2D.Test14,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test14",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.29/2.29, allocations: 234.9 MB / 250.5 MB, free: 9.562 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006129/0.0006131, allocations: 11.94 kB / 314.4 MB, free: 9.512 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.3283, allocations: 54.86 MB / 369.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test14): time 0.002334/0.3307, allocations: 1.242 MB / 370.5 MB, free: 9.469 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00158/0.3323, allocations: 0.853 MB / 371.4 MB, free: 8.609 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.385e-05/0.3324, allocations: 0 / 371.4 MB, free: 8.609 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001898/0.3326, allocations: 7.984 kB / 371.4 MB, free: 8.602 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001796/0.3328, allocations: 31.84 kB / 371.4 MB, free: 8.57 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001372/0.333, allocations: 31.91 kB / 371.4 MB, free: 8.539 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001287/0.3331, allocations: 35.95 kB / 371.5 MB, free: 8.504 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.939e-05/0.3332, allocations: 8 kB / 371.5 MB, free: 8.496 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.246e-05/0.3333, allocations: 19.92 kB / 371.5 MB, free: 8.477 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001741/0.3335, allocations: 39.83 kB / 371.5 MB, free: 8.438 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.3335, allocations: 0 / 371.5 MB, free: 8.438 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001166/0.3336, allocations: 27.94 kB / 371.6 MB, free: 8.41 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.918e-05/0.3337, allocations: 15.97 kB / 371.6 MB, free: 8.395 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.182e-05/0.3337, allocations: 29.64 kB / 371.6 MB, free: 8.359 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001711/0.3339, allocations: 63.91 kB / 371.7 MB, free: 8.297 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.3339, allocations: 0 / 371.7 MB, free: 8.297 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.3339, allocations: 0 / 371.7 MB, free: 8.297 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.957e-06/0.3339, allocations: 0 / 371.7 MB, free: 8.297 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005641/0.3345, allocations: 408.8 kB / 372.1 MB, free: 7.848 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.3346, allocations: 8.031 kB / 372.1 MB, free: 7.84 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.028e-05/0.3346, allocations: 34.5 kB / 372.1 MB, free: 7.797 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.737e-05/0.3347, allocations: 11.86 kB / 372.1 MB, free: 7.785 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002008/0.3349, allocations: 182.9 kB / 372.3 MB, free: 7.566 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.3349, allocations: 7.938 kB / 372.3 MB, free: 7.559 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.771e-05/0.3349, allocations: 4 kB / 372.3 MB, free: 7.555 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000245/0.3352, allocations: 79.39 kB / 372.4 MB, free: 7.465 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.3352, allocations: 0 / 372.4 MB, free: 7.465 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.3352, allocations: 0 / 372.4 MB, free: 7.465 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.3353, allocations: 3.953 kB / 372.4 MB, free: 7.461 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002337/0.3355, allocations: 43.95 kB / 372.4 MB, free: 7.418 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004181/0.3359, allocations: 288.7 kB / 372.7 MB, free: 7.086 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001803/0.3361, allocations: 46.56 kB / 372.8 MB, free: 7.031 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.3362, allocations: 4 kB / 372.8 MB, free: 7.027 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/0.3362, allocations: 38.52 kB / 372.8 MB, free: 6.98 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.613e-06/0.3362, allocations: 0 / 372.8 MB, free: 6.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.001226/0.3375, allocations: 233.4 kB / 373 MB, free: 6.746 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.571e-05/0.3375, allocations: 81.11 kB / 373.1 MB, free: 6.648 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.3377, allocations: 121.8 kB / 373.2 MB, free: 6.52 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.3377, allocations: 25.7 kB / 373.3 MB, free: 6.488 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.369e-05/0.3378, allocations: 158.5 kB / 373.4 MB, free: 6.332 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.942e-05/0.3378, allocations: 31.62 kB / 373.4 MB, free: 6.301 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.025e-05/0.3379, allocations: 0 / 373.4 MB, free: 6.301 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.338, allocations: 314.8 kB / 373.8 MB, free: 5.984 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002255/0.3382, allocations: 47.97 kB / 373.8 MB, free: 5.938 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002341/0.3385, allocations: 61.67 kB / 373.9 MB, free: 5.871 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002426/0.3387, allocations: 69.72 kB / 373.9 MB, free: 5.797 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3387, allocations: 0 / 373.9 MB, free: 5.797 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005409/0.3393, allocations: 163.6 kB / 374.1 MB, free: 5.625 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.91e-05/0.3393, allocations: 33.7 kB / 374.1 MB, free: 5.586 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.096e-06/0.3394, allocations: 3.984 kB / 374.1 MB, free: 5.582 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.3394, allocations: 0 / 374.1 MB, free: 5.582 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002004/0.3396, allocations: 31.86 kB / 374.2 MB, free: 5.551 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.3396, allocations: 0 / 374.2 MB, free: 5.551 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001195/0.3397, allocations: 19.98 kB / 374.2 MB, free: 5.531 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.388e-05/0.3398, allocations: 3.984 kB / 374.2 MB, free: 5.527 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 (8): * Single equations (assignments): 7 * 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.0001028/0.3399, allocations: 113.8 kB / 374.3 MB, free: 5.406 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.533e-05/0.3399, allocations: 11.86 kB / 374.3 MB, free: 5.395 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005652/0.3405, allocations: 138.3 kB / 374.4 MB, free: 5.25 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.3405, allocations: 0 / 374.4 MB, free: 5.25 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.3405, allocations: 0 / 374.4 MB, free: 5.25 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.3406, allocations: 0 / 374.4 MB, free: 5.25 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008123/0.3414, allocations: 410.5 kB / 374.8 MB, free: 4.793 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.3414, allocations: 0 / 374.8 MB, free: 4.793 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001639/0.3416, allocations: 27.98 kB / 374.9 MB, free: 4.766 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.3416, allocations: 4 kB / 374.9 MB, free: 4.762 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.3416, allocations: 3.938 kB / 374.9 MB, free: 4.758 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.3416, allocations: 0 / 374.9 MB, free: 4.758 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3416, allocations: 0 / 374.9 MB, free: 4.758 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005312/0.3422, allocations: 227.3 kB / 375.1 MB, free: 4.52 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.427e-05/0.3422, allocations: 89.05 kB / 375.2 MB, free: 4.414 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.493e-05/0.3423, allocations: 0 / 375.2 MB, free: 4.414 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001569/0.3424, allocations: 23.98 kB / 375.2 MB, free: 4.391 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.349e-05/0.3425, allocations: 0 / 375.2 MB, free: 4.391 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/0.3425, allocations: 4 kB / 375.2 MB, free: 4.387 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.333e-05/0.3426, allocations: 91.27 kB / 375.3 MB, free: 4.297 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.3426, allocations: 0 / 375.3 MB, free: 4.297 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003406/0.343, allocations: 31.98 kB / 375.3 MB, free: 4.266 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 (7): * Single equations (assignments): 7 * 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.001788/0.3448, allocations: 1.044 MB / 376.4 MB, free: 3.285 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005474/0.3453, allocations: 155.3 kB / 376.5 MB, free: 3.121 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3454, allocations: 0 / 376.5 MB, free: 3.121 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002385/0.3456, allocations: 55.91 kB / 376.6 MB, free: 3.066 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002632/0.3459, allocations: 7.984 kB / 376.6 MB, free: 3.059 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007894/0.3467, allocations: 424.2 kB / 377 MB, free: 2.59 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002634/0.347, allocations: 0.6887 MB / 377.7 MB, free: 1.875 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.513e-05/0.3471, allocations: 23.42 kB / 377.7 MB, free: 1.852 MB / 298.7 MB Notification: Performance of SimCode: time 8.21e-07/0.3471, allocations: 0 / 377.7 MB, free: 1.852 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_CombiTable2D_Test14CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test14CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test14CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test14InitializeParameter.cpp:35:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp26; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test14InitializeParameter.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.txt", tmp26); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test14CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test14Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp12; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test14Initialize.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.txt", tmp12); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test14Initialize.cpp:292:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp21; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test14Initialize.cpp:293:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource(_functions->_OMC_LIT0, tmp21); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test14CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test14.cpp:756:24: error: use of undeclared identifier 'tmp6' _t_new_P_fileName_ = tmp6; ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test14CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test14FMU.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_CombiTable2D_Test14CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test14CalcHelperMain.o] Error 1