Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test24,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test24,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_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.002149/0.002149, 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.129/2.129, 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.001075/0.001074, allocations: 86.72 kB / 267.5 MB, free: 14.05 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.2831/0.2831, allocations: 43.49 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.352e-05/4.374e-05, allocations: 4 kB / 425.4 MB, free: 23.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1229, allocations: 58.86 MB / 484.2 MB, free: 12.38 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4953/0.6183, allocations: 86.54 MB / 0.5574 GB, free: 0.6211 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000269/0.6186, allocations: 77.36 kB / 0.5575 GB, free: 0.582 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01771/0.6363, allocations: 4.131 MB / 0.5615 GB, free: 13.34 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.384e-06/0.6364, allocations: 4 kB / 0.5615 GB, free: 13.34 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.494e-05/0.6364, allocations: 0 / 0.5615 GB, free: 13.34 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.0005158/0.637, allocations: 369.9 kB / 0.5619 GB, free: 12.93 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/0.637, allocations: 8.031 kB / 0.5619 GB, free: 12.93 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.501e-05/0.6371, allocations: 33.88 kB / 0.5619 GB, free: 12.89 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.086e-05/0.6371, allocations: 8.531 kB / 0.5619 GB, free: 12.88 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003038/0.6374, allocations: 191.7 kB / 0.5621 GB, free: 12.66 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.6375, allocations: 0 / 0.5621 GB, free: 12.66 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.084e-05/0.6375, allocations: 0 / 0.5621 GB, free: 12.66 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.6377, allocations: 67.84 kB / 0.5622 GB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.6377, allocations: 0 / 0.5622 GB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.6377, allocations: 0 / 0.5622 GB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.6378, allocations: 0 / 0.5622 GB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.559e-05/0.6378, allocations: 15.05 kB / 0.5622 GB, free: 12.57 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004262/0.6383, allocations: 276.7 kB / 0.5624 GB, free: 12.27 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002341/0.6385, allocations: 44.69 kB / 0.5625 GB, free: 12.22 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.828e-05/0.6386, allocations: 12.86 kB / 0.5625 GB, free: 12.21 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.6386, allocations: 4 kB / 0.5625 GB, free: 12.2 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.6386, allocations: 33.69 kB / 0.5625 GB, free: 12.16 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.683e-06/0.6387, allocations: 0 / 0.5625 GB, free: 12.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005198/0.6392, allocations: 105.8 kB / 0.5626 GB, free: 12.07 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.545e-05/0.6393, allocations: 81.06 kB / 0.5627 GB, free: 11.97 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001853/0.6395, allocations: 126.9 kB / 0.5628 GB, free: 11.85 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.65e-05/0.6395, allocations: 25.7 kB / 0.5629 GB, free: 11.82 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.793e-05/0.6396, allocations: 165.2 kB / 0.563 GB, free: 11.66 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.77e-05/0.6397, allocations: 11.75 kB / 0.563 GB, free: 11.65 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.252e-06/0.6397, allocations: 3.438 kB / 0.563 GB, free: 11.65 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001787/0.6399, allocations: 314.8 kB / 0.5633 GB, free: 11.33 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.768e-05/0.6399, allocations: 7.375 kB / 0.5633 GB, free: 11.33 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.381e-05/0.64, allocations: 29.02 kB / 0.5634 GB, free: 11.3 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.302e-05/0.6401, allocations: 11.44 kB / 0.5634 GB, free: 11.29 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.6401, allocations: 3.938 kB / 0.5634 GB, free: 11.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001651/0.6403, allocations: 59.69 kB / 0.5634 GB, free: 11.23 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/0.6403, allocations: 8 kB / 0.5634 GB, free: 11.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.6403, allocations: 0 / 0.5634 GB, free: 11.22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.6404, allocations: 0 / 0.5634 GB, free: 11.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001484/0.6405, allocations: 15.98 kB / 0.5635 GB, free: 11.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.6405, allocations: 0 / 0.5635 GB, free: 11.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.979e-05/0.6406, allocations: 16.06 kB / 0.5635 GB, free: 11.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.6407, allocations: 4 kB / 0.5635 GB, free: 11.19 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 0.0001104/0.6408, allocations: 106.2 kB / 0.5636 GB, free: 11.08 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.367e-05/0.6409, allocations: 11.89 kB / 0.5636 GB, free: 11.07 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002283/0.6411, allocations: 75.44 kB / 0.5637 GB, free: 11 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.6411, allocations: 0 / 0.5637 GB, free: 11 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.6411, allocations: 0 / 0.5637 GB, free: 11 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.6411, allocations: 0 / 0.5637 GB, free: 11 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005349/0.6417, allocations: 337.9 kB / 0.564 GB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.6417, allocations: 0 / 0.564 GB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001289/0.6418, allocations: 11.98 kB / 0.564 GB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/0.6419, allocations: 4 kB / 0.564 GB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.6419, allocations: 0 / 0.564 GB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.6419, allocations: 0 / 0.564 GB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.6419, allocations: 3.953 kB / 0.564 GB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002177/0.6422, allocations: 157.1 kB / 0.5641 GB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.782e-05/0.6422, allocations: 93 kB / 0.5642 GB, free: 10.35 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.562e-05/0.6423, allocations: 0 / 0.5642 GB, free: 10.35 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.6424, allocations: 12 kB / 0.5642 GB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.667e-05/0.6425, allocations: 7.938 kB / 0.5643 GB, free: 10.33 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.421e-05/0.6425, allocations: 4 kB / 0.5643 GB, free: 10.33 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001271/0.6426, allocations: 104.7 kB / 0.5644 GB, free: 10.23 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.6427, allocations: 3.938 kB / 0.5644 GB, free: 10.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003624/0.643, allocations: 35.23 kB / 0.5644 GB, free: 10.2 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.001722/0.6448, allocations: 0.9776 MB / 0.5654 GB, free: 9.27 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002013/0.645, allocations: 34.75 kB / 0.5654 GB, free: 9.242 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.6451, allocations: 0 / 0.5654 GB, free: 9.242 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.369e-05/0.6451, allocations: 15.38 kB / 0.5654 GB, free: 9.23 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003252/0.6455, allocations: 10.86 kB / 0.5654 GB, free: 9.223 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007131/0.6462, allocations: 190.4 kB / 0.5656 GB, free: 9.004 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003405/0.6466, allocations: 0.6926 MB / 0.5663 GB, free: 8.285 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.6467, allocations: 25.92 kB / 0.5663 GB, free: 8.266 MB / 378.7 MB Notification: Performance of SimCode: time 1.322e-06/0.6467, allocations: 0 / 0.5663 GB, free: 8.266 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_Test24CalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test24CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test24CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test24InitializeParameter.cpp:38:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp24; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_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_CombiTable1Ds_Test24CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test24Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp9; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_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_CombiTable1Ds_Test24Initialize.cpp:244:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp15; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_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_CombiTable1Ds_Test24CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test24.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_Test24CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test24FMU.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_Test24CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test24CalcHelperMain.o] Error 1