Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.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.Blocks.Examples.Noise.ImpureGenerator,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_ImpureGenerator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.ImpureGenerator,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_ImpureGenerator",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.001134/0.001134, allocations: 207 kB / 8.542 MB, free: 1.801 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.269/1.269, 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.0009387/0.0009385, allocations: 91.06 kB / 286.3 MB, free: 5.285 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1109/0.1118, allocations: 56.9 MB / 343.2 MB, free: 8.602 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09914/0.211, allocations: 51.48 MB / 394.7 MB, free: 5.078 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2811/0.4922, allocations: 76.2 MB / 470.9 MB, free: 15.23 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002265/0.4924, allocations: 65.86 kB / 471 MB, free: 15.21 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.005674/0.4981, allocations: 2.015 MB / 473 MB, free: 13.98 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.4982, allocations: 8 kB / 473 MB, free: 13.97 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.197e-05/0.4982, allocations: 4 kB / 473 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.4984, allocations: 169.2 kB / 473.2 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/0.4984, allocations: 0 / 473.2 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.384e-05/0.4984, allocations: 4 kB / 473.2 MB, free: 13.76 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.316e-05/0.4985, allocations: 0 / 473.2 MB, free: 13.76 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.072e-05/0.4986, allocations: 41.34 kB / 473.2 MB, free: 13.72 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.4986, allocations: 0 / 473.2 MB, free: 13.72 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.4986, allocations: 0 / 473.2 MB, free: 13.72 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.4986, allocations: 5.969 kB / 473.2 MB, free: 13.72 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002474/0.4989, allocations: 212 kB / 473.4 MB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.987e-05/0.4989, allocations: 27.98 kB / 473.5 MB, free: 13.45 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.2e-05/0.499, allocations: 8.922 kB / 473.5 MB, free: 13.44 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.09e-05/0.499, allocations: 3.906 kB / 473.5 MB, free: 13.44 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.981e-05/0.499, allocations: 54.62 kB / 473.5 MB, free: 13.38 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.623e-06/0.499, allocations: 0 / 473.5 MB, free: 13.38 MB / 346.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001562/0.4992, allocations: 40.81 kB / 473.6 MB, free: 13.34 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.563e-05/0.4992, allocations: 59.34 kB / 473.6 MB, free: 13.27 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.059e-05/0.4993, allocations: 99.73 kB / 473.7 MB, free: 13.18 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.021e-05/0.4993, allocations: 25.7 kB / 473.7 MB, free: 13.14 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.048e-05/0.4994, allocations: 84.05 kB / 473.8 MB, free: 13.06 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.753e-05/0.4994, allocations: 11.38 kB / 473.8 MB, free: 13.05 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-06/0.4994, allocations: 0 / 473.8 MB, free: 13.05 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.717e-05/0.4995, allocations: 318.8 kB / 474.1 MB, free: 12.73 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2e-05/0.4995, allocations: 7.312 kB / 474.2 MB, free: 12.73 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.502e-05/0.4995, allocations: 20.27 kB / 474.2 MB, free: 12.71 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.985e-05/0.4996, allocations: 6.906 kB / 474.2 MB, free: 12.7 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.4996, allocations: 4 kB / 474.2 MB, free: 12.7 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001038/0.4997, allocations: 52.17 kB / 474.2 MB, free: 12.65 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.4997, allocations: 11.38 kB / 474.2 MB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.4997, allocations: 4.031 kB / 474.2 MB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.4998, allocations: 3.938 kB / 474.3 MB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.051e-05/0.4998, allocations: 8 kB / 474.3 MB, free: 12.63 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.4998, allocations: 3.906 kB / 474.3 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.103e-05/0.4999, allocations: 0 / 474.3 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.4999, allocations: 0 / 474.3 MB, free: 12.62 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,impureRandom.y,globalSeed.seed,globalSeed.id_impure) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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 5.516e-05/0.4999, allocations: 108.9 kB / 474.4 MB, free: 12.51 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.246e-05/0.5, allocations: 7.188 kB / 474.4 MB, free: 12.51 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.289e-05/0.5, allocations: 8 kB / 474.4 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.5, allocations: 4 kB / 474.4 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.5, allocations: 0 / 474.4 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.5, allocations: 0 / 474.4 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001611/0.5002, allocations: 256.2 kB / 474.6 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.5002, allocations: 7.328 kB / 474.6 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.426e-05/0.5002, allocations: 0 / 474.6 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.5002, allocations: 0 / 474.6 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.5002, allocations: 0 / 474.6 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.5003, allocations: 3.938 kB / 474.7 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.5003, allocations: 4 kB / 474.7 MB, free: 12.2 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.418e-05/0.5004, allocations: 146.4 kB / 474.8 MB, free: 12.05 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001781/0.5005, allocations: 0.5279 MB / 475.3 MB, free: 11.53 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.08e-05/0.5006, allocations: 77.11 kB / 475.4 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.5006, allocations: 4 kB / 475.4 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.028e-05/0.5007, allocations: 8.688 kB / 475.4 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.309e-05/0.5007, allocations: 3.906 kB / 475.4 MB, free: 11.42 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.5007, allocations: 3.562 kB / 475.4 MB, free: 11.42 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.576e-05/0.5007, allocations: 79.28 kB / 475.5 MB, free: 11.34 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000895/0.5016, allocations: 38.94 kB / 475.5 MB, free: 11.31 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: 2 ($whenCondition1,impureRandom.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000539/0.5022, allocations: 176.4 kB / 475.7 MB, free: 11.17 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001018/0.5023, allocations: 22.75 kB / 475.7 MB, free: 11.15 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.5023, allocations: 0 / 475.7 MB, free: 11.15 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.698e-05/0.5024, allocations: 4 kB / 475.7 MB, free: 11.15 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001493/0.5025, allocations: 10.69 kB / 475.7 MB, free: 11.14 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002592/0.5028, allocations: 65.31 kB / 475.8 MB, free: 11.07 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001996/0.503, allocations: 0.6914 MB / 476.5 MB, free: 10.36 MB / 346.7 MB Notification: Performance of SimCode: time 2.91e-07/0.503, allocations: 0 / 476.5 MB, free: 10.36 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_Noise_ImpureGenerator_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_Noise_ImpureGenerator.fmu > Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe 2>&1)