Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test15.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test15,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test15",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.151/2.151, allocations: 209.2 MB / 224.8 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006243/0.0006245, allocations: 8 kB / 282.6 MB, free: 9.594 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3823/0.383, allocations: 48.71 MB / 331.3 MB, free: 6.504 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test15): time 0.002471/0.3856, allocations: 1.264 MB / 332.5 MB, free: 5.875 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009492/0.3866, allocations: 0.6355 MB / 333.2 MB, free: 5.414 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.294e-05/0.3867, allocations: 1.344 kB / 333.2 MB, free: 5.414 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002019/0.3869, allocations: 20.86 kB / 333.2 MB, free: 5.402 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002326/0.3871, allocations: 22.31 kB / 333.2 MB, free: 5.395 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.987e-06/0.3871, allocations: 0 / 333.2 MB, free: 5.395 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001466/0.3873, allocations: 32.94 kB / 333.3 MB, free: 5.379 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.499e-05/0.3874, allocations: 2.156 kB / 333.3 MB, free: 5.379 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.858e-05/0.3874, allocations: 15.8 kB / 333.3 MB, free: 5.371 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001192/0.3875, allocations: 12.2 kB / 333.3 MB, free: 5.367 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.212e-05/0.3875, allocations: 0 / 333.3 MB, free: 5.367 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.109e-05/0.3876, allocations: 4.859 kB / 333.3 MB, free: 5.367 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.849e-05/0.3877, allocations: 18.38 kB / 333.3 MB, free: 5.359 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.556e-05/0.3877, allocations: 31.23 kB / 333.3 MB, free: 5.324 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001296/0.3878, allocations: 42.03 kB / 333.4 MB, free: 5.32 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.3879, allocations: 0 / 333.4 MB, free: 5.32 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3879, allocations: 3.938 kB / 333.4 MB, free: 5.316 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.97e-06/0.3879, allocations: 4 kB / 333.4 MB, free: 5.312 MB / 266.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.0003708/0.3883, allocations: 356.9 kB / 333.7 MB, free: 4.945 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.3883, allocations: 9.922 kB / 333.7 MB, free: 4.945 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.867e-05/0.3884, allocations: 38.89 kB / 333.8 MB, free: 4.902 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.036e-05/0.3884, allocations: 7.531 kB / 333.8 MB, free: 4.898 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.3885, allocations: 175.3 kB / 334 MB, free: 4.691 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.3885, allocations: 1.094 kB / 334 MB, free: 4.691 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.5e-05/0.3886, allocations: 2.344 kB / 334 MB, free: 4.691 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002047/0.3888, allocations: 124.3 kB / 334.1 MB, free: 4.59 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.3888, allocations: 0.5625 kB / 334.1 MB, free: 4.59 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.3888, allocations: 5.078 kB / 334.1 MB, free: 4.586 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.384e-05/0.3889, allocations: 26.8 kB / 334.1 MB, free: 4.578 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001195/0.3891, allocations: 46.47 kB / 334.2 MB, free: 4.562 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006305/0.3897, allocations: 0.8972 MB / 335.1 MB, free: 3.672 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.497e-05/0.3898, allocations: 170.8 kB / 335.2 MB, free: 3.496 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.3898, allocations: 75.28 kB / 335.3 MB, free: 3.422 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.303e-05/0.3898, allocations: 111.7 kB / 335.4 MB, free: 3.305 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 2.484e-06/0.3899, allocations: 3.938 kB / 335.4 MB, free: 3.301 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 8.663e-05/0.3899, allocations: 38.95 kB / 335.5 MB, free: 3.262 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.778e-05/0.39, allocations: 131.3 kB / 335.6 MB, free: 3.121 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002371/0.3902, allocations: 189.1 kB / 335.8 MB, free: 2.988 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.837e-06/0.3903, allocations: 26.86 kB / 335.8 MB, free: 2.957 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.689e-05/0.3904, allocations: 219.2 kB / 336 MB, free: 2.754 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.921e-06/0.3904, allocations: 2.062 kB / 336 MB, free: 2.754 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.758e-06/0.3904, allocations: 5.281 kB / 336 MB, free: 2.75 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.022e-05/0.3905, allocations: 324.4 kB / 336.3 MB, free: 2.43 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.875e-05/0.3906, allocations: 29.77 kB / 336.4 MB, free: 2.422 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00015/0.3907, allocations: 153.6 kB / 336.5 MB, free: 2.246 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001521/0.3909, allocations: 68.81 kB / 336.6 MB, free: 2.219 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.3909, allocations: 1.719 kB / 336.6 MB, free: 2.219 MB / 266.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004339/0.3914, allocations: 190.3 kB / 336.8 MB, free: 2.129 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/0.3914, allocations: 6.5 kB / 336.8 MB, free: 2.129 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.3914, allocations: 4.25 kB / 336.8 MB, free: 2.129 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.356e-05/0.3914, allocations: 7.406 kB / 336.8 MB, free: 2.129 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002244/0.3917, allocations: 37.27 kB / 336.8 MB, free: 2.125 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.643e-05/0.3917, allocations: 14.45 kB / 336.8 MB, free: 2.117 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000137/0.3918, allocations: 23.97 kB / 336.9 MB, free: 2.102 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.032e-05/0.3919, allocations: 10.22 kB / 336.9 MB, free: 2.102 MB / 266.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.000122/0.392, allocations: 218 kB / 337.1 MB, free: 1.895 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.514e-05/0.3921, allocations: 115.4 kB / 337.2 MB, free: 1.781 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.869e-05/0.3921, allocations: 118.2 kB / 337.3 MB, free: 1.66 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.48e-05/0.3922, allocations: 182.5 kB / 337.5 MB, free: 1.477 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.448e-05/0.3922, allocations: 182.5 kB / 337.7 MB, free: 1.293 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-05/0.3923, allocations: 185.4 kB / 337.8 MB, free: 1.105 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000207/0.3925, allocations: 420.2 kB / 338.3 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.162e-05/0.3925, allocations: 109.9 kB / 338.4 MB, free: 0.543 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.791e-05/0.3926, allocations: 102.5 kB / 338.5 MB, free: 448 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.592e-05/0.3926, allocations: 182.7 kB / 338.6 MB, free: 260 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.469e-05/0.3926, allocations: 181.2 kB / 338.8 MB, free: 72 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.919e-05/0.3928, allocations: 178.2 kB / 339 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.783e-05/0.3928, allocations: 182 kB / 339.2 MB, free: 15.71 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002586/0.3931, allocations: 316 kB / 339.5 MB, free: 15.38 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001311/0.3933, allocations: 186.6 kB / 339.7 MB, free: 15.18 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001185/0.3934, allocations: 190.8 kB / 339.8 MB, free: 14.99 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/0.3935, allocations: 111.5 kB / 340 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.065e-05/0.3936, allocations: 180.3 kB / 340.1 MB, free: 14.69 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.912e-05/0.3937, allocations: 110.8 kB / 340.2 MB, free: 14.58 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002039/0.3939, allocations: 131.8 kB / 340.4 MB, free: 14.49 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.3939, allocations: 0 / 340.4 MB, free: 14.49 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003855/0.3943, allocations: 19.25 kB / 340.4 MB, free: 14.48 MB / 282.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.0008603/0.3952, allocations: 0.8861 MB / 341.3 MB, free: 13.63 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002439/0.3955, allocations: 73.8 kB / 341.3 MB, free: 13.61 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3955, allocations: 320 / 341.3 MB, free: 13.61 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.947e-06/0.3955, allocations: 5.25 kB / 341.4 MB, free: 13.61 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003885/0.3959, allocations: 0.5249 MB / 341.9 MB, free: 13.08 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001564/0.3975, allocations: 0.8299 MB / 342.7 MB, free: 12.35 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003947/0.3979, allocations: 0.7021 MB / 343.4 MB, free: 11.65 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001393/0.3981, allocations: 26.53 kB / 343.4 MB, free: 11.64 MB / 282.7 MB Notification: Performance of SimCode: time 1.303e-06/0.3981, allocations: 0 / 343.4 MB, free: 11.64 MB / 282.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_1_cpp_ModelicaTest_Tables_CombiTable2D_Test15CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test15CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test15CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test15Initialize.cpp:373:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp2; ^ ./OMCppModelicaTest_3_2_1_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_1_cpp_ModelicaTest_Tables_CombiTable2D_Test15CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_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_1_cpp_ModelicaTest_Tables_CombiTable2D_Test15CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test15CalcHelperMain.o] Error 1