Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.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.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoiseXorshift64star",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoiseXorshift64star",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.001669/0.001669, allocations: 199.5 kB / 8.533 MB, free: 1.723 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.275/1.275, allocations: 225.5 MB / 234.4 MB, free: 3.387 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008921/0.0008921, allocations: 91.75 kB / 286.3 MB, free: 5.223 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09659/0.0975, allocations: 56.9 MB / 343.2 MB, free: 8.637 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.097/0.1945, allocations: 51.48 MB / 394.7 MB, free: 5.105 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2064/0.401, allocations: 76.9 MB / 471.6 MB, free: 14.39 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001838/0.4012, allocations: 78.48 kB / 471.7 MB, free: 14.36 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.004096/0.4053, allocations: 1.744 MB / 473.4 MB, free: 13.28 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.824e-05/0.4054, allocations: 9.031 kB / 473.4 MB, free: 13.27 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.959e-05/0.4054, allocations: 11.91 kB / 473.5 MB, free: 13.26 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001432/0.4056, allocations: 188.9 kB / 473.6 MB, free: 13.05 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.225e-06/0.4056, allocations: 4 kB / 473.6 MB, free: 13.04 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.388e-06/0.4056, allocations: 0 / 473.6 MB, free: 13.04 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.317e-05/0.4057, allocations: 22.33 kB / 473.7 MB, free: 13.03 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001811/0.4059, allocations: 134.2 kB / 473.8 MB, free: 12.91 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.4059, allocations: 4.438 kB / 473.8 MB, free: 12.91 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.4059, allocations: 11.98 kB / 473.8 MB, free: 12.9 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.4059, allocations: 0 / 473.8 MB, free: 12.9 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001861/0.4061, allocations: 249.4 kB / 474.1 MB, free: 12.64 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.169e-05/0.4062, allocations: 41.83 kB / 474.1 MB, free: 12.6 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.913e-05/0.4062, allocations: 19.33 kB / 474.1 MB, free: 12.59 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.404e-05/0.4062, allocations: 11.81 kB / 474.1 MB, free: 12.58 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.316e-05/0.4063, allocations: 38.41 kB / 474.2 MB, free: 12.53 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.173e-06/0.4063, allocations: 0 / 474.2 MB, free: 12.53 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001323/0.4064, allocations: 59.27 kB / 474.2 MB, free: 12.48 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.403e-05/0.4064, allocations: 55.41 kB / 474.3 MB, free: 12.41 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.12e-05/0.4065, allocations: 124 kB / 474.4 MB, free: 12.3 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.775e-06/0.4065, allocations: 25.7 kB / 474.4 MB, free: 12.27 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.542e-05/0.4065, allocations: 88.27 kB / 474.5 MB, free: 12.18 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.397e-06/0.4066, allocations: 14.66 kB / 474.5 MB, free: 12.17 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-06/0.4066, allocations: 0 / 474.5 MB, free: 12.17 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 3.482e-05/0.4066, allocations: 314.5 kB / 474.8 MB, free: 11.86 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.101e-05/0.4066, allocations: 14.89 kB / 474.8 MB, free: 11.85 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.606e-05/0.4067, allocations: 43.09 kB / 474.9 MB, free: 11.79 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.989e-05/0.4067, allocations: 26.58 kB / 474.9 MB, free: 11.77 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.4067, allocations: 0 / 474.9 MB, free: 11.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001299/0.4069, allocations: 81.39 kB / 475 MB, free: 11.7 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.556e-06/0.4069, allocations: 8 kB / 475 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.4069, allocations: 7.453 kB / 475 MB, free: 11.69 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.648e-06/0.4069, allocations: 8 kB / 475 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.392e-05/0.407, allocations: 15.94 kB / 475 MB, free: 11.67 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.407, allocations: 0 / 475 MB, free: 11.67 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.721e-05/0.4071, allocations: 10.22 kB / 475 MB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.4071, allocations: 1.094 kB / 475 MB, free: 11.66 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 4 (uniformNoiseXorshift64star.state64[2],$CLKPRE.uniformNoiseXorshift64star.state64[2],uniformNoiseXorshift64star.state64[1],$CLKPRE.uniformNoiseXorshift64star.state64[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 4.166e-05/0.4071, allocations: 108.2 kB / 475.1 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.067e-05/0.4072, allocations: 70.58 kB / 475.2 MB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001219/0.4073, allocations: 69.94 kB / 475.3 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.4073, allocations: 4 kB / 475.3 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.4073, allocations: 0 / 475.3 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.4073, allocations: 7.906 kB / 475.3 MB, free: 11.42 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.136e-05/0.4074, allocations: 150.1 kB / 475.4 MB, free: 11.26 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.4074, allocations: 0 / 475.4 MB, free: 11.26 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.723e-05/0.4075, allocations: 4 kB / 475.4 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.4075, allocations: 0 / 475.4 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.4075, allocations: 1.938 kB / 475.4 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.4075, allocations: 5.312 kB / 475.5 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.4075, allocations: 0 / 475.5 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.551e-05/0.4076, allocations: 100.7 kB / 475.6 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000104/0.4077, allocations: 476.1 kB / 476 MB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.936e-05/0.4077, allocations: 95.2 kB / 476.1 MB, free: 10.58 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.996e-05/0.4078, allocations: 3.906 kB / 476.1 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.128e-05/0.4078, allocations: 3.25 kB / 476.1 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.264e-06/0.4078, allocations: 4 kB / 476.1 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/0.4078, allocations: 4 kB / 476.1 MB, free: 10.57 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.074e-05/0.4079, allocations: 111.5 kB / 476.2 MB, free: 10.48 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007891/0.4087, allocations: 15.94 kB / 476.2 MB, free: 10.46 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 (uniformNoiseXorshift64star.state64[1],uniformNoiseXorshift64star.state64[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * 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 Backend phase and start with SimCode phase: time 0.0002003/0.4089, allocations: 117.4 kB / 476.4 MB, free: 10.34 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.147e-05/0.409, allocations: 38.06 kB / 476.4 MB, free: 10.32 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.409, allocations: 4.125 kB / 476.4 MB, free: 10.32 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.5e-07/0.409, allocations: 1.5 kB / 476.4 MB, free: 10.32 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002162/0.4092, allocations: 73.88 kB / 476.5 MB, free: 10.25 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001909/0.4094, allocations: 100.3 kB / 476.6 MB, free: 10.15 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000119/0.4095, allocations: 0.7193 MB / 477.3 MB, free: 9.422 MB / 346.7 MB Notification: Performance of SimCode: time 3.51e-07/0.4095, allocations: 0 / 477.3 MB, free: 9.422 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoiseXorshift64star_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoiseXorshift64star.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.pipe 2>&1)