Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Math.FastFourierTransform.Examples.RealFFT1.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) 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(Modelica.Math.FastFourierTransform.Examples.RealFFT1,fileNamePrefix="Modelica_3_2_3_Modelica_Math_FastFourierTransform_Examples_RealFFT1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Math.FastFourierTransform.Examples.RealFFT1,fileNamePrefix="Modelica_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001004/0.001004, allocations: 180 kB / 8.477 MB, free: 1.883 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.116/1.116, allocations: 205.2 MB / 214.1 MB, free: 5.109 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000862/0.000862, allocations: 87.72 kB / 262.1 MB, free: 5.152 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1536/0.1545, allocations: 52.97 MB / 315.1 MB, free: 41.42 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06565/0.2201, allocations: 47.57 MB / 362.6 MB, free: 9.887 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2064/0.4265, allocations: 76.53 MB / 439.2 MB, free: 10.66 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001954/0.4268, allocations: 72.81 kB / 439.2 MB, free: 10.66 MB / 314.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.03722/0.464, allocations: 14.2 MB / 453.4 MB, free: 7.23 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.4641, allocations: 11.45 kB / 453.4 MB, free: 7.227 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001208/0.4642, allocations: 74.06 kB / 453.5 MB, free: 7.184 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01043/0.4746, allocations: 3.677 MB / 457.2 MB, free: 5.809 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.544e-06/0.4747, allocations: 0 / 457.2 MB, free: 5.809 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.368e-05/0.4747, allocations: 11.41 kB / 457.2 MB, free: 5.805 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006698/0.4754, allocations: 0.7886 MB / 458 MB, free: 5.734 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007719/0.4762, allocations: 0.8664 MB / 458.9 MB, free: 5.59 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.4762, allocations: 4 kB / 458.9 MB, free: 5.586 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.853e-05/0.4762, allocations: 1.281 kB / 458.9 MB, free: 5.586 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.4762, allocations: 3.938 kB / 458.9 MB, free: 5.582 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002539/0.4765, allocations: 292 kB / 459.1 MB, free: 5.309 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001204/0.4777, allocations: 2.092 MB / 461.2 MB, free: 5.215 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001133/0.4789, allocations: 2.078 MB / 463.3 MB, free: 5.141 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.568e-06/0.4789, allocations: 1.25 kB / 463.3 MB, free: 5.141 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009359/0.4798, allocations: 1.13 MB / 464.5 MB, free: 4.887 MB / 314.7 MB Notification: Performance of pre-optimization done (n=246): time 1.803e-06/0.4798, allocations: 0 / 464.5 MB, free: 4.887 MB / 314.7 MB Notification: Performance of matching and sorting (n=246): time 0.007036/0.4869, allocations: 7.385 MB / 471.8 MB, free: 3.191 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001782/0.4871, allocations: 428.1 kB / 472.3 MB, free: 2.809 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001456/0.4872, allocations: 167.4 kB / 472.4 MB, free: 2.652 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002239/0.4875, allocations: 175.3 kB / 472.6 MB, free: 2.492 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.94e-05/0.4875, allocations: 101.8 kB / 472.7 MB, free: 2.391 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005026/0.488, allocations: 0.9534 MB / 473.6 MB, free: 1.57 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.286e-05/0.4881, allocations: 32 / 473.6 MB, free: 1.57 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.4882, allocations: 485.6 kB / 474.1 MB, free: 1.148 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001223/0.4895, allocations: 1.056 MB / 475.2 MB, free: 316 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00237/0.4918, allocations: 2.755 MB / 477.9 MB, free: 12.71 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001977/0.4938, allocations: 1.619 MB / 479.5 MB, free: 11.09 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-05/0.4939, allocations: 20 kB / 479.6 MB, free: 11.07 MB / 330.7 MB Notification: Performance of matching and sorting (n=512) (initialization): time 0.004914/0.4988, allocations: 3.548 MB / 483.1 MB, free: 7.512 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.4988, allocations: 8 kB / 483.1 MB, free: 7.504 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.178e-05/0.4989, allocations: 59.91 kB / 483.2 MB, free: 7.445 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.978e-05/0.499, allocations: 92 kB / 483.3 MB, free: 7.355 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001525/0.5005, allocations: 0.5689 MB / 483.8 MB, free: 6.785 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.826e-05/0.5006, allocations: 115.6 kB / 484 MB, free: 6.672 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0012/0.5018, allocations: 241.3 kB / 484.2 MB, free: 6.434 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002042/0.502, allocations: 200 kB / 484.4 MB, free: 6.238 MB / 330.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.0007096/0.5027, allocations: 0.6445 MB / 485 MB, free: 5.582 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001625/0.5029, allocations: 118.9 kB / 485.1 MB, free: 5.465 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.401e-05/0.5029, allocations: 17.94 kB / 485.2 MB, free: 5.445 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.5029, allocations: 0 / 485.2 MB, free: 5.445 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.5029, allocations: 0 / 485.2 MB, free: 5.445 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.503, allocations: 3.984 kB / 485.2 MB, free: 5.441 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004812/0.5034, allocations: 458.3 kB / 485.6 MB, free: 4.953 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.5034, allocations: 0 / 485.6 MB, free: 4.953 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.815e-06/0.5035, allocations: 4 kB / 485.6 MB, free: 4.949 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.5035, allocations: 0 / 485.6 MB, free: 4.949 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.51e-05/0.5036, allocations: 51.98 kB / 485.7 MB, free: 4.898 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.5036, allocations: 0 / 485.7 MB, free: 4.898 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.5036, allocations: 3.906 kB / 485.7 MB, free: 4.895 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007427/0.511, allocations: 8.712 MB / 494.4 MB, free: 12.17 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01178/0.5228, allocations: 12.91 MB / 0.4954 GB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001457/0.523, allocations: 187.6 kB / 0.4956 GB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002093/0.5232, allocations: 71.95 kB / 0.4957 GB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003005/0.5235, allocations: 35.94 kB / 0.4957 GB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/0.5236, allocations: 27.98 kB / 0.4957 GB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001126/0.5238, allocations: 75.98 kB / 0.4958 GB, free: 14.82 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001061/0.5239, allocations: 131.2 kB / 0.4959 GB, free: 14.69 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002565/0.5264, allocations: 459.8 kB / 0.4963 GB, free: 14.24 MB / 362.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.0007547/0.5272, allocations: 382.1 kB / 0.4967 GB, free: 13.89 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003954/0.5312, allocations: 3.308 MB / 0.4999 GB, free: 10.58 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5312, allocations: 0 / 0.4999 GB, free: 10.58 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.04112/0.5723, allocations: 60.62 MB / 0.5591 GB, free: 13.94 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003208/0.5727, allocations: 36.19 kB / 0.5592 GB, free: 13.9 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002762/0.5755, allocations: 2.097 MB / 0.5612 GB, free: 11.77 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007523/0.5762, allocations: 1.137 MB / 0.5623 GB, free: 10.6 MB / 426.7 MB Notification: Performance of SimCode: time 8.92e-07/0.5762, allocations: 4 kB / 0.5623 GB, free: 10.6 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Math.FastFourierTransform.Examples.RealFFT1.pipe ; mkfifo Modelica_3.2.3_Modelica.Math.FastFourierTransform.Examples.RealFFT1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Math.FastFourierTransform.Examples.RealFFT1.pipe >> ../files/Modelica_3.2.3_Modelica.Math.FastFourierTransform.Examples.RealFFT1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Math.FastFourierTransform.Examples.RealFFT1_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Math_FastFourierTransform_Examples_RealFFT1_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Math_FastFourierTransform_Examples_RealFFT1.fmu > Modelica_3.2.3_Modelica.Math.FastFourierTransform.Examples.RealFFT1.pipe 2>&1)