Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Math.FastFourierTransform.Examples.RealFFT2.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.RealFFT2,fileNamePrefix="Modelica_trunk_Modelica_Math_FastFourierTransform_Examples_RealFFT2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Math.FastFourierTransform.Examples.RealFFT2,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001036/0.001036, allocations: 199.2 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.184/1.184, allocations: 225.5 MB / 234.4 MB, free: 3.312 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009184/0.0009185, allocations: 96.06 kB / 286.3 MB, free: 5.305 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09076/0.0917, allocations: 56.9 MB / 343.2 MB, free: 8.582 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08167/0.1734, allocations: 51.46 MB / 394.7 MB, free: 5.066 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1959/0.3694, allocations: 78.14 MB / 472.8 MB, free: 13.85 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001735/0.3696, allocations: 71.86 kB / 472.9 MB, free: 13.83 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.03509/0.4047, allocations: 14.25 MB / 487.2 MB, free: 3.387 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.028e-05/0.4047, allocations: 12 kB / 487.2 MB, free: 3.375 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002115/0.4049, allocations: 74.97 kB / 487.3 MB, free: 3.301 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01027/0.4152, allocations: 3.698 MB / 490.9 MB, free: 280 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.4153, allocations: 4 kB / 491 MB, free: 276 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.674e-05/0.4153, allocations: 4 kB / 491 MB, free: 272 kB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006119/0.4159, allocations: 0.721 MB / 491.7 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007206/0.4167, allocations: 0.7911 MB / 492.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.831e-06/0.4167, allocations: 0 / 492.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.465e-05/0.4167, allocations: 0 / 492.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.4167, allocations: 0 / 492.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002739/0.417, allocations: 287.7 kB / 492.8 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001174/0.4182, allocations: 1.827 MB / 494.6 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001314/0.4195, allocations: 1.81 MB / 496.4 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.179e-06/0.4195, allocations: 0 / 496.4 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009239/0.4204, allocations: 1.029 MB / 497.4 MB, free: 11.93 MB / 362.7 MB Notification: Performance of pre-optimization done (n=225): time 1.402e-06/0.4205, allocations: 0 / 497.4 MB, free: 11.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=225): time 0.005073/0.4255, allocations: 6.313 MB / 0.4919 GB, free: 5.613 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002663/0.4258, allocations: 408.6 kB / 0.4923 GB, free: 5.188 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001543/0.426, allocations: 169.7 kB / 0.4925 GB, free: 5.012 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002077/0.4262, allocations: 166.3 kB / 0.4926 GB, free: 4.844 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.219e-05/0.4263, allocations: 99.89 kB / 0.4927 GB, free: 4.742 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006312/0.4269, allocations: 0.906 MB / 0.4936 GB, free: 3.824 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.207e-05/0.427, allocations: 0 / 0.4936 GB, free: 3.824 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002184/0.4272, allocations: 462.7 kB / 0.4941 GB, free: 3.363 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001345/0.4286, allocations: 0.9871 MB / 0.495 GB, free: 2.375 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002211/0.4308, allocations: 2.554 MB / 0.4975 GB, free: 15.07 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001939/0.4327, allocations: 1.494 MB / 0.499 GB, free: 13.58 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.038e-05/0.4328, allocations: 21.5 kB / 0.499 GB, free: 13.56 MB / 378.7 MB Notification: Performance of matching and sorting (n=470) (initialization): time 0.004729/0.4375, allocations: 3.295 MB / 0.5022 GB, free: 10.26 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.4375, allocations: 9 kB / 0.5022 GB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.372e-05/0.4376, allocations: 52 kB / 0.5023 GB, free: 10.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.404e-05/0.4377, allocations: 88 kB / 0.5024 GB, free: 10.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001375/0.4391, allocations: 0.5183 MB / 0.5029 GB, free: 9.594 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.457e-05/0.4392, allocations: 111.6 kB / 0.503 GB, free: 9.484 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001088/0.4403, allocations: 221.2 kB / 0.5032 GB, free: 9.266 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002136/0.4405, allocations: 183.9 kB / 0.5034 GB, free: 9.086 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.0006199/0.4411, allocations: 0.573 MB / 0.5039 GB, free: 8.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001359/0.4412, allocations: 111 kB / 0.504 GB, free: 8.391 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.945e-05/0.4413, allocations: 13.16 kB / 0.504 GB, free: 8.371 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.4413, allocations: 0 / 0.504 GB, free: 8.371 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.4413, allocations: 15.89 kB / 0.504 GB, free: 8.355 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.4413, allocations: 4 kB / 0.504 GB, free: 8.352 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003895/0.4417, allocations: 430.4 kB / 0.5045 GB, free: 7.895 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.4417, allocations: 1.031 kB / 0.5045 GB, free: 7.895 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-07/0.4417, allocations: 0 / 0.5045 GB, free: 7.895 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.4417, allocations: 0 / 0.5045 GB, free: 7.895 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001028/0.4418, allocations: 44 kB / 0.5045 GB, free: 7.852 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.4418, allocations: 0 / 0.5045 GB, free: 7.852 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.4418, allocations: 3.984 kB / 0.5045 GB, free: 7.848 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006407/0.4483, allocations: 7.571 MB / 0.5119 GB, free: 256 kB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01017/0.4584, allocations: 11.48 MB / 0.5231 GB, free: 4.742 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001155/0.4586, allocations: 171.7 kB / 0.5233 GB, free: 4.555 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001593/0.4587, allocations: 47.98 kB / 0.5233 GB, free: 4.508 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002375/0.459, allocations: 35.98 kB / 0.5234 GB, free: 4.473 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.967e-05/0.4591, allocations: 26.34 kB / 0.5234 GB, free: 4.449 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001104/0.4592, allocations: 67.89 kB / 0.5234 GB, free: 4.383 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.74e-05/0.4593, allocations: 124.4 kB / 0.5236 GB, free: 4.262 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002326/0.4616, allocations: 435.9 kB / 0.524 GB, free: 3.836 MB / 394.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.0007045/0.4624, allocations: 367.5 kB / 0.5243 GB, free: 3.555 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003378/0.4658, allocations: 3.064 MB / 0.5273 GB, free: 0.4922 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4658, allocations: 0 / 0.5273 GB, free: 0.4922 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1322/0.598, allocations: 53.5 MB / 0.5796 GB, free: 184.8 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002702/0.5983, allocations: 38.95 kB / 0.5796 GB, free: 184.8 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002346/0.6007, allocations: 1.918 MB / 0.5815 GB, free: 184.6 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006052/0.6013, allocations: 1.083 MB / 0.5825 GB, free: 183.9 MB / 442.7 MB Notification: Performance of SimCode: time 1.102e-06/0.6013, allocations: 0 / 0.5825 GB, free: 183.9 MB / 442.7 MB (rm -f Modelica_trunk_Modelica.Math.FastFourierTransform.Examples.RealFFT2.pipe ; mkfifo Modelica_trunk_Modelica.Math.FastFourierTransform.Examples.RealFFT2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Math.FastFourierTransform.Examples.RealFFT2.pipe >> ../files/Modelica_trunk_Modelica.Math.FastFourierTransform.Examples.RealFFT2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Math.FastFourierTransform.Examples.RealFFT2_res.mat --tempDir=temp_Modelica_trunk_Modelica_Math_FastFourierTransform_Examples_RealFFT2_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Math_FastFourierTransform_Examples_RealFFT2.fmu > Modelica_trunk_Modelica.Math.FastFourierTransform.Examples.RealFFT2.pipe 2>&1)