Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_ModelicaTest_Blocks_PadeDelay2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001171/0.001171, allocations: 193.6 kB / 7.808 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.328/1.328, allocations: 205.2 MB / 213.4 MB, free: 13.84 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.0009829/0.0009829, allocations: 94.7 kB / 261.4 MB, free: 13.54 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.191/0.191, allocations: 43.49 MB / 352.8 MB, free: 1.965 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2078/0.3989, allocations: 64.97 MB / 417.8 MB, free: 40.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.7191, allocations: 58.84 MB / 476.6 MB, free: 5.188 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1287/0.8479, allocations: 85.98 MB / 0.5494 GB, free: 12.94 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003129/0.8483, allocations: 63.97 kB / 0.5495 GB, free: 12.88 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.03328/0.8816, allocations: 9.887 MB / 0.5592 GB, free: 2.934 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.8817, allocations: 12 kB / 0.5592 GB, free: 2.922 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.27e-05/0.8817, allocations: 31.53 kB / 0.5592 GB, free: 2.891 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004576/0.8822, allocations: 291.1 kB / 0.5595 GB, free: 2.562 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.8822, allocations: 4 kB / 0.5595 GB, free: 2.559 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.224e-05/0.8823, allocations: 23.89 kB / 0.5595 GB, free: 2.535 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003515/0.8827, allocations: 207.8 kB / 0.5597 GB, free: 2.332 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003966/0.8831, allocations: 251.2 kB / 0.5599 GB, free: 2.074 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.8831, allocations: 4 kB / 0.5599 GB, free: 2.07 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.458e-05/0.8831, allocations: 4 kB / 0.56 GB, free: 2.066 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.8831, allocations: 0 / 0.56 GB, free: 2.066 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001267/0.8844, allocations: 0.7308 MB / 0.5607 GB, free: 1.293 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004119/0.8848, allocations: 251.3 kB / 0.5609 GB, free: 1.035 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002563/0.8851, allocations: 189.6 kB / 0.5611 GB, free: 0.8438 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.22e-05/0.8851, allocations: 4 kB / 0.5611 GB, free: 0.8398 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/0.8852, allocations: 30.56 kB / 0.5611 GB, free: 0.8008 MB / 394.7 MB Notification: Performance of pre-optimization done (n=24): time 2.204e-06/0.8852, allocations: 0 / 0.5611 GB, free: 0.8008 MB / 394.7 MB Notification: Performance of matching and sorting (n=24): time 0.0007223/0.8859, allocations: 382.2 kB / 0.5615 GB, free: 428 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/0.886, allocations: 81.05 kB / 0.5616 GB, free: 328 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002994/0.8863, allocations: 303.5 kB / 0.5619 GB, free: 20 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.648e-05/0.8863, allocations: 25.7 kB / 0.5619 GB, free: 15.99 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.809e-05/0.8864, allocations: 132.8 kB / 0.562 GB, free: 15.85 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.909e-05/0.8865, allocations: 98.56 kB / 0.5621 GB, free: 15.75 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.891e-05/0.8866, allocations: 0 / 0.5621 GB, free: 15.75 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.8867, allocations: 346.8 kB / 0.5624 GB, free: 15.41 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003804/0.8871, allocations: 276.7 kB / 0.5627 GB, free: 15.14 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003965/0.8875, allocations: 322.3 kB / 0.563 GB, free: 14.81 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005238/0.888, allocations: 317.8 kB / 0.5633 GB, free: 14.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.8881, allocations: 0 / 0.5633 GB, free: 14.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001141/0.8892, allocations: 0.7886 MB / 0.5641 GB, free: 13.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/0.8892, allocations: 7.984 kB / 0.5641 GB, free: 13.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-05/0.8893, allocations: 8 kB / 0.5641 GB, free: 13.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.301e-05/0.8893, allocations: 0 / 0.5641 GB, free: 13.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005548/0.8899, allocations: 99.88 kB / 0.5642 GB, free: 13.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.8899, allocations: 0 / 0.5642 GB, free: 13.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002285/0.8901, allocations: 67.06 kB / 0.5642 GB, free: 13.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.565e-05/0.8902, allocations: 12 kB / 0.5643 GB, free: 13.51 MB / 410.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.0002283/0.8904, allocations: 128.2 kB / 0.5644 GB, free: 13.38 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.683e-05/0.8905, allocations: 31.53 kB / 0.5644 GB, free: 13.35 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001102/0.8906, allocations: 34.72 kB / 0.5644 GB, free: 13.31 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.8906, allocations: 4 kB / 0.5644 GB, free: 13.31 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-05/0.8906, allocations: 3.984 kB / 0.5644 GB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.153e-05/0.8907, allocations: 11.92 kB / 0.5645 GB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004633/0.8911, allocations: 301.8 kB / 0.5647 GB, free: 12.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.8911, allocations: 0 / 0.5647 GB, free: 12.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003876/0.8915, allocations: 51.91 kB / 0.5648 GB, free: 12.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.8916, allocations: 4 kB / 0.5648 GB, free: 12.91 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.083e-05/0.8916, allocations: 15.98 kB / 0.5648 GB, free: 12.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.8916, allocations: 7.906 kB / 0.5648 GB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.8916, allocations: 0 / 0.5648 GB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009787/0.8926, allocations: 0.7267 MB / 0.5655 GB, free: 12.13 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001285/0.8939, allocations: 1.333 MB / 0.5668 GB, free: 10.77 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.873e-05/0.894, allocations: 104.7 kB / 0.5669 GB, free: 10.65 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.031e-05/0.8941, allocations: 7.984 kB / 0.5669 GB, free: 10.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002317/0.8943, allocations: 8 kB / 0.567 GB, free: 10.63 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.542e-05/0.8944, allocations: 15.97 kB / 0.567 GB, free: 10.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.742e-05/0.8944, allocations: 8 kB / 0.567 GB, free: 10.61 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.000245/0.8947, allocations: 215 kB / 0.5672 GB, free: 10.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001865/0.8965, allocations: 259.7 kB / 0.5674 GB, free: 10.15 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.0006734/0.8972, allocations: 290.8 kB / 0.5677 GB, free: 9.855 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009243/0.8982, allocations: 0.7151 MB / 0.5684 GB, free: 9.117 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.8982, allocations: 0 / 0.5684 GB, free: 9.117 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002557/0.8984, allocations: 187.8 kB / 0.5686 GB, free: 8.934 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003649/0.8988, allocations: 37.06 kB / 0.5686 GB, free: 8.898 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.9, allocations: 0.7837 MB / 0.5694 GB, free: 8.09 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005171/0.9006, allocations: 0.8706 MB / 0.5702 GB, free: 7.188 MB / 410.7 MB Notification: Performance of SimCode: time 2.81e-07/0.9006, allocations: 4 kB / 0.5702 GB, free: 7.184 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_PadeDelay2_fmu --startTime=0 --stopTime=0.02 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_PadeDelay2.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1)