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.Test15.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.Test15,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test15",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.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004217/0.0004218, allocations: 15.98 kB / 314.4 MB, free: 9.516 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.3329, allocations: 54.87 MB / 369.3 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test15): time 0.002405/0.3353, allocations: 1.269 MB / 370.5 MB, free: 9.438 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001074/0.3364, allocations: 0.6485 MB / 371.2 MB, free: 8.785 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.106e-05/0.3365, allocations: 0 / 371.2 MB, free: 8.785 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001812/0.3367, allocations: 19.91 kB / 371.2 MB, free: 8.766 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002053/0.3369, allocations: 23.91 kB / 371.2 MB, free: 8.742 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.997e-06/0.3369, allocations: 0 / 371.2 MB, free: 8.742 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001371/0.3371, allocations: 23.97 kB / 371.3 MB, free: 8.719 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.377e-05/0.3371, allocations: 4 kB / 371.3 MB, free: 8.715 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.81e-05/0.3372, allocations: 15.92 kB / 371.3 MB, free: 8.699 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001175/0.3373, allocations: 15.92 kB / 371.3 MB, free: 8.684 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.409e-05/0.3373, allocations: 0 / 371.3 MB, free: 8.684 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.056e-05/0.3374, allocations: 7.938 kB / 371.3 MB, free: 8.676 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.496e-05/0.3374, allocations: 15.94 kB / 371.3 MB, free: 8.66 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.45e-05/0.3375, allocations: 37.69 kB / 371.4 MB, free: 8.617 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001247/0.3376, allocations: 43.92 kB / 371.4 MB, free: 8.574 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.3376, allocations: 0 / 371.4 MB, free: 8.574 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3377, allocations: 0 / 371.4 MB, free: 8.574 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.3377, allocations: 0 / 371.4 MB, free: 8.574 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004782/0.3382, allocations: 359.1 kB / 371.7 MB, free: 8.18 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/0.3382, allocations: 12.02 kB / 371.8 MB, free: 8.168 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.129e-05/0.3383, allocations: 38.56 kB / 371.8 MB, free: 8.121 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.335e-05/0.3383, allocations: 7.859 kB / 371.8 MB, free: 8.113 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/0.3385, allocations: 174.9 kB / 372 MB, free: 7.902 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.3385, allocations: 3.984 kB / 372 MB, free: 7.898 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.794e-05/0.3385, allocations: 4 kB / 372 MB, free: 7.895 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002283/0.3388, allocations: 126.8 kB / 372.1 MB, free: 7.746 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.3388, allocations: 0 / 372.1 MB, free: 7.746 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.3388, allocations: 3.953 kB / 372.1 MB, free: 7.742 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.118e-05/0.3389, allocations: 23.98 kB / 372.1 MB, free: 7.719 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000121/0.339, allocations: 47.84 kB / 372.2 MB, free: 7.672 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007703/0.3398, allocations: 0.8944 MB / 373.1 MB, free: 6.707 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001059/0.3399, allocations: 173.2 kB / 373.2 MB, free: 6.527 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.574e-05/0.34, allocations: 79.28 kB / 373.3 MB, free: 6.449 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.709e-05/0.34, allocations: 105.8 kB / 373.4 MB, free: 6.336 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 1.313e-06/0.34, allocations: 0 / 373.4 MB, free: 6.336 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001062/0.3402, allocations: 37.56 kB / 373.5 MB, free: 6.293 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.314e-05/0.3402, allocations: 134.6 kB / 373.6 MB, free: 6.148 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002395/0.3405, allocations: 186 kB / 373.8 MB, free: 5.957 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.3405, allocations: 25.7 kB / 373.8 MB, free: 5.926 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/0.3407, allocations: 225.5 kB / 374 MB, free: 5.703 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.993e-06/0.3407, allocations: 4.016 kB / 374 MB, free: 5.699 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.035e-05/0.3407, allocations: 4 kB / 374 MB, free: 5.695 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.3408, allocations: 318.8 kB / 374.3 MB, free: 5.375 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.583e-05/0.3409, allocations: 27.98 kB / 374.4 MB, free: 5.348 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001734/0.3411, allocations: 153.2 kB / 374.5 MB, free: 5.137 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/0.3413, allocations: 71.91 kB / 374.6 MB, free: 5.066 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.3413, allocations: 0 / 374.6 MB, free: 5.066 MB / 298.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004234/0.3417, allocations: 193.7 kB / 374.8 MB, free: 4.871 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.3418, allocations: 8 kB / 374.8 MB, free: 4.863 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.3418, allocations: 4 kB / 374.8 MB, free: 4.859 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.268e-05/0.3418, allocations: 8 kB / 374.8 MB, free: 4.852 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002154/0.342, allocations: 43.91 kB / 374.8 MB, free: 4.809 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.741e-05/0.3421, allocations: 11.94 kB / 374.9 MB, free: 4.797 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001248/0.3422, allocations: 19.75 kB / 374.9 MB, free: 4.777 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.15e-05/0.3422, allocations: 12 kB / 374.9 MB, free: 4.766 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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 prepare postOptimizeDAE: time 0.0001618/0.3424, allocations: 217 kB / 375.1 MB, free: 4.543 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.409e-05/0.3425, allocations: 120.9 kB / 375.2 MB, free: 4.418 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.648e-05/0.3426, allocations: 112.6 kB / 375.3 MB, free: 4.305 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.72e-05/0.3427, allocations: 192.2 kB / 375.5 MB, free: 4.109 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.461e-05/0.3427, allocations: 176.3 kB / 375.7 MB, free: 3.93 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-05/0.3428, allocations: 188.2 kB / 375.9 MB, free: 3.738 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002891/0.3431, allocations: 421.2 kB / 376.3 MB, free: 3.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.17e-05/0.3432, allocations: 105 kB / 376.4 MB, free: 3.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.201e-05/0.3432, allocations: 104.9 kB / 376.5 MB, free: 3.051 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.419e-05/0.3433, allocations: 180.2 kB / 376.7 MB, free: 2.867 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.439e-05/0.3434, allocations: 180.2 kB / 376.8 MB, free: 2.684 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.137e-05/0.3435, allocations: 188.2 kB / 377 MB, free: 2.492 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.476e-05/0.3436, allocations: 184.2 kB / 377.2 MB, free: 2.305 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001642/0.3437, allocations: 307.7 kB / 377.5 MB, free: 1.98 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001282/0.3439, allocations: 189.9 kB / 377.7 MB, free: 1.77 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.44e-05/0.344, allocations: 184.2 kB / 377.9 MB, free: 1.582 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.3441, allocations: 108.9 kB / 378 MB, free: 1.469 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.716e-05/0.3442, allocations: 176.3 kB / 378.1 MB, free: 1.289 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.54e-05/0.3442, allocations: 105 kB / 378.2 MB, free: 1.18 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001672/0.3444, allocations: 139.2 kB / 378.4 MB, free: 1.043 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.3444, allocations: 3.938 kB / 378.4 MB, free: 1.039 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003654/0.3448, allocations: 12 kB / 378.4 MB, free: 1.027 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 (0): * Single equations (assignments): 0 * 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.0009209/0.3457, allocations: 0.9167 MB / 379.3 MB, free: 132 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002365/0.346, allocations: 72.78 kB / 379.4 MB, free: 60 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.346, allocations: 0 / 379.4 MB, free: 60 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.594e-06/0.346, allocations: 256 / 379.4 MB, free: 60 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003993/0.3464, allocations: 0.5302 MB / 379.9 MB, free: 15.52 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001464/0.3479, allocations: 0.8233 MB / 380.7 MB, free: 14.58 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000316/0.3483, allocations: 0.7048 MB / 381.4 MB, free: 13.85 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001257/0.3484, allocations: 23.44 kB / 381.5 MB, free: 13.82 MB / 314.7 MB Notification: Performance of SimCode: time 1.292e-06/0.3484, allocations: 0 / 381.5 MB, free: 13.82 MB / 314.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_Test15CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test15CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test15CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test15Initialize.cpp:373:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp2; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test15Initialize.cpp:374:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource(_functions->_OMC_LIT0, tmp2); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test15CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test15FMU.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 2 errors generated. : recipe for target 'OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test15CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test15CalcHelperMain.o] Error 1