Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.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.UniformNoiseProperties,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_UniformNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_UniformNoiseProperties",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.001932/0.001932, allocations: 196.9 kB / 8.537 MB, free: 1.797 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.409/1.409, 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.000942/0.0009421, allocations: 92.91 kB / 286.3 MB, free: 5.301 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1117/0.1127, allocations: 56.9 MB / 343.2 MB, free: 8.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09986/0.2126, allocations: 51.48 MB / 394.7 MB, free: 5.059 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.261/0.4736, allocations: 79.16 MB / 473.9 MB, free: 12.7 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002318/0.4739, allocations: 74.86 kB / 473.9 MB, free: 12.68 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.01496/0.4888, allocations: 5.444 MB / 479.4 MB, free: 9.215 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.4889, allocations: 8 kB / 479.4 MB, free: 9.207 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002134/0.4891, allocations: 39.7 kB / 479.4 MB, free: 9.168 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002532/0.4894, allocations: 236.9 kB / 479.7 MB, free: 8.914 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.603e-05/0.4894, allocations: 8 kB / 479.7 MB, free: 8.906 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.246e-05/0.4895, allocations: 12 kB / 479.7 MB, free: 8.895 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002038/0.4897, allocations: 94.27 kB / 479.8 MB, free: 8.836 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002323/0.4899, allocations: 148.5 kB / 479.9 MB, free: 8.719 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.4899, allocations: 0 / 479.9 MB, free: 8.719 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.051e-05/0.49, allocations: 7.922 kB / 479.9 MB, free: 8.711 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.49, allocations: 4 kB / 479.9 MB, free: 8.707 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007442/0.4907, allocations: 0.521 MB / 480.5 MB, free: 8.23 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005833/0.4913, allocations: 225.7 kB / 480.7 MB, free: 8.043 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000115/0.4915, allocations: 73.27 kB / 480.7 MB, free: 7.992 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.674e-05/0.4915, allocations: 3.438 kB / 480.8 MB, free: 7.992 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001581/0.4917, allocations: 114.8 kB / 480.9 MB, free: 7.891 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 1.523e-06/0.4917, allocations: 0.75 kB / 480.9 MB, free: 7.891 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.0003383/0.492, allocations: 184.9 kB / 481 MB, free: 7.742 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.884e-05/0.492, allocations: 55.59 kB / 481.1 MB, free: 7.676 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.4922, allocations: 169.8 kB / 481.3 MB, free: 7.527 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.361e-05/0.4922, allocations: 41.5 kB / 481.3 MB, free: 7.484 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.664e-05/0.4923, allocations: 116.3 kB / 481.4 MB, free: 7.375 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.269e-05/0.4923, allocations: 66.39 kB / 481.5 MB, free: 7.32 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.546e-05/0.4923, allocations: 0 / 481.5 MB, free: 7.32 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.14e-05/0.4924, allocations: 341.4 kB / 481.8 MB, free: 6.988 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/0.4925, allocations: 82.48 kB / 481.9 MB, free: 6.941 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001909/0.4927, allocations: 115.9 kB / 482 MB, free: 6.859 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002162/0.493, allocations: 100.1 kB / 482.1 MB, free: 6.789 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.493, allocations: 0 / 482.1 MB, free: 6.789 MB / 346.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004244/0.4934, allocations: 272.7 kB / 482.4 MB, free: 6.582 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.4934, allocations: 4 kB / 482.4 MB, free: 6.578 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.4934, allocations: 4 kB / 482.4 MB, free: 6.574 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.4935, allocations: 3.984 kB / 482.4 MB, free: 6.57 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003203/0.4938, allocations: 79.92 kB / 482.5 MB, free: 6.492 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.4938, allocations: 0 / 482.5 MB, free: 6.492 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001849/0.494, allocations: 47.72 kB / 482.5 MB, free: 6.445 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.836e-05/0.494, allocations: 11.81 kB / 482.5 MB, free: 6.438 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: 17 ($whenCondition1,$PRE.noise.state[1],noise.state[1],$PRE.noise.state[2],noise.state[2],$PRE.noise.state[3],noise.state[3],$PRE.noise.state[4],noise.state[4],$PRE.noise.r,noise.r,$PRE.noise.r_raw,noise.r_raw,globalSeed.id_impure,noise.localSeed,noise.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 36 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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 8.728e-05/0.4941, allocations: 117.7 kB / 482.6 MB, free: 6.316 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.728e-05/0.4942, allocations: 11.81 kB / 482.7 MB, free: 6.305 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.988e-05/0.4942, allocations: 25.33 kB / 482.7 MB, free: 6.293 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.4942, allocations: 4 kB / 482.7 MB, free: 6.289 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.4942, allocations: 0 / 482.7 MB, free: 6.289 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.4942, allocations: 0 / 482.7 MB, free: 6.289 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006192/0.4949, allocations: 0.5217 MB / 483.2 MB, free: 5.797 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.4949, allocations: 4 kB / 483.2 MB, free: 5.793 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000273/0.4952, allocations: 59.64 kB / 483.3 MB, free: 5.738 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.4952, allocations: 0 / 483.3 MB, free: 5.738 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.492e-05/0.4952, allocations: 7.984 kB / 483.3 MB, free: 5.73 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.4952, allocations: 0 / 483.3 MB, free: 5.73 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.4952, allocations: 4 kB / 483.3 MB, free: 5.727 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003873/0.4956, allocations: 359.1 kB / 483.6 MB, free: 5.43 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007166/0.4963, allocations: 0.9659 MB / 484.6 MB, free: 4.625 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.467e-05/0.4964, allocations: 89.08 kB / 484.7 MB, free: 4.52 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.768e-05/0.4964, allocations: 7.984 kB / 484.7 MB, free: 4.512 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002245/0.4967, allocations: 31.45 kB / 484.7 MB, free: 4.484 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.158e-05/0.4967, allocations: 19.41 kB / 484.7 MB, free: 4.469 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.285e-05/0.4968, allocations: 8 kB / 484.7 MB, free: 4.461 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.459e-05/0.4968, allocations: 127.6 kB / 484.9 MB, free: 4.352 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000956/0.4978, allocations: 84.7 kB / 485 MB, free: 4.277 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (mean.mu,variance.mu,variance.var,standardDeviation.variance.mu,standardDeviation.variance.var) * Number of discrete variables: 7 ($whenCondition1,noise.state[1],noise.state[2],noise.state[3],noise.state[4],noise.r,noise.r_raw) * Number of discrete states: 4 (noise.state[1],noise.state[2],noise.state[3],noise.state[4]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0004416/0.4983, allocations: 213.8 kB / 485.2 MB, free: 4.105 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003807/0.4986, allocations: 236.8 kB / 485.4 MB, free: 3.93 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.4987, allocations: 1.312 kB / 485.4 MB, free: 3.93 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001171/0.4988, allocations: 83.23 kB / 485.5 MB, free: 3.871 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002492/0.499, allocations: 18.92 kB / 485.5 MB, free: 3.855 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005777/0.4996, allocations: 315.5 kB / 485.8 MB, free: 3.562 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002475/0.4999, allocations: 0.7858 MB / 486.6 MB, free: 2.754 MB / 346.7 MB Notification: Performance of SimCode: time 3.8e-07/0.4999, allocations: 0 / 486.6 MB, free: 2.754 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_Noise_UniformNoiseProperties_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-09 Modelica_trunk_Modelica_Blocks_Examples_Noise_UniformNoiseProperties.fmu > Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe 2>&1)