Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay1.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.PadeDelay1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_PadeDelay1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_PadeDelay1",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001064/0.001064, allocations: 191.1 kB / 7.807 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.342/1.342, allocations: 205.2 MB / 213.4 MB, free: 13.85 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.001034/0.001034, allocations: 96 kB / 261.4 MB, free: 13.53 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.1924/0.1924, allocations: 43.49 MB / 352.8 MB, free: 1.938 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1936/0.3861, allocations: 64.96 MB / 417.8 MB, free: 40.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3179/0.704, allocations: 58.84 MB / 476.6 MB, free: 5.176 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1319/0.836, allocations: 86.25 MB / 0.5497 GB, free: 12.67 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002315/0.8362, allocations: 67.14 kB / 0.5498 GB, free: 12.61 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.0336/0.8699, allocations: 9.931 MB / 0.5595 GB, free: 2.613 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.8699, allocations: 8 kB / 0.5595 GB, free: 2.605 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001566/0.8701, allocations: 51.25 kB / 0.5595 GB, free: 2.555 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006764/0.8708, allocations: 359.6 kB / 0.5599 GB, free: 2.16 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.8708, allocations: 12 kB / 0.5599 GB, free: 2.148 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001426/0.871, allocations: 31.81 kB / 0.5599 GB, free: 2.117 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00115/0.8721, allocations: 0.7043 MB / 0.5606 GB, free: 1.414 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008962/0.873, allocations: 0.625 MB / 0.5612 GB, free: 0.7773 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.145e-05/0.8731, allocations: 11.91 kB / 0.5612 GB, free: 0.7656 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.398e-05/0.8732, allocations: 0 / 0.5612 GB, free: 0.7656 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/0.8732, allocations: 8 kB / 0.5612 GB, free: 0.7578 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002632/0.8758, allocations: 1.547 MB / 0.5627 GB, free: 15.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008941/0.8767, allocations: 0.7501 MB / 0.5635 GB, free: 14.39 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006351/0.8774, allocations: 0.5583 MB / 0.564 GB, free: 13.83 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005322/0.8779, allocations: 306.5 kB / 0.5643 GB, free: 13.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.407e-05/0.878, allocations: 38.97 kB / 0.5643 GB, free: 13.45 MB / 410.7 MB Notification: Performance of pre-optimization done (n=96): time 2.304e-06/0.878, allocations: 3.938 kB / 0.5643 GB, free: 13.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=96): time 0.001648/0.8796, allocations: 1.194 MB / 0.5655 GB, free: 12.25 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.8797, allocations: 81.81 kB / 0.5656 GB, free: 12.15 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003857/0.8801, allocations: 341.6 kB / 0.5659 GB, free: 11.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.051e-05/0.8801, allocations: 25.7 kB / 0.5659 GB, free: 11.79 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.8803, allocations: 133.9 kB / 0.5661 GB, free: 11.65 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002972/0.8806, allocations: 354.7 kB / 0.5664 GB, free: 11.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.626e-05/0.8806, allocations: 0 / 0.5664 GB, free: 11.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001919/0.8808, allocations: 378.8 kB / 0.5668 GB, free: 10.92 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007795/0.8816, allocations: 0.6037 MB / 0.5674 GB, free: 10.31 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008431/0.8824, allocations: 0.6898 MB / 0.568 GB, free: 9.617 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001223/0.8837, allocations: 0.7417 MB / 0.5688 GB, free: 8.863 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.8837, allocations: 0 / 0.5688 GB, free: 8.863 MB / 410.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.002474/0.8862, allocations: 1.941 MB / 0.5706 GB, free: 6.91 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.8862, allocations: 7.984 kB / 0.5707 GB, free: 6.902 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.808e-05/0.8862, allocations: 4 kB / 0.5707 GB, free: 6.898 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.547e-05/0.8863, allocations: 4 kB / 0.5707 GB, free: 6.895 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000923/0.8872, allocations: 179.6 kB / 0.5708 GB, free: 6.719 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.683e-05/0.8872, allocations: 4 kB / 0.5708 GB, free: 6.715 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003776/0.8876, allocations: 98.48 kB / 0.5709 GB, free: 6.617 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-05/0.8877, allocations: 24 kB / 0.571 GB, free: 6.594 MB / 410.7 MB Warning: Assuming fixed start value for the following 36 variables: padeDelay1.x[9]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay1.x[8]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay1.x[7]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay1.x[6]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay1.x[5]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay1.x[4]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay1.x[3]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay1.x[2]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay1.x[1]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelayOld1.x[9]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld1.x[8]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld1.x[7]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld1.x[6]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld1.x[5]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld1.x[4]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld1.x[3]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld1.x[2]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld1.x[1]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelay2.x[9]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay2.x[8]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay2.x[7]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay2.x[6]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay2.x[5]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay2.x[4]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay2.x[3]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay2.x[2]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay2.x[1]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelayOld2.x[9]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld2.x[8]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld2.x[7]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld2.x[6]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld2.x[5]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld2.x[4]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld2.x[3]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld2.x[2]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld2.x[1]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] 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 (96): * Single equations (assignments): 92 * 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.0003405/0.888, allocations: 196.5 kB / 0.5711 GB, free: 6.402 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001366/0.8882, allocations: 47.25 kB / 0.5712 GB, free: 6.355 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002141/0.8903, allocations: 1.744 MB / 0.5729 GB, free: 4.469 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/0.8904, allocations: 8 kB / 0.5729 GB, free: 4.461 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.8904, allocations: 0 / 0.5729 GB, free: 4.461 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/0.8904, allocations: 3.984 kB / 0.5729 GB, free: 4.457 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002838/0.8932, allocations: 1.737 MB / 0.5746 GB, free: 2.676 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/0.8933, allocations: 0 / 0.5746 GB, free: 2.676 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001147/0.8944, allocations: 111.9 kB / 0.5747 GB, free: 2.566 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.719e-05/0.8945, allocations: 7.938 kB / 0.5747 GB, free: 2.559 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001553/0.8946, allocations: 31.97 kB / 0.5747 GB, free: 2.527 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.566e-06/0.8946, allocations: 7.938 kB / 0.5747 GB, free: 2.52 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.727e-05/0.8947, allocations: 15.83 kB / 0.5748 GB, free: 2.504 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002101/0.8968, allocations: 1.397 MB / 0.5761 GB, free: 1.086 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002753/0.8996, allocations: 2.271 MB / 0.5783 GB, free: 14.79 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002128/0.8998, allocations: 180.1 kB / 0.5785 GB, free: 14.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001729/0.9, allocations: 27.97 kB / 0.5785 GB, free: 14.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004398/0.9004, allocations: 11.98 kB / 0.5786 GB, free: 14.56 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001247/0.9006, allocations: 35.86 kB / 0.5786 GB, free: 14.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.566e-05/0.9006, allocations: 12 kB / 0.5786 GB, free: 14.51 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0005587/0.9012, allocations: 346.9 kB / 0.5789 GB, free: 14.17 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001879/0.9031, allocations: 255.9 kB / 0.5792 GB, free: 13.92 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 40 (padeDelayOld2.x[1],padeDelayOld2.x[2],padeDelayOld2.x[3],padeDelayOld2.x[4],padeDelayOld2.x[5],padeDelayOld2.x[6],padeDelayOld2.x[7],padeDelayOld2.x[8],padeDelayOld2.x[9],padeDelayOld2.x[10],padeDelay2.x[1],padeDelay2.x[2],padeDelay2.x[3],padeDelay2.x[4],padeDelay2.x[5],padeDelay2.x[6],padeDelay2.x[7],padeDelay2.x[8],padeDelay2.x[9],padeDelay2.x[10],padeDelayOld1.x[1],padeDelayOld1.x[2],padeDelayOld1.x[3],padeDelayOld1.x[4],padeDelayOld1.x[5],padeDelayOld1.x[6],padeDelayOld1.x[7],padeDelayOld1.x[8],padeDelayOld1.x[9],padeDelayOld1.x[10],padeDelay1.x[1],padeDelay1.x[2],padeDelay1.x[3],padeDelay1.x[4],padeDelay1.x[5],padeDelay1.x[6],padeDelay1.x[7],padeDelay1.x[8],padeDelay1.x[9],padeDelay1.x[10]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 52 * 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.0008349/0.9039, allocations: 258 kB / 0.5794 GB, free: 13.66 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002235/0.9062, allocations: 1.549 MB / 0.5809 GB, free: 12.09 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.9062, allocations: 4 kB / 0.5809 GB, free: 12.08 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005906/0.9068, allocations: 444.5 kB / 0.5814 GB, free: 11.65 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005002/0.9073, allocations: 37.94 kB / 0.5814 GB, free: 11.61 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00262/0.9099, allocations: 1.742 MB / 0.5831 GB, free: 9.844 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001007/0.911, allocations: 1.061 MB / 0.5841 GB, free: 8.754 MB / 426.7 MB Notification: Performance of SimCode: time 8.32e-07/0.911, allocations: 0 / 0.5841 GB, free: 8.754 MB / 426.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay1_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_PadeDelay1_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_PadeDelay1.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay1.pipe 2>&1)