Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test56,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test56",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.001555/0.001555, allocations: 177.8 kB / 8.36 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.044/2.044, 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.002183/0.002182, allocations: 92.72 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.4418/0.4418, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.703e-05/2.713e-05, allocations: 8 kB / 418.3 MB, free: 40.93 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4067/0.4067, allocations: 58.85 MB / 477.2 MB, free: 5.195 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.163/0.5698, allocations: 87.18 MB / 0.5511 GB, free: 12.04 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002909/0.5702, allocations: 79.45 kB / 0.5512 GB, free: 11.96 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02529/0.5955, allocations: 5.635 MB / 0.5567 GB, free: 6.328 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.5955, allocations: 0 / 0.5567 GB, free: 6.328 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.915e-05/0.5955, allocations: 4 kB / 0.5567 GB, free: 6.324 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.0005664/0.5961, allocations: 394.8 kB / 0.5571 GB, free: 5.895 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.5962, allocations: 8.031 kB / 0.5571 GB, free: 5.887 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.09e-05/0.5962, allocations: 7.906 kB / 0.5571 GB, free: 5.879 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003726/0.5966, allocations: 206.8 kB / 0.5573 GB, free: 5.637 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.388e-05/0.5967, allocations: 4 kB / 0.5573 GB, free: 5.633 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.549e-05/0.5967, allocations: 7.984 kB / 0.5573 GB, free: 5.625 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.889e-05/0.5968, allocations: 19.94 kB / 0.5573 GB, free: 5.605 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/0.597, allocations: 67.33 kB / 0.5574 GB, free: 5.527 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.597, allocations: 0 / 0.5574 GB, free: 5.527 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.675e-05/0.597, allocations: 0 / 0.5574 GB, free: 5.527 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.597, allocations: 4 kB / 0.5574 GB, free: 5.523 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000485/0.5975, allocations: 261.5 kB / 0.5577 GB, free: 5.23 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001515/0.5977, allocations: 58.62 kB / 0.5577 GB, free: 5.164 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.359e-05/0.5978, allocations: 16.98 kB / 0.5577 GB, free: 5.145 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.562e-05/0.5978, allocations: 3.984 kB / 0.5577 GB, free: 5.141 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001692/0.598, allocations: 59.41 kB / 0.5578 GB, free: 5.07 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 2.194e-06/0.598, allocations: 3.938 kB / 0.5578 GB, free: 5.066 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006705/0.5987, allocations: 161.1 kB / 0.558 GB, free: 4.902 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.256e-05/0.5988, allocations: 77.11 kB / 0.558 GB, free: 4.809 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001905/0.599, allocations: 136.2 kB / 0.5582 GB, free: 4.672 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.713e-05/0.599, allocations: 29.7 kB / 0.5582 GB, free: 4.637 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.162e-05/0.5991, allocations: 158.6 kB / 0.5583 GB, free: 4.48 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.594e-05/0.5992, allocations: 23.64 kB / 0.5584 GB, free: 4.457 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.763e-06/0.5992, allocations: 0 / 0.5584 GB, free: 4.457 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.5993, allocations: 314.8 kB / 0.5587 GB, free: 4.141 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.126e-05/0.5994, allocations: 24 kB / 0.5587 GB, free: 4.117 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.974e-05/0.5995, allocations: 38.56 kB / 0.5587 GB, free: 4.07 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.087e-05/0.5996, allocations: 23.94 kB / 0.5587 GB, free: 4.047 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.5996, allocations: 0 / 0.5587 GB, free: 4.047 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002288/0.5998, allocations: 85.73 kB / 0.5588 GB, free: 3.957 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.5999, allocations: 4 kB / 0.5588 GB, free: 3.953 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.5999, allocations: 0 / 0.5588 GB, free: 3.953 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.5999, allocations: 8.016 kB / 0.5588 GB, free: 3.945 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001664/0.6001, allocations: 23.92 kB / 0.5589 GB, free: 3.922 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.6001, allocations: 0 / 0.5589 GB, free: 3.922 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/0.6002, allocations: 4 kB / 0.5589 GB, free: 3.918 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.6003, allocations: 0 / 0.5589 GB, free: 3.918 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.0001061/0.6004, allocations: 105 kB / 0.559 GB, free: 3.809 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002326/0.6006, allocations: 97.56 kB / 0.5591 GB, free: 3.707 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.049e-05/0.6007, allocations: 11.86 kB / 0.5591 GB, free: 3.695 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003174/0.601, allocations: 118.2 kB / 0.5592 GB, free: 3.574 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.601, allocations: 0 / 0.5592 GB, free: 3.574 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.601, allocations: 0 / 0.5592 GB, free: 3.574 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.601, allocations: 0 / 0.5592 GB, free: 3.574 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000596/0.6016, allocations: 363.9 kB / 0.5595 GB, free: 3.172 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.6017, allocations: 3.953 kB / 0.5595 GB, free: 3.168 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.134e-05/0.6018, allocations: 15.98 kB / 0.5595 GB, free: 3.152 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.6018, allocations: 0 / 0.5595 GB, free: 3.152 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.6018, allocations: 4 kB / 0.5595 GB, free: 3.148 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.6018, allocations: 8.031 kB / 0.5596 GB, free: 3.141 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/0.6018, allocations: 3.938 kB / 0.5596 GB, free: 3.137 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003069/0.6021, allocations: 206 kB / 0.5598 GB, free: 2.91 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.732e-05/0.6022, allocations: 96.94 kB / 0.5598 GB, free: 2.797 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.476e-05/0.6023, allocations: 192 / 0.5598 GB, free: 2.797 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000152/0.6025, allocations: 12 kB / 0.5599 GB, free: 2.785 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.565e-05/0.6025, allocations: 11.92 kB / 0.5599 GB, free: 2.773 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.6025, allocations: 0 / 0.5599 GB, free: 2.773 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001401/0.6027, allocations: 119.3 kB / 0.56 GB, free: 2.656 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6027, allocations: 0 / 0.56 GB, free: 2.656 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0004218/0.6031, allocations: 31.94 kB / 0.56 GB, free: 2.625 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.001801/0.6049, allocations: 1.151 MB / 0.5611 GB, free: 1.488 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002299/0.6052, allocations: 59.92 kB / 0.5612 GB, free: 1.43 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.6052, allocations: 0 / 0.5612 GB, free: 1.43 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 8.306e-05/0.6053, allocations: 24.12 kB / 0.5612 GB, free: 1.406 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003902/0.6057, allocations: 31.78 kB / 0.5612 GB, free: 1.375 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007672/0.6065, allocations: 217.2 kB / 0.5615 GB, free: 1.113 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003081/0.6068, allocations: 0.7041 MB / 0.5621 GB, free: 392 kB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.607, allocations: 31.42 kB / 0.5622 GB, free: 360 kB / 395.1 MB Notification: Performance of SimCode: time 9.52e-07/0.607, allocations: 0 / 0.5622 GB, free: 360 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_Test56CalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test56CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test56CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test56InitializeParameter.cpp:44:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp27; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test56InitializeParameter.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_v6.mat", tmp27); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test56CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test56Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp9; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test56Initialize.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_v6.mat", tmp9); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test56Initialize.cpp:300:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp15; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test56Initialize.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_Test56CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test56.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_Test56CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test56FMU.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_Test56CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test56CalcHelperMain.o] Error 1