Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.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.ImpureGenerator,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_ImpureGenerator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.ImpureGenerator,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_ImpureGenerator",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.001517/0.001517, allocations: 184.5 kB / 8.138 MB, free: 2.223 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.11/1.11, allocations: 221.4 MB / 229.9 MB, free: 3.074 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.0008985/0.0008985, allocations: 103.5 kB / 280.8 MB, free: 1.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09427/0.0952, allocations: 55.81 MB / 336.6 MB, free: 9.41 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1849/0.2801, allocations: 50.39 MB / 387 MB, free: 37.98 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07425/0.3544, allocations: 75.4 MB / 462.4 MB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001913/0.3546, allocations: 68.47 kB / 462.5 MB, free: 11.3 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.005463/0.3601, allocations: 2.02 MB / 464.5 MB, free: 9.242 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.3601, allocations: 12.75 kB / 464.5 MB, free: 9.23 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.063e-05/0.3602, allocations: 3.906 kB / 464.5 MB, free: 9.227 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.3603, allocations: 167.8 kB / 464.7 MB, free: 9.023 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.3603, allocations: 4 kB / 464.7 MB, free: 9.02 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/0.3603, allocations: 0.5625 kB / 464.7 MB, free: 9.02 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.978e-05/0.3604, allocations: 4.844 kB / 464.7 MB, free: 9.016 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.123e-05/0.3604, allocations: 33.69 kB / 464.7 MB, free: 8.977 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.3604, allocations: 4.656 kB / 464.7 MB, free: 8.973 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.3605, allocations: 4 kB / 464.7 MB, free: 8.969 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.818e-06/0.3605, allocations: 0.9062 kB / 464.7 MB, free: 8.969 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002055/0.3607, allocations: 211 kB / 464.9 MB, free: 8.727 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.288e-05/0.3607, allocations: 26.56 kB / 464.9 MB, free: 8.691 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.427e-05/0.3608, allocations: 17.33 kB / 465 MB, free: 8.676 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/0.3608, allocations: 8.5 kB / 465 MB, free: 8.668 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.76e-05/0.3608, allocations: 48.12 kB / 465 MB, free: 8.609 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 2.165e-06/0.3609, allocations: 0.6875 kB / 465 MB, free: 8.609 MB / 346.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001249/0.361, allocations: 37.7 kB / 465.1 MB, free: 8.566 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.633e-05/0.361, allocations: 55.97 kB / 465.1 MB, free: 8.5 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.873e-05/0.3611, allocations: 97.61 kB / 465.2 MB, free: 8.398 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.3611, allocations: 26.45 kB / 465.2 MB, free: 8.367 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.773e-05/0.3612, allocations: 84.98 kB / 465.3 MB, free: 8.281 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.66e-05/0.3612, allocations: 7.906 kB / 465.3 MB, free: 8.273 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.608e-06/0.3612, allocations: 0 / 465.3 MB, free: 8.273 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.971e-05/0.3613, allocations: 326.7 kB / 465.6 MB, free: 7.945 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.855e-05/0.3613, allocations: 8 kB / 465.6 MB, free: 7.938 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.327e-05/0.3614, allocations: 19.59 kB / 465.7 MB, free: 7.914 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.205e-05/0.3614, allocations: 12 kB / 465.7 MB, free: 7.902 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.3614, allocations: 0 / 465.7 MB, free: 7.902 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.666e-05/0.3615, allocations: 49.69 kB / 465.7 MB, free: 7.848 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.3615, allocations: 6.969 kB / 465.7 MB, free: 7.844 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.3616, allocations: 4.031 kB / 465.7 MB, free: 7.84 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.367e-06/0.3616, allocations: 0 / 465.7 MB, free: 7.84 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.995e-05/0.3616, allocations: 15.92 kB / 465.8 MB, free: 7.824 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-06/0.3616, allocations: 0 / 465.8 MB, free: 7.824 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.971e-05/0.3617, allocations: 3.906 kB / 465.8 MB, free: 7.82 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-06/0.3617, allocations: 4 kB / 465.8 MB, free: 7.816 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: 4 ($whenCondition1,impureRandom.y,globalSeed.seed,globalSeed.id_impure) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.416e-05/0.3617, allocations: 108.4 kB / 465.9 MB, free: 7.707 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.031e-05/0.3618, allocations: 3.906 kB / 465.9 MB, free: 7.703 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.6e-05/0.3618, allocations: 8 kB / 465.9 MB, free: 7.691 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.3618, allocations: 4 kB / 465.9 MB, free: 7.688 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.3618, allocations: 3.984 kB / 465.9 MB, free: 7.684 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.3618, allocations: 0 / 465.9 MB, free: 7.684 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001849/0.362, allocations: 260.1 kB / 466.1 MB, free: 7.387 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.362, allocations: 0 / 466.1 MB, free: 7.387 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.472e-05/0.362, allocations: 5.25 kB / 466.1 MB, free: 7.383 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.362, allocations: 144 / 466.1 MB, free: 7.383 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.3621, allocations: 0 / 466.1 MB, free: 7.383 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3621, allocations: 4 kB / 466.2 MB, free: 7.379 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.3621, allocations: 7.984 kB / 466.2 MB, free: 7.371 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001001/0.3622, allocations: 139.5 kB / 466.3 MB, free: 7.219 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000236/0.3624, allocations: 0.5273 MB / 466.8 MB, free: 6.672 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.434e-05/0.3625, allocations: 81.05 kB / 466.9 MB, free: 6.574 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.3625, allocations: 4 kB / 466.9 MB, free: 6.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.877e-05/0.3626, allocations: 8.438 kB / 466.9 MB, free: 6.562 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.684e-05/0.3626, allocations: 0 / 466.9 MB, free: 6.562 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.712e-06/0.3626, allocations: 3.938 kB / 466.9 MB, free: 6.559 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.191e-05/0.3626, allocations: 88.25 kB / 467 MB, free: 6.473 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008417/0.3635, allocations: 39.98 kB / 467 MB, free: 6.434 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 ($whenCondition1,impureRandom.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0003461/0.3638, allocations: 171.7 kB / 467.2 MB, free: 6.285 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 6.875e-05/0.3639, allocations: 19.98 kB / 467.2 MB, free: 6.266 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.3639, allocations: 0 / 467.2 MB, free: 6.266 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.247e-05/0.364, allocations: 15.92 kB / 467.2 MB, free: 6.25 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001155/0.3641, allocations: 4 kB / 467.2 MB, free: 6.246 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001751/0.3643, allocations: 63.92 kB / 467.3 MB, free: 6.16 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002429/0.3645, allocations: 0.6954 MB / 468 MB, free: 5.441 MB / 346.7 MB Notification: Performance of SimCode: time 3.2e-07/0.3645, allocations: 0 / 468 MB, free: 5.441 MB / 346.7 MB (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_Noise_ImpureGenerator_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_Noise_ImpureGenerator.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe 2>&1)