Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test16.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.Test16,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test16,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test16",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.002343/0.002343, allocations: 181.4 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.201/2.201, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.00168/0.001679, allocations: 78.7 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.304/0.304, allocations: 43.5 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.043e-05/4.059e-05, allocations: 4 kB / 425.4 MB, free: 23.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1168, allocations: 58.86 MB / 484.2 MB, free: 12.37 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4652/0.5821, allocations: 86.13 MB / 0.557 GB, free: 1.391 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002414/0.5824, allocations: 77.73 kB / 0.5571 GB, free: 1.352 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01004/0.5925, allocations: 2.989 MB / 0.56 GB, free: 15.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.5925, allocations: 0 / 0.56 GB, free: 15.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.5925, allocations: 0 / 0.56 GB, free: 15.02 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.0003616/0.5929, allocations: 357.6 kB / 0.5603 GB, free: 14.63 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.593, allocations: 8.031 kB / 0.5603 GB, free: 14.62 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.184e-05/0.593, allocations: 41.86 kB / 0.5604 GB, free: 14.58 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.907e-05/0.5931, allocations: 15.64 kB / 0.5604 GB, free: 14.57 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001767/0.5933, allocations: 178.5 kB / 0.5606 GB, free: 14.36 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.5933, allocations: 8 kB / 0.5606 GB, free: 14.35 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.028e-05/0.5933, allocations: 7.5 kB / 0.5606 GB, free: 14.34 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002903/0.5936, allocations: 187.8 kB / 0.5608 GB, free: 14.12 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.5937, allocations: 0 / 0.5608 GB, free: 14.12 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.683e-05/0.5937, allocations: 7.625 kB / 0.5608 GB, free: 14.12 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.686e-05/0.5937, allocations: 11.95 kB / 0.5608 GB, free: 14.11 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000119/0.5939, allocations: 55.17 kB / 0.5608 GB, free: 14.06 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001214/0.5951, allocations: 1.696 MB / 0.5625 GB, free: 12.31 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/0.5952, allocations: 176.1 kB / 0.5627 GB, free: 12.13 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.418e-05/0.5953, allocations: 84.17 kB / 0.5627 GB, free: 12.04 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.156e-05/0.5953, allocations: 75.28 kB / 0.5628 GB, free: 11.97 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.064e-05/0.5954, allocations: 109.8 kB / 0.5629 GB, free: 11.85 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 2.324e-06/0.5954, allocations: 4 kB / 0.5629 GB, free: 11.85 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 9.386e-05/0.5955, allocations: 36.7 kB / 0.563 GB, free: 11.81 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.096e-05/0.5956, allocations: 130.6 kB / 0.5631 GB, free: 11.67 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002291/0.5958, allocations: 174.6 kB / 0.5632 GB, free: 11.51 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.5958, allocations: 29.7 kB / 0.5633 GB, free: 11.48 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001409/0.596, allocations: 216.5 kB / 0.5635 GB, free: 11.27 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.313e-06/0.596, allocations: 7.5 kB / 0.5635 GB, free: 11.27 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.436e-06/0.596, allocations: 0 / 0.5635 GB, free: 11.27 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.5962, allocations: 326.1 kB / 0.5638 GB, free: 10.94 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.382e-05/0.5963, allocations: 29.38 kB / 0.5638 GB, free: 10.92 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001885/0.5965, allocations: 150.4 kB / 0.564 GB, free: 10.73 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001474/0.5966, allocations: 69.28 kB / 0.564 GB, free: 10.67 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.5966, allocations: 0 / 0.564 GB, free: 10.67 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004382/0.5971, allocations: 195.2 kB / 0.5642 GB, free: 10.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.5971, allocations: 12 kB / 0.5642 GB, free: 10.49 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.5972, allocations: 4 kB / 0.5642 GB, free: 10.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.533e-05/0.5972, allocations: 4 kB / 0.5642 GB, free: 10.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002287/0.5974, allocations: 39.92 kB / 0.5643 GB, free: 10.44 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.68e-05/0.5975, allocations: 11.88 kB / 0.5643 GB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001377/0.5976, allocations: 23.03 kB / 0.5643 GB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.21e-05/0.5976, allocations: 15.38 kB / 0.5643 GB, free: 10.4 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.0001175/0.5978, allocations: 191.6 kB / 0.5645 GB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.486e-05/0.5979, allocations: 116.8 kB / 0.5646 GB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.44e-05/0.598, allocations: 115.7 kB / 0.5647 GB, free: 9.961 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.724e-05/0.598, allocations: 180.2 kB / 0.5649 GB, free: 9.777 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.673e-05/0.5981, allocations: 176.3 kB / 0.5651 GB, free: 9.598 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.931e-05/0.5982, allocations: 188.2 kB / 0.5653 GB, free: 9.406 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000305/0.5985, allocations: 423.3 kB / 0.5657 GB, free: 8.945 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.7e-05/0.5986, allocations: 101 kB / 0.5658 GB, free: 8.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.531e-05/0.5987, allocations: 112.8 kB / 0.5659 GB, free: 8.723 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.064e-05/0.5987, allocations: 176.3 kB / 0.566 GB, free: 8.543 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.603e-05/0.5988, allocations: 188.2 kB / 0.5662 GB, free: 8.352 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.022e-05/0.5989, allocations: 184 kB / 0.5664 GB, free: 8.168 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001013/0.599, allocations: 180.3 kB / 0.5666 GB, free: 7.984 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001766/0.5992, allocations: 315.6 kB / 0.5669 GB, free: 7.652 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001141/0.5993, allocations: 189 kB / 0.567 GB, free: 7.445 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.338e-05/0.5994, allocations: 184.2 kB / 0.5672 GB, free: 7.258 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/0.5996, allocations: 104.9 kB / 0.5673 GB, free: 7.148 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.133e-05/0.5997, allocations: 188.2 kB / 0.5675 GB, free: 6.957 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.675e-05/0.5997, allocations: 105 kB / 0.5676 GB, free: 6.848 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001701/0.5999, allocations: 132.5 kB / 0.5677 GB, free: 6.734 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5999, allocations: 0 / 0.5677 GB, free: 6.734 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003647/0.6003, allocations: 12 kB / 0.5677 GB, free: 6.723 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.0009432/0.6013, allocations: 0.8997 MB / 0.5686 GB, free: 5.832 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000212/0.6015, allocations: 74.17 kB / 0.5687 GB, free: 5.773 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.6015, allocations: 4.125 kB / 0.5687 GB, free: 5.77 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.464e-06/0.6015, allocations: 0 / 0.5687 GB, free: 5.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003597/0.6019, allocations: 0.5283 MB / 0.5692 GB, free: 5.242 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006603/0.6026, allocations: 276.6 kB / 0.5695 GB, free: 4.941 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/0.6029, allocations: 0.7082 MB / 0.5702 GB, free: 4.211 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/0.603, allocations: 25.25 kB / 0.5702 GB, free: 4.195 MB / 378.7 MB Notification: Performance of SimCode: time 7.42e-07/0.6031, allocations: 0 / 0.5702 GB, free: 4.195 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_Test16CalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test16CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test16CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test16InitializeParameter.cpp:27:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp8; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test16InitializeParameter.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_Test16CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test16Initialize.cpp:96:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp4; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test16Initialize.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_Test16Initialize.cpp:377:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp6; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test16Initialize.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_Test16CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test16.cpp:606:16: error: use of undeclared identifier 'tmp0' _fileName_ = tmp0; ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test16CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test16FMU.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_Test16CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test16CalcHelperMain.o] Error 1