Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Math.FastFourierTransform.Examples.RealFFT1.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) 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(Modelica.Math.FastFourierTransform.Examples.RealFFT1,fileNamePrefix="Modelica_trunk_Modelica_Math_FastFourierTransform_Examples_RealFFT1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Math.FastFourierTransform.Examples.RealFFT1,fileNamePrefix="Modelica_trunk_Modelica_Math_FastFourierTransform_Examples_RealFFT1",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.001569/0.001569, allocations: 198.5 kB / 8.539 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.195/1.195, 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.0009452/0.0009452, allocations: 94 kB / 286.3 MB, free: 5.254 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09094/0.09191, allocations: 56.9 MB / 343.2 MB, free: 8.613 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.081/0.1729, allocations: 51.47 MB / 394.7 MB, free: 5.086 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.197/0.3699, allocations: 78.15 MB / 472.9 MB, free: 13.6 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001773/0.3701, allocations: 70.72 kB / 472.9 MB, free: 13.58 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.0346/0.4048, allocations: 14.47 MB / 487.4 MB, free: 3.004 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.975e-05/0.4048, allocations: 12 kB / 487.4 MB, free: 2.992 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002021/0.405, allocations: 78.97 kB / 487.5 MB, free: 2.914 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01003/0.4151, allocations: 3.696 MB / 491.2 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.4151, allocations: 7.984 kB / 491.2 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.833e-05/0.4151, allocations: 15.44 kB / 491.2 MB, free: 15.87 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006778/0.4158, allocations: 0.785 MB / 492 MB, free: 15.4 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000772/0.4166, allocations: 0.8665 MB / 492.8 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.4166, allocations: 0 / 492.8 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.758e-05/0.4166, allocations: 0 / 492.8 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.4167, allocations: 4.938 kB / 492.9 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002645/0.4169, allocations: 293.4 kB / 493.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001379/0.4183, allocations: 2.091 MB / 495.2 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001468/0.4198, allocations: 2.082 MB / 497.3 MB, free: 12.02 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.217e-06/0.4198, allocations: 0 / 497.3 MB, free: 12.02 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009673/0.4208, allocations: 1.128 MB / 498.4 MB, free: 10.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=246): time 9.91e-07/0.4208, allocations: 4 kB / 498.4 MB, free: 10.87 MB / 362.7 MB Notification: Performance of matching and sorting (n=246): time 0.00571/0.4265, allocations: 7.379 MB / 0.494 GB, free: 3.484 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002606/0.4268, allocations: 424.5 kB / 0.4944 GB, free: 3.043 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.4269, allocations: 165.9 kB / 0.4945 GB, free: 2.871 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002255/0.4272, allocations: 179.3 kB / 0.4947 GB, free: 2.691 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.966e-05/0.4272, allocations: 104.2 kB / 0.4948 GB, free: 2.582 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006615/0.4279, allocations: 0.9524 MB / 0.4957 GB, free: 1.617 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.968e-05/0.428, allocations: 0 / 0.4957 GB, free: 1.617 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002243/0.4282, allocations: 487.4 kB / 0.4962 GB, free: 1.129 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001429/0.4296, allocations: 1.054 MB / 0.4972 GB, free: 68 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002517/0.4322, allocations: 2.755 MB / 0.4999 GB, free: 12.47 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002064/0.4342, allocations: 1.619 MB / 0.5015 GB, free: 10.85 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.172e-05/0.4343, allocations: 16 kB / 0.5015 GB, free: 10.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=512) (initialization): time 0.005026/0.4393, allocations: 3.552 MB / 0.505 GB, free: 7.27 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.4393, allocations: 7.906 kB / 0.505 GB, free: 7.262 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.561e-05/0.4394, allocations: 60 kB / 0.505 GB, free: 7.203 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001007/0.4395, allocations: 88 kB / 0.5051 GB, free: 7.117 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001481/0.441, allocations: 0.569 MB / 0.5057 GB, free: 6.547 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.029e-05/0.4411, allocations: 123.5 kB / 0.5058 GB, free: 6.426 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001186/0.4423, allocations: 236.8 kB / 0.506 GB, free: 6.191 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002256/0.4425, allocations: 196.3 kB / 0.5062 GB, free: 6 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 267 * Number of states: 0 () * Number of discrete variables: 93 ($PRE.Phii[21],Phii[21],$PRE.Phii[20],Phii[20],$PRE.Phii[19],Phii[19],$PRE.Phii[18],Phii[18],$PRE.Phii[17],Phii[17],$PRE.Phii[16],Phii[16],$PRE.Phii[15],Phii[15],$PRE.Phii[14],Phii[14],$PRE.Phii[13],Phii[13],$PRE.Phii[12],Phii[12],$PRE.Phii[11],Phii[11],$PRE.Phii[10],Phii[10],$PRE.Phii[9],Phii[9],$PRE.Phii[8],Phii[8],$PRE.Phii[7],Phii[7],$PRE.Phii[6],Phii[6],$PRE.Phii[5],Phii[5],$PRE.Phii[4],Phii[4],$PRE.Phii[3],Phii[3],$PRE.Phii[2],Phii[2],$PRE.Phii[1],Phii[1],$PRE.Ai[21],Ai[21],$PRE.Ai[20],Ai[20],$PRE.Ai[19],Ai[19],$PRE.Ai[18],Ai[18],$PRE.Ai[17],Ai[17],$PRE.Ai[16],Ai[16],$PRE.Ai[15],Ai[15],$PRE.Ai[14],Ai[14],$PRE.Ai[13],Ai[13],$PRE.Ai[12],Ai[12],$PRE.Ai[11],Ai[11],$PRE.Ai[10],Ai[10],$PRE.Ai[9],Ai[9],$PRE.Ai[8],Ai[8],$PRE.Ai[7],Ai[7],$PRE.Ai[6],Ai[6],$PRE.Ai[5],Ai[5],$PRE.Ai[4],Ai[4],$PRE.Ai[3],Ai[3],$PRE.Ai[2],Ai[2],$PRE.Ai[1],Ai[1],$PRE.info,info,$PRE.y_buf[200],y_buf[200],$PRE.y,y,$PRE.iTick,iTick,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (512): * Single equations (assignments): 511 * Array equations: 0 * Algorithm blocks: 1 * 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 prepare postOptimizeDAE: time 0.0006963/0.4432, allocations: 0.6373 MB / 0.5068 GB, free: 5.348 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000154/0.4434, allocations: 130.8 kB / 0.507 GB, free: 5.219 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.204e-05/0.4434, allocations: 20.36 kB / 0.507 GB, free: 5.199 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.4434, allocations: 0 / 0.507 GB, free: 5.199 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.716e-06/0.4434, allocations: 0 / 0.507 GB, free: 5.199 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.4434, allocations: 0 / 0.507 GB, free: 5.199 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004519/0.4439, allocations: 466.3 kB / 0.5074 GB, free: 4.703 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.4439, allocations: 0 / 0.5074 GB, free: 4.703 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/0.4439, allocations: 0 / 0.5074 GB, free: 4.703 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.4439, allocations: 0 / 0.5074 GB, free: 4.703 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001031/0.444, allocations: 44 kB / 0.5075 GB, free: 4.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.444, allocations: 3.984 kB / 0.5075 GB, free: 4.656 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.444, allocations: 11.91 kB / 0.5075 GB, free: 4.645 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007521/0.4516, allocations: 8.705 MB / 0.516 GB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01203/0.4636, allocations: 12.91 MB / 0.5286 GB, free: 14.99 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001454/0.4638, allocations: 179.5 kB / 0.5288 GB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002036/0.464, allocations: 80 kB / 0.5288 GB, free: 14.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002726/0.4643, allocations: 36 kB / 0.5289 GB, free: 14.68 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/0.4644, allocations: 24 kB / 0.5289 GB, free: 14.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000123/0.4645, allocations: 71.98 kB / 0.529 GB, free: 14.59 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001049/0.4646, allocations: 124.3 kB / 0.5291 GB, free: 14.47 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002675/0.4673, allocations: 479.8 kB / 0.5295 GB, free: 14 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 47 ($whenCondition1,y,Ai[1],Ai[2],Ai[3],Ai[4],Ai[5],Ai[6],Ai[7],Ai[8],Ai[9],Ai[10],Ai[11],Ai[12],Ai[13],Ai[14],Ai[15],Ai[16],Ai[17],Ai[18],Ai[19],Ai[20],Ai[21],Phii[1],Phii[2],Phii[3],Phii[4],Phii[5],Phii[6],Phii[7],Phii[8],Phii[9],Phii[10],Phii[11],Phii[12],Phii[13],Phii[14],Phii[15],Phii[16],Phii[17],Phii[18],Phii[19],Phii[20],Phii[21],info,iTick,y_buf[200]) * Number of discrete states: 47 (Phii[21],Phii[20],Phii[19],Phii[18],Phii[17],Phii[16],Phii[15],Phii[14],Phii[13],Phii[12],Phii[11],Phii[10],Phii[9],Phii[8],Phii[7],Phii[6],Phii[5],Phii[4],Phii[3],Phii[2],Phii[1],Ai[21],Ai[20],Ai[19],Ai[18],Ai[17],Ai[16],Ai[15],Ai[14],Ai[13],Ai[12],Ai[11],Ai[10],Ai[9],Ai[8],Ai[7],Ai[6],Ai[5],Ai[4],Ai[3],Ai[2],Ai[1],info,y_buf[200],y,iTick,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0007869/0.4681, allocations: 390.9 kB / 0.5299 GB, free: 13.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003826/0.472, allocations: 3.308 MB / 0.5331 GB, free: 10.38 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.472, allocations: 0 / 0.5331 GB, free: 10.38 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1373/0.6092, allocations: 60.61 MB / 0.5923 GB, free: 184 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003155/0.6096, allocations: 45.72 kB / 0.5924 GB, free: 184 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002195/0.6118, allocations: 2.093 MB / 0.5944 GB, free: 183.8 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005009/0.6123, allocations: 1.138 MB / 0.5955 GB, free: 183 MB / 442.7 MB Notification: Performance of SimCode: time 5.91e-07/0.6123, allocations: 0 / 0.5955 GB, free: 183 MB / 442.7 MB (rm -f Modelica_trunk_Modelica.Math.FastFourierTransform.Examples.RealFFT1.pipe ; mkfifo Modelica_trunk_Modelica.Math.FastFourierTransform.Examples.RealFFT1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Math.FastFourierTransform.Examples.RealFFT1.pipe >> ../files/Modelica_trunk_Modelica.Math.FastFourierTransform.Examples.RealFFT1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Math.FastFourierTransform.Examples.RealFFT1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Math_FastFourierTransform_Examples_RealFFT1_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Math_FastFourierTransform_Examples_RealFFT1.fmu > Modelica_trunk_Modelica.Math.FastFourierTransform.Examples.RealFFT1.pipe 2>&1)