Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_ImpureGenerator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_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 3.2.3+maint.om/package.mo): time 0.001022/0.001022, allocations: 193.9 kB / 8.485 MB, free: 1.785 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.056/1.056, allocations: 205.2 MB / 214.1 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009211/0.0009212, allocations: 87.22 kB / 262.1 MB, free: 13.57 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1011/0.1021, allocations: 52.98 MB / 315.1 MB, free: 8.539 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.3125, allocations: 47.56 MB / 362.6 MB, free: 45.84 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08098/0.3935, allocations: 74.47 MB / 437.1 MB, free: 11.46 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002429/0.3938, allocations: 63.97 kB / 437.2 MB, free: 11.4 MB / 330.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.005922/0.3998, allocations: 2.004 MB / 439.2 MB, free: 9.367 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.3999, allocations: 12 kB / 439.2 MB, free: 9.355 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.574e-05/0.3999, allocations: 8.031 kB / 439.2 MB, free: 9.352 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.4, allocations: 171 kB / 439.4 MB, free: 9.141 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.4001, allocations: 0 / 439.4 MB, free: 9.141 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.558e-06/0.4001, allocations: 0 / 439.4 MB, free: 9.141 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.799e-05/0.4001, allocations: 7.938 kB / 439.4 MB, free: 9.133 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.897e-05/0.4002, allocations: 40.19 kB / 439.4 MB, free: 9.09 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.4002, allocations: 0 / 439.4 MB, free: 9.09 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.4002, allocations: 0 / 439.4 MB, free: 9.09 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.4002, allocations: 0 / 439.4 MB, free: 9.09 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002437/0.4005, allocations: 213.5 kB / 439.6 MB, free: 8.844 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.464e-05/0.4006, allocations: 24.16 kB / 439.6 MB, free: 8.812 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.659e-05/0.4006, allocations: 16.92 kB / 439.6 MB, free: 8.793 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.248e-06/0.4006, allocations: 4.844 kB / 439.7 MB, free: 8.789 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.771e-05/0.4007, allocations: 44.39 kB / 439.7 MB, free: 8.734 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.473e-06/0.4007, allocations: 0 / 439.7 MB, free: 8.734 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001346/0.4008, allocations: 50.52 kB / 439.7 MB, free: 8.68 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.578e-05/0.4009, allocations: 52.62 kB / 439.8 MB, free: 8.617 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.088e-05/0.401, allocations: 99.7 kB / 439.9 MB, free: 8.516 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.401, allocations: 25.7 kB / 439.9 MB, free: 8.484 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.007e-05/0.401, allocations: 88.05 kB / 440 MB, free: 8.395 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.694e-05/0.401, allocations: 4 kB / 440 MB, free: 8.391 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-06/0.401, allocations: 0 / 440 MB, free: 8.391 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.4012, allocations: 318.1 kB / 440.3 MB, free: 8.074 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.85e-05/0.4012, allocations: 11.98 kB / 440.3 MB, free: 8.062 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.241e-05/0.4012, allocations: 23.97 kB / 440.4 MB, free: 8.035 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.494e-05/0.4013, allocations: 8 kB / 440.4 MB, free: 8.027 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4013, allocations: 0 / 440.4 MB, free: 8.027 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001067/0.4014, allocations: 49.69 kB / 440.4 MB, free: 7.973 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.4014, allocations: 4.688 kB / 440.4 MB, free: 7.969 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.728e-06/0.4014, allocations: 2.344 kB / 440.4 MB, free: 7.969 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.4015, allocations: 4.562 kB / 440.4 MB, free: 7.969 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.533e-05/0.4015, allocations: 11.98 kB / 440.4 MB, free: 7.957 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.4015, allocations: 7.844 kB / 440.4 MB, free: 7.949 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.958e-05/0.4016, allocations: 4.812 kB / 440.4 MB, free: 7.945 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.4016, allocations: 4 kB / 440.5 MB, free: 7.941 MB / 330.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 7.577e-05/0.4017, allocations: 107.3 kB / 440.6 MB, free: 7.832 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.27e-05/0.4017, allocations: 7.906 kB / 440.6 MB, free: 7.824 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.834e-05/0.4017, allocations: 8 kB / 440.6 MB, free: 7.816 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.4017, allocations: 0 / 440.6 MB, free: 7.816 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.4017, allocations: 0 / 440.6 MB, free: 7.816 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.4018, allocations: 5.359 kB / 440.6 MB, free: 7.812 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001972/0.402, allocations: 255.1 kB / 440.8 MB, free: 7.52 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.402, allocations: 2.281 kB / 440.8 MB, free: 7.52 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.256e-05/0.402, allocations: 0 / 440.8 MB, free: 7.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-06/0.402, allocations: 0 / 440.8 MB, free: 7.52 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.402, allocations: 7.938 kB / 440.8 MB, free: 7.512 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.402, allocations: 0 / 440.8 MB, free: 7.512 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.402, allocations: 0 / 440.8 MB, free: 7.512 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001125/0.4021, allocations: 145.3 kB / 441 MB, free: 7.355 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002538/0.4024, allocations: 0.522 MB / 441.5 MB, free: 6.816 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.654e-05/0.4025, allocations: 87.91 kB / 441.6 MB, free: 6.715 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.4025, allocations: 4.031 kB / 441.6 MB, free: 6.711 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.544e-05/0.4025, allocations: 0 / 441.6 MB, free: 6.711 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.555e-05/0.4026, allocations: 7.844 kB / 441.6 MB, free: 6.703 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.187e-06/0.4026, allocations: 4 kB / 441.6 MB, free: 6.699 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.418e-05/0.4026, allocations: 83.84 kB / 441.7 MB, free: 6.617 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008399/0.4035, allocations: 35.92 kB / 441.7 MB, free: 6.582 MB / 330.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.000422/0.4039, allocations: 184.2 kB / 441.9 MB, free: 6.422 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 7.919e-05/0.404, allocations: 16 kB / 441.9 MB, free: 6.406 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.404, allocations: 0 / 441.9 MB, free: 6.406 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.418e-05/0.404, allocations: 11.94 kB / 441.9 MB, free: 6.395 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001233/0.4042, allocations: 11.98 kB / 441.9 MB, free: 6.383 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002027/0.4044, allocations: 66.36 kB / 442 MB, free: 6.297 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002998/0.4047, allocations: 0.6876 MB / 442.7 MB, free: 5.586 MB / 330.7 MB Notification: Performance of SimCode: time 2.91e-07/0.4047, allocations: 0 / 442.7 MB, free: 5.586 MB / 330.7 MB (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_ImpureGenerator_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_ImpureGenerator.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe 2>&1)