Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19.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.CombiTable1Ds.Test19,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test19,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test19",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.001555/0.001555, 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.18/2.18, 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.001087/0.001087, allocations: 94.62 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.2755/0.2755, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.951e-05/4.982e-05, allocations: 4 kB / 425.4 MB, free: 23.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1156, allocations: 58.85 MB / 484.2 MB, free: 12.38 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4913/0.607, allocations: 86.54 MB / 0.5574 GB, free: 0.582 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002629/0.6073, allocations: 76.3 kB / 0.5575 GB, free: 0.543 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01678/0.6241, allocations: 4.123 MB / 0.5615 GB, free: 13.3 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.6242, allocations: 0 / 0.5615 GB, free: 13.3 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.198e-05/0.6242, allocations: 0 / 0.5615 GB, free: 13.3 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.0005206/0.6247, allocations: 377 kB / 0.5619 GB, free: 12.9 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/0.6248, allocations: 8.031 kB / 0.5619 GB, free: 12.89 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.06e-05/0.6249, allocations: 38.56 kB / 0.5619 GB, free: 12.84 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.887e-05/0.6249, allocations: 8.469 kB / 0.5619 GB, free: 12.84 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002852/0.6252, allocations: 192.4 kB / 0.5621 GB, free: 12.61 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.294e-06/0.6252, allocations: 0 / 0.5621 GB, free: 12.61 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.143e-05/0.6253, allocations: 0 / 0.5621 GB, free: 12.61 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/0.6254, allocations: 61.91 kB / 0.5622 GB, free: 12.55 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.6254, allocations: 4 kB / 0.5622 GB, free: 12.54 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.6255, allocations: 3.062 kB / 0.5622 GB, free: 12.54 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.6255, allocations: 0 / 0.5622 GB, free: 12.54 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.508e-05/0.6256, allocations: 11.62 kB / 0.5622 GB, free: 12.54 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004263/0.626, allocations: 279.5 kB / 0.5624 GB, free: 12.23 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002066/0.6262, allocations: 37.75 kB / 0.5625 GB, free: 12.18 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.591e-05/0.6263, allocations: 23.98 kB / 0.5625 GB, free: 12.16 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/0.6263, allocations: 0 / 0.5625 GB, free: 12.16 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.6264, allocations: 30.56 kB / 0.5625 GB, free: 12.12 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.523e-06/0.6264, allocations: 0 / 0.5625 GB, free: 12.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004883/0.6269, allocations: 109 kB / 0.5626 GB, free: 12.02 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.739e-05/0.6269, allocations: 81.06 kB / 0.5627 GB, free: 11.93 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/0.6271, allocations: 124 kB / 0.5628 GB, free: 11.81 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.828e-05/0.6272, allocations: 29.7 kB / 0.5629 GB, free: 11.77 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.69e-05/0.6272, allocations: 160.6 kB / 0.563 GB, free: 11.62 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.366e-05/0.6273, allocations: 11.75 kB / 0.563 GB, free: 11.61 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.796e-06/0.6273, allocations: 7.375 kB / 0.563 GB, free: 11.61 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.6274, allocations: 310.8 kB / 0.5633 GB, free: 11.29 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.5e-05/0.6275, allocations: 7.312 kB / 0.5633 GB, free: 11.29 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.271e-05/0.6275, allocations: 24.89 kB / 0.5634 GB, free: 11.26 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.49e-05/0.6276, allocations: 15.47 kB / 0.5634 GB, free: 11.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.6276, allocations: 3.938 kB / 0.5634 GB, free: 11.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001389/0.6278, allocations: 55.69 kB / 0.5634 GB, free: 11.2 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.6278, allocations: 8 kB / 0.5634 GB, free: 11.19 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.6278, allocations: 144 / 0.5634 GB, free: 11.19 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.6278, allocations: 0 / 0.5634 GB, free: 11.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.628, allocations: 15.98 kB / 0.5634 GB, free: 11.17 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.628, allocations: 3.984 kB / 0.5635 GB, free: 11.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.282e-05/0.6281, allocations: 11.95 kB / 0.5635 GB, free: 11.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.6281, allocations: 4.25 kB / 0.5635 GB, free: 11.15 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 8.241e-05/0.6282, allocations: 105.8 kB / 0.5636 GB, free: 11.05 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.119e-05/0.6283, allocations: 7.906 kB / 0.5636 GB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002146/0.6285, allocations: 79.33 kB / 0.5637 GB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.6285, allocations: 0 / 0.5637 GB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.6285, allocations: 0 / 0.5637 GB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.6285, allocations: 0 / 0.5637 GB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004495/0.629, allocations: 334.7 kB / 0.564 GB, free: 10.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.629, allocations: 3.938 kB / 0.564 GB, free: 10.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001114/0.6291, allocations: 15.98 kB / 0.564 GB, free: 10.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.6291, allocations: 0 / 0.564 GB, free: 10.59 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-06/0.6292, allocations: 0 / 0.564 GB, free: 10.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.568e-06/0.6292, allocations: 3.984 kB / 0.564 GB, free: 10.58 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.6292, allocations: 3.953 kB / 0.564 GB, free: 10.58 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001919/0.6294, allocations: 161.9 kB / 0.5642 GB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.819e-05/0.6295, allocations: 84.2 kB / 0.5642 GB, free: 10.32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.026e-05/0.6295, allocations: 3.984 kB / 0.5642 GB, free: 10.31 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.6296, allocations: 8 kB / 0.5642 GB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.43e-05/0.6297, allocations: 3.953 kB / 0.5642 GB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.6297, allocations: 7.984 kB / 0.5643 GB, free: 10.29 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001109/0.6298, allocations: 110.1 kB / 0.5644 GB, free: 10.2 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.6298, allocations: 3.938 kB / 0.5644 GB, free: 10.19 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003444/0.6302, allocations: 35.23 kB / 0.5644 GB, free: 10.16 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.001577/0.6318, allocations: 0.9817 MB / 0.5654 GB, free: 9.227 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001427/0.632, allocations: 33.81 kB / 0.5654 GB, free: 9.199 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.632, allocations: 0 / 0.5654 GB, free: 9.199 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.089e-05/0.632, allocations: 18.56 kB / 0.5654 GB, free: 9.188 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002766/0.6323, allocations: 15.92 kB / 0.5654 GB, free: 9.176 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006264/0.633, allocations: 182.6 kB / 0.5656 GB, free: 8.961 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00032/0.6333, allocations: 0.6887 MB / 0.5663 GB, free: 8.246 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.718e-05/0.6334, allocations: 25.61 kB / 0.5663 GB, free: 8.227 MB / 378.7 MB Notification: Performance of SimCode: time 8.52e-07/0.6334, allocations: 4 kB / 0.5663 GB, free: 8.223 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_CombiTable1Ds_Test19CalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test19CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test19CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test19InitializeParameter.cpp:38:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp24; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test19InitializeParameter.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_v4.mat", tmp24); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test19CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test19Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp9; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test19Initialize.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_v4.mat", tmp9); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test19Initialize.cpp:244:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp15; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test19Initialize.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_CombiTable1Ds_Test19CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test19.cpp:712:24: error: use of undeclared identifier 'tmp4' _t_new_P_fileName_ = tmp4; ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test19CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test19FMU.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_CombiTable1Ds_Test19CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test19CalcHelperMain.o] Error 1