Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Math.FastFourierTransform.Examples.RealFFT2.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.RealFFT2,fileNamePrefix="Modelica_3_2_3_Modelica_Math_FastFourierTransform_Examples_RealFFT2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Math.FastFourierTransform.Examples.RealFFT2,fileNamePrefix="Modelica_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001009/0.001009, allocations: 175.3 kB / 8.473 MB, free: 1.875 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.129/1.129, allocations: 205.2 MB / 214.1 MB, free: 5.145 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.0008962/0.0008962, allocations: 86.27 kB / 262.1 MB, free: 5.199 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1521/0.153, allocations: 52.97 MB / 315.1 MB, free: 41.39 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06383/0.2169, allocations: 47.57 MB / 362.6 MB, free: 9.879 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2033/0.4202, allocations: 76.52 MB / 439.1 MB, free: 10.89 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001732/0.4204, allocations: 77.7 kB / 439.2 MB, free: 10.89 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.03554/0.4559, allocations: 13.98 MB / 453.2 MB, free: 7.539 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.065e-05/0.456, allocations: 11.19 kB / 453.2 MB, free: 7.539 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001033/0.4561, allocations: 69.5 kB / 453.3 MB, free: 7.496 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01056/0.4667, allocations: 3.676 MB / 457 MB, free: 6.117 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.4667, allocations: 3.906 kB / 457 MB, free: 6.117 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.683e-05/0.4668, allocations: 11.56 kB / 457 MB, free: 6.117 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006642/0.4674, allocations: 0.7196 MB / 457.7 MB, free: 6.051 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007304/0.4682, allocations: 0.7955 MB / 458.5 MB, free: 5.914 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.4682, allocations: 0 / 458.5 MB, free: 5.914 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.191e-05/0.4682, allocations: 0 / 458.5 MB, free: 5.914 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.4682, allocations: 0 / 458.5 MB, free: 5.914 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002708/0.4685, allocations: 276.4 kB / 458.8 MB, free: 5.652 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001189/0.4697, allocations: 1.82 MB / 460.6 MB, free: 5.559 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001011/0.4707, allocations: 1.814 MB / 462.4 MB, free: 5.484 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.337e-06/0.4708, allocations: 4 kB / 462.4 MB, free: 5.48 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009091/0.4717, allocations: 1.029 MB / 463.4 MB, free: 5.254 MB / 314.7 MB Notification: Performance of pre-optimization done (n=225): time 1.593e-06/0.4717, allocations: 0 / 463.4 MB, free: 5.254 MB / 314.7 MB Notification: Performance of matching and sorting (n=225): time 0.007572/0.4793, allocations: 6.316 MB / 469.7 MB, free: 4.949 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001716/0.4795, allocations: 399.4 kB / 470.1 MB, free: 4.59 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.4796, allocations: 170.8 kB / 470.3 MB, free: 4.434 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001732/0.4798, allocations: 160.1 kB / 470.5 MB, free: 4.285 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.439e-05/0.4798, allocations: 103.6 kB / 470.6 MB, free: 4.184 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004233/0.4802, allocations: 0.9008 MB / 471.5 MB, free: 3.406 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.776e-05/0.4803, allocations: 0 / 471.5 MB, free: 3.406 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.4804, allocations: 471.5 kB / 471.9 MB, free: 2.996 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00107/0.4815, allocations: 0.9848 MB / 472.9 MB, free: 2.23 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001695/0.4832, allocations: 2.553 MB / 475.5 MB, free: 15.24 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001799/0.485, allocations: 1.498 MB / 477 MB, free: 13.85 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.321e-05/0.4851, allocations: 16 kB / 477 MB, free: 13.83 MB / 330.7 MB Notification: Performance of matching and sorting (n=470) (initialization): time 0.004437/0.4895, allocations: 3.302 MB / 480.3 MB, free: 10.52 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.4895, allocations: 4 kB / 480.3 MB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.408e-05/0.4896, allocations: 56 kB / 480.3 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.657e-05/0.4897, allocations: 84 kB / 480.4 MB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001352/0.491, allocations: 0.5261 MB / 480.9 MB, free: 9.855 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.592e-05/0.4911, allocations: 111.6 kB / 481 MB, free: 9.746 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001141/0.4923, allocations: 225.5 kB / 481.3 MB, free: 9.523 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001877/0.4925, allocations: 187.9 kB / 481.4 MB, free: 9.34 MB / 330.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.0006661/0.4931, allocations: 0.573 MB / 482 MB, free: 8.754 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001439/0.4933, allocations: 103.1 kB / 482.1 MB, free: 8.652 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.27e-05/0.4933, allocations: 17.16 kB / 482.1 MB, free: 8.629 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.4933, allocations: 0 / 482.1 MB, free: 8.629 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.4934, allocations: 7.906 kB / 482.1 MB, free: 8.621 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.4934, allocations: 0 / 482.1 MB, free: 8.621 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003689/0.4937, allocations: 430.4 kB / 482.6 MB, free: 8.164 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.4937, allocations: 0 / 482.6 MB, free: 8.164 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.02e-07/0.4938, allocations: 4 kB / 482.6 MB, free: 8.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.4938, allocations: 4 kB / 482.6 MB, free: 8.156 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.559e-05/0.4939, allocations: 47.97 kB / 482.6 MB, free: 8.109 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.4939, allocations: 0 / 482.6 MB, free: 8.109 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.4939, allocations: 0 / 482.6 MB, free: 8.109 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006247/0.5001, allocations: 7.563 MB / 490.2 MB, free: 0.5273 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01007/0.5102, allocations: 11.49 MB / 0.4899 GB, free: 5.008 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001264/0.5104, allocations: 167.8 kB / 0.4901 GB, free: 4.824 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001676/0.5105, allocations: 51.97 kB / 0.4901 GB, free: 4.773 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002487/0.5108, allocations: 31.94 kB / 0.4902 GB, free: 4.742 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.989e-05/0.5109, allocations: 27.67 kB / 0.4902 GB, free: 4.719 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001069/0.511, allocations: 67.89 kB / 0.4902 GB, free: 4.652 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.855e-05/0.5111, allocations: 127.2 kB / 0.4904 GB, free: 4.527 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002409/0.5135, allocations: 435.9 kB / 0.4908 GB, free: 4.102 MB / 346.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.0007192/0.5143, allocations: 354.1 kB / 0.4911 GB, free: 3.773 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00336/0.5176, allocations: 3.062 MB / 0.4941 GB, free: 0.7188 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.5176, allocations: 0 / 0.4941 GB, free: 0.7188 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.03564/0.5533, allocations: 53.52 MB / 0.5464 GB, free: 11.25 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003107/0.5536, allocations: 39.47 kB / 0.5464 GB, free: 11.21 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002468/0.5561, allocations: 1.924 MB / 0.5483 GB, free: 9.254 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000721/0.5568, allocations: 1.088 MB / 0.5494 GB, free: 8.137 MB / 410.7 MB Notification: Performance of SimCode: time 7.72e-07/0.5569, allocations: 0 / 0.5494 GB, free: 8.137 MB / 410.7 MB (rm -f Modelica_3.2.3_Modelica.Math.FastFourierTransform.Examples.RealFFT2.pipe ; mkfifo Modelica_3.2.3_Modelica.Math.FastFourierTransform.Examples.RealFFT2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Math.FastFourierTransform.Examples.RealFFT2.pipe >> ../files/Modelica_3.2.3_Modelica.Math.FastFourierTransform.Examples.RealFFT2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Math.FastFourierTransform.Examples.RealFFT2_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Math_FastFourierTransform_Examples_RealFFT2_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Math_FastFourierTransform_Examples_RealFFT2.fmu > Modelica_3.2.3_Modelica.Math.FastFourierTransform.Examples.RealFFT2.pipe 2>&1)