Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_PadeDelay2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_4_0_0_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 4.0.0+maint.om/package.mo): time 0.0009792/0.0009792, allocations: 177.1 kB / 8.518 MB, free: 1.832 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.179/1.179, allocations: 221.4 MB / 230.3 MB, free: 7.711 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008939/0.000894, allocations: 78.12 kB / 281.2 MB, free: 5.52 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1599/0.1599, allocations: 44.15 MB / 376.1 MB, free: 3.246 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2029/0.3628, allocations: 68.03 MB / 444.1 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.4655, allocations: 61.91 MB / 0.4942 GB, free: 1.547 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2809/0.7465, allocations: 87.02 MB / 0.5792 GB, free: 9.723 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001642/0.7467, allocations: 64.81 kB / 0.5792 GB, free: 9.66 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.03282/0.7795, allocations: 9.973 MB / 0.589 GB, free: 15.63 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.7796, allocations: 11.94 kB / 0.589 GB, free: 15.62 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.1e-05/0.7797, allocations: 31.53 kB / 0.589 GB, free: 15.59 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003857/0.7801, allocations: 299.1 kB / 0.5893 GB, free: 15.25 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.7801, allocations: 7.938 kB / 0.5893 GB, free: 15.25 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.663e-05/0.7802, allocations: 15.91 kB / 0.5893 GB, free: 15.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000318/0.7805, allocations: 211.8 kB / 0.5895 GB, free: 15.02 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000348/0.7809, allocations: 255.2 kB / 0.5898 GB, free: 14.76 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.7809, allocations: 3.984 kB / 0.5898 GB, free: 14.76 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.201e-05/0.7809, allocations: 0 / 0.5898 GB, free: 14.76 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.7809, allocations: 4 kB / 0.5898 GB, free: 14.75 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001068/0.782, allocations: 0.7192 MB / 0.5905 GB, free: 13.99 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003403/0.7823, allocations: 251.3 kB / 0.5907 GB, free: 13.73 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002233/0.7826, allocations: 185.6 kB / 0.5909 GB, free: 13.55 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.736e-05/0.7826, allocations: 3.938 kB / 0.5909 GB, free: 13.54 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.7826, allocations: 38.56 kB / 0.5909 GB, free: 13.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=24): time 1.433e-06/0.7827, allocations: 0 / 0.5909 GB, free: 13.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=24): time 0.0005848/0.7832, allocations: 370.3 kB / 0.5913 GB, free: 13.12 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.7833, allocations: 85.11 kB / 0.5914 GB, free: 13.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002734/0.7836, allocations: 303.4 kB / 0.5916 GB, free: 12.72 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.2e-05/0.7836, allocations: 25.7 kB / 0.5917 GB, free: 12.69 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.777e-05/0.7837, allocations: 132.7 kB / 0.5918 GB, free: 12.55 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.836e-05/0.7838, allocations: 94.56 kB / 0.5919 GB, free: 12.46 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.935e-05/0.7838, allocations: 0 / 0.5919 GB, free: 12.46 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.7839, allocations: 346.8 kB / 0.5922 GB, free: 12.11 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003312/0.7843, allocations: 276.7 kB / 0.5925 GB, free: 11.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003543/0.7846, allocations: 326.3 kB / 0.5928 GB, free: 11.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004663/0.7851, allocations: 313.9 kB / 0.5931 GB, free: 11.21 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.7851, allocations: 3.938 kB / 0.5931 GB, free: 11.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001049/0.7862, allocations: 0.7964 MB / 0.5939 GB, free: 10.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.7862, allocations: 4 kB / 0.5939 GB, free: 10.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.478e-05/0.7862, allocations: 8 kB / 0.5939 GB, free: 10.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.7863, allocations: 7.938 kB / 0.5939 GB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005079/0.7868, allocations: 99.88 kB / 0.594 GB, free: 10.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.256e-05/0.7868, allocations: 4 kB / 0.594 GB, free: 10.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000202/0.787, allocations: 59.11 kB / 0.594 GB, free: 10.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.495e-05/0.787, allocations: 16 kB / 0.5941 GB, free: 10.21 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.0001526/0.7872, allocations: 126.7 kB / 0.5942 GB, free: 10.09 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.082e-05/0.7873, allocations: 27.53 kB / 0.5942 GB, free: 10.06 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.775e-05/0.7874, allocations: 38.7 kB / 0.5942 GB, free: 10.02 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.177e-06/0.7874, allocations: 4 kB / 0.5943 GB, free: 10.02 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.7874, allocations: 3.984 kB / 0.5943 GB, free: 10.01 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.7874, allocations: 0 / 0.5943 GB, free: 10.01 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003556/0.7878, allocations: 297.9 kB / 0.5945 GB, free: 9.684 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.7878, allocations: 4 kB / 0.5945 GB, free: 9.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003915/0.7882, allocations: 55.91 kB / 0.5946 GB, free: 9.625 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.7882, allocations: 0 / 0.5946 GB, free: 9.625 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.705e-05/0.7882, allocations: 11.98 kB / 0.5946 GB, free: 9.613 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.7882, allocations: 4 kB / 0.5946 GB, free: 9.609 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.7882, allocations: 3.906 kB / 0.5946 GB, free: 9.605 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007993/0.789, allocations: 0.7228 MB / 0.5953 GB, free: 8.855 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001211/0.7903, allocations: 1.332 MB / 0.5966 GB, free: 7.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.081e-05/0.7903, allocations: 112.6 kB / 0.5967 GB, free: 7.371 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.974e-05/0.7904, allocations: 8 kB / 0.5967 GB, free: 7.363 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002362/0.7907, allocations: 11.98 kB / 0.5967 GB, free: 7.352 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.466e-05/0.7907, allocations: 15.98 kB / 0.5968 GB, free: 7.336 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.504e-05/0.7908, allocations: 11.98 kB / 0.5968 GB, free: 7.324 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001826/0.7909, allocations: 207.1 kB / 0.597 GB, free: 7.125 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001418/0.7924, allocations: 267.7 kB / 0.5972 GB, free: 6.863 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.0008061/0.7932, allocations: 278.8 kB / 0.5975 GB, free: 6.582 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008787/0.7941, allocations: 0.7221 MB / 0.5982 GB, free: 5.836 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.7941, allocations: 0 / 0.5982 GB, free: 5.836 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002454/0.7943, allocations: 191.8 kB / 0.5984 GB, free: 5.648 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003381/0.7947, allocations: 25.08 kB / 0.5984 GB, free: 5.625 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/0.7958, allocations: 0.7919 MB / 0.5992 GB, free: 4.805 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000603/0.7965, allocations: 0.8745 MB / 0.6 GB, free: 3.898 MB / 410.7 MB Notification: Performance of SimCode: time 2.71e-07/0.7965, allocations: 0 / 0.6 GB, free: 3.898 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Blocks_PadeDelay2_fmu --startTime=0 --stopTime=0.02 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Blocks_PadeDelay2.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1)