Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test20.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.CombiTable1D.Test20,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test20,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test20",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.001578/0.001578, allocations: 181.6 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.074/2.074, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001075/0.001075, allocations: 97.73 kB / 267.5 MB, free: 14.11 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.2841/0.2841, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 5.056e-05/5.069e-05, allocations: 4 kB / 425.4 MB, free: 23.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1345, allocations: 58.86 MB / 484.2 MB, free: 12.37 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4892/0.6237, allocations: 86.65 MB / 0.5575 GB, free: 0.8555 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002438/0.624, allocations: 80.42 kB / 0.5576 GB, free: 0.8164 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01721/0.6413, allocations: 4.14 MB / 0.5616 GB, free: 13.56 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.6413, allocations: 0 / 0.5616 GB, free: 13.56 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.449e-05/0.6413, allocations: 0 / 0.5616 GB, free: 13.56 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005146/0.6419, allocations: 370.7 kB / 0.562 GB, free: 13.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.326e-05/0.6419, allocations: 8.031 kB / 0.562 GB, free: 13.15 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.689e-05/0.642, allocations: 42.25 kB / 0.562 GB, free: 13.11 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.205e-05/0.642, allocations: 8.531 kB / 0.562 GB, free: 13.1 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003027/0.6424, allocations: 194.6 kB / 0.5622 GB, free: 12.87 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.6424, allocations: 0 / 0.5622 GB, free: 12.87 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.481e-05/0.6424, allocations: 4 kB / 0.5622 GB, free: 12.87 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001678/0.6426, allocations: 59.16 kB / 0.5623 GB, free: 12.8 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.6426, allocations: 0 / 0.5623 GB, free: 12.8 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.6427, allocations: 0 / 0.5623 GB, free: 12.8 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.6427, allocations: 7.984 kB / 0.5623 GB, free: 12.8 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.332e-05/0.6428, allocations: 15.5 kB / 0.5623 GB, free: 12.79 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005158/0.6433, allocations: 287.6 kB / 0.5626 GB, free: 12.47 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002269/0.6435, allocations: 38.36 kB / 0.5626 GB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.367e-05/0.6436, allocations: 20.78 kB / 0.5626 GB, free: 12.41 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.216e-05/0.6436, allocations: 0 / 0.5626 GB, free: 12.41 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/0.6437, allocations: 38.5 kB / 0.5627 GB, free: 12.36 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.533e-06/0.6437, allocations: 0 / 0.5627 GB, free: 12.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005331/0.6442, allocations: 108.6 kB / 0.5628 GB, free: 12.27 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.033e-05/0.6443, allocations: 85.06 kB / 0.5629 GB, free: 12.16 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001648/0.6445, allocations: 122 kB / 0.563 GB, free: 12.05 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.6445, allocations: 29.64 kB / 0.563 GB, free: 12.02 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.607e-05/0.6446, allocations: 162.3 kB / 0.5632 GB, free: 11.86 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.803e-05/0.6447, allocations: 15.56 kB / 0.5632 GB, free: 11.85 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.52e-06/0.6447, allocations: 0 / 0.5632 GB, free: 11.85 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.6448, allocations: 318.8 kB / 0.5635 GB, free: 11.53 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.721e-05/0.6449, allocations: 7.812 kB / 0.5635 GB, free: 11.52 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.041e-05/0.645, allocations: 33.03 kB / 0.5635 GB, free: 11.49 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.352e-05/0.645, allocations: 15.86 kB / 0.5635 GB, free: 11.48 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.6451, allocations: 0 / 0.5635 GB, free: 11.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000162/0.6452, allocations: 61 kB / 0.5636 GB, free: 11.43 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.6453, allocations: 4 kB / 0.5636 GB, free: 11.42 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.6453, allocations: 4 kB / 0.5636 GB, free: 11.42 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.6453, allocations: 0 / 0.5636 GB, free: 11.42 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/0.6455, allocations: 19.92 kB / 0.5636 GB, free: 11.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.505e-06/0.6455, allocations: 32 / 0.5636 GB, free: 11.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.768e-05/0.6456, allocations: 15.89 kB / 0.5636 GB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.6456, allocations: 0 / 0.5636 GB, free: 11.38 MB / 378.7 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 (5): * Single equations (assignments): 5 * 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 9.019e-05/0.6457, allocations: 105 kB / 0.5637 GB, free: 11.27 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.378e-05/0.6458, allocations: 7.906 kB / 0.5637 GB, free: 11.27 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002287/0.646, allocations: 76.89 kB / 0.5638 GB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.646, allocations: 4 kB / 0.5638 GB, free: 11.19 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.646, allocations: 0 / 0.5638 GB, free: 11.19 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.6461, allocations: 7.984 kB / 0.5638 GB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005343/0.6466, allocations: 337.5 kB / 0.5641 GB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.6466, allocations: 4 kB / 0.5641 GB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001205/0.6467, allocations: 15.92 kB / 0.5642 GB, free: 10.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.764e-06/0.6468, allocations: 4 kB / 0.5642 GB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.6468, allocations: 0 / 0.5642 GB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.6468, allocations: 3.984 kB / 0.5642 GB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/0.6468, allocations: 3.953 kB / 0.5642 GB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002133/0.647, allocations: 166.8 kB / 0.5643 GB, free: 10.63 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.222e-05/0.6471, allocations: 89 kB / 0.5644 GB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.383e-05/0.6472, allocations: 3.938 kB / 0.5644 GB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.6473, allocations: 7.984 kB / 0.5644 GB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.932e-05/0.6474, allocations: 7.953 kB / 0.5644 GB, free: 10.51 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.6474, allocations: 0 / 0.5644 GB, free: 10.51 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001164/0.6475, allocations: 111.5 kB / 0.5645 GB, free: 10.41 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.6e-07/0.6475, allocations: 4 kB / 0.5645 GB, free: 10.4 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003507/0.6479, allocations: 27.94 kB / 0.5646 GB, free: 10.38 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 (5): * Single equations (assignments): 5 * 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.001692/0.6496, allocations: 0.9989 MB / 0.5656 GB, free: 9.43 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000213/0.6498, allocations: 30.94 kB / 0.5656 GB, free: 9.41 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.6499, allocations: 0 / 0.5656 GB, free: 9.41 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.205e-05/0.6499, allocations: 19.75 kB / 0.5656 GB, free: 9.395 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003064/0.6503, allocations: 15.86 kB / 0.5656 GB, free: 9.383 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007024/0.651, allocations: 191.8 kB / 0.5658 GB, free: 9.16 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003678/0.6514, allocations: 0.704 MB / 0.5665 GB, free: 8.434 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.6515, allocations: 22.55 kB / 0.5665 GB, free: 8.418 MB / 378.7 MB Notification: Performance of SimCode: time 1.012e-06/0.6515, allocations: 0 / 0.5665 GB, free: 8.418 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_CombiTable1D_Test20CalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test20CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test20CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test20InitializeParameter.cpp:38:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp24; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test20InitializeParameter.cpp:39: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_v6.mat", tmp24); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test20CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test20Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp9; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test20Initialize.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_v6.mat", tmp9); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test20Initialize.cpp:244:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp15; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test20Initialize.cpp:245:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource(_functions->_OMC_LIT0, tmp15); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test20CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test20.cpp:714:24: error: use of undeclared identifier 'tmp4' _t_new_P_fileName_ = tmp4; ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test20CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test20FMU.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_CombiTable1D_Test20CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test20CalcHelperMain.o] Error 1