Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.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.PadeDelay2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_PadeDelay2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_PadeDelay2",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.001025/0.001025, allocations: 199.2 kB / 8.541 MB, free: 1.812 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.145/1.145, allocations: 225.5 MB / 234.4 MB, free: 3.418 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008442/0.0008442, allocations: 92.66 kB / 286.3 MB, free: 5.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1695/0.1695, allocations: 45.13 MB / 383.3 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.206/0.3755, allocations: 69.37 MB / 452.7 MB, free: 76.13 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09916/0.4747, allocations: 63.25 MB / 0.5039 GB, free: 12.96 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2661/0.7408, allocations: 88.09 MB / 0.5899 GB, free: 14.75 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001394/0.741, allocations: 59.31 kB / 0.5899 GB, free: 14.72 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.03293/0.7739, allocations: 10.09 MB / 0.5998 GB, free: 5.953 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.774, allocations: 8 kB / 0.5998 GB, free: 5.945 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002052/0.7742, allocations: 51.52 kB / 0.5999 GB, free: 5.895 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004667/0.7747, allocations: 284.2 kB / 0.6001 GB, free: 5.598 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.7747, allocations: 4 kB / 0.6001 GB, free: 5.594 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.24e-05/0.7748, allocations: 22.53 kB / 0.6002 GB, free: 5.574 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003335/0.7751, allocations: 204.9 kB / 0.6003 GB, free: 5.434 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003731/0.7755, allocations: 263.8 kB / 0.6006 GB, free: 5.215 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.7755, allocations: 0 / 0.6006 GB, free: 5.215 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.492e-05/0.7755, allocations: 0 / 0.6006 GB, free: 5.215 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.7755, allocations: 4 kB / 0.6006 GB, free: 5.211 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001143/0.7767, allocations: 0.7239 MB / 0.6013 GB, free: 4.539 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000347/0.7771, allocations: 260.4 kB / 0.6016 GB, free: 4.336 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002235/0.7773, allocations: 180.3 kB / 0.6017 GB, free: 4.211 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.943e-05/0.7773, allocations: 4 kB / 0.6017 GB, free: 4.207 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.7774, allocations: 38.06 kB / 0.6018 GB, free: 4.164 MB / 394.7 MB Notification: Performance of pre-optimization done (n=24): time 1.844e-06/0.7774, allocations: 0 / 0.6018 GB, free: 4.164 MB / 394.7 MB Notification: Performance of matching and sorting (n=24): time 0.0006141/0.778, allocations: 369 kB / 0.6021 GB, free: 3.879 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/0.778, allocations: 81.11 kB / 0.6022 GB, free: 3.781 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002834/0.7783, allocations: 309.8 kB / 0.6025 GB, free: 3.52 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.299e-05/0.7784, allocations: 25.7 kB / 0.6025 GB, free: 3.488 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.623e-05/0.7785, allocations: 130.6 kB / 0.6026 GB, free: 3.371 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.592e-05/0.7785, allocations: 96.73 kB / 0.6027 GB, free: 3.289 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.962e-05/0.7786, allocations: 3.938 kB / 0.6027 GB, free: 3.285 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.7787, allocations: 345.2 kB / 0.6031 GB, free: 2.953 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003473/0.7791, allocations: 278.2 kB / 0.6033 GB, free: 2.773 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003623/0.7794, allocations: 327.8 kB / 0.6036 GB, free: 2.551 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004755/0.7799, allocations: 318.8 kB / 0.604 GB, free: 2.336 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.7799, allocations: 0 / 0.604 GB, free: 2.336 MB / 394.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001003/0.7809, allocations: 0.7831 MB / 0.6047 GB, free: 1.742 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.781, allocations: 4 kB / 0.6047 GB, free: 1.738 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.561e-05/0.781, allocations: 7.984 kB / 0.6047 GB, free: 1.73 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.781, allocations: 4 kB / 0.6047 GB, free: 1.727 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005067/0.7815, allocations: 91.7 kB / 0.6048 GB, free: 1.641 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.797e-05/0.7816, allocations: 11.94 kB / 0.6048 GB, free: 1.629 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002077/0.7818, allocations: 71.05 kB / 0.6049 GB, free: 1.559 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.657e-05/0.7818, allocations: 11 kB / 0.6049 GB, free: 1.551 MB / 394.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.0001543/0.782, allocations: 122.1 kB / 0.605 GB, free: 1.43 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.296e-05/0.7821, allocations: 35.53 kB / 0.6051 GB, free: 1.395 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.44e-05/0.7821, allocations: 39.88 kB / 0.6051 GB, free: 1.383 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.7822, allocations: 4 kB / 0.6051 GB, free: 1.379 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.7822, allocations: 0 / 0.6051 GB, free: 1.379 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.7822, allocations: 0 / 0.6051 GB, free: 1.379 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003794/0.7826, allocations: 307.6 kB / 0.6054 GB, free: 1.086 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.7826, allocations: 0 / 0.6054 GB, free: 1.086 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003884/0.783, allocations: 47.91 kB / 0.6054 GB, free: 1.043 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.773e-06/0.783, allocations: 7.938 kB / 0.6054 GB, free: 1.035 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.712e-05/0.783, allocations: 8 kB / 0.6055 GB, free: 1.027 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.783, allocations: 7.906 kB / 0.6055 GB, free: 1.02 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.783, allocations: 3.984 kB / 0.6055 GB, free: 1.016 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008629/0.7839, allocations: 0.732 MB / 0.6062 GB, free: 412 kB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001179/0.7851, allocations: 1.329 MB / 0.6075 GB, free: 15.26 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.354e-05/0.7852, allocations: 108.7 kB / 0.6076 GB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.311e-05/0.7853, allocations: 11.42 kB / 0.6076 GB, free: 15.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002454/0.7855, allocations: 11.94 kB / 0.6076 GB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.093e-05/0.7856, allocations: 15.97 kB / 0.6076 GB, free: 15.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.798e-05/0.7856, allocations: 11.25 kB / 0.6076 GB, free: 15.09 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001911/0.7858, allocations: 201.7 kB / 0.6078 GB, free: 14.93 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001509/0.7873, allocations: 267.6 kB / 0.6081 GB, free: 14.68 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 () * 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.0006294/0.788, allocations: 286 kB / 0.6084 GB, free: 14.39 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008242/0.7888, allocations: 0.7151 MB / 0.609 GB, free: 13.86 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.7888, allocations: 0 / 0.609 GB, free: 13.86 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002356/0.7891, allocations: 189.9 kB / 0.6092 GB, free: 13.73 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003506/0.7894, allocations: 32.31 kB / 0.6093 GB, free: 13.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001286/0.7907, allocations: 0.7897 MB / 0.61 GB, free: 12.96 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005378/0.7913, allocations: 0.8699 MB / 0.6109 GB, free: 12.07 MB / 410.7 MB Notification: Performance of SimCode: time 3e-07/0.7913, allocations: 0 / 0.6109 GB, free: 12.07 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_PadeDelay2_fmu --startTime=0 --stopTime=0.02 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_PadeDelay2.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1)