Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test24.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.Test24,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test24,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test24",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.002246/0.002245, allocations: 177.7 kB / 8.363 MB, free: 0.7148 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.412/2.412, allocations: 205.3 MB / 214.1 MB, free: 14.13 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.001056/0.001056, allocations: 84.16 kB / 262.1 MB, free: 13.87 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.3052/0.3052, allocations: 43.49 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 3.396e-05/3.375e-05, allocations: 224 / 418.3 MB, free: 40.93 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4803/0.4804, allocations: 58.85 MB / 477.2 MB, free: 5.285 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2321/0.7125, allocations: 85.99 MB / 0.55 GB, free: 13.3 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000405/0.713, allocations: 71.95 kB / 0.55 GB, free: 13.23 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02778/0.7408, allocations: 4.012 MB / 0.554 GB, free: 9.227 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.474e-06/0.7408, allocations: 0 / 0.554 GB, free: 9.227 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.628e-05/0.7409, allocations: 0 / 0.554 GB, free: 9.227 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006471/0.7415, allocations: 370.3 kB / 0.5543 GB, free: 8.82 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.55e-05/0.7417, allocations: 12.03 kB / 0.5543 GB, free: 8.809 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.391e-05/0.7417, allocations: 8.531 kB / 0.5543 GB, free: 8.801 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003951/0.7422, allocations: 191.5 kB / 0.5545 GB, free: 8.574 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/0.7422, allocations: 4 kB / 0.5545 GB, free: 8.57 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.051e-05/0.7422, allocations: 0 / 0.5545 GB, free: 8.57 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001236/0.7424, allocations: 12 kB / 0.5545 GB, free: 8.559 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.7426, allocations: 63.34 kB / 0.5546 GB, free: 8.484 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.7426, allocations: 0 / 0.5546 GB, free: 8.484 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.836e-05/0.7427, allocations: 0 / 0.5546 GB, free: 8.484 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.7427, allocations: 7.938 kB / 0.5546 GB, free: 8.477 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006674/0.7434, allocations: 261.4 kB / 0.5548 GB, free: 8.184 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002982/0.7437, allocations: 34.56 kB / 0.5549 GB, free: 8.141 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.399e-05/0.7438, allocations: 16.8 kB / 0.5549 GB, free: 8.121 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.512e-05/0.7439, allocations: 4 kB / 0.5549 GB, free: 8.117 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.658e-05/0.7439, allocations: 34.56 kB / 0.5549 GB, free: 8.074 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 4.007e-06/0.744, allocations: 0 / 0.5549 GB, free: 8.074 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007412/0.7447, allocations: 101.6 kB / 0.555 GB, free: 7.969 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.916e-05/0.7448, allocations: 81.11 kB / 0.5551 GB, free: 7.871 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002217/0.7451, allocations: 124.9 kB / 0.5552 GB, free: 7.742 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 3.162e-05/0.7451, allocations: 25.7 kB / 0.5553 GB, free: 7.711 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.892e-05/0.7452, allocations: 162.5 kB / 0.5554 GB, free: 7.551 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.081e-05/0.7453, allocations: 23.73 kB / 0.5554 GB, free: 7.527 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.805e-06/0.7453, allocations: 0 / 0.5554 GB, free: 7.527 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.7455, allocations: 315 kB / 0.5557 GB, free: 7.211 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.809e-05/0.7456, allocations: 12 kB / 0.5557 GB, free: 7.199 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.184e-05/0.7457, allocations: 25.7 kB / 0.5558 GB, free: 7.168 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.445e-05/0.7458, allocations: 12 kB / 0.5558 GB, free: 7.156 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.7459, allocations: 0 / 0.5558 GB, free: 7.156 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002448/0.7461, allocations: 69.7 kB / 0.5558 GB, free: 7.082 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.575e-05/0.7462, allocations: 4 kB / 0.5558 GB, free: 7.078 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.7462, allocations: 0 / 0.5558 GB, free: 7.078 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/0.7462, allocations: 0 / 0.5558 GB, free: 7.078 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002049/0.7464, allocations: 19.92 kB / 0.5559 GB, free: 7.059 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.409e-05/0.7465, allocations: 3.984 kB / 0.5559 GB, free: 7.055 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001422/0.7466, allocations: 7.984 kB / 0.5559 GB, free: 7.047 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.413e-05/0.7467, allocations: 4 kB / 0.5559 GB, free: 7.043 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 (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 0.0001269/0.7468, allocations: 108.9 kB / 0.556 GB, free: 6.93 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002503/0.7471, allocations: 65.59 kB / 0.556 GB, free: 6.859 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.333e-05/0.7472, allocations: 4.219 kB / 0.5561 GB, free: 6.855 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003326/0.7475, allocations: 82.02 kB / 0.5561 GB, free: 6.77 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.7476, allocations: 0 / 0.5561 GB, free: 6.77 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.7476, allocations: 0 / 0.5561 GB, free: 6.77 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.759e-06/0.7476, allocations: 3.953 kB / 0.5561 GB, free: 6.766 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006891/0.7483, allocations: 303.2 kB / 0.5564 GB, free: 6.426 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.7484, allocations: 4 kB / 0.5564 GB, free: 6.422 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001913/0.7486, allocations: 15.98 kB / 0.5564 GB, free: 6.406 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.014e-06/0.7486, allocations: 0 / 0.5564 GB, free: 6.406 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.7486, allocations: 0 / 0.5564 GB, free: 6.406 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.858e-06/0.7486, allocations: 0 / 0.5564 GB, free: 6.406 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.915e-06/0.7487, allocations: 3.953 kB / 0.5564 GB, free: 6.402 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003096/0.749, allocations: 171.4 kB / 0.5566 GB, free: 6.219 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.92e-05/0.7491, allocations: 96.95 kB / 0.5567 GB, free: 6.105 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.499e-05/0.7492, allocations: 0 / 0.5567 GB, free: 6.105 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002016/0.7494, allocations: 7.984 kB / 0.5567 GB, free: 6.098 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.266e-05/0.7495, allocations: 4 kB / 0.5567 GB, free: 6.094 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.926e-05/0.7495, allocations: 3.953 kB / 0.5567 GB, free: 6.09 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001975/0.7497, allocations: 107.2 kB / 0.5568 GB, free: 5.984 MB / 395.1 MB Notification: Performance of sort global known variables: time 8.32e-07/0.7498, allocations: 0 / 0.5568 GB, free: 5.984 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0006192/0.7504, allocations: 28 kB / 0.5568 GB, free: 5.957 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 (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.002433/0.7528, allocations: 0.9667 MB / 0.5578 GB, free: 5.008 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002778/0.7532, allocations: 28 kB / 0.5578 GB, free: 4.98 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.7532, allocations: 0 / 0.5578 GB, free: 4.98 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 9.977e-05/0.7533, allocations: 24.05 kB / 0.5578 GB, free: 4.957 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006122/0.754, allocations: 19.98 kB / 0.5579 GB, free: 4.938 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009733/0.755, allocations: 179.2 kB / 0.558 GB, free: 4.715 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004049/0.7554, allocations: 0.7002 MB / 0.5587 GB, free: 3.988 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001473/0.7556, allocations: 27.36 kB / 0.5587 GB, free: 3.961 MB / 395.1 MB Notification: Performance of SimCode: time 1.563e-06/0.7556, allocations: 0 / 0.5587 GB, free: 3.961 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_CombiTable1D_Test24CalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test24CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test24CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test24InitializeParameter.cpp:38:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp24; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test24InitializeParameter.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.txt", tmp24); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test24CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test24Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp9; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test24Initialize.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.txt", tmp9); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test24Initialize.cpp:244:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp15; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test24Initialize.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_Test24CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test24.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_Test24CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test24FMU.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_CombiTable1D_Test24CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test24CalcHelperMain.o] Error 1