Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test59",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test59,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test59",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.002487/0.002487, allocations: 178 kB / 8.362 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.464/2.464, 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.001109/0.001109, allocations: 90.16 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.2862/0.2862, allocations: 43.49 MB / 353.6 MB, free: 2.262 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.587e-05/2.599e-05, allocations: 8.219 kB / 418.3 MB, free: 40.93 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4001/0.4002, allocations: 58.85 MB / 477.2 MB, free: 5.164 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2006/0.6009, allocations: 87.18 MB / 0.5511 GB, free: 12.02 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003184/0.6013, allocations: 79.94 kB / 0.5512 GB, free: 11.94 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02639/0.6277, allocations: 5.632 MB / 0.5567 GB, free: 6.309 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.6277, allocations: 0 / 0.5567 GB, free: 6.309 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.561e-05/0.6278, allocations: 4 kB / 0.5567 GB, free: 6.305 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006068/0.6284, allocations: 390.9 kB / 0.5571 GB, free: 5.879 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/0.6285, allocations: 12.03 kB / 0.5571 GB, free: 5.867 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.706e-05/0.6285, allocations: 7.906 kB / 0.5571 GB, free: 5.859 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003974/0.6289, allocations: 210.8 kB / 0.5573 GB, free: 5.613 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/0.629, allocations: 0 / 0.5573 GB, free: 5.613 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.999e-05/0.629, allocations: 7.984 kB / 0.5573 GB, free: 5.605 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.552e-05/0.6291, allocations: 23.86 kB / 0.5573 GB, free: 5.582 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/0.6293, allocations: 71.39 kB / 0.5574 GB, free: 5.5 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.6293, allocations: 0 / 0.5574 GB, free: 5.5 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.6293, allocations: 0 / 0.5574 GB, free: 5.5 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.6293, allocations: 0 / 0.5574 GB, free: 5.5 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004746/0.6298, allocations: 261.5 kB / 0.5577 GB, free: 5.207 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000159/0.63, allocations: 50.62 kB / 0.5577 GB, free: 5.148 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.466e-05/0.6301, allocations: 20.98 kB / 0.5577 GB, free: 5.125 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.734e-05/0.6301, allocations: 0 / 0.5577 GB, free: 5.125 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001914/0.6303, allocations: 71.39 kB / 0.5578 GB, free: 5.043 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 1.994e-06/0.6303, allocations: 3.938 kB / 0.5578 GB, free: 5.039 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006279/0.631, allocations: 149.2 kB / 0.5579 GB, free: 4.887 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.92e-05/0.631, allocations: 77.11 kB / 0.558 GB, free: 4.793 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002025/0.6313, allocations: 148.4 kB / 0.5582 GB, free: 4.645 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.763e-05/0.6313, allocations: 25.7 kB / 0.5582 GB, free: 4.613 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.939e-05/0.6314, allocations: 158.6 kB / 0.5583 GB, free: 4.457 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.84e-05/0.6314, allocations: 23.66 kB / 0.5584 GB, free: 4.434 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.132e-06/0.6315, allocations: 0 / 0.5584 GB, free: 4.434 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.6316, allocations: 318.8 kB / 0.5587 GB, free: 4.113 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.062e-05/0.6317, allocations: 16 kB / 0.5587 GB, free: 4.098 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.495e-05/0.6318, allocations: 34.58 kB / 0.5587 GB, free: 4.055 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.951e-05/0.6319, allocations: 31.95 kB / 0.5587 GB, free: 4.023 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.6319, allocations: 0 / 0.5587 GB, free: 4.023 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002186/0.6321, allocations: 81.75 kB / 0.5588 GB, free: 3.938 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.6321, allocations: 4 kB / 0.5588 GB, free: 3.934 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.6322, allocations: 0 / 0.5588 GB, free: 3.934 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.6322, allocations: 7.953 kB / 0.5588 GB, free: 3.926 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001584/0.6323, allocations: 19.92 kB / 0.5588 GB, free: 3.906 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.6324, allocations: 0 / 0.5588 GB, free: 3.906 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.37e-05/0.6325, allocations: 8.031 kB / 0.5589 GB, free: 3.898 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.455e-05/0.6325, allocations: 4 kB / 0.5589 GB, free: 3.895 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 (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.0001094/0.6326, allocations: 109 kB / 0.559 GB, free: 3.781 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002243/0.6329, allocations: 85.59 kB / 0.559 GB, free: 3.691 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.025e-05/0.6329, allocations: 11.86 kB / 0.5591 GB, free: 3.68 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003134/0.6332, allocations: 118.2 kB / 0.5592 GB, free: 3.559 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.6332, allocations: 0 / 0.5592 GB, free: 3.559 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.6333, allocations: 4 kB / 0.5592 GB, free: 3.555 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.6333, allocations: 0 / 0.5592 GB, free: 3.555 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006447/0.6339, allocations: 371.9 kB / 0.5595 GB, free: 3.145 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.634, allocations: 3.953 kB / 0.5595 GB, free: 3.141 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.225e-05/0.634, allocations: 8 kB / 0.5595 GB, free: 3.133 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.64e-06/0.6341, allocations: 0 / 0.5595 GB, free: 3.133 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.6341, allocations: 4 kB / 0.5595 GB, free: 3.129 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.6341, allocations: 0 / 0.5595 GB, free: 3.129 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.6341, allocations: 3.938 kB / 0.5595 GB, free: 3.125 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003237/0.6344, allocations: 210 kB / 0.5597 GB, free: 2.895 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.856e-05/0.6345, allocations: 96.94 kB / 0.5598 GB, free: 2.781 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.487e-05/0.6346, allocations: 0 / 0.5598 GB, free: 2.781 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.6347, allocations: 7.984 kB / 0.5598 GB, free: 2.773 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.788e-05/0.6348, allocations: 7.938 kB / 0.5599 GB, free: 2.766 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.649e-05/0.6348, allocations: 4 kB / 0.5599 GB, free: 2.762 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001374/0.635, allocations: 119.3 kB / 0.56 GB, free: 2.645 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.635, allocations: 0 / 0.56 GB, free: 2.645 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0004338/0.6354, allocations: 43.91 kB / 0.56 GB, free: 2.602 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 (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.001889/0.6373, allocations: 1.156 MB / 0.5611 GB, free: 1.461 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002636/0.6376, allocations: 51.94 kB / 0.5612 GB, free: 1.41 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.6376, allocations: 0 / 0.5612 GB, free: 1.41 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 8.966e-05/0.6377, allocations: 31.92 kB / 0.5612 GB, free: 1.379 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004122/0.6382, allocations: 27.62 kB / 0.5612 GB, free: 1.355 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000761/0.639, allocations: 221.3 kB / 0.5615 GB, free: 1.09 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000347/0.6393, allocations: 0.7002 MB / 0.5621 GB, free: 372 kB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.6394, allocations: 35.42 kB / 0.5622 GB, free: 336 kB / 395.1 MB Notification: Performance of SimCode: time 1.152e-06/0.6395, allocations: 0 / 0.5622 GB, free: 336 kB / 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_CombiTimeTable_Test59CalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test59CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test59CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test59InitializeParameter.cpp:44:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp27; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test59InitializeParameter.cpp:45: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", tmp27); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test59CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test59Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp9; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test59Initialize.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_CombiTimeTable_Test59Initialize.cpp:300:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp15; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test59Initialize.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_Test59CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test59.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_Test59CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test59FMU.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_Test59CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test59CalcHelperMain.o] Error 1