Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test57,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test57",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.002221/0.002221, allocations: 179.2 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.077/2.077, allocations: 205.3 MB / 214.1 MB, free: 14.13 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.001078/0.001078, allocations: 91.64 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.2999/0.2999, allocations: 43.49 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.621e-05/2.621e-05, allocations: 4.219 kB / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4276/0.4276, allocations: 58.86 MB / 477.2 MB, free: 5.16 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1969/0.6246, allocations: 87.18 MB / 0.5511 GB, free: 12 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002936/0.6249, allocations: 75.95 kB / 0.5512 GB, free: 11.93 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02574/0.6507, allocations: 5.631 MB / 0.5567 GB, free: 6.297 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.6508, allocations: 7.938 kB / 0.5567 GB, free: 6.289 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.454e-05/0.6508, allocations: 0 / 0.5567 GB, free: 6.289 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.0005902/0.6514, allocations: 394.9 kB / 0.5571 GB, free: 5.859 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.6514, allocations: 8.031 kB / 0.5571 GB, free: 5.852 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.037e-05/0.6515, allocations: 7.906 kB / 0.5571 GB, free: 5.844 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003748/0.6519, allocations: 206.8 kB / 0.5573 GB, free: 5.602 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.652, allocations: 0 / 0.5573 GB, free: 5.602 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.731e-05/0.652, allocations: 4 kB / 0.5573 GB, free: 5.598 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.966e-05/0.6521, allocations: 27.92 kB / 0.5573 GB, free: 5.57 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/0.6523, allocations: 63.39 kB / 0.5574 GB, free: 5.496 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.6523, allocations: 0 / 0.5574 GB, free: 5.496 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.6523, allocations: 3.938 kB / 0.5574 GB, free: 5.492 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.6523, allocations: 0 / 0.5574 GB, free: 5.492 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004482/0.6528, allocations: 265.5 kB / 0.5577 GB, free: 5.195 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001525/0.653, allocations: 54.62 kB / 0.5577 GB, free: 5.133 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.379e-05/0.653, allocations: 20.98 kB / 0.5577 GB, free: 5.109 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.6531, allocations: 0 / 0.5577 GB, free: 5.109 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001663/0.6532, allocations: 63.39 kB / 0.5578 GB, free: 5.035 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 4.939e-06/0.6533, allocations: 0 / 0.5578 GB, free: 5.035 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005916/0.6539, allocations: 149.1 kB / 0.5579 GB, free: 4.883 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.879e-05/0.6539, allocations: 85.11 kB / 0.558 GB, free: 4.781 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001786/0.6541, allocations: 140.4 kB / 0.5582 GB, free: 4.641 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/0.6542, allocations: 25.7 kB / 0.5582 GB, free: 4.609 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.794e-05/0.6543, allocations: 162.6 kB / 0.5583 GB, free: 4.449 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.935e-05/0.6543, allocations: 23.66 kB / 0.5584 GB, free: 4.426 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-06/0.6543, allocations: 0 / 0.5584 GB, free: 4.426 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.6545, allocations: 314.8 kB / 0.5587 GB, free: 4.109 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.576e-05/0.6545, allocations: 16 kB / 0.5587 GB, free: 4.094 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.332e-05/0.6546, allocations: 42.58 kB / 0.5587 GB, free: 4.043 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.232e-05/0.6547, allocations: 19.98 kB / 0.5587 GB, free: 4.023 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.6547, allocations: 3.938 kB / 0.5587 GB, free: 4.02 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002149/0.6549, allocations: 85.66 kB / 0.5588 GB, free: 3.93 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/0.655, allocations: 8 kB / 0.5588 GB, free: 3.922 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.655, allocations: 3.984 kB / 0.5588 GB, free: 3.918 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.655, allocations: 3.953 kB / 0.5588 GB, free: 3.914 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/0.6552, allocations: 16.25 kB / 0.5588 GB, free: 3.898 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.6552, allocations: 7.938 kB / 0.5589 GB, free: 3.891 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000102/0.6553, allocations: 4 kB / 0.5589 GB, free: 3.887 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.732e-05/0.6554, allocations: 7.984 kB / 0.5589 GB, free: 3.879 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.0001419/0.6555, allocations: 109 kB / 0.559 GB, free: 3.766 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000226/0.6558, allocations: 85.59 kB / 0.5591 GB, free: 3.676 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.801e-05/0.6558, allocations: 11.86 kB / 0.5591 GB, free: 3.664 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003018/0.6561, allocations: 110.3 kB / 0.5592 GB, free: 3.551 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.6561, allocations: 8 kB / 0.5592 GB, free: 3.543 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.6562, allocations: 96 / 0.5592 GB, free: 3.543 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.6562, allocations: 3.938 kB / 0.5592 GB, free: 3.539 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005826/0.6568, allocations: 367.9 kB / 0.5595 GB, free: 3.133 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.012e-06/0.6568, allocations: 3.953 kB / 0.5595 GB, free: 3.129 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.209e-05/0.6569, allocations: 8 kB / 0.5595 GB, free: 3.121 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.496e-06/0.6569, allocations: 4 kB / 0.5595 GB, free: 3.117 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.6569, allocations: 0 / 0.5595 GB, free: 3.117 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.6569, allocations: 0 / 0.5595 GB, free: 3.117 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.657, allocations: 8.016 kB / 0.5596 GB, free: 3.109 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002953/0.6573, allocations: 210.2 kB / 0.5598 GB, free: 2.879 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.267e-05/0.6573, allocations: 89.02 kB / 0.5598 GB, free: 2.773 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.717e-05/0.6574, allocations: 7.938 kB / 0.5598 GB, free: 2.766 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001374/0.6575, allocations: 3.984 kB / 0.5599 GB, free: 2.762 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.376e-05/0.6576, allocations: 8 kB / 0.5599 GB, free: 2.754 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.626e-05/0.6576, allocations: 7.938 kB / 0.5599 GB, free: 2.746 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001334/0.6578, allocations: 115.3 kB / 0.56 GB, free: 2.633 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6578, allocations: 0 / 0.56 GB, free: 2.633 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0004153/0.6582, allocations: 39.92 kB / 0.56 GB, free: 2.594 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.001827/0.66, allocations: 1.147 MB / 0.5611 GB, free: 1.453 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002232/0.6603, allocations: 51.94 kB / 0.5612 GB, free: 1.402 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.6603, allocations: 0 / 0.5612 GB, free: 1.402 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 8.594e-05/0.6604, allocations: 28 kB / 0.5612 GB, free: 1.375 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003989/0.6608, allocations: 31.95 kB / 0.5612 GB, free: 1.344 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007337/0.6616, allocations: 221.2 kB / 0.5615 GB, free: 1.078 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003037/0.6619, allocations: 0.6963 MB / 0.5621 GB, free: 364 kB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001099/0.662, allocations: 39.42 kB / 0.5622 GB, free: 324 kB / 395.1 MB Notification: Performance of SimCode: time 1.022e-06/0.662, allocations: 0 / 0.5622 GB, free: 324 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_Test57CalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test57CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test57CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test57InitializeParameter.cpp:44:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp27; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test57InitializeParameter.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_v7.mat", tmp27); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test57CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test57Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp9; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test57Initialize.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_v7.mat", tmp9); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test57Initialize.cpp:300:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp15; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test57Initialize.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_Test57CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test57.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_Test57CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test57FMU.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_Test57CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test57CalcHelperMain.o] Error 1