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.002334/0.002342, 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.208/2.208, allocations: 205.2 MB / 219.4 MB, free: 14.19 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.001113/0.001112, allocations: 86.64 kB / 267.5 MB, free: 14.03 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.3446/0.3446, allocations: 43.49 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.044e-05/4.053e-05, allocations: 4 kB / 425.4 MB, free: 23.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1281, allocations: 58.86 MB / 484.2 MB, free: 12.36 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4968/0.625, allocations: 86.76 MB / 0.5576 GB, free: 376 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003936/0.6254, allocations: 74.81 kB / 0.5577 GB, free: 340 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02045/0.6459, allocations: 4.438 MB / 0.562 GB, free: 12.81 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.646, allocations: 0 / 0.562 GB, free: 12.81 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.833e-05/0.646, allocations: 4 kB / 0.562 GB, free: 12.81 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004931/0.6465, allocations: 381.5 kB / 0.5624 GB, free: 12.4 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.6465, allocations: 8.031 kB / 0.5624 GB, free: 12.39 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.129e-05/0.6466, allocations: 37.5 kB / 0.5624 GB, free: 12.35 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.434e-05/0.6467, allocations: 4 kB / 0.5624 GB, free: 12.34 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00028/0.647, allocations: 198.5 kB / 0.5626 GB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.647, allocations: 2.875 kB / 0.5626 GB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.315e-05/0.647, allocations: 4 kB / 0.5626 GB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001973/0.6472, allocations: 96.02 kB / 0.5627 GB, free: 12.01 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.6473, allocations: 0 / 0.5627 GB, free: 12.01 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.6473, allocations: 0 / 0.5627 GB, free: 12.01 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.6473, allocations: 0 / 0.5627 GB, free: 12.01 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001017/0.6474, allocations: 26.36 kB / 0.5628 GB, free: 11.99 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006217/0.648, allocations: 398.2 kB / 0.5631 GB, free: 11.57 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003405/0.6484, allocations: 74.64 kB / 0.5632 GB, free: 11.49 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.717e-05/0.6485, allocations: 36.27 kB / 0.5632 GB, free: 11.46 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.036e-05/0.6485, allocations: 7.984 kB / 0.5633 GB, free: 11.45 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.6486, allocations: 30.56 kB / 0.5633 GB, free: 11.41 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.844e-06/0.6486, allocations: 0 / 0.5633 GB, free: 11.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007516/0.6493, allocations: 183.4 kB / 0.5635 GB, free: 11.25 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.364e-05/0.6494, allocations: 110.8 kB / 0.5636 GB, free: 11.12 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001761/0.6496, allocations: 125.4 kB / 0.5637 GB, free: 11 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/0.6497, allocations: 28.95 kB / 0.5637 GB, free: 10.97 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.887e-05/0.6498, allocations: 165.7 kB / 0.5639 GB, free: 10.81 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.14e-05/0.6498, allocations: 27.19 kB / 0.5639 GB, free: 10.79 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.095e-06/0.6498, allocations: 3.875 kB / 0.5639 GB, free: 10.79 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.65, allocations: 314.8 kB / 0.5642 GB, free: 10.47 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.139e-05/0.6501, allocations: 22.62 kB / 0.5642 GB, free: 10.46 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.418e-05/0.6502, allocations: 52.5 kB / 0.5643 GB, free: 10.41 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.694e-05/0.6503, allocations: 29.86 kB / 0.5643 GB, free: 10.39 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.6503, allocations: 4 kB / 0.5643 GB, free: 10.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002476/0.6506, allocations: 100.1 kB / 0.5644 GB, free: 10.3 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.6506, allocations: 4 kB / 0.5644 GB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.6506, allocations: 0 / 0.5644 GB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.6506, allocations: 0 / 0.5644 GB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001788/0.6508, allocations: 31.97 kB / 0.5644 GB, free: 10.26 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.464e-05/0.6508, allocations: 3.938 kB / 0.5644 GB, free: 10.26 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.086e-05/0.6509, allocations: 8 kB / 0.5644 GB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/0.651, allocations: 3.812 kB / 0.5644 GB, free: 10.25 MB / 378.7 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.501e-05/0.6511, allocations: 109 kB / 0.5645 GB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.172e-05/0.6512, allocations: 11.84 kB / 0.5646 GB, free: 10.13 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003432/0.6515, allocations: 123.2 kB / 0.5647 GB, free: 10.03 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.6515, allocations: 8 kB / 0.5647 GB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/0.6516, allocations: 3.953 kB / 0.5647 GB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.6516, allocations: 3.938 kB / 0.5647 GB, free: 10.01 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008449/0.6524, allocations: 487.6 kB / 0.5652 GB, free: 9.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.6524, allocations: 0 / 0.5652 GB, free: 9.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001658/0.6526, allocations: 32.25 kB / 0.5652 GB, free: 9.488 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.183e-06/0.6526, allocations: 7.984 kB / 0.5652 GB, free: 9.48 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.6527, allocations: 3.688 kB / 0.5652 GB, free: 9.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/0.6527, allocations: 4 kB / 0.5652 GB, free: 9.477 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.6527, allocations: 0 / 0.5652 GB, free: 9.477 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003436/0.653, allocations: 316.6 kB / 0.5655 GB, free: 9.16 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.123e-05/0.6531, allocations: 89 kB / 0.5656 GB, free: 9.055 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.629e-05/0.6532, allocations: 0 / 0.5656 GB, free: 9.055 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001679/0.6533, allocations: 11.81 kB / 0.5656 GB, free: 9.047 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.063e-05/0.6534, allocations: 7.984 kB / 0.5656 GB, free: 9.039 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.6534, allocations: 0 / 0.5656 GB, free: 9.039 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001178/0.6536, allocations: 113.9 kB / 0.5657 GB, free: 8.941 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6536, allocations: 0 / 0.5657 GB, free: 8.941 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004095/0.654, allocations: 31.92 kB / 0.5657 GB, free: 8.914 MB / 378.7 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.001813/0.6558, allocations: 1.27 MB / 0.567 GB, free: 7.688 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002467/0.6561, allocations: 63.11 kB / 0.567 GB, free: 7.641 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.6561, allocations: 0 / 0.567 GB, free: 7.641 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001002/0.6562, allocations: 39.55 kB / 0.5671 GB, free: 7.609 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003451/0.6566, allocations: 11.62 kB / 0.5671 GB, free: 7.602 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008311/0.6574, allocations: 245 kB / 0.5673 GB, free: 7.34 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003599/0.6578, allocations: 0.7004 MB / 0.568 GB, free: 6.613 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001078/0.6579, allocations: 35.05 kB / 0.568 GB, free: 6.59 MB / 378.7 MB Notification: Performance of SimCode: time 3.607e-06/0.6579, allocations: 0 / 0.568 GB, free: 6.59 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_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/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_CombiTable1D_Test18CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test18CalcHelperMain.o] Error 1