Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test10.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test10,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test10,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test10",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001448/0.001448, allocations: 181.2 kB / 8.366 MB, free: 0.7109 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.119/2.119, allocations: 205.3 MB / 214.1 MB, free: 14.08 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001621/0.001621, allocations: 89.73 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3165/0.3165, allocations: 43.49 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.632e-05/2.667e-05, allocations: 224 / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4415/0.4416, allocations: 58.86 MB / 477.2 MB, free: 5.156 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2298/0.6715, allocations: 86.34 MB / 0.5503 GB, free: 12.87 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003903/0.6719, allocations: 67.97 kB / 0.5504 GB, free: 12.8 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02614/0.6981, allocations: 4.18 MB / 0.5545 GB, free: 8.613 MB / 395.1 MB Notification: Performance of FrontEnd: time 3.046e-06/0.6982, allocations: 0 / 0.5545 GB, free: 8.613 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.251e-05/0.6982, allocations: 0 / 0.5545 GB, free: 8.613 MB / 395.1 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.0007926/0.699, allocations: 385.9 kB / 0.5548 GB, free: 8.195 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.208e-05/0.6991, allocations: 8.031 kB / 0.5548 GB, free: 8.188 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.398e-05/0.6992, allocations: 11.86 kB / 0.5548 GB, free: 8.176 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004324/0.6997, allocations: 190.9 kB / 0.555 GB, free: 7.949 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.6997, allocations: 4 kB / 0.555 GB, free: 7.945 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.189e-05/0.6998, allocations: 0 / 0.555 GB, free: 7.945 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001444/0.6999, allocations: 20 kB / 0.5551 GB, free: 7.926 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001934/0.7001, allocations: 55.41 kB / 0.5551 GB, free: 7.859 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.7002, allocations: 7.922 kB / 0.5551 GB, free: 7.852 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.824e-05/0.7002, allocations: 0 / 0.5551 GB, free: 7.852 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.7002, allocations: 0 / 0.5551 GB, free: 7.852 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006383/0.7009, allocations: 273.3 kB / 0.5554 GB, free: 7.547 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001281/0.701, allocations: 30.58 kB / 0.5554 GB, free: 7.508 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.869e-05/0.7011, allocations: 12.86 kB / 0.5554 GB, free: 7.492 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.745e-05/0.7012, allocations: 4 kB / 0.5554 GB, free: 7.488 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.601e-05/0.7012, allocations: 34.64 kB / 0.5555 GB, free: 7.445 MB / 395.1 MB Notification: Performance of pre-optimization done (n=4): time 5.521e-06/0.7012, allocations: 4 kB / 0.5555 GB, free: 7.441 MB / 395.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008929/0.7021, allocations: 133.3 kB / 0.5556 GB, free: 7.305 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.215e-05/0.7022, allocations: 77.11 kB / 0.5557 GB, free: 7.211 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002526/0.7025, allocations: 125.2 kB / 0.5558 GB, free: 7.078 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 3.079e-05/0.7026, allocations: 25.7 kB / 0.5558 GB, free: 7.047 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.7027, allocations: 158.6 kB / 0.556 GB, free: 6.891 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.304e-05/0.7028, allocations: 28.25 kB / 0.556 GB, free: 6.863 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.446e-06/0.7028, allocations: 0 / 0.556 GB, free: 6.863 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001927/0.703, allocations: 310.8 kB / 0.5563 GB, free: 6.551 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.915e-05/0.7031, allocations: 16.19 kB / 0.5563 GB, free: 6.535 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.976e-05/0.7032, allocations: 25.72 kB / 0.5563 GB, free: 6.504 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.452e-05/0.7033, allocations: 19.92 kB / 0.5563 GB, free: 6.484 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.7033, allocations: 0 / 0.5563 GB, free: 6.484 MB / 395.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002927/0.7036, allocations: 69.98 kB / 0.5564 GB, free: 6.41 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.67e-05/0.7037, allocations: 8.031 kB / 0.5564 GB, free: 6.402 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/0.7037, allocations: 4.078 kB / 0.5564 GB, free: 6.398 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.7037, allocations: 0 / 0.5564 GB, free: 6.398 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003054/0.704, allocations: 23.94 kB / 0.5564 GB, free: 6.375 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.303e-05/0.7041, allocations: 7.984 kB / 0.5564 GB, free: 6.367 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002048/0.7043, allocations: 15.92 kB / 0.5565 GB, free: 6.352 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.453e-05/0.7043, allocations: 0 / 0.5565 GB, free: 6.352 MB / 395.1 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0001362/0.7045, allocations: 116.9 kB / 0.5566 GB, free: 6.23 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000286/0.7048, allocations: 69.59 kB / 0.5566 GB, free: 6.156 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.943e-05/0.7049, allocations: 7.906 kB / 0.5566 GB, free: 6.148 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003376/0.7052, allocations: 90.16 kB / 0.5567 GB, free: 6.055 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.7053, allocations: 3.938 kB / 0.5567 GB, free: 6.051 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.7053, allocations: 0 / 0.5567 GB, free: 6.051 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.7053, allocations: 0 / 0.5567 GB, free: 6.051 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007339/0.706, allocations: 323.1 kB / 0.557 GB, free: 5.691 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.7061, allocations: 0 / 0.557 GB, free: 5.691 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000265/0.7063, allocations: 23.98 kB / 0.5571 GB, free: 5.668 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.386e-05/0.7064, allocations: 7.953 kB / 0.5571 GB, free: 5.66 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/0.7064, allocations: 3.984 kB / 0.5571 GB, free: 5.656 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.7064, allocations: 0 / 0.5571 GB, free: 5.656 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.7064, allocations: 4 kB / 0.5571 GB, free: 5.652 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000341/0.7068, allocations: 175.4 kB / 0.5572 GB, free: 5.465 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.7069, allocations: 85.02 kB / 0.5573 GB, free: 5.363 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.361e-05/0.707, allocations: 7.938 kB / 0.5573 GB, free: 5.355 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002484/0.7072, allocations: 12 kB / 0.5573 GB, free: 5.344 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/0.7074, allocations: 7.984 kB / 0.5574 GB, free: 5.336 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.431e-05/0.7074, allocations: 0 / 0.5574 GB, free: 5.336 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001748/0.7076, allocations: 110.9 kB / 0.5575 GB, free: 5.23 MB / 395.1 MB Notification: Performance of sort global known variables: time 5.51e-07/0.7076, allocations: 4 kB / 0.5575 GB, free: 5.227 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0006423/0.7083, allocations: 27.94 kB / 0.5575 GB, free: 5.199 MB / 395.1 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 () * 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.002412/0.7107, allocations: 0.9883 MB / 0.5585 GB, free: 4.23 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0003173/0.7111, allocations: 36 kB / 0.5585 GB, free: 4.195 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.7111, allocations: 0 / 0.5585 GB, free: 4.195 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001017/0.7112, allocations: 23.94 kB / 0.5585 GB, free: 4.172 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005062/0.7118, allocations: 19.8 kB / 0.5585 GB, free: 4.152 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/0.7128, allocations: 195.7 kB / 0.5587 GB, free: 3.918 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004432/0.7133, allocations: 0.7002 MB / 0.5594 GB, free: 3.191 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001577/0.7135, allocations: 27.42 kB / 0.5594 GB, free: 3.164 MB / 395.1 MB Notification: Performance of SimCode: time 2.195e-06/0.7135, allocations: 0 / 0.5594 GB, free: 3.164 MB / 395.1 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=2 -DSUNDIALS_MINOR_VERSION=6 -DPMC_USE_SUNDIALS -DFMU_BUILD -DRUNTIME_STATIC_LINKING -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/cpp" -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c/sundials" -I"." -DUSE_LOGGER -c -o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test10CalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test10CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test10CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test10InitializeParameter.cpp:40:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp30; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test10InitializeParameter.cpp:41:16: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Resources/Data/Tables/test_v4.mat", tmp30); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test10CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test10Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp12; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test10Initialize.cpp:96:16: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Resources/Data/Tables/test_v4.mat", tmp12); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test10Initialize.cpp:277:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp20; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test10Initialize.cpp:278:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource(_functions->_OMC_LIT0, tmp20); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test10CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test10.cpp:758:24: error: use of undeclared identifier 'tmp6' _t_new_P_fileName_ = tmp6; ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test10CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test10FMU.cpp:11: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/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_3_cpp_ModelicaTest_Tables_CombiTable2D_Test10CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test10CalcHelperMain.o] Error 1