Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15.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.Test15,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test15,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test15",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.00255/0.002549, allocations: 180.9 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.241/2.241, allocations: 205.2 MB / 219.4 MB, free: 14.2 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001103/0.001102, allocations: 90.64 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2951/0.2951, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.393e-05/3.409e-05, allocations: 4 kB / 425.4 MB, free: 23.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1518, allocations: 58.86 MB / 484.2 MB, free: 12.38 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5299/0.6817, allocations: 86.13 MB / 0.557 GB, free: 1.375 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002556/0.682, allocations: 78.23 kB / 0.5571 GB, free: 1.336 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01068/0.6927, allocations: 2.983 MB / 0.56 GB, free: 15.01 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.6927, allocations: 4 kB / 0.56 GB, free: 15 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.774e-06/0.6928, allocations: 0 / 0.56 GB, free: 15 MB / 378.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.0003891/0.6932, allocations: 358.3 kB / 0.5603 GB, free: 14.62 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/0.6932, allocations: 12.03 kB / 0.5603 GB, free: 14.61 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.528e-05/0.6933, allocations: 38.23 kB / 0.5604 GB, free: 14.56 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.798e-05/0.6933, allocations: 12.2 kB / 0.5604 GB, free: 14.55 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001792/0.6935, allocations: 178.5 kB / 0.5606 GB, free: 14.34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.6936, allocations: 7.438 kB / 0.5606 GB, free: 14.34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.801e-05/0.6936, allocations: 4 kB / 0.5606 GB, free: 14.33 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000306/0.6939, allocations: 190.6 kB / 0.5608 GB, free: 14.11 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.6939, allocations: 8 kB / 0.5608 GB, free: 14.11 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.694, allocations: 0 / 0.5608 GB, free: 14.11 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-05/0.694, allocations: 11.95 kB / 0.5608 GB, free: 14.09 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001253/0.6942, allocations: 66.72 kB / 0.5608 GB, free: 14.04 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001271/0.6954, allocations: 1.691 MB / 0.5625 GB, free: 12.29 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.6956, allocations: 173.2 kB / 0.5627 GB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.03e-05/0.6957, allocations: 88.17 kB / 0.5627 GB, free: 12.02 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.657e-05/0.6957, allocations: 75.28 kB / 0.5628 GB, free: 11.95 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.701e-05/0.6958, allocations: 109.8 kB / 0.5629 GB, free: 11.83 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 3.256e-06/0.6958, allocations: 4 kB / 0.5629 GB, free: 11.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 9.823e-05/0.6959, allocations: 40.2 kB / 0.563 GB, free: 11.79 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.443e-05/0.696, allocations: 134.6 kB / 0.5631 GB, free: 11.64 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002415/0.6962, allocations: 172.7 kB / 0.5632 GB, free: 11.48 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.6963, allocations: 29.7 kB / 0.5633 GB, free: 11.45 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001615/0.6964, allocations: 216.6 kB / 0.5635 GB, free: 11.24 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.97e-06/0.6965, allocations: 3.562 kB / 0.5635 GB, free: 11.24 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.127e-06/0.6965, allocations: 0 / 0.5635 GB, free: 11.24 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.6966, allocations: 322 kB / 0.5638 GB, free: 10.92 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.039e-05/0.6967, allocations: 34.3 kB / 0.5638 GB, free: 10.9 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001773/0.6969, allocations: 149.3 kB / 0.564 GB, free: 10.71 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001546/0.6971, allocations: 68.72 kB / 0.564 GB, free: 10.65 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.6971, allocations: 0 / 0.564 GB, free: 10.65 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004495/0.6975, allocations: 199.9 kB / 0.5642 GB, free: 10.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/0.6976, allocations: 8 kB / 0.5642 GB, free: 10.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.656e-05/0.6976, allocations: 4 kB / 0.5642 GB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.713e-05/0.6976, allocations: 8 kB / 0.5642 GB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002288/0.6979, allocations: 36.55 kB / 0.5643 GB, free: 10.42 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.684e-05/0.6979, allocations: 11.88 kB / 0.5643 GB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001337/0.6981, allocations: 27.59 kB / 0.5643 GB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.99e-05/0.6981, allocations: 8 kB / 0.5643 GB, free: 10.38 MB / 378.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 () * 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.0001312/0.6982, allocations: 195.4 kB / 0.5645 GB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.751e-05/0.6983, allocations: 112.8 kB / 0.5646 GB, free: 10.07 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.447e-05/0.6984, allocations: 111.5 kB / 0.5647 GB, free: 9.945 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.568e-05/0.6985, allocations: 180.2 kB / 0.5649 GB, free: 9.762 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.603e-05/0.6986, allocations: 192.1 kB / 0.5651 GB, free: 9.57 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.002e-05/0.6987, allocations: 180.2 kB / 0.5653 GB, free: 9.387 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003151/0.699, allocations: 418.8 kB / 0.5657 GB, free: 8.926 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.272e-05/0.6991, allocations: 104 kB / 0.5658 GB, free: 8.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.672e-05/0.6992, allocations: 108.9 kB / 0.5659 GB, free: 8.707 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.47e-05/0.6992, allocations: 184.3 kB / 0.566 GB, free: 8.52 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.95e-05/0.6993, allocations: 184.2 kB / 0.5662 GB, free: 8.332 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.023e-05/0.6994, allocations: 180.3 kB / 0.5664 GB, free: 8.148 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.632e-05/0.6995, allocations: 183.6 kB / 0.5666 GB, free: 7.965 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001849/0.6997, allocations: 315.6 kB / 0.5669 GB, free: 7.633 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001257/0.6999, allocations: 197.1 kB / 0.567 GB, free: 7.418 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.975e-05/0.7, allocations: 176.3 kB / 0.5672 GB, free: 7.238 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.7001, allocations: 104.9 kB / 0.5673 GB, free: 7.129 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.556e-05/0.7002, allocations: 184.2 kB / 0.5675 GB, free: 6.941 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.722e-05/0.7003, allocations: 101 kB / 0.5676 GB, free: 6.836 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002274/0.7005, allocations: 134.9 kB / 0.5677 GB, free: 6.719 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.7005, allocations: 4 kB / 0.5677 GB, free: 6.715 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003837/0.7009, allocations: 15.12 kB / 0.5677 GB, free: 6.703 MB / 378.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 () * 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.0009575/0.7019, allocations: 0.903 MB / 0.5686 GB, free: 5.812 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002451/0.7021, allocations: 76.3 kB / 0.5687 GB, free: 5.75 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.7022, allocations: 0 / 0.5687 GB, free: 5.75 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.665e-06/0.7022, allocations: 0 / 0.5687 GB, free: 5.75 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000426/0.7026, allocations: 0.5311 MB / 0.5692 GB, free: 5.219 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007273/0.7034, allocations: 276.5 kB / 0.5695 GB, free: 4.918 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003396/0.7037, allocations: 0.7004 MB / 0.5701 GB, free: 4.195 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.918e-05/0.7038, allocations: 29.36 kB / 0.5702 GB, free: 4.176 MB / 378.7 MB Notification: Performance of SimCode: time 1.102e-06/0.7038, allocations: 0 / 0.5702 GB, free: 4.176 MB / 378.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=2 -DSUNDIALS_MINOR_VERSION=6 -DPMC_USE_SUNDIALS -DFMU_BUILD -DRUNTIME_STATIC_LINKING -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp" -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -I"." -DUSE_LOGGER -c -o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test15CalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test15CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test15CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test15InitializeParameter.cpp:27:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp8; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test15InitializeParameter.cpp:28: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", tmp8); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test15CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test15Initialize.cpp:96:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp4; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test15Initialize.cpp:97: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", tmp4); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test15Initialize.cpp:377:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp6; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test15Initialize.cpp:378:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource(_functions->_OMC_LIT0, tmp6); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test15CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test15.cpp:606:16: error: use of undeclared identifier 'tmp0' _fileName_ = tmp0; ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test15CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test15FMU.cpp:11: /var/lib/jenkins1/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_3_cpp_ModelicaTest_Tables_CombiTable2D_Test15CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test15CalcHelperMain.o] Error 1