Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Math.FastFourierTransform.Examples.RealFFT1.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) 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(Modelica.Math.FastFourierTransform.Examples.RealFFT1,fileNamePrefix="Modelica_4_0_0_Modelica_Math_FastFourierTransform_Examples_RealFFT1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Math.FastFourierTransform.Examples.RealFFT1,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 182 kB / 8.129 MB, free: 2.219 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.197/1.197, allocations: 221.4 MB / 229.9 MB, free: 3.02 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.0009349/0.0009349, allocations: 101.5 kB / 280.8 MB, free: 1.262 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09221/0.09318, allocations: 55.81 MB / 336.6 MB, free: 9.426 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1915/0.2847, allocations: 50.39 MB / 387 MB, free: 37.96 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07744/0.3622, allocations: 77.35 MB / 464.3 MB, free: 9.438 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002066/0.3624, allocations: 75.97 kB / 464.4 MB, free: 9.363 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.04122/0.4037, allocations: 14.32 MB / 478.7 MB, free: 11 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.4037, allocations: 8 kB / 478.8 MB, free: 10.99 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000127/0.4039, allocations: 74.91 kB / 478.8 MB, free: 10.92 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01191/0.4158, allocations: 3.705 MB / 482.5 MB, free: 7.168 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.4158, allocations: 0 / 482.5 MB, free: 7.168 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.473e-05/0.4159, allocations: 8 kB / 482.5 MB, free: 7.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000796/0.4167, allocations: 0.7946 MB / 483.3 MB, free: 6.367 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008253/0.4175, allocations: 0.8646 MB / 484.2 MB, free: 5.496 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.4175, allocations: 0 / 484.2 MB, free: 5.496 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.797e-05/0.4176, allocations: 3.984 kB / 484.2 MB, free: 5.492 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.4176, allocations: 0 / 484.2 MB, free: 5.492 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003015/0.4179, allocations: 294.5 kB / 484.5 MB, free: 5.168 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001464/0.4194, allocations: 2.094 MB / 486.6 MB, free: 3.066 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001447/0.4208, allocations: 2.083 MB / 488.7 MB, free: 0.9805 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.223e-05/0.4208, allocations: 5.125 kB / 488.7 MB, free: 0.9766 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009572/0.4218, allocations: 1.116 MB / 489.8 MB, free: 15.84 MB / 378.7 MB Notification: Performance of pre-optimization done (n=246): time 1.723e-06/0.4218, allocations: 7.938 kB / 489.8 MB, free: 15.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=246): time 0.005916/0.4277, allocations: 7.379 MB / 497.2 MB, free: 8.445 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002671/0.428, allocations: 424.5 kB / 497.6 MB, free: 8.004 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000167/0.4282, allocations: 173.8 kB / 497.8 MB, free: 7.82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002301/0.4284, allocations: 173.6 kB / 497.9 MB, free: 7.645 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.592e-05/0.4285, allocations: 100.2 kB / 498 MB, free: 7.539 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006752/0.4292, allocations: 0.9563 MB / 499 MB, free: 6.57 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.616e-05/0.4293, allocations: 0 / 499 MB, free: 6.57 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002248/0.4295, allocations: 479.4 kB / 499.4 MB, free: 6.09 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001482/0.431, allocations: 1.062 MB / 0.4888 GB, free: 5.02 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002379/0.4334, allocations: 2.757 MB / 0.4915 GB, free: 1.422 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.09948/0.5329, allocations: 1.611 MB / 0.493 GB, free: 139.2 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.484e-05/0.5329, allocations: 19.78 kB / 0.4931 GB, free: 139.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=512) (initialization): time 0.004324/0.5373, allocations: 3.549 MB / 0.4965 GB, free: 139 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.5373, allocations: 9.281 kB / 0.4965 GB, free: 139 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.992e-05/0.5374, allocations: 58.41 kB / 0.4966 GB, free: 139 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.444e-05/0.5375, allocations: 94.09 kB / 0.4967 GB, free: 139 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00137/0.5388, allocations: 0.568 MB / 0.4972 GB, free: 139 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.539e-05/0.5389, allocations: 118.8 kB / 0.4974 GB, free: 138.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001198/0.5401, allocations: 243.9 kB / 0.4976 GB, free: 138.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001612/0.5403, allocations: 193.4 kB / 0.4978 GB, free: 138.9 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.0005533/0.5408, allocations: 0.6418 MB / 0.4984 GB, free: 138.7 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/0.541, allocations: 119.6 kB / 0.4985 GB, free: 138.7 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.905e-05/0.541, allocations: 13.94 kB / 0.4985 GB, free: 138.7 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.541, allocations: 0 / 0.4985 GB, free: 138.7 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.768e-06/0.541, allocations: 2.25 kB / 0.4985 GB, free: 138.7 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.541, allocations: 3.281 kB / 0.4985 GB, free: 138.7 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003107/0.5413, allocations: 467.4 kB / 0.499 GB, free: 138.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.5414, allocations: 2.562 kB / 0.499 GB, free: 138.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.31e-07/0.5414, allocations: 0 / 0.499 GB, free: 138.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.522e-06/0.5414, allocations: 0 / 0.499 GB, free: 138.6 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.437e-05/0.5415, allocations: 52.98 kB / 0.499 GB, free: 138.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-06/0.5415, allocations: 0.6562 kB / 0.499 GB, free: 138.6 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.5415, allocations: 0 / 0.499 GB, free: 138.6 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00865/0.5501, allocations: 8.722 MB / 0.5075 GB, free: 138.2 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.009147/0.5593, allocations: 12.9 MB / 0.5201 GB, free: 128.5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001104/0.5594, allocations: 186.3 kB / 0.5203 GB, free: 128.3 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001949/0.5596, allocations: 76.42 kB / 0.5204 GB, free: 128.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002625/0.5599, allocations: 32.56 kB / 0.5204 GB, free: 128.2 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/0.56, allocations: 27.66 kB / 0.5204 GB, free: 128.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001011/0.5602, allocations: 75.52 kB / 0.5205 GB, free: 128.2 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.966e-05/0.5602, allocations: 127 kB / 0.5206 GB, free: 128.1 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002592/0.5628, allocations: 463.5 kB / 0.5211 GB, free: 127.6 MB / 378.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.0007227/0.5636, allocations: 394.8 kB / 0.5215 GB, free: 127.4 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003241/0.5668, allocations: 3.305 MB / 0.5247 GB, free: 124.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.5668, allocations: 5.688 kB / 0.5247 GB, free: 124.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02799/0.5948, allocations: 60.61 MB / 0.5839 GB, free: 65.58 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000313/0.5952, allocations: 41.73 kB / 0.5839 GB, free: 65.54 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002219/0.5974, allocations: 2.092 MB / 0.586 GB, free: 63.43 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000512/0.5979, allocations: 1.134 MB / 0.5871 GB, free: 62.27 MB / 378.7 MB Notification: Performance of SimCode: time 1.032e-06/0.5979, allocations: 0 / 0.5871 GB, free: 62.27 MB / 378.7 MB (rm -f Modelica_4.0.0_Modelica.Math.FastFourierTransform.Examples.RealFFT1.pipe ; mkfifo Modelica_4.0.0_Modelica.Math.FastFourierTransform.Examples.RealFFT1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Math.FastFourierTransform.Examples.RealFFT1.pipe >> ../files/Modelica_4.0.0_Modelica.Math.FastFourierTransform.Examples.RealFFT1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Math.FastFourierTransform.Examples.RealFFT1_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Math_FastFourierTransform_Examples_RealFFT1_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Math_FastFourierTransform_Examples_RealFFT1.fmu > Modelica_4.0.0_Modelica.Math.FastFourierTransform.Examples.RealFFT1.pipe 2>&1)