Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.PadeDelay2.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.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_PadeDelay2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_PadeDelay2",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.002323/0.002323, allocations: 181.6 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.198/2.198, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001182/0.001181, allocations: 82.77 kB / 267.5 MB, free: 14.04 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.354/0.354, allocations: 43.48 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.569e-05/3.583e-05, allocations: 4 kB / 425.4 MB, free: 23.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1214, allocations: 58.86 MB / 484.2 MB, free: 12.38 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5497/0.6711, allocations: 86.71 MB / 0.5576 GB, free: 0.8438 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000286/0.6714, allocations: 58.64 kB / 0.5576 GB, free: 0.8203 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07425/0.7457, allocations: 9.436 MB / 0.5668 GB, free: 8.613 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.126e-06/0.7458, allocations: 0 / 0.5668 GB, free: 8.613 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.438e-05/0.7459, allocations: 7.938 kB / 0.5668 GB, free: 8.605 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.00263/0.7485, allocations: 0.6509 MB / 0.5675 GB, free: 7.926 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.712e-05/0.7486, allocations: 16.03 kB / 0.5675 GB, free: 7.91 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000121/0.7488, allocations: 47.98 kB / 0.5675 GB, free: 7.863 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001556/0.7489, allocations: 31.53 kB / 0.5676 GB, free: 7.832 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008914/0.7498, allocations: 293.2 kB / 0.5678 GB, free: 7.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.674e-05/0.7499, allocations: 18.92 kB / 0.5679 GB, free: 7.508 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001395/0.7501, allocations: 22.62 kB / 0.5679 GB, free: 7.492 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009848/0.7511, allocations: 257.9 kB / 0.5681 GB, free: 7.289 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.938e-05/0.7511, allocations: 0 / 0.5681 GB, free: 7.289 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.907e-05/0.7512, allocations: 18.88 kB / 0.5681 GB, free: 7.277 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/0.7512, allocations: 4 kB / 0.5682 GB, free: 7.273 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008361/0.7521, allocations: 210.1 kB / 0.5684 GB, free: 7.129 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002974/0.7551, allocations: 0.7597 MB / 0.5691 GB, free: 6.418 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009576/0.7561, allocations: 282.1 kB / 0.5694 GB, free: 6.199 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005807/0.7567, allocations: 181.9 kB / 0.5695 GB, free: 6.074 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.489e-05/0.7568, allocations: 7.953 kB / 0.5695 GB, free: 6.066 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.608e-05/0.7568, allocations: 40.05 kB / 0.5696 GB, free: 6.02 MB / 378.7 MB Notification: Performance of pre-optimization done (n=24): time 5.049e-06/0.7569, allocations: 0 / 0.5696 GB, free: 6.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=24): time 0.001564/0.7584, allocations: 382.2 kB / 0.5699 GB, free: 5.73 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.551e-05/0.7586, allocations: 81.14 kB / 0.57 GB, free: 5.633 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007376/0.7593, allocations: 307.5 kB / 0.5703 GB, free: 5.379 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001396/0.7595, allocations: 35.77 kB / 0.5704 GB, free: 5.344 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001983/0.7597, allocations: 202.8 kB / 0.5705 GB, free: 5.16 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001797/0.7599, allocations: 103.7 kB / 0.5706 GB, free: 5.07 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.871e-05/0.76, allocations: 3.375 kB / 0.5706 GB, free: 5.07 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002299/0.7602, allocations: 339.9 kB / 0.571 GB, free: 4.742 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009407/0.7612, allocations: 275.4 kB / 0.5712 GB, free: 4.566 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009898/0.7622, allocations: 326.2 kB / 0.5715 GB, free: 4.352 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001107/0.7634, allocations: 312.7 kB / 0.5718 GB, free: 4.141 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.458e-06/0.7634, allocations: 3.953 kB / 0.5718 GB, free: 4.137 MB / 378.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002504/0.7659, allocations: 0.7243 MB / 0.5726 GB, free: 3.613 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.871e-05/0.766, allocations: 4 kB / 0.5726 GB, free: 3.609 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.393e-05/0.7661, allocations: 4 kB / 0.5726 GB, free: 3.605 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.4e-05/0.7662, allocations: 4 kB / 0.5726 GB, free: 3.602 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001416/0.7676, allocations: 99.44 kB / 0.5727 GB, free: 3.508 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.265e-05/0.7676, allocations: 4 kB / 0.5727 GB, free: 3.504 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005782/0.7682, allocations: 66.86 kB / 0.5727 GB, free: 3.441 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.303e-05/0.7683, allocations: 11.94 kB / 0.5727 GB, free: 3.434 MB / 378.7 MB Warning: Assuming fixed start value for the following 6 variables: padeDelay2a.x[3]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] padeDelay2a.x[2]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] padeDelay2a.x[1]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] padeDelay1a.x[3]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] padeDelay1a.x[2]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] padeDelay1a.x[1]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0003256/0.7687, allocations: 142.4 kB / 0.5729 GB, free: 3.309 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001915/0.7689, allocations: 35.56 kB / 0.5729 GB, free: 3.273 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001818/0.7691, allocations: 37.78 kB / 0.5729 GB, free: 3.254 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.381e-05/0.7691, allocations: 4 kB / 0.5729 GB, free: 3.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.228e-06/0.7691, allocations: 0 / 0.5729 GB, free: 3.25 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.7692, allocations: 0 / 0.5729 GB, free: 3.25 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009923/0.7702, allocations: 339.8 kB / 0.5733 GB, free: 2.918 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.247e-06/0.7702, allocations: 0 / 0.5733 GB, free: 2.918 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00118/0.7714, allocations: 49.69 kB / 0.5733 GB, free: 2.871 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.19e-05/0.7715, allocations: 7.984 kB / 0.5733 GB, free: 2.863 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-05/0.7716, allocations: 11.19 kB / 0.5733 GB, free: 2.859 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.548e-06/0.7716, allocations: 8 kB / 0.5733 GB, free: 2.852 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.7716, allocations: 0 / 0.5733 GB, free: 2.852 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002194/0.7738, allocations: 0.7312 MB / 0.5741 GB, free: 2.242 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001634/0.7741, allocations: 104.8 kB / 0.5742 GB, free: 2.121 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001776/0.7743, allocations: 11.48 kB / 0.5742 GB, free: 2.113 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006562/0.7749, allocations: 15.75 kB / 0.5742 GB, free: 2.102 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001548/0.7751, allocations: 19.91 kB / 0.5742 GB, free: 2.082 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.145e-05/0.7752, allocations: 7.5 kB / 0.5742 GB, free: 2.078 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000537/0.7758, allocations: 217.5 kB / 0.5744 GB, free: 1.902 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.21e-07/0.7758, allocations: 3.938 kB / 0.5744 GB, free: 1.898 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001928/0.7777, allocations: 274.6 kB / 0.5747 GB, free: 1.641 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 16 (padeDelay2a.x[1],padeDelay2a.x[2],padeDelay2a.x[3],padeDelay2a.x[4],padeDelay2b.x[1],padeDelay2b.x[2],padeDelay2b.x[3],padeDelay2b.x[4],padeDelay1b.x[1],padeDelay1b.x[2],padeDelay1b.x[3],padeDelay1b.x[4],padeDelay1a.x[1],padeDelay1a.x[2],padeDelay1a.x[3],padeDelay1a.x[4]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * 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 Backend phase and start with SimCode phase: time 0.004043/0.7818, allocations: 1.527 MB / 0.5762 GB, free: 244 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00239/0.7843, allocations: 0.7152 MB / 0.5769 GB, free: 15.7 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.808e-06/0.7843, allocations: 0 / 0.5769 GB, free: 15.7 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007317/0.7851, allocations: 181.6 kB / 0.577 GB, free: 15.58 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008419/0.786, allocations: 40.62 kB / 0.5771 GB, free: 15.55 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0042/0.7902, allocations: 1.039 MB / 0.5781 GB, free: 14.58 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007962/0.7911, allocations: 0.8096 MB / 0.5789 GB, free: 13.75 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005205/0.7916, allocations: 106.8 kB / 0.579 GB, free: 13.71 MB / 394.7 MB Notification: Performance of SimCode: time 1.583e-06/0.7917, allocations: 0 / 0.579 GB, free: 13.71 MB / 394.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_Blocks_PadeDelay2CalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_PadeDelay2CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_PadeDelay2CalcHelperMain.cpp:28: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_PadeDelay2Functions.cpp:1285:41: error: use of undeclared identifier 'D_24tmpVar2_'; did you mean 'D_24tmpVar3_'? D_24tmpVar3_ = std::abs(D_24tmpVar2_); ^~~~~~~~~~~~ D_24tmpVar3_ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_PadeDelay2Functions.cpp:1257:20: note: 'D_24tmpVar3_' declared here double D_24tmpVar3_; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_PadeDelay2Functions.cpp:1327:41: error: use of undeclared identifier 'D_24tmpVar5_'; did you mean 'D_24tmpVar6_'? D_24tmpVar6_ = std::abs(D_24tmpVar5_); ^~~~~~~~~~~~ D_24tmpVar6_ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_PadeDelay2Functions.cpp:1299:20: note: 'D_24tmpVar6_' declared here double D_24tmpVar6_; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_PadeDelay2Functions.cpp:1373:41: error: use of undeclared identifier 'D_24tmpVar8_'; did you mean 'D_24tmpVar9_'? D_24tmpVar9_ = std::abs(D_24tmpVar8_); ^~~~~~~~~~~~ D_24tmpVar9_ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_PadeDelay2Functions.cpp:1345:20: note: 'D_24tmpVar9_' declared here double D_24tmpVar9_; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_PadeDelay2Functions.cpp:1415:42: error: use of undeclared identifier 'D_24tmpVar11_'; did you mean 'D_24tmpVar12_'? D_24tmpVar12_ = std::abs(D_24tmpVar11_); ^~~~~~~~~~~~~ D_24tmpVar12_ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_PadeDelay2Functions.cpp:1387:20: note: 'D_24tmpVar12_' declared here double D_24tmpVar12_; ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_PadeDelay2CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_PadeDelay2FMU.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 4 errors generated. : recipe for target 'OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_PadeDelay2CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_PadeDelay2CalcHelperMain.o] Error 1