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.002115/0.002115, allocations: 177.8 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.05/2.05, allocations: 205.3 MB / 214.1 MB, free: 14.14 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.001185/0.001185, allocations: 92.42 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.3019/0.3019, allocations: 43.49 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.396e-05/2.393e-05, allocations: 4 kB / 418.3 MB, free: 40.96 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4555/0.4555, allocations: 58.86 MB / 477.2 MB, free: 5.156 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1633/0.6189, allocations: 85.99 MB / 0.55 GB, free: 13.22 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002847/0.6192, allocations: 79.45 kB / 0.55 GB, free: 13.14 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01914/0.6384, allocations: 4.006 MB / 0.554 GB, free: 9.141 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.6385, allocations: 4 kB / 0.554 GB, free: 9.137 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.946e-05/0.6385, allocations: 0 / 0.554 GB, free: 9.137 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.0005978/0.6391, allocations: 370.3 kB / 0.5543 GB, free: 8.73 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.879e-05/0.6392, allocations: 12.03 kB / 0.5543 GB, free: 8.719 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.118e-05/0.6393, allocations: 4.531 kB / 0.5543 GB, free: 8.715 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000329/0.6396, allocations: 190.9 kB / 0.5545 GB, free: 8.488 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.6397, allocations: 0 / 0.5545 GB, free: 8.488 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.504e-05/0.6397, allocations: 4 kB / 0.5545 GB, free: 8.484 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.161e-05/0.6398, allocations: 12 kB / 0.5545 GB, free: 8.473 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.6399, allocations: 63.34 kB / 0.5546 GB, free: 8.398 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.64, allocations: 4 kB / 0.5546 GB, free: 8.395 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.64, allocations: 0 / 0.5546 GB, free: 8.395 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.806e-06/0.64, allocations: 3.984 kB / 0.5546 GB, free: 8.391 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005166/0.6405, allocations: 257.4 kB / 0.5548 GB, free: 8.102 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002257/0.6408, allocations: 38.58 kB / 0.5549 GB, free: 8.055 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.149e-05/0.6408, allocations: 16.94 kB / 0.5549 GB, free: 8.035 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.281e-05/0.6409, allocations: 0 / 0.5549 GB, free: 8.035 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.559e-05/0.6409, allocations: 30.56 kB / 0.5549 GB, free: 7.996 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 1.834e-06/0.6409, allocations: 3.938 kB / 0.5549 GB, free: 7.992 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005624/0.6415, allocations: 109.4 kB / 0.555 GB, free: 7.879 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.901e-05/0.6416, allocations: 81.11 kB / 0.5551 GB, free: 7.781 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001633/0.6418, allocations: 121.9 kB / 0.5552 GB, free: 7.656 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.854e-05/0.6418, allocations: 25.7 kB / 0.5553 GB, free: 7.625 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.776e-05/0.6419, allocations: 162.5 kB / 0.5554 GB, free: 7.465 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.962e-05/0.6419, allocations: 15.75 kB / 0.5554 GB, free: 7.449 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.45e-06/0.6419, allocations: 0 / 0.5554 GB, free: 7.449 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.6421, allocations: 319 kB / 0.5557 GB, free: 7.129 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.241e-05/0.6422, allocations: 11.98 kB / 0.5557 GB, free: 7.117 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.491e-05/0.6422, allocations: 29.66 kB / 0.5558 GB, free: 7.082 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.459e-05/0.6423, allocations: 15.98 kB / 0.5558 GB, free: 7.066 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.6423, allocations: 0 / 0.5558 GB, free: 7.066 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001666/0.6425, allocations: 61.69 kB / 0.5558 GB, free: 7 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.6425, allocations: 4 kB / 0.5558 GB, free: 6.996 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.6425, allocations: 0 / 0.5558 GB, free: 6.996 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.6426, allocations: 0 / 0.5558 GB, free: 6.996 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001384/0.6427, allocations: 12 kB / 0.5559 GB, free: 6.984 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.6427, allocations: 8.031 kB / 0.5559 GB, free: 6.977 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.19e-05/0.6428, allocations: 7.984 kB / 0.5559 GB, free: 6.969 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.6429, allocations: 0 / 0.5559 GB, free: 6.969 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.0001009/0.643, allocations: 112.9 kB / 0.556 GB, free: 6.852 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001707/0.6431, allocations: 61.59 kB / 0.556 GB, free: 6.785 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.084e-05/0.6432, allocations: 7.906 kB / 0.556 GB, free: 6.777 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002208/0.6434, allocations: 70.08 kB / 0.5561 GB, free: 6.703 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.6435, allocations: 4 kB / 0.5561 GB, free: 6.699 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.6435, allocations: 4.375 kB / 0.5561 GB, free: 6.695 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.6435, allocations: 3.953 kB / 0.5561 GB, free: 6.691 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005252/0.644, allocations: 311.1 kB / 0.5564 GB, free: 6.344 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.644, allocations: 144 / 0.5564 GB, free: 6.344 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001235/0.6442, allocations: 12 kB / 0.5564 GB, free: 6.332 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.767e-06/0.6442, allocations: 3.984 kB / 0.5564 GB, free: 6.328 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.6442, allocations: 7.984 kB / 0.5564 GB, free: 6.32 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.6442, allocations: 0 / 0.5564 GB, free: 6.32 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.6443, allocations: 7.953 kB / 0.5565 GB, free: 6.312 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002271/0.6445, allocations: 167.4 kB / 0.5566 GB, free: 6.133 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.655e-05/0.6446, allocations: 85.02 kB / 0.5567 GB, free: 6.031 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.588e-05/0.6446, allocations: 3.984 kB / 0.5567 GB, free: 6.027 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/0.6448, allocations: 8 kB / 0.5567 GB, free: 6.02 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.951e-05/0.6448, allocations: 0 / 0.5567 GB, free: 6.02 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-05/0.6448, allocations: 19.88 kB / 0.5567 GB, free: 6 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001132/0.645, allocations: 99.78 kB / 0.5568 GB, free: 5.902 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.645, allocations: 0 / 0.5568 GB, free: 5.902 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003838/0.6454, allocations: 31.98 kB / 0.5568 GB, free: 5.871 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.001613/0.647, allocations: 0.9659 MB / 0.5578 GB, free: 4.914 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001883/0.6472, allocations: 27.98 kB / 0.5578 GB, free: 4.887 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 7.124e-06/0.6473, allocations: 4 kB / 0.5578 GB, free: 4.883 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 5.263e-05/0.6473, allocations: 16 kB / 0.5578 GB, free: 4.867 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000405/0.6477, allocations: 19.84 kB / 0.5579 GB, free: 4.848 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006889/0.6484, allocations: 183.2 kB / 0.558 GB, free: 4.621 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003402/0.6488, allocations: 0.6962 MB / 0.5587 GB, free: 3.898 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/0.6489, allocations: 27.42 kB / 0.5587 GB, free: 3.871 MB / 395.1 MB Notification: Performance of SimCode: time 1.222e-06/0.6489, allocations: 0 / 0.5587 GB, free: 3.871 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_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/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_Test20CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test20CalcHelperMain.o] Error 1