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.002638/0.002637, allocations: 179.4 kB / 8.364 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.217/2.217, 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.001103, allocations: 89.27 kB / 262.1 MB, free: 13.88 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.2965/0.2965, allocations: 43.49 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.703e-05/2.719e-05, allocations: 224 / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4642/0.4642, allocations: 58.85 MB / 477.2 MB, free: 5.195 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1936/0.6579, allocations: 85.89 MB / 0.5499 GB, free: 13.34 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002839/0.6583, allocations: 71.97 kB / 0.5499 GB, free: 13.27 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.0177/0.676, allocations: 3.994 MB / 0.5538 GB, free: 9.273 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.676, allocations: 0 / 0.5538 GB, free: 9.273 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.841e-05/0.6761, allocations: 7.984 kB / 0.5538 GB, free: 9.266 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.0005204/0.6766, allocations: 370.4 kB / 0.5542 GB, free: 8.859 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.492e-05/0.6767, allocations: 12.03 kB / 0.5542 GB, free: 8.848 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.117e-05/0.6767, allocations: 8.531 kB / 0.5542 GB, free: 8.84 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002913/0.677, allocations: 186.9 kB / 0.5544 GB, free: 8.617 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.6771, allocations: 0 / 0.5544 GB, free: 8.617 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.66e-05/0.6771, allocations: 4 kB / 0.5544 GB, free: 8.613 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.636e-05/0.6772, allocations: 15.98 kB / 0.5544 GB, free: 8.598 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001222/0.6773, allocations: 47.42 kB / 0.5545 GB, free: 8.539 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.6774, allocations: 0 / 0.5545 GB, free: 8.539 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/0.6774, allocations: 4 kB / 0.5545 GB, free: 8.535 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.6774, allocations: 3.938 kB / 0.5545 GB, free: 8.531 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004216/0.6778, allocations: 253.4 kB / 0.5547 GB, free: 8.246 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002238/0.6781, allocations: 42.56 kB / 0.5547 GB, free: 8.195 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.197e-05/0.6781, allocations: 8.859 kB / 0.5548 GB, free: 8.184 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.677e-05/0.6782, allocations: 3.984 kB / 0.5548 GB, free: 8.18 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/0.6782, allocations: 34.56 kB / 0.5548 GB, free: 8.137 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 1.914e-06/0.6782, allocations: 0 / 0.5548 GB, free: 8.137 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005054/0.6787, allocations: 97.42 kB / 0.5549 GB, free: 8.035 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.738e-05/0.6788, allocations: 77.11 kB / 0.555 GB, free: 7.941 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000171/0.679, allocations: 122 kB / 0.5551 GB, free: 7.816 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.679, allocations: 25.7 kB / 0.5551 GB, free: 7.785 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.778e-05/0.6791, allocations: 162.5 kB / 0.5553 GB, free: 7.625 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.049e-05/0.6792, allocations: 19.73 kB / 0.5553 GB, free: 7.605 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.98e-06/0.6792, allocations: 0 / 0.5553 GB, free: 7.605 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.6793, allocations: 319 kB / 0.5556 GB, free: 7.285 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.878e-05/0.6794, allocations: 4 kB / 0.5556 GB, free: 7.281 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.067e-05/0.6794, allocations: 25.66 kB / 0.5556 GB, free: 7.25 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.458e-05/0.6795, allocations: 16.17 kB / 0.5556 GB, free: 7.234 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.6795, allocations: 4 kB / 0.5556 GB, free: 7.23 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001396/0.6797, allocations: 53.73 kB / 0.5557 GB, free: 7.172 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.6797, allocations: 7.938 kB / 0.5557 GB, free: 7.164 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.6797, allocations: 0 / 0.5557 GB, free: 7.164 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.6797, allocations: 0 / 0.5557 GB, free: 7.164 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.6799, allocations: 15.98 kB / 0.5557 GB, free: 7.148 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.6799, allocations: 0 / 0.5557 GB, free: 7.148 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.634e-05/0.68, allocations: 11.98 kB / 0.5557 GB, free: 7.137 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.788e-06/0.68, allocations: 0 / 0.5557 GB, free: 7.137 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 9.553e-05/0.6801, allocations: 108.9 kB / 0.5558 GB, free: 7.023 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001838/0.6803, allocations: 61.55 kB / 0.5559 GB, free: 6.957 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.199e-05/0.6804, allocations: 11.89 kB / 0.5559 GB, free: 6.945 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001938/0.6806, allocations: 62.09 kB / 0.5559 GB, free: 6.879 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.227e-05/0.6806, allocations: 4 kB / 0.5559 GB, free: 6.875 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.6806, allocations: 0 / 0.5559 GB, free: 6.875 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.6806, allocations: 3.953 kB / 0.556 GB, free: 6.871 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004552/0.6811, allocations: 295.1 kB / 0.5562 GB, free: 6.539 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.6811, allocations: 4 kB / 0.5562 GB, free: 6.535 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001208/0.6813, allocations: 15.98 kB / 0.5563 GB, free: 6.52 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.6813, allocations: 0 / 0.5563 GB, free: 6.52 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.6813, allocations: 4 kB / 0.5563 GB, free: 6.516 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.6813, allocations: 256 / 0.5563 GB, free: 6.516 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.072e-06/0.6813, allocations: 3.953 kB / 0.5563 GB, free: 6.512 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001974/0.6815, allocations: 163.5 kB / 0.5564 GB, free: 6.336 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.856e-05/0.6816, allocations: 88.95 kB / 0.5565 GB, free: 6.23 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.893e-05/0.6817, allocations: 7.984 kB / 0.5565 GB, free: 6.223 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.6818, allocations: 4 kB / 0.5565 GB, free: 6.219 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.997e-05/0.6819, allocations: 3.984 kB / 0.5565 GB, free: 6.215 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-05/0.6819, allocations: 11.95 kB / 0.5565 GB, free: 6.203 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001079/0.682, allocations: 103.7 kB / 0.5566 GB, free: 6.102 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.4e-07/0.682, allocations: 0 / 0.5566 GB, free: 6.102 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003645/0.6824, allocations: 27.98 kB / 0.5567 GB, free: 6.074 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.001618/0.684, allocations: 0.9666 MB / 0.5576 GB, free: 5.129 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001782/0.6842, allocations: 24 kB / 0.5576 GB, free: 5.105 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.6842, allocations: 0 / 0.5576 GB, free: 5.105 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 4.925e-05/0.6843, allocations: 16 kB / 0.5576 GB, free: 5.09 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003193/0.6846, allocations: 11.84 kB / 0.5576 GB, free: 5.078 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006668/0.6853, allocations: 179.2 kB / 0.5578 GB, free: 4.855 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003565/0.6857, allocations: 0.6963 MB / 0.5585 GB, free: 4.133 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.746e-05/0.6858, allocations: 27.42 kB / 0.5585 GB, free: 4.105 MB / 395.1 MB Notification: Performance of SimCode: time 1.373e-06/0.6858, allocations: 0 / 0.5585 GB, free: 4.105 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_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/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_CombiTable1Ds_Test24CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test24CalcHelperMain.o] Error 1