Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test18.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.Test18,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test18,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test18",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.001462/0.001462, allocations: 179.4 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.029/2.029, 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.001104/0.001104, allocations: 84.31 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.31/0.31, allocations: 43.49 MB / 353.6 MB, free: 2.262 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.786e-05/2.809e-05, allocations: 4.219 kB / 418.3 MB, free: 40.96 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.42/0.4201, allocations: 58.85 MB / 477.2 MB, free: 5.152 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.163/0.5831, allocations: 86.11 MB / 0.5501 GB, free: 13.11 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002894/0.5835, allocations: 67.97 kB / 0.5502 GB, free: 13.04 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01908/0.6026, allocations: 4.316 MB / 0.5544 GB, free: 8.723 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.6027, allocations: 0 / 0.5544 GB, free: 8.723 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.593e-05/0.6027, allocations: 0 / 0.5544 GB, free: 8.723 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005642/0.6033, allocations: 382.9 kB / 0.5547 GB, free: 8.305 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.354e-05/0.6033, allocations: 8.031 kB / 0.5547 GB, free: 8.297 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.837e-05/0.6034, allocations: 4 kB / 0.5547 GB, free: 8.293 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003127/0.6037, allocations: 190.9 kB / 0.5549 GB, free: 8.066 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.118e-06/0.6037, allocations: 0 / 0.5549 GB, free: 8.066 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.571e-05/0.6038, allocations: 8 kB / 0.5549 GB, free: 8.059 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001231/0.6039, allocations: 23.98 kB / 0.555 GB, free: 8.035 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001729/0.6041, allocations: 80.12 kB / 0.555 GB, free: 7.941 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.6041, allocations: 4 kB / 0.555 GB, free: 7.938 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.686e-05/0.6042, allocations: 0 / 0.555 GB, free: 7.938 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.6042, allocations: 0 / 0.555 GB, free: 7.938 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006375/0.6048, allocations: 369.5 kB / 0.5554 GB, free: 7.535 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000348/0.6052, allocations: 77.17 kB / 0.5555 GB, free: 7.441 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.452e-05/0.6053, allocations: 21.94 kB / 0.5555 GB, free: 7.414 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.319e-05/0.6053, allocations: 8 kB / 0.5555 GB, free: 7.406 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.474e-05/0.6054, allocations: 34.64 kB / 0.5555 GB, free: 7.363 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 5.811e-06/0.6054, allocations: 0 / 0.5555 GB, free: 7.363 MB / 395.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007692/0.6062, allocations: 173.1 kB / 0.5557 GB, free: 7.188 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.487e-05/0.6063, allocations: 106.8 kB / 0.5558 GB, free: 7.059 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001809/0.6065, allocations: 125 kB / 0.5559 GB, free: 6.93 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.6065, allocations: 29.7 kB / 0.5559 GB, free: 6.895 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.993e-05/0.6066, allocations: 162.5 kB / 0.5561 GB, free: 6.734 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.52e-05/0.6067, allocations: 31.55 kB / 0.5561 GB, free: 6.703 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.853e-06/0.6067, allocations: 0 / 0.5561 GB, free: 6.703 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.6068, allocations: 314.8 kB / 0.5564 GB, free: 6.387 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.998e-05/0.6069, allocations: 20 kB / 0.5564 GB, free: 6.367 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.106e-05/0.607, allocations: 42.56 kB / 0.5565 GB, free: 6.316 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.73e-05/0.6071, allocations: 32.14 kB / 0.5565 GB, free: 6.285 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.6071, allocations: 4 kB / 0.5565 GB, free: 6.281 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002319/0.6074, allocations: 93.52 kB / 0.5566 GB, free: 6.184 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.6074, allocations: 4 kB / 0.5566 GB, free: 6.18 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.6074, allocations: 0 / 0.5566 GB, free: 6.18 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.6075, allocations: 4 kB / 0.5566 GB, free: 6.176 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001896/0.6077, allocations: 27.92 kB / 0.5566 GB, free: 6.148 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.922e-06/0.6077, allocations: 0 / 0.5566 GB, free: 6.148 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.6078, allocations: 15.94 kB / 0.5567 GB, free: 6.133 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.275e-05/0.6078, allocations: 4 kB / 0.5567 GB, free: 6.129 MB / 395.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.629e-05/0.6079, allocations: 105 kB / 0.5568 GB, free: 6.02 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002882/0.6082, allocations: 97.52 kB / 0.5569 GB, free: 5.918 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.268e-05/0.6083, allocations: 7.906 kB / 0.5569 GB, free: 5.91 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003222/0.6086, allocations: 114.5 kB / 0.557 GB, free: 5.797 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.208e-05/0.6087, allocations: 8 kB / 0.557 GB, free: 5.789 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/0.6087, allocations: 7.891 kB / 0.557 GB, free: 5.781 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.6087, allocations: 11.92 kB / 0.557 GB, free: 5.77 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007567/0.6095, allocations: 455.3 kB / 0.5574 GB, free: 5.277 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.6095, allocations: 0 / 0.5574 GB, free: 5.277 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001565/0.6096, allocations: 23.98 kB / 0.5575 GB, free: 5.254 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.503e-06/0.6097, allocations: 4.031 kB / 0.5575 GB, free: 5.25 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/0.6097, allocations: 7.953 kB / 0.5575 GB, free: 5.242 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.6097, allocations: 0 / 0.5575 GB, free: 5.242 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.6097, allocations: 4.031 kB / 0.5575 GB, free: 5.238 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000318/0.6101, allocations: 294.9 kB / 0.5577 GB, free: 4.918 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.03e-05/0.6101, allocations: 89 kB / 0.5578 GB, free: 4.812 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.507e-05/0.6102, allocations: 0 / 0.5578 GB, free: 4.812 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001862/0.6104, allocations: 16 kB / 0.5578 GB, free: 4.797 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.431e-05/0.6104, allocations: 11.92 kB / 0.5579 GB, free: 4.785 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.6105, allocations: 4 kB / 0.5579 GB, free: 4.781 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001005/0.6106, allocations: 99.27 kB / 0.558 GB, free: 4.684 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6106, allocations: 4 kB / 0.558 GB, free: 4.68 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0004653/0.6111, allocations: 28 kB / 0.558 GB, free: 4.652 MB / 395.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.001676/0.6127, allocations: 1.246 MB / 0.5592 GB, free: 3.406 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002087/0.613, allocations: 59.92 kB / 0.5593 GB, free: 3.348 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.613, allocations: 0 / 0.5593 GB, free: 3.348 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 9.436e-05/0.6131, allocations: 35.94 kB / 0.5593 GB, free: 3.312 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003378/0.6135, allocations: 27.84 kB / 0.5593 GB, free: 3.285 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007707/0.6142, allocations: 229.2 kB / 0.5595 GB, free: 3.012 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003633/0.6146, allocations: 0.7002 MB / 0.5602 GB, free: 2.285 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/0.6148, allocations: 35.36 kB / 0.5603 GB, free: 2.25 MB / 395.1 MB Notification: Performance of SimCode: time 8.52e-07/0.6148, allocations: 0 / 0.5603 GB, free: 2.25 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_Test18CalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test18CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test18CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test18InitializeParameter.cpp:39:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp28; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test18InitializeParameter.cpp:40: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", tmp28); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test18CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test18Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp11; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test18Initialize.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", tmp11); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test18Initialize.cpp:298:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp19; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test18Initialize.cpp:299:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource(_functions->_OMC_LIT0, tmp19); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test18CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test18.cpp:765:24: error: use of undeclared identifier 'tmp6' _t_new_P_fileName_ = tmp6; ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test18CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test18FMU.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_Test18CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test18CalcHelperMain.o] Error 1