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.001656/0.001655, allocations: 185.5 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.997/1.997, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.001155/0.001155, allocations: 96.36 kB / 270.9 MB, free: 8.387 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5984/0.5984, allocations: 43.55 MB / 362.7 MB, free: 52.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005477/0.0005476, allocations: 12 kB / 431.5 MB, free: 6.086 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1385, allocations: 58.83 MB / 490.3 MB, free: 11.17 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.517/0.6555, allocations: 86.81 MB / 0.5636 GB, free: 15.77 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002532/0.6558, allocations: 55.98 kB / 0.5636 GB, free: 15.71 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05273/0.7086, allocations: 9.483 MB / 0.5729 GB, free: 6.254 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.005e-06/0.7086, allocations: 0 / 0.5729 GB, free: 6.254 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.08e-05/0.7087, allocations: 4 kB / 0.5729 GB, free: 6.25 MB / 394.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.002/0.7107, allocations: 0.6911 MB / 0.5736 GB, free: 5.512 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.702e-05/0.7108, allocations: 12.03 kB / 0.5736 GB, free: 5.5 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.685e-05/0.7109, allocations: 50.48 kB / 0.5736 GB, free: 5.441 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001153/0.711, allocations: 34.97 kB / 0.5737 GB, free: 5.41 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005966/0.7116, allocations: 291 kB / 0.574 GB, free: 5.086 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.341e-05/0.7117, allocations: 18.92 kB / 0.574 GB, free: 5.07 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.382e-05/0.7118, allocations: 28 kB / 0.574 GB, free: 5.043 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008351/0.7126, allocations: 275.2 kB / 0.5743 GB, free: 4.762 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.7126, allocations: 3.938 kB / 0.5743 GB, free: 4.758 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.914e-05/0.7127, allocations: 5.031 kB / 0.5743 GB, free: 4.754 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.353e-05/0.7127, allocations: 5.5 kB / 0.5743 GB, free: 4.75 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007584/0.7135, allocations: 227.8 kB / 0.5745 GB, free: 4.527 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002015/0.7155, allocations: 0.7655 MB / 0.5752 GB, free: 3.707 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008242/0.7164, allocations: 297.8 kB / 0.5755 GB, free: 3.398 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.946e-05/0.7164, allocations: 8.141 kB / 0.5755 GB, free: 3.391 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.626e-05/0.7165, allocations: 42.52 kB / 0.5756 GB, free: 3.34 MB / 394.7 MB Notification: Performance of pre-optimization done (n=24): time 3.236e-06/0.7165, allocations: 0 / 0.5756 GB, free: 3.34 MB / 394.7 MB Notification: Performance of matching and sorting (n=24): time 0.001795/0.7183, allocations: 0.5483 MB / 0.5761 GB, free: 2.785 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.833e-05/0.7184, allocations: 85.09 kB / 0.5762 GB, free: 2.684 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004984/0.7189, allocations: 307.7 kB / 0.5765 GB, free: 2.383 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.545e-05/0.719, allocations: 37.7 kB / 0.5765 GB, free: 2.34 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001444/0.7191, allocations: 203.2 kB / 0.5767 GB, free: 2.137 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001361/0.7193, allocations: 102.5 kB / 0.5768 GB, free: 2.035 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-05/0.7193, allocations: 4 kB / 0.5768 GB, free: 2.031 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001831/0.7195, allocations: 342.8 kB / 0.5771 GB, free: 1.688 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007944/0.7203, allocations: 288.8 kB / 0.5774 GB, free: 1.406 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008116/0.7212, allocations: 337.7 kB / 0.5777 GB, free: 1.074 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008929/0.7221, allocations: 333.8 kB / 0.5781 GB, free: 0.7461 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.7221, allocations: 0 / 0.5781 GB, free: 0.7461 MB / 394.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001932/0.724, allocations: 0.7504 MB / 0.5788 GB, free: 15.99 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/0.7241, allocations: 4 kB / 0.5788 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.471e-05/0.7242, allocations: 11.94 kB / 0.5788 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.181e-05/0.7242, allocations: 4 kB / 0.5788 GB, free: 15.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009314/0.7252, allocations: 99.88 kB / 0.5789 GB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.7252, allocations: 3.938 kB / 0.5789 GB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003699/0.7256, allocations: 75.14 kB / 0.579 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.014e-05/0.7256, allocations: 13.34 kB / 0.579 GB, free: 15.79 MB / 410.7 MB Warning: Assuming fixed start value for the following 6 variables: padeDelay2a.x[3]:VARIABLE(fixed = true 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(fixed = true 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(fixed = true 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(fixed = true 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(fixed = true 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(fixed = true 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 () * Number of clocked 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.0004106/0.7261, allocations: 181.8 kB / 0.5792 GB, free: 15.6 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/0.7262, allocations: 27.58 kB / 0.5792 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001465/0.7263, allocations: 38.72 kB / 0.5792 GB, free: 15.53 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.7263, allocations: 4 kB / 0.5792 GB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.7264, allocations: 0 / 0.5792 GB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/0.7264, allocations: 3.984 kB / 0.5792 GB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006343/0.727, allocations: 333.3 kB / 0.5796 GB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.727, allocations: 4 kB / 0.5796 GB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00073/0.7278, allocations: 51.97 kB / 0.5796 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.607e-06/0.7278, allocations: 3.953 kB / 0.5796 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.089e-05/0.7279, allocations: 12 kB / 0.5796 GB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.262e-06/0.7279, allocations: 7.922 kB / 0.5796 GB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.7279, allocations: 4.75 kB / 0.5796 GB, free: 15.06 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001869/0.7298, allocations: 0.7629 MB / 0.5804 GB, free: 14.27 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.7299, allocations: 108.8 kB / 0.5805 GB, free: 14.15 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.751e-05/0.73, allocations: 15.98 kB / 0.5805 GB, free: 14.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000378/0.7304, allocations: 16 kB / 0.5805 GB, free: 14.12 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.392e-05/0.7305, allocations: 19.97 kB / 0.5805 GB, free: 14.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.649e-05/0.7306, allocations: 8 kB / 0.5805 GB, free: 14.09 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003824/0.731, allocations: 215 kB / 0.5807 GB, free: 13.88 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.731, allocations: 3.938 kB / 0.5807 GB, free: 13.88 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001353/0.7323, allocations: 271.7 kB / 0.581 GB, free: 13.61 MB / 410.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 () * Number of clocked 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.003292/0.7356, allocations: 1.588 MB / 0.5826 GB, free: 11.99 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001891/0.7376, allocations: 0.738 MB / 0.5833 GB, free: 11.23 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/0.7376, allocations: 0 / 0.5833 GB, free: 11.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005847/0.7382, allocations: 203.7 kB / 0.5835 GB, free: 11.03 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005766/0.7388, allocations: 39.59 kB / 0.5835 GB, free: 11 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00345/0.7423, allocations: 1.639 MB / 0.5851 GB, free: 9.301 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005757/0.7429, allocations: 0.807 MB / 0.5859 GB, free: 8.469 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003595/0.7433, allocations: 107.4 kB / 0.586 GB, free: 8.363 MB / 410.7 MB Notification: Performance of SimCode: time 1.122e-06/0.7433, allocations: 0 / 0.586 GB, free: 8.363 MB / 410.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:45: error: use of undeclared identifier '_omcQ_24tmpVar2_'; did you mean '_omcQ_24tmpVar3_'? _omcQ_24tmpVar3_ = std::abs(_omcQ_24tmpVar2_); ^~~~~~~~~~~~~~~~ _omcQ_24tmpVar3_ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_PadeDelay2Functions.cpp:1257:20: note: '_omcQ_24tmpVar3_' declared here double _omcQ_24tmpVar3_; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_PadeDelay2Functions.cpp:1327:45: error: use of undeclared identifier '_omcQ_24tmpVar5_'; did you mean '_omcQ_24tmpVar6_'? _omcQ_24tmpVar6_ = std::abs(_omcQ_24tmpVar5_); ^~~~~~~~~~~~~~~~ _omcQ_24tmpVar6_ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_PadeDelay2Functions.cpp:1299:20: note: '_omcQ_24tmpVar6_' declared here double _omcQ_24tmpVar6_; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_PadeDelay2Functions.cpp:1373:45: error: use of undeclared identifier '_omcQ_24tmpVar8_'; did you mean '_omcQ_24tmpVar9_'? _omcQ_24tmpVar9_ = std::abs(_omcQ_24tmpVar8_); ^~~~~~~~~~~~~~~~ _omcQ_24tmpVar9_ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_PadeDelay2Functions.cpp:1345:20: note: '_omcQ_24tmpVar9_' declared here double _omcQ_24tmpVar9_; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_PadeDelay2Functions.cpp:1415:46: error: use of undeclared identifier '_omcQ_24tmpVar11_'; did you mean '_omcQ_24tmpVar12_'? _omcQ_24tmpVar12_ = std::abs(_omcQ_24tmpVar11_); ^~~~~~~~~~~~~~~~~ _omcQ_24tmpVar12_ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_PadeDelay2Functions.cpp:1387:20: note: '_omcQ_24tmpVar12_' declared here double _omcQ_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