Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 182.5 kB / 8.134 MB, free: 2.219 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.137/1.137, allocations: 221.4 MB / 229.9 MB, free: 3.012 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 92.42 kB / 280.8 MB, free: 1.27 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09732/0.09837, allocations: 55.82 MB / 336.6 MB, free: 9.418 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2089/0.3073, allocations: 50.4 MB / 387 MB, free: 38.09 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08357/0.391, allocations: 78.35 MB / 465.4 MB, free: 8.531 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002009/0.3912, allocations: 72.81 kB / 465.4 MB, free: 8.461 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.01548/0.4067, allocations: 5.398 MB / 470.8 MB, free: 3.039 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.4067, allocations: 8 kB / 470.8 MB, free: 3.031 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002269/0.407, allocations: 40.77 kB / 470.9 MB, free: 2.992 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002949/0.4073, allocations: 239.5 kB / 471.1 MB, free: 2.719 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.789e-05/0.4073, allocations: 4 kB / 471.1 MB, free: 2.715 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.431e-05/0.4074, allocations: 16 kB / 471.1 MB, free: 2.699 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002242/0.4076, allocations: 92.27 kB / 471.2 MB, free: 2.609 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002549/0.4079, allocations: 141.5 kB / 471.4 MB, free: 2.469 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.4079, allocations: 4 kB / 471.4 MB, free: 2.465 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.044e-05/0.4079, allocations: 0 / 471.4 MB, free: 2.465 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.166e-06/0.4079, allocations: 8.922 kB / 471.4 MB, free: 2.457 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008616/0.4088, allocations: 0.5166 MB / 471.9 MB, free: 1.902 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006205/0.4094, allocations: 227 kB / 472.1 MB, free: 1.668 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001374/0.4096, allocations: 78.53 kB / 472.2 MB, free: 1.59 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.339e-05/0.4096, allocations: 0 / 472.2 MB, free: 1.59 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001857/0.4098, allocations: 121.9 kB / 472.3 MB, free: 1.461 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 1.823e-06/0.4098, allocations: 0 / 472.3 MB, free: 1.461 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.0003914/0.4102, allocations: 178 kB / 472.5 MB, free: 1.285 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.697e-05/0.4103, allocations: 55.59 kB / 472.5 MB, free: 1.219 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000175/0.4105, allocations: 166.3 kB / 472.7 MB, free: 1.051 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.145e-05/0.4105, allocations: 41.69 kB / 472.7 MB, free: 1.004 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.2e-05/0.4106, allocations: 116.5 kB / 472.8 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.725e-05/0.4107, allocations: 67.06 kB / 472.9 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.707e-05/0.4107, allocations: 0 / 472.9 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.4108, allocations: 334.7 kB / 473.2 MB, free: 496 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000162/0.411, allocations: 90.39 kB / 473.3 MB, free: 408 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001691/0.4112, allocations: 113.4 kB / 473.4 MB, free: 288 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002404/0.4114, allocations: 97.2 kB / 473.5 MB, free: 188 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.4114, allocations: 4 kB / 473.5 MB, free: 184 kB / 346.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0005297/0.4119, allocations: 272 kB / 473.8 MB, free: 15.91 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.412, allocations: 4 kB / 473.8 MB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.412, allocations: 7.844 kB / 473.8 MB, free: 15.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.412, allocations: 4 kB / 473.8 MB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003286/0.4124, allocations: 83.91 kB / 473.9 MB, free: 15.81 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.856e-06/0.4124, allocations: 4 kB / 473.9 MB, free: 15.81 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001927/0.4126, allocations: 47.72 kB / 473.9 MB, free: 15.76 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.807e-05/0.4126, allocations: 8.656 kB / 474 MB, free: 15.75 MB / 362.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 0.000111/0.4127, allocations: 120.9 kB / 474.1 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.106e-05/0.4128, allocations: 15.81 kB / 474.1 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.674e-05/0.4128, allocations: 17.73 kB / 474.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.4128, allocations: 7.906 kB / 474.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.4129, allocations: 1.75 kB / 474.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.4129, allocations: 0 / 474.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000748/0.4136, allocations: 0.512 MB / 474.6 MB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.165e-06/0.4136, allocations: 3.938 kB / 474.6 MB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002832/0.4139, allocations: 59.95 kB / 474.7 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.4139, allocations: 0 / 474.7 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.386e-05/0.414, allocations: 0 / 474.7 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/0.414, allocations: 7.984 kB / 474.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.414, allocations: 3.938 kB / 474.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004419/0.4144, allocations: 354.1 kB / 475 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000868/0.4153, allocations: 0.9701 MB / 476 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.1e-05/0.4154, allocations: 96.86 kB / 476.1 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.926e-05/0.4154, allocations: 11.94 kB / 476.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002542/0.4157, allocations: 31.97 kB / 476.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.416e-05/0.4158, allocations: 11.97 kB / 476.2 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.102e-05/0.4158, allocations: 8 kB / 476.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001012/0.4159, allocations: 135.2 kB / 476.3 MB, free: 13.3 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009436/0.4168, allocations: 83.77 kB / 476.4 MB, free: 13.22 MB / 362.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.0004736/0.4173, allocations: 216.5 kB / 476.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004136/0.4177, allocations: 229.5 kB / 476.8 MB, free: 12.81 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.4178, allocations: 0 / 476.8 MB, free: 12.81 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000132/0.4179, allocations: 82.89 kB / 476.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002431/0.4182, allocations: 26.88 kB / 476.9 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006139/0.4188, allocations: 315.1 kB / 477.2 MB, free: 12.38 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004407/0.4192, allocations: 0.79 MB / 478 MB, free: 11.56 MB / 362.7 MB Notification: Performance of SimCode: time 1.663e-06/0.4192, allocations: 0 / 478 MB, free: 11.56 MB / 362.7 MB (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoiseProperties_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-09 Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoiseProperties.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe 2>&1)