Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test84.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.Test84,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test84,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test84",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.002248/0.002248, allocations: 181 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.103/2.103, allocations: 205.2 MB / 219.4 MB, free: 14.22 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.001083/0.001083, allocations: 82.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.2834/0.2834, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.831e-05/3.836e-05, allocations: 8 kB / 425.4 MB, free: 23.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1189, allocations: 58.85 MB / 484.2 MB, free: 12.37 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4942/0.6132, allocations: 87.85 MB / 0.5587 GB, free: 15.71 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003161/0.6136, allocations: 75.38 kB / 0.5588 GB, free: 15.67 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02579/0.6394, allocations: 5.778 MB / 0.5644 GB, free: 11.06 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.6394, allocations: 3.938 kB / 0.5644 GB, free: 11.06 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.512e-05/0.6395, allocations: 0 / 0.5644 GB, free: 11.06 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006036/0.6401, allocations: 394.5 kB / 0.5648 GB, free: 10.63 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/0.6401, allocations: 8.031 kB / 0.5648 GB, free: 10.62 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.648e-05/0.6402, allocations: 41.81 kB / 0.5648 GB, free: 10.58 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.892e-05/0.6403, allocations: 7.906 kB / 0.5648 GB, free: 10.57 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004046/0.6407, allocations: 211.1 kB / 0.565 GB, free: 10.33 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.6407, allocations: 0 / 0.565 GB, free: 10.33 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.489e-05/0.6407, allocations: 3.625 kB / 0.565 GB, free: 10.33 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/0.6409, allocations: 66.52 kB / 0.5651 GB, free: 10.26 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.641, allocations: 4 kB / 0.5651 GB, free: 10.26 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.641, allocations: 0 / 0.5651 GB, free: 10.26 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.641, allocations: 4 kB / 0.5651 GB, free: 10.25 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001047/0.6411, allocations: 30.38 kB / 0.5651 GB, free: 10.23 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005164/0.6417, allocations: 276.4 kB / 0.5654 GB, free: 9.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001859/0.6419, allocations: 52.81 kB / 0.5654 GB, free: 9.879 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.17e-05/0.642, allocations: 20.3 kB / 0.5655 GB, free: 9.859 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.642, allocations: 11.55 kB / 0.5655 GB, free: 9.852 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001927/0.6422, allocations: 66.2 kB / 0.5655 GB, free: 9.781 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.134e-06/0.6422, allocations: 3.938 kB / 0.5655 GB, free: 9.777 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006626/0.6429, allocations: 160.9 kB / 0.5657 GB, free: 9.637 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.828e-05/0.643, allocations: 80.3 kB / 0.5658 GB, free: 9.543 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002089/0.6432, allocations: 138.2 kB / 0.5659 GB, free: 9.418 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.607e-05/0.6432, allocations: 33.14 kB / 0.5659 GB, free: 9.383 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.82e-05/0.6433, allocations: 158.1 kB / 0.5661 GB, free: 9.23 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.207e-05/0.6434, allocations: 30.64 kB / 0.5661 GB, free: 9.207 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.743e-06/0.6434, allocations: 0 / 0.5661 GB, free: 9.207 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.6436, allocations: 310.8 kB / 0.5664 GB, free: 8.895 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.61e-05/0.6436, allocations: 22.98 kB / 0.5664 GB, free: 8.879 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.868e-05/0.6437, allocations: 41.39 kB / 0.5665 GB, free: 8.84 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001003/0.6439, allocations: 26.89 kB / 0.5665 GB, free: 8.82 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.6439, allocations: 3.938 kB / 0.5665 GB, free: 8.816 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002804/0.6442, allocations: 90.73 kB / 0.5666 GB, free: 8.738 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.6442, allocations: 7.953 kB / 0.5666 GB, free: 8.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.6442, allocations: 0 / 0.5666 GB, free: 8.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.6442, allocations: 0 / 0.5666 GB, free: 8.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001839/0.6444, allocations: 23.92 kB / 0.5666 GB, free: 8.707 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.6445, allocations: 0 / 0.5666 GB, free: 8.707 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001127/0.6446, allocations: 4.031 kB / 0.5666 GB, free: 8.703 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.399e-05/0.6446, allocations: 4.156 kB / 0.5666 GB, free: 8.699 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: 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 (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 0.0001167/0.6447, allocations: 109.5 kB / 0.5667 GB, free: 8.59 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.461e-05/0.6448, allocations: 7.906 kB / 0.5667 GB, free: 8.582 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003653/0.6452, allocations: 126.7 kB / 0.5669 GB, free: 8.477 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.6452, allocations: 0 / 0.5669 GB, free: 8.477 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.6452, allocations: 0 / 0.5669 GB, free: 8.477 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.6452, allocations: 3.984 kB / 0.5669 GB, free: 8.473 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006809/0.6459, allocations: 408.6 kB / 0.5673 GB, free: 8.055 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.6459, allocations: 0 / 0.5673 GB, free: 8.055 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.861e-05/0.646, allocations: 11.98 kB / 0.5673 GB, free: 8.043 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/0.646, allocations: 0 / 0.5673 GB, free: 8.043 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.655e-05/0.6461, allocations: 4 kB / 0.5673 GB, free: 8.039 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.6461, allocations: 0 / 0.5673 GB, free: 8.039 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.6461, allocations: 0 / 0.5673 GB, free: 8.039 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003268/0.6464, allocations: 222.6 kB / 0.5675 GB, free: 7.816 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.793e-05/0.6465, allocations: 92.19 kB / 0.5676 GB, free: 7.711 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.607e-05/0.6466, allocations: 7.922 kB / 0.5676 GB, free: 7.703 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/0.6467, allocations: 7.5 kB / 0.5676 GB, free: 7.699 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.141e-05/0.6468, allocations: 11.92 kB / 0.5676 GB, free: 7.688 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.647e-05/0.6468, allocations: 4 kB / 0.5676 GB, free: 7.684 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001503/0.647, allocations: 116.1 kB / 0.5677 GB, free: 7.582 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.647, allocations: 4 kB / 0.5677 GB, free: 7.578 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004015/0.6474, allocations: 42.55 kB / 0.5678 GB, free: 7.543 MB / 378.7 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 (9): * Single equations (assignments): 7 * 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.002037/0.6494, allocations: 1.168 MB / 0.5689 GB, free: 6.422 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003132/0.6498, allocations: 62.66 kB / 0.569 GB, free: 6.375 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.6498, allocations: 4.062 kB / 0.569 GB, free: 6.371 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001107/0.6499, allocations: 30.5 kB / 0.569 GB, free: 6.348 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004078/0.6504, allocations: 24.19 kB / 0.569 GB, free: 6.332 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000794/0.6512, allocations: 231.1 kB / 0.5692 GB, free: 6.074 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00037/0.6516, allocations: 0.7043 MB / 0.5699 GB, free: 5.344 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/0.6517, allocations: 37.11 kB / 0.57 GB, free: 5.32 MB / 378.7 MB Notification: Performance of SimCode: time 1.182e-06/0.6517, allocations: 0 / 0.57 GB, free: 5.32 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_CombiTimeTable_Test84CalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test84CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test84CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test84InitializeParameter.cpp:44:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp27; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test84InitializeParameter.cpp:45:16: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Resources/Data/Tables/test_utf8.txt", tmp27); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test84CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test84Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp9; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test84Initialize.cpp:96:16: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Resources/Data/Tables/test_utf8.txt", tmp9); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test84Initialize.cpp:300:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp15; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test84Initialize.cpp:301:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource(_functions->_OMC_LIT2, tmp15); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test84CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test84.cpp:785:24: error: use of undeclared identifier 'tmp4' _t_new_P_fileName_ = tmp4; ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test84CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test84FMU.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_CombiTimeTable_Test84CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test84CalcHelperMain.o] Error 1