Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test50.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.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test50",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.001455/0.001455, allocations: 176.9 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.114/2.114, allocations: 205.3 MB / 214.1 MB, free: 14.12 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.001122/0.001122, allocations: 91.36 kB / 262.1 MB, free: 13.86 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.3046/0.3046, allocations: 43.49 MB / 353.6 MB, free: 2.262 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.175e-05/2.177e-05, allocations: 8.219 kB / 418.3 MB, free: 40.92 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.42/0.4201, allocations: 58.85 MB / 477.2 MB, free: 5.148 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1674/0.5875, allocations: 87.19 MB / 0.5512 GB, free: 12 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002983/0.5879, allocations: 71.97 kB / 0.5512 GB, free: 11.93 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02851/0.6164, allocations: 5.889 MB / 0.557 GB, free: 6.039 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.6164, allocations: 4 kB / 0.557 GB, free: 6.035 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.606e-05/0.6165, allocations: 0 / 0.557 GB, free: 6.035 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006862/0.6172, allocations: 402.8 kB / 0.5574 GB, free: 5.598 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.543e-05/0.6172, allocations: 12.03 kB / 0.5574 GB, free: 5.586 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.613e-05/0.6173, allocations: 7.906 kB / 0.5574 GB, free: 5.578 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000434/0.6178, allocations: 207.4 kB / 0.5576 GB, free: 5.332 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.326e-05/0.6178, allocations: 7.938 kB / 0.5576 GB, free: 5.324 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.835e-05/0.6178, allocations: 0 / 0.5576 GB, free: 5.324 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001549/0.618, allocations: 35.92 kB / 0.5576 GB, free: 5.289 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001881/0.6182, allocations: 75.38 kB / 0.5577 GB, free: 5.203 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.6182, allocations: 0 / 0.5577 GB, free: 5.203 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.692e-05/0.6183, allocations: 0 / 0.5577 GB, free: 5.203 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.6183, allocations: 0 / 0.5577 GB, free: 5.203 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005238/0.6188, allocations: 285.3 kB / 0.558 GB, free: 4.887 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002142/0.619, allocations: 66.62 kB / 0.558 GB, free: 4.812 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.57e-05/0.6191, allocations: 28.97 kB / 0.5581 GB, free: 4.781 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.776e-05/0.6192, allocations: 0 / 0.5581 GB, free: 4.781 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001792/0.6194, allocations: 67.39 kB / 0.5581 GB, free: 4.703 MB / 395.1 MB Notification: Performance of pre-optimization done (n=7): time 1.803e-06/0.6194, allocations: 0 / 0.5581 GB, free: 4.703 MB / 395.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006736/0.6201, allocations: 161.5 kB / 0.5583 GB, free: 4.539 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.144e-05/0.6201, allocations: 81.11 kB / 0.5584 GB, free: 4.441 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002297/0.6204, allocations: 155.2 kB / 0.5585 GB, free: 4.277 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 3.361e-05/0.6204, allocations: 25.7 kB / 0.5585 GB, free: 4.246 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.42e-05/0.6205, allocations: 170.4 kB / 0.5587 GB, free: 4.078 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.412e-05/0.6206, allocations: 23.7 kB / 0.5587 GB, free: 4.055 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.264e-06/0.6206, allocations: 0 / 0.5587 GB, free: 4.055 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.6208, allocations: 314.8 kB / 0.559 GB, free: 3.738 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7e-05/0.6208, allocations: 20.09 kB / 0.559 GB, free: 3.719 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001026/0.621, allocations: 58.38 kB / 0.5591 GB, free: 3.652 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.534e-05/0.6211, allocations: 31.98 kB / 0.5591 GB, free: 3.621 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.6211, allocations: 0 / 0.5591 GB, free: 3.621 MB / 395.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002643/0.6214, allocations: 93.62 kB / 0.5592 GB, free: 3.523 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.6214, allocations: 7.984 kB / 0.5592 GB, free: 3.516 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.6214, allocations: 80 / 0.5592 GB, free: 3.516 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.6214, allocations: 0 / 0.5592 GB, free: 3.516 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002089/0.6217, allocations: 16 kB / 0.5592 GB, free: 3.5 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.586e-05/0.6217, allocations: 8.047 kB / 0.5592 GB, free: 3.492 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001389/0.6219, allocations: 15.88 kB / 0.5593 GB, free: 3.477 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.826e-05/0.6219, allocations: 8 kB / 0.5593 GB, free: 3.469 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: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001255/0.622, allocations: 108.9 kB / 0.5594 GB, free: 3.355 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002762/0.6223, allocations: 105.5 kB / 0.5595 GB, free: 3.246 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.367e-05/0.6224, allocations: 11.91 kB / 0.5595 GB, free: 3.234 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003992/0.6228, allocations: 134.1 kB / 0.5596 GB, free: 3.094 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.6228, allocations: 4 kB / 0.5596 GB, free: 3.09 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.6228, allocations: 7.953 kB / 0.5596 GB, free: 3.082 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.6228, allocations: 0 / 0.5596 GB, free: 3.082 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007236/0.6236, allocations: 396 kB / 0.56 GB, free: 2.648 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.6236, allocations: 0 / 0.56 GB, free: 2.648 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001176/0.6237, allocations: 16.03 kB / 0.56 GB, free: 2.633 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.473e-06/0.6237, allocations: 3.938 kB / 0.56 GB, free: 2.629 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.225e-05/0.6238, allocations: 15.94 kB / 0.56 GB, free: 2.613 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.6238, allocations: 0 / 0.56 GB, free: 2.613 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/0.6238, allocations: 0 / 0.56 GB, free: 2.613 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003689/0.6242, allocations: 226 kB / 0.5602 GB, free: 2.367 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.006e-05/0.6243, allocations: 93 kB / 0.5603 GB, free: 2.258 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.168e-05/0.6243, allocations: 3.953 kB / 0.5603 GB, free: 2.254 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.6245, allocations: 4 kB / 0.5603 GB, free: 2.25 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.191e-05/0.6245, allocations: 7.984 kB / 0.5603 GB, free: 2.242 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.846e-05/0.6246, allocations: 8 kB / 0.5604 GB, free: 2.234 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001543/0.6247, allocations: 124.5 kB / 0.5605 GB, free: 2.113 MB / 395.1 MB Notification: Performance of sort global known variables: time 3.887e-06/0.6248, allocations: 0 / 0.5605 GB, free: 2.113 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0004436/0.6252, allocations: 39.92 kB / 0.5605 GB, free: 2.074 MB / 395.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002086/0.6273, allocations: 1.165 MB / 0.5616 GB, free: 0.9336 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002966/0.6277, allocations: 67.86 kB / 0.5617 GB, free: 0.8672 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.6277, allocations: 0 / 0.5617 GB, free: 0.8672 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001152/0.6278, allocations: 39.94 kB / 0.5617 GB, free: 0.8281 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004559/0.6283, allocations: 35.94 kB / 0.5618 GB, free: 0.793 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008877/0.6292, allocations: 241.4 kB / 0.562 GB, free: 0.5078 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004154/0.6296, allocations: 0.7002 MB / 0.5627 GB, free: 15.78 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001424/0.6298, allocations: 39.42 kB / 0.5627 GB, free: 15.74 MB / 411.1 MB Notification: Performance of SimCode: time 1.212e-06/0.6298, allocations: 0 / 0.5627 GB, free: 15.74 MB / 411.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_CombiTimeTable_Test50CalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test50CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test50CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test50InitializeParameter.cpp:46:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp29; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test50InitializeParameter.cpp:47: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", tmp29); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test50CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test50Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp10; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test50Initialize.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", tmp10); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test50Initialize.cpp:313:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp17; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test50Initialize.cpp:314:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource(_functions->_OMC_LIT2, tmp17); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test50CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test50.cpp:807:24: error: use of undeclared identifier 'tmp5' _t_new_P_fileName_ = tmp5; ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test50CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test50FMU.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_CombiTimeTable_Test50CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test50CalcHelperMain.o] Error 1