Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.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.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoiseXorshift64star",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 183.4 kB / 8.13 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.16/1.16, allocations: 221.4 MB / 229.9 MB, free: 3.129 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.0008654/0.0008654, allocations: 101.6 kB / 280.8 MB, free: 1.262 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09196/0.09285, allocations: 55.82 MB / 336.6 MB, free: 9.422 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1786/0.2714, allocations: 50.4 MB / 387 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07448/0.3459, allocations: 76.1 MB / 463.1 MB, free: 10.67 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001956/0.3462, allocations: 76.92 kB / 463.2 MB, free: 10.6 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.004502/0.3507, allocations: 1.744 MB / 464.9 MB, free: 8.828 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.3507, allocations: 8.562 kB / 464.9 MB, free: 8.82 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.12e-05/0.3508, allocations: 11.89 kB / 464.9 MB, free: 8.809 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001747/0.351, allocations: 187.9 kB / 465.1 MB, free: 8.586 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.755e-06/0.351, allocations: 1.031 kB / 465.1 MB, free: 8.586 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.623e-05/0.351, allocations: 4.844 kB / 465.1 MB, free: 8.582 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.57e-05/0.3511, allocations: 16 kB / 465.1 MB, free: 8.566 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002153/0.3513, allocations: 136.9 kB / 465.3 MB, free: 8.418 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.3513, allocations: 0 / 465.3 MB, free: 8.418 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.3513, allocations: 5.094 kB / 465.3 MB, free: 8.414 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.3513, allocations: 5.781 kB / 465.3 MB, free: 8.41 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00024/0.3516, allocations: 254.1 kB / 465.5 MB, free: 8.125 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.408e-05/0.3517, allocations: 51.56 kB / 465.6 MB, free: 8.066 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.304e-05/0.3517, allocations: 17.55 kB / 465.6 MB, free: 8.047 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.521e-05/0.3517, allocations: 4.828 kB / 465.6 MB, free: 8.043 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.876e-05/0.3518, allocations: 38.56 kB / 465.7 MB, free: 7.996 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.3518, allocations: 0 / 465.7 MB, free: 7.996 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001422/0.3519, allocations: 65.55 kB / 465.7 MB, free: 7.926 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/0.352, allocations: 55.41 kB / 465.8 MB, free: 7.859 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.643e-05/0.3521, allocations: 124.1 kB / 465.9 MB, free: 7.73 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.3521, allocations: 25.7 kB / 465.9 MB, free: 7.699 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.84e-05/0.3521, allocations: 92.19 kB / 466 MB, free: 7.605 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.066e-05/0.3521, allocations: 7.906 kB / 466 MB, free: 7.598 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.576e-06/0.3521, allocations: 4 kB / 466 MB, free: 7.594 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.808e-05/0.3522, allocations: 318.8 kB / 466.3 MB, free: 7.273 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.263e-05/0.3523, allocations: 12 kB / 466.3 MB, free: 7.262 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.741e-05/0.3523, allocations: 45.16 kB / 466.4 MB, free: 7.199 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.844e-05/0.3524, allocations: 23.98 kB / 466.4 MB, free: 7.176 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3524, allocations: 0 / 466.4 MB, free: 7.176 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001446/0.3525, allocations: 86.11 kB / 466.5 MB, free: 7.086 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.889e-06/0.3526, allocations: 4 kB / 466.5 MB, free: 7.082 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.3526, allocations: 4 kB / 466.5 MB, free: 7.078 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/0.3526, allocations: 0 / 466.5 MB, free: 7.078 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.69e-05/0.3527, allocations: 15.98 kB / 466.5 MB, free: 7.062 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.3527, allocations: 8.188 kB / 466.5 MB, free: 7.055 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.684e-05/0.3527, allocations: 7.844 kB / 466.5 MB, free: 7.047 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.3527, allocations: 4.938 kB / 466.5 MB, free: 7.043 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 6.471e-05/0.3528, allocations: 115.8 kB / 466.7 MB, free: 6.926 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.697e-05/0.3529, allocations: 63.72 kB / 466.7 MB, free: 6.859 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001439/0.3531, allocations: 76.67 kB / 466.8 MB, free: 6.777 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.3531, allocations: 3.938 kB / 466.8 MB, free: 6.773 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.3531, allocations: 0 / 466.8 MB, free: 6.773 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.247e-06/0.3531, allocations: 4 kB / 466.8 MB, free: 6.77 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.291e-05/0.3532, allocations: 158.1 kB / 466.9 MB, free: 6.578 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.3532, allocations: 0 / 466.9 MB, free: 6.578 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.95e-05/0.3532, allocations: 4 kB / 467 MB, free: 6.574 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.3532, allocations: 0.8438 kB / 467 MB, free: 6.574 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.3532, allocations: 0 / 467 MB, free: 6.574 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3533, allocations: 0 / 467 MB, free: 6.574 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.3533, allocations: 1.25 kB / 467 MB, free: 6.574 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001044/0.3534, allocations: 96.92 kB / 467 MB, free: 6.461 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001794/0.3536, allocations: 473.4 kB / 467.5 MB, free: 5.977 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.662e-05/0.3536, allocations: 93 kB / 467.6 MB, free: 5.867 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.547e-05/0.3537, allocations: 8.672 kB / 467.6 MB, free: 5.859 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.694e-05/0.3537, allocations: 3.906 kB / 467.6 MB, free: 5.855 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.615e-06/0.3537, allocations: 0.8438 kB / 467.6 MB, free: 5.855 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.3537, allocations: 4 kB / 467.6 MB, free: 5.852 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.143e-05/0.3538, allocations: 103.3 kB / 467.7 MB, free: 5.75 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007646/0.3546, allocations: 16 kB / 467.7 MB, free: 5.734 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.0002439/0.3548, allocations: 124.6 kB / 467.9 MB, free: 5.613 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.742e-05/0.3549, allocations: 39.92 kB / 467.9 MB, free: 5.574 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.3549, allocations: 0 / 467.9 MB, free: 5.574 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.304e-06/0.3549, allocations: 4 kB / 467.9 MB, free: 5.57 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002638/0.3552, allocations: 66.03 kB / 468 MB, free: 5.5 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002277/0.3554, allocations: 123 kB / 468.1 MB, free: 5.355 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002362/0.3557, allocations: 0.7153 MB / 468.8 MB, free: 4.613 MB / 346.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3557, allocations: 0 / 468.8 MB, free: 4.613 MB / 346.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoiseXorshift64star_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoiseXorshift64star.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.pipe 2>&1)