Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.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.UniformNoise,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.UniformNoise,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_UniformNoise",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.001256/0.001256, allocations: 203.8 kB / 8.541 MB, free: 1.832 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.391/1.391, allocations: 225.5 MB / 234.4 MB, free: 3.34 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001131/0.001131, allocations: 95.41 kB / 286.3 MB, free: 5.273 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1174/0.1186, allocations: 56.9 MB / 343.2 MB, free: 8.582 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09847/0.217, allocations: 51.47 MB / 394.7 MB, free: 5.066 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.268/0.4851, allocations: 77.06 MB / 471.8 MB, free: 14.35 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001974/0.4854, allocations: 73.22 kB / 471.8 MB, free: 14.32 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.01088/0.4962, allocations: 4.28 MB / 476.1 MB, free: 11.93 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.4963, allocations: 8 kB / 476.1 MB, free: 11.92 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000326/0.4966, allocations: 42.61 kB / 476.2 MB, free: 11.88 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000141/0.4968, allocations: 197.8 kB / 476.4 MB, free: 11.66 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.354e-05/0.4968, allocations: 4 kB / 476.4 MB, free: 11.65 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.839e-05/0.4969, allocations: 4 kB / 476.4 MB, free: 11.65 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001027/0.497, allocations: 32.42 kB / 476.4 MB, free: 11.63 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.4971, allocations: 98.81 kB / 476.5 MB, free: 11.55 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.4971, allocations: 0 / 476.5 MB, free: 11.55 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.732e-05/0.4972, allocations: 3.5 kB / 476.5 MB, free: 11.55 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.4972, allocations: 8.594 kB / 476.5 MB, free: 11.54 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004447/0.4976, allocations: 338.2 kB / 476.8 MB, free: 11.26 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001599/0.4978, allocations: 97.39 kB / 476.9 MB, free: 11.17 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.24e-05/0.4979, allocations: 50.47 kB / 477 MB, free: 11.13 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.285e-05/0.4979, allocations: 3.938 kB / 477 MB, free: 11.12 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001292/0.498, allocations: 121.1 kB / 477.1 MB, free: 11.03 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 1.463e-06/0.498, allocations: 0 / 477.1 MB, free: 11.03 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002678/0.4983, allocations: 143.1 kB / 477.2 MB, free: 10.91 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.814e-05/0.4984, allocations: 91.59 kB / 477.3 MB, free: 10.81 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.4985, allocations: 151.2 kB / 477.5 MB, free: 10.68 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.519e-05/0.4986, allocations: 44.27 kB / 477.5 MB, free: 10.64 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.205e-05/0.4986, allocations: 97.7 kB / 477.6 MB, free: 10.55 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.122e-05/0.4987, allocations: 44.33 kB / 477.7 MB, free: 10.52 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.151e-05/0.4987, allocations: 0.75 kB / 477.7 MB, free: 10.52 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.16e-05/0.4988, allocations: 328.3 kB / 478 MB, free: 10.2 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001255/0.4989, allocations: 74.27 kB / 478.1 MB, free: 10.15 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001266/0.499, allocations: 106.1 kB / 478.2 MB, free: 10.08 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002501/0.4993, allocations: 88.55 kB / 478.3 MB, free: 10.04 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.4993, allocations: 7.906 kB / 478.3 MB, free: 10.03 MB / 346.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004158/0.4997, allocations: 240.8 kB / 478.5 MB, free: 9.863 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.4997, allocations: 4 kB / 478.5 MB, free: 9.859 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.757e-05/0.4998, allocations: 7.281 kB / 478.5 MB, free: 9.855 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.4998, allocations: 4.062 kB / 478.5 MB, free: 9.852 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001522/0.4999, allocations: 32.84 kB / 478.5 MB, free: 9.828 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.5, allocations: 4 kB / 478.5 MB, free: 9.824 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.181e-05/0.5001, allocations: 19.75 kB / 478.6 MB, free: 9.805 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.458e-05/0.5001, allocations: 14.48 kB / 478.6 MB, free: 9.797 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition2,$whenCondition1,$PRE.uniformNoise2.state[1],uniformNoise2.state[1],$PRE.uniformNoise2.state[2],uniformNoise2.state[2],$PRE.uniformNoise2.state[3],uniformNoise2.state[3],$PRE.uniformNoise2.state[4],uniformNoise2.state[4],$PRE.uniformNoise2.r,uniformNoise2.r,$PRE.uniformNoise2.r_raw,uniformNoise2.r_raw,$PRE.uniformNoise1.state[1],uniformNoise1.state[1],$PRE.uniformNoise1.state[2],uniformNoise1.state[2],$PRE.uniformNoise1.state[3],uniformNoise1.state[3],$PRE.uniformNoise1.state[4],uniformNoise1.state[4],$PRE.uniformNoise1.r,uniformNoise1.r,$PRE.uniformNoise1.r_raw,uniformNoise1.r_raw,globalSeed.id_impure,uniformNoise1.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise2.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 24 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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 9.36e-05/0.5002, allocations: 131.6 kB / 478.7 MB, free: 9.668 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.521e-05/0.5002, allocations: 11.81 kB / 478.7 MB, free: 9.656 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.745e-05/0.5003, allocations: 16.16 kB / 478.7 MB, free: 9.652 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.5003, allocations: 0 / 478.7 MB, free: 9.652 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.5003, allocations: 0 / 478.7 MB, free: 9.652 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.81e-06/0.5003, allocations: 4 kB / 478.7 MB, free: 9.648 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001463/0.5005, allocations: 180.8 kB / 478.9 MB, free: 9.469 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.5005, allocations: 4 kB / 478.9 MB, free: 9.465 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.602e-05/0.5005, allocations: 13.17 kB / 478.9 MB, free: 9.453 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.185e-06/0.5005, allocations: 3.938 kB / 478.9 MB, free: 9.449 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/0.5006, allocations: 2.016 kB / 478.9 MB, free: 9.449 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.5006, allocations: 4 kB / 478.9 MB, free: 9.445 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.5006, allocations: 3.906 kB / 478.9 MB, free: 9.441 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002096/0.5008, allocations: 182.2 kB / 479.1 MB, free: 9.273 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003667/0.5012, allocations: 0.6422 MB / 479.8 MB, free: 8.684 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.385e-05/0.5012, allocations: 97.67 kB / 479.9 MB, free: 8.574 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.158e-05/0.5013, allocations: 6.719 kB / 479.9 MB, free: 8.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.063e-05/0.5013, allocations: 19.27 kB / 479.9 MB, free: 8.555 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.948e-05/0.5014, allocations: 12.42 kB / 479.9 MB, free: 8.551 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/0.5014, allocations: 5.219 kB / 479.9 MB, free: 8.547 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.063e-05/0.5015, allocations: 117.3 kB / 480 MB, free: 8.449 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009402/0.5025, allocations: 60.61 kB / 480.1 MB, free: 8.398 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition2,uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise1.r,uniformNoise1.r_raw,$whenCondition1,uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise2.r,uniformNoise2.r_raw) * Number of discrete states: 8 (uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0005335/0.503, allocations: 218.6 kB / 480.3 MB, free: 8.234 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003544/0.5034, allocations: 225.8 kB / 480.5 MB, free: 8.059 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5034, allocations: 0 / 480.5 MB, free: 8.059 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.26e-05/0.5035, allocations: 44.12 kB / 480.6 MB, free: 8.031 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001391/0.5036, allocations: 11.95 kB / 480.6 MB, free: 8.023 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003975/0.504, allocations: 176.5 kB / 480.7 MB, free: 7.867 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001915/0.5042, allocations: 0.7296 MB / 481.5 MB, free: 7.129 MB / 346.7 MB Notification: Performance of SimCode: time 3.21e-07/0.5042, allocations: 4 kB / 481.5 MB, free: 7.125 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_Noise_UniformNoise_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_Noise_UniformNoise.fmu > Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.pipe 2>&1)