Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_PadeDelay1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay1,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001343/0.001343, allocations: 202.3 kB / 8.541 MB, free: 1.805 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.171/1.171, allocations: 225.5 MB / 234.4 MB, free: 3.398 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008966/0.0008966, allocations: 90.88 kB / 286.3 MB, free: 5.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1675/0.1675, allocations: 45.13 MB / 383.3 MB, free: 0.5977 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1968/0.3644, allocations: 69.37 MB / 452.7 MB, free: 76.13 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08473/0.4492, allocations: 63.24 MB / 0.5039 GB, free: 12.96 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2609/0.7101, allocations: 88.37 MB / 0.5902 GB, free: 14.5 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001799/0.7103, allocations: 59.97 kB / 0.5902 GB, free: 14.48 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.03162/0.742, allocations: 10.12 MB / 0.6001 GB, free: 5.586 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.742, allocations: 12 kB / 0.6001 GB, free: 5.574 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002193/0.7422, allocations: 63.23 kB / 0.6002 GB, free: 5.512 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004934/0.7427, allocations: 353.1 kB / 0.6005 GB, free: 5.156 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.7428, allocations: 8 kB / 0.6005 GB, free: 5.148 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.444e-05/0.7429, allocations: 39.67 kB / 0.6005 GB, free: 5.113 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009641/0.7438, allocations: 0.6999 MB / 0.6012 GB, free: 4.656 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007842/0.7446, allocations: 0.6333 MB / 0.6019 GB, free: 4.184 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.998e-05/0.7447, allocations: 15.84 kB / 0.6019 GB, free: 4.172 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.054e-05/0.7447, allocations: 3.938 kB / 0.6019 GB, free: 4.168 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.7447, allocations: 4 kB / 0.6019 GB, free: 4.164 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002239/0.747, allocations: 1.553 MB / 0.6034 GB, free: 2.875 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007639/0.7478, allocations: 0.7435 MB / 0.6041 GB, free: 2.391 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000546/0.7483, allocations: 0.5677 MB / 0.6047 GB, free: 2.055 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004942/0.7488, allocations: 301.9 kB / 0.605 GB, free: 1.727 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.7489, allocations: 38.91 kB / 0.605 GB, free: 1.684 MB / 394.7 MB Notification: Performance of pre-optimization done (n=96): time 2.174e-06/0.7489, allocations: 0 / 0.605 GB, free: 1.684 MB / 394.7 MB Notification: Performance of matching and sorting (n=96): time 0.001481/0.7504, allocations: 1.184 MB / 0.6062 GB, free: 0.793 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.812e-05/0.7504, allocations: 89.75 kB / 0.6062 GB, free: 0.6875 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003363/0.7508, allocations: 336.5 kB / 0.6066 GB, free: 428 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.797e-05/0.7508, allocations: 33.7 kB / 0.6066 GB, free: 388 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.181e-05/0.7509, allocations: 132.7 kB / 0.6067 GB, free: 264 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000225/0.7511, allocations: 353.5 kB / 0.6071 GB, free: 15.96 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.298e-05/0.7512, allocations: 0 / 0.6071 GB, free: 15.96 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.7513, allocations: 378.6 kB / 0.6074 GB, free: 15.61 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006457/0.752, allocations: 0.6001 MB / 0.608 GB, free: 15.23 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007138/0.7527, allocations: 0.6851 MB / 0.6087 GB, free: 14.78 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001007/0.7537, allocations: 0.7303 MB / 0.6094 GB, free: 14.29 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.7537, allocations: 4 kB / 0.6094 GB, free: 14.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.002172/0.7559, allocations: 1.949 MB / 0.6113 GB, free: 12.82 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.7559, allocations: 4 kB / 0.6113 GB, free: 12.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.265e-05/0.7559, allocations: 7.984 kB / 0.6113 GB, free: 12.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.756, allocations: 4 kB / 0.6113 GB, free: 12.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008411/0.7568, allocations: 166.5 kB / 0.6115 GB, free: 12.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.7568, allocations: 4 kB / 0.6115 GB, free: 12.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003129/0.7572, allocations: 106.5 kB / 0.6116 GB, free: 12.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.513e-05/0.7572, allocations: 22.19 kB / 0.6116 GB, free: 12.53 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.0002474/0.7575, allocations: 195.3 kB / 0.6118 GB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001134/0.7576, allocations: 47.25 kB / 0.6118 GB, free: 12.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001806/0.7594, allocations: 1.758 MB / 0.6135 GB, free: 10.87 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/0.7594, allocations: 4 kB / 0.6135 GB, free: 10.87 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.7594, allocations: 8 kB / 0.6136 GB, free: 10.86 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.7595, allocations: 3.984 kB / 0.6136 GB, free: 10.86 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002212/0.7617, allocations: 1.73 MB / 0.6152 GB, free: 9.449 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.7617, allocations: 4 kB / 0.6152 GB, free: 9.445 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009374/0.7626, allocations: 119.6 kB / 0.6154 GB, free: 9.332 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.844e-06/0.7627, allocations: 0 / 0.6154 GB, free: 9.332 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.74e-05/0.7628, allocations: 31.53 kB / 0.6154 GB, free: 9.309 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.7628, allocations: 4 kB / 0.6154 GB, free: 9.305 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.7628, allocations: 3.906 kB / 0.6154 GB, free: 9.301 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001549/0.7643, allocations: 1.408 MB / 0.6168 GB, free: 8.207 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002238/0.7666, allocations: 2.271 MB / 0.619 GB, free: 6.375 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/0.7667, allocations: 175.5 kB / 0.6192 GB, free: 6.199 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001259/0.7669, allocations: 30.34 kB / 0.6192 GB, free: 6.176 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003647/0.7672, allocations: 8 kB / 0.6192 GB, free: 6.168 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.947e-05/0.7673, allocations: 34.97 kB / 0.6192 GB, free: 6.137 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-05/0.7674, allocations: 14.5 kB / 0.6192 GB, free: 6.125 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0003528/0.7677, allocations: 343.1 kB / 0.6196 GB, free: 5.859 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001381/0.7691, allocations: 266.2 kB / 0.6198 GB, free: 5.605 MB / 410.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.0005831/0.7697, allocations: 253.1 kB / 0.6201 GB, free: 5.355 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001756/0.7715, allocations: 1.548 MB / 0.6216 GB, free: 4.305 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.7715, allocations: 0 / 0.6216 GB, free: 4.305 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005302/0.772, allocations: 445.2 kB / 0.622 GB, free: 4.008 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004164/0.7725, allocations: 48.44 kB / 0.622 GB, free: 3.973 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002336/0.7748, allocations: 1.741 MB / 0.6237 GB, free: 2.387 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007729/0.7756, allocations: 1.062 MB / 0.6248 GB, free: 1.328 MB / 410.7 MB Notification: Performance of SimCode: time 4.21e-07/0.7756, allocations: 0 / 0.6248 GB, free: 1.328 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay1_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_PadeDelay1_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_PadeDelay1.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay1.pipe 2>&1)