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.Test16.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.Test16,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test16",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.204/2.204, allocations: 234.9 MB / 250.4 MB, free: 9.773 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004476/0.0004478, allocations: 12 kB / 314.4 MB, free: 9.719 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3669/0.3674, allocations: 54.85 MB / 369.3 MB, free: 12.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test16): time 0.002902/0.3704, allocations: 1.277 MB / 370.5 MB, free: 11.5 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001367/0.3718, allocations: 0.6485 MB / 371.2 MB, free: 10.85 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.184e-05/0.3718, allocations: 0 / 371.2 MB, free: 10.85 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002014/0.3721, allocations: 23.91 kB / 371.2 MB, free: 10.82 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002421/0.3723, allocations: 23.91 kB / 371.2 MB, free: 10.8 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.3e-05/0.3724, allocations: 0 / 371.2 MB, free: 10.8 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000156/0.3725, allocations: 19.97 kB / 371.3 MB, free: 10.78 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.728e-05/0.3726, allocations: 4 kB / 371.3 MB, free: 10.78 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.91e-05/0.3726, allocations: 7.938 kB / 371.3 MB, free: 10.77 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001266/0.3728, allocations: 23.92 kB / 371.3 MB, free: 10.75 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.304e-05/0.3728, allocations: 3.938 kB / 371.3 MB, free: 10.74 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.273e-05/0.3729, allocations: 7.984 kB / 371.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.442e-05/0.3729, allocations: 8 kB / 371.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.061e-05/0.373, allocations: 37.64 kB / 371.3 MB, free: 10.68 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001439/0.3731, allocations: 43.92 kB / 371.4 MB, free: 10.64 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.3732, allocations: 0 / 371.4 MB, free: 10.64 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3732, allocations: 0 / 371.4 MB, free: 10.64 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.429e-06/0.3732, allocations: 0 / 371.4 MB, free: 10.64 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.0004941/0.3737, allocations: 360.1 kB / 371.7 MB, free: 10.24 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/0.3738, allocations: 12.03 kB / 371.8 MB, free: 10.23 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.839e-05/0.3738, allocations: 38.55 kB / 371.8 MB, free: 10.18 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.795e-05/0.3739, allocations: 7.859 kB / 371.8 MB, free: 10.18 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001853/0.3741, allocations: 175 kB / 372 MB, free: 9.965 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.3741, allocations: 4 kB / 372 MB, free: 9.961 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.936e-05/0.3742, allocations: 4 kB / 372 MB, free: 9.957 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000284/0.3744, allocations: 131.4 kB / 372.1 MB, free: 9.805 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.3745, allocations: 0 / 372.1 MB, free: 9.805 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.3745, allocations: 3.953 kB / 372.1 MB, free: 9.801 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.512e-05/0.3746, allocations: 19.98 kB / 372.1 MB, free: 9.781 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001532/0.3748, allocations: 43.86 kB / 372.2 MB, free: 9.738 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001002/0.3758, allocations: 0.8983 MB / 373.1 MB, free: 8.77 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001118/0.3759, allocations: 169.2 kB / 373.2 MB, free: 8.594 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.494e-05/0.376, allocations: 79.27 kB / 373.3 MB, free: 8.516 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.438e-05/0.376, allocations: 109.8 kB / 373.4 MB, free: 8.398 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 4.298e-06/0.3761, allocations: 3.984 kB / 373.4 MB, free: 8.395 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001059/0.3762, allocations: 37.56 kB / 373.5 MB, free: 8.352 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.671e-05/0.3763, allocations: 126.7 kB / 373.6 MB, free: 8.215 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003428/0.3766, allocations: 194 kB / 373.8 MB, free: 8.016 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.3767, allocations: 29.64 kB / 373.8 MB, free: 7.98 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000172/0.3768, allocations: 217.7 kB / 374 MB, free: 7.766 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.015e-06/0.3769, allocations: 4.016 kB / 374 MB, free: 7.762 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.37e-05/0.3769, allocations: 4 kB / 374 MB, free: 7.758 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.3771, allocations: 318.8 kB / 374.3 MB, free: 7.438 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001035/0.3772, allocations: 35.97 kB / 374.4 MB, free: 7.402 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000229/0.3774, allocations: 152.3 kB / 374.5 MB, free: 7.195 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000189/0.3776, allocations: 63.92 kB / 374.6 MB, free: 7.133 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.3777, allocations: 4 kB / 374.6 MB, free: 7.129 MB / 298.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005682/0.3782, allocations: 197.6 kB / 374.8 MB, free: 6.93 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/0.3783, allocations: 12.03 kB / 374.8 MB, free: 6.918 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.3783, allocations: 4 kB / 374.8 MB, free: 6.914 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.507e-05/0.3784, allocations: 8 kB / 374.8 MB, free: 6.906 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002538/0.3786, allocations: 35.92 kB / 374.8 MB, free: 6.871 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.009e-05/0.3787, allocations: 11.94 kB / 374.9 MB, free: 6.859 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001849/0.3789, allocations: 27.73 kB / 374.9 MB, free: 6.832 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.859e-05/0.3789, allocations: 8 kB / 374.9 MB, free: 6.824 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.0001906/0.3791, allocations: 209 kB / 375.1 MB, free: 6.609 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/0.3792, allocations: 124.8 kB / 375.2 MB, free: 6.48 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.67e-05/0.3793, allocations: 120.6 kB / 375.3 MB, free: 6.359 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.553e-05/0.3794, allocations: 184.2 kB / 375.5 MB, free: 6.172 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.216e-05/0.3795, allocations: 176.3 kB / 375.7 MB, free: 5.992 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-05/0.3796, allocations: 184.2 kB / 375.9 MB, free: 5.805 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003869/0.38, allocations: 421.2 kB / 376.3 MB, free: 5.336 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.785e-05/0.3801, allocations: 109 kB / 376.4 MB, free: 5.223 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6e-05/0.3802, allocations: 108.9 kB / 376.5 MB, free: 5.109 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.972e-05/0.3803, allocations: 180.2 kB / 376.7 MB, free: 4.926 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00011/0.3804, allocations: 180.2 kB / 376.8 MB, free: 4.742 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.147e-05/0.3805, allocations: 180.3 kB / 377 MB, free: 4.559 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.594e-05/0.3806, allocations: 180.3 kB / 377.2 MB, free: 4.375 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000211/0.3809, allocations: 315.7 kB / 377.5 MB, free: 4.043 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001293/0.381, allocations: 185.9 kB / 377.7 MB, free: 3.836 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000121/0.3811, allocations: 188.2 kB / 377.9 MB, free: 3.645 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001639/0.3813, allocations: 105 kB / 378 MB, free: 3.535 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.906e-05/0.3814, allocations: 184.2 kB / 378.1 MB, free: 3.348 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.185e-05/0.3815, allocations: 109 kB / 378.3 MB, free: 3.234 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001995/0.3817, allocations: 135.1 kB / 378.4 MB, free: 3.102 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.3817, allocations: 4 kB / 378.4 MB, free: 3.098 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006084/0.3824, allocations: 12 kB / 378.4 MB, free: 3.086 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.001138/0.3835, allocations: 0.9099 MB / 379.3 MB, free: 2.191 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002543/0.3838, allocations: 72.84 kB / 379.4 MB, free: 2.121 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.3838, allocations: 0 / 379.4 MB, free: 2.121 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.276e-06/0.3838, allocations: 192 / 379.4 MB, free: 2.121 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005025/0.3843, allocations: 0.5302 MB / 379.9 MB, free: 1.586 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001933/0.3863, allocations: 0.8194 MB / 380.7 MB, free: 0.6445 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004486/0.3868, allocations: 0.7009 MB / 381.4 MB, free: 15.92 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001445/0.3869, allocations: 27.42 kB / 381.5 MB, free: 15.89 MB / 314.7 MB Notification: Performance of SimCode: time 1.472e-06/0.387, allocations: 0 / 381.5 MB, free: 15.89 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_Test16CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test16CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test16CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test16Initialize.cpp:373:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp2; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test16Initialize.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_Test16CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test16FMU.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_Test16CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test16CalcHelperMain.o] Error 1