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.Test23.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.Test23,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test23",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.195/2.195, allocations: 234.9 MB / 250.4 MB, free: 9.574 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004128/0.0004128, allocations: 8 kB / 314.4 MB, free: 9.523 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.3478, allocations: 54.86 MB / 369.3 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test23): time 0.002276/0.3502, allocations: 1.231 MB / 370.5 MB, free: 11.52 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001495/0.3517, allocations: 0.8258 MB / 371.3 MB, free: 10.69 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.281e-05/0.3517, allocations: 0 / 371.3 MB, free: 10.69 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001878/0.3519, allocations: 15.92 kB / 371.3 MB, free: 10.67 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001536/0.3521, allocations: 23.91 kB / 371.4 MB, free: 10.65 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001493/0.3523, allocations: 35.84 kB / 371.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001262/0.3524, allocations: 35.95 kB / 371.4 MB, free: 10.58 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.677e-05/0.3525, allocations: 15.98 kB / 371.4 MB, free: 10.56 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.831e-05/0.3526, allocations: 15.94 kB / 371.5 MB, free: 10.55 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001642/0.3528, allocations: 23.84 kB / 371.5 MB, free: 10.52 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.3528, allocations: 4 kB / 371.5 MB, free: 10.52 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001077/0.3529, allocations: 31.98 kB / 371.5 MB, free: 10.49 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.326e-05/0.353, allocations: 7.969 kB / 371.5 MB, free: 10.48 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.688e-05/0.353, allocations: 37.64 kB / 371.6 MB, free: 10.44 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001579/0.3532, allocations: 63.84 kB / 371.6 MB, free: 10.38 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.3532, allocations: 0 / 371.6 MB, free: 10.38 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3532, allocations: 0 / 371.6 MB, free: 10.38 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.3532, allocations: 4 kB / 371.6 MB, free: 10.37 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.0004896/0.3537, allocations: 389.8 kB / 372 MB, free: 9.938 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.3538, allocations: 8.031 kB / 372 MB, free: 9.93 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.486e-05/0.3538, allocations: 34.56 kB / 372.1 MB, free: 9.887 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.504e-05/0.3539, allocations: 3.953 kB / 372.1 MB, free: 9.883 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001945/0.3541, allocations: 186.9 kB / 372.2 MB, free: 9.66 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.3541, allocations: 0 / 372.2 MB, free: 9.66 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.7e-05/0.3541, allocations: 8 kB / 372.3 MB, free: 9.652 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001911/0.3543, allocations: 63.34 kB / 372.3 MB, free: 9.578 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.3544, allocations: 4 kB / 372.3 MB, free: 9.574 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/0.3544, allocations: 11.94 kB / 372.3 MB, free: 9.562 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.3544, allocations: 0 / 372.3 MB, free: 9.562 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001524/0.3546, allocations: 31.92 kB / 372.4 MB, free: 9.531 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004382/0.355, allocations: 277 kB / 372.6 MB, free: 9.211 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002544/0.3553, allocations: 50.48 kB / 372.7 MB, free: 9.152 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.3553, allocations: 0 / 372.7 MB, free: 9.152 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/0.3554, allocations: 38.64 kB / 372.7 MB, free: 9.105 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.312e-06/0.3554, allocations: 0 / 372.7 MB, free: 9.105 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008082/0.3562, allocations: 173.2 kB / 372.9 MB, free: 8.93 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.768e-05/0.3562, allocations: 81.11 kB / 373 MB, free: 8.832 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/0.3564, allocations: 125.8 kB / 373.1 MB, free: 8.699 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.184e-05/0.3564, allocations: 25.7 kB / 373.1 MB, free: 8.668 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.498e-05/0.3565, allocations: 162.5 kB / 373.3 MB, free: 8.508 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.163e-05/0.3565, allocations: 11.75 kB / 373.3 MB, free: 8.496 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.972e-06/0.3566, allocations: 0 / 373.3 MB, free: 8.496 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.3567, allocations: 322.8 kB / 373.6 MB, free: 8.172 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001384/0.3569, allocations: 27.98 kB / 373.6 MB, free: 8.145 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000149/0.357, allocations: 41.7 kB / 373.7 MB, free: 8.098 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001618/0.3572, allocations: 57.69 kB / 373.7 MB, free: 8.035 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.3572, allocations: 0 / 373.7 MB, free: 8.035 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003626/0.3576, allocations: 131.3 kB / 373.9 MB, free: 7.895 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.877e-05/0.3576, allocations: 33.69 kB / 373.9 MB, free: 7.855 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.3576, allocations: 3.953 kB / 373.9 MB, free: 7.852 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.3577, allocations: 0 / 373.9 MB, free: 7.852 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.3578, allocations: 12 kB / 373.9 MB, free: 7.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.3578, allocations: 0 / 373.9 MB, free: 7.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.141e-05/0.3579, allocations: 15.98 kB / 373.9 MB, free: 7.824 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.3579, allocations: 0 / 373.9 MB, free: 7.824 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 0.0001001/0.358, allocations: 113.8 kB / 374 MB, free: 7.703 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.989e-05/0.3581, allocations: 7.906 kB / 374 MB, free: 7.695 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003818/0.3585, allocations: 109.5 kB / 374.1 MB, free: 7.582 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.3585, allocations: 11.89 kB / 374.2 MB, free: 7.57 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.3585, allocations: 0 / 374.2 MB, free: 7.57 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3585, allocations: 0 / 374.2 MB, free: 7.57 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005953/0.3591, allocations: 354.8 kB / 374.5 MB, free: 7.168 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/0.3592, allocations: 8.062 kB / 374.5 MB, free: 7.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.995e-05/0.3593, allocations: 15.94 kB / 374.5 MB, free: 7.145 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.244e-06/0.3593, allocations: 7.953 kB / 374.5 MB, free: 7.137 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.3593, allocations: 0 / 374.5 MB, free: 7.137 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.053e-06/0.3593, allocations: 0 / 374.5 MB, free: 7.137 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3593, allocations: 0 / 374.5 MB, free: 7.137 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003626/0.3597, allocations: 195.4 kB / 374.7 MB, free: 6.93 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.7e-05/0.3598, allocations: 81.09 kB / 374.8 MB, free: 6.832 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.408e-05/0.3598, allocations: 3.953 kB / 374.8 MB, free: 6.828 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.3599, allocations: 12 kB / 374.8 MB, free: 6.816 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.36, allocations: 3.984 kB / 374.8 MB, free: 6.812 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.378e-06/0.36, allocations: 4 kB / 374.8 MB, free: 6.809 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.629e-05/0.3601, allocations: 91.27 kB / 374.9 MB, free: 6.719 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.3601, allocations: 7.938 kB / 374.9 MB, free: 6.711 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003245/0.3604, allocations: 27.91 kB / 374.9 MB, free: 6.684 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.001612/0.362, allocations: 1.001 MB / 375.9 MB, free: 5.754 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003781/0.3624, allocations: 127.3 kB / 376.1 MB, free: 5.617 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3625, allocations: 0 / 376.1 MB, free: 5.617 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001481/0.3626, allocations: 36.11 kB / 376.1 MB, free: 5.582 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002468/0.3629, allocations: 11.94 kB / 376.1 MB, free: 5.57 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007299/0.3636, allocations: 404.5 kB / 376.5 MB, free: 5.121 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002864/0.3639, allocations: 0.6926 MB / 377.2 MB, free: 4.402 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.502e-05/0.364, allocations: 23.38 kB / 377.2 MB, free: 4.379 MB / 298.7 MB Notification: Performance of SimCode: time 2.535e-06/0.364, allocations: 0 / 377.2 MB, free: 4.379 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_Test23CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test23CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test23CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test23InitializeParameter.cpp:35:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp21; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test23InitializeParameter.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", tmp21); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test23CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test23Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp9; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test23Initialize.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", tmp9); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test23Initialize.cpp:261:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp16; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test23Initialize.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_Test23CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test23.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_Test23CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test23FMU.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_Test23CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test23CalcHelperMain.o] Error 1