Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Math.FastFourierTransform.Examples.RealFFT2.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.RealFFT2,fileNamePrefix="Modelica_4_0_0_Modelica_Math_FastFourierTransform_Examples_RealFFT2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Math.FastFourierTransform.Examples.RealFFT2,fileNamePrefix="Modelica_4_0_0_Modelica_Math_FastFourierTransform_Examples_RealFFT2",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.001031/0.001031, allocations: 185.6 kB / 8.136 MB, free: 2.223 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.18/1.18, allocations: 221.4 MB / 229.9 MB, free: 3.016 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.0009282/0.0009282, allocations: 96.94 kB / 280.8 MB, free: 1.258 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09025/0.09121, allocations: 55.82 MB / 336.6 MB, free: 9.414 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1771/0.2684, allocations: 50.39 MB / 387 MB, free: 37.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08604/0.3545, allocations: 77.35 MB / 464.3 MB, free: 9.426 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002615/0.3548, allocations: 72.86 kB / 464.4 MB, free: 9.355 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.04222/0.397, allocations: 14.11 MB / 478.5 MB, free: 11.21 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.3971, allocations: 8 kB / 478.5 MB, free: 11.2 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000114/0.3972, allocations: 70.97 kB / 478.6 MB, free: 11.13 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01324/0.4104, allocations: 3.707 MB / 482.3 MB, free: 7.379 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.4105, allocations: 0 / 482.3 MB, free: 7.379 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.646e-05/0.4105, allocations: 8.75 kB / 482.3 MB, free: 7.371 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008787/0.4114, allocations: 0.7166 MB / 483 MB, free: 6.656 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000968/0.4124, allocations: 0.7942 MB / 483.8 MB, free: 5.855 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.523e-06/0.4124, allocations: 0 / 483.8 MB, free: 5.855 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.702e-05/0.4124, allocations: 4 kB / 483.8 MB, free: 5.852 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.4124, allocations: 0 / 483.8 MB, free: 5.852 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002823/0.4127, allocations: 282.6 kB / 484.1 MB, free: 5.539 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001334/0.4141, allocations: 1.825 MB / 485.9 MB, free: 3.707 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001323/0.4154, allocations: 1.815 MB / 487.7 MB, free: 1.891 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.504e-06/0.4154, allocations: 0 / 487.7 MB, free: 1.891 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009304/0.4164, allocations: 1.025 MB / 488.8 MB, free: 0.8477 MB / 362.7 MB Notification: Performance of pre-optimization done (n=225): time 2.625e-06/0.4164, allocations: 3.938 kB / 488.8 MB, free: 0.8438 MB / 362.7 MB Notification: Performance of matching and sorting (n=225): time 0.005364/0.4217, allocations: 6.32 MB / 495.1 MB, free: 10.52 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000264/0.422, allocations: 400.5 kB / 495.5 MB, free: 10.1 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/0.4222, allocations: 169.9 kB / 495.7 MB, free: 9.918 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002213/0.4224, allocations: 157.6 kB / 495.8 MB, free: 9.758 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.836e-05/0.4225, allocations: 103.9 kB / 495.9 MB, free: 9.652 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007357/0.4232, allocations: 0.906 MB / 496.8 MB, free: 8.734 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/0.4234, allocations: 0 / 496.8 MB, free: 8.734 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002772/0.4236, allocations: 462.7 kB / 497.3 MB, free: 8.273 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001528/0.4252, allocations: 0.991 MB / 498.3 MB, free: 7.281 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002372/0.4276, allocations: 2.554 MB / 0.4891 GB, free: 3.98 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002027/0.4296, allocations: 1.498 MB / 0.4905 GB, free: 2.48 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.381e-05/0.4296, allocations: 16 kB / 0.4906 GB, free: 2.465 MB / 378.7 MB Notification: Performance of matching and sorting (n=470) (initialization): time 0.09837/0.528, allocations: 3.295 MB / 0.4938 GB, free: 138.3 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.5281, allocations: 3.562 kB / 0.4938 GB, free: 138.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.878e-05/0.5281, allocations: 57.47 kB / 0.4938 GB, free: 138.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.404e-05/0.5282, allocations: 86.31 kB / 0.4939 GB, free: 138.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001263/0.5295, allocations: 0.519 MB / 0.4944 GB, free: 138.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.688e-05/0.5295, allocations: 109.1 kB / 0.4945 GB, free: 138.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001112/0.5306, allocations: 219.9 kB / 0.4947 GB, free: 138.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00015/0.5308, allocations: 180.6 kB / 0.4949 GB, free: 138.3 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 246 * Number of states: 0 () * Number of discrete variables: 51 ($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 (470): * Single equations (assignments): 469 * 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.0004929/0.5313, allocations: 0.5788 MB / 0.4955 GB, free: 138.2 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001217/0.5314, allocations: 111.8 kB / 0.4956 GB, free: 138.2 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.688e-05/0.5315, allocations: 13.16 kB / 0.4956 GB, free: 138.2 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.5315, allocations: 0 / 0.4956 GB, free: 138.2 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.5315, allocations: 0 / 0.4956 GB, free: 138.2 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.5315, allocations: 0 / 0.4956 GB, free: 138.2 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002954/0.5318, allocations: 435.5 kB / 0.496 GB, free: 138 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.5318, allocations: 3.875 kB / 0.496 GB, free: 138 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.062e-06/0.5318, allocations: 3.594 kB / 0.496 GB, free: 138 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.5318, allocations: 3.656 kB / 0.496 GB, free: 138 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.546e-05/0.5319, allocations: 43.06 kB / 0.4961 GB, free: 138 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.5319, allocations: 4.625 kB / 0.4961 GB, free: 138 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.5319, allocations: 0 / 0.4961 GB, free: 138 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005924/0.5378, allocations: 7.566 MB / 0.5034 GB, free: 137.9 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008899/0.5467, allocations: 11.48 MB / 0.5147 GB, free: 132.4 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/0.5469, allocations: 172.6 kB / 0.5148 GB, free: 132.2 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001574/0.547, allocations: 57.59 kB / 0.5149 GB, free: 132.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000254/0.5473, allocations: 34.59 kB / 0.5149 GB, free: 132.2 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.5474, allocations: 23.44 kB / 0.5149 GB, free: 132.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001012/0.5475, allocations: 63.7 kB / 0.515 GB, free: 132.1 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.742e-05/0.5476, allocations: 126.1 kB / 0.5151 GB, free: 132 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002345/0.55, allocations: 438.1 kB / 0.5155 GB, free: 131.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: 26 ($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],info,iTick,y_buf[200]) * Number of discrete states: 26 (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.00062/0.5506, allocations: 354.4 kB / 0.5159 GB, free: 131.4 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002776/0.5534, allocations: 3.06 MB / 0.5189 GB, free: 129.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.5534, allocations: 0 / 0.5189 GB, free: 129.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02512/0.5785, allocations: 53.51 MB / 0.5711 GB, free: 78.74 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003087/0.5789, allocations: 38.22 kB / 0.5712 GB, free: 78.7 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00206/0.5809, allocations: 1.918 MB / 0.573 GB, free: 76.77 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004492/0.5814, allocations: 1.085 MB / 0.5741 GB, free: 75.66 MB / 378.7 MB Notification: Performance of SimCode: time 5.61e-07/0.5814, allocations: 1.5 kB / 0.5741 GB, free: 75.66 MB / 378.7 MB (rm -f Modelica_4.0.0_Modelica.Math.FastFourierTransform.Examples.RealFFT2.pipe ; mkfifo Modelica_4.0.0_Modelica.Math.FastFourierTransform.Examples.RealFFT2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Math.FastFourierTransform.Examples.RealFFT2.pipe >> ../files/Modelica_4.0.0_Modelica.Math.FastFourierTransform.Examples.RealFFT2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Math.FastFourierTransform.Examples.RealFFT2_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Math_FastFourierTransform_Examples_RealFFT2_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Math_FastFourierTransform_Examples_RealFFT2.fmu > Modelica_4.0.0_Modelica.Math.FastFourierTransform.Examples.RealFFT2.pipe 2>&1)