Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ImpureGenerator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/package.mo", uses=false) Using package Modelica_Noise with version 1.0 Beta.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica_Noise.Blocks.Examples.NoiseExamples.ImpureGenerator,fileNamePrefix="Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Noise.Blocks.Examples.NoiseExamples.ImpureGenerator,fileNamePrefix="Modelica_Noise_Modelica_Noise_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.1+maint.om/package.mo): time 0.003182/0.003182, allocations: 175.6 kB / 7.45 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.258/1.258, allocations: 170.6 MB / 178.4 MB, free: 15.71 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.002122/0.002122, allocations: 119.8 kB / 217.7 MB, free: 8.477 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/package.mo): time 0.02477/0.02477, allocations: 3.033 MB / 259.8 MB, free: 28.64 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1222/0.147, allocations: 45.52 MB / 305.4 MB, free: 15.05 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3063/0.4533, allocations: 39.38 MB / 344.7 MB, free: 38.45 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1122/0.5655, allocations: 66 MB / 410.7 MB, free: 9.793 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004143/0.566, allocations: 75.95 kB / 410.8 MB, free: 9.719 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Math/Random/Interfaces/random.mo:7:3-7:71:writable] Warning: Unused input variable stateSize in function .Modelica_Noise.Math.Random.Generators.Xorshift64star.random. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.01053/0.5766, allocations: 2.665 MB / 413.5 MB, free: 7.008 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.5767, allocations: 8 kB / 413.5 MB, free: 7 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.597e-05/0.5767, allocations: 4.938 kB / 413.5 MB, free: 6.996 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002309/0.577, allocations: 175.6 kB / 413.7 MB, free: 6.785 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.577, allocations: 0 / 413.7 MB, free: 6.785 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.405e-05/0.577, allocations: 0.8125 kB / 413.7 MB, free: 6.785 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.983e-05/0.5771, allocations: 0 / 413.7 MB, free: 6.785 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.987e-05/0.5772, allocations: 38.45 kB / 413.7 MB, free: 6.742 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.627e-06/0.5772, allocations: 1.406 kB / 413.7 MB, free: 6.742 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.5772, allocations: 0 / 413.7 MB, free: 6.742 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.5772, allocations: 2.719 kB / 413.7 MB, free: 6.742 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002038/0.5774, allocations: 137.8 kB / 413.8 MB, free: 6.574 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.783e-05/0.5775, allocations: 19.08 kB / 413.9 MB, free: 6.547 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.452e-05/0.5775, allocations: 13.69 kB / 413.9 MB, free: 6.531 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.121e-06/0.5775, allocations: 0.625 kB / 413.9 MB, free: 6.531 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.225e-05/0.5776, allocations: 46.89 kB / 413.9 MB, free: 6.477 MB / 282.7 MB Notification: Performance of pre-optimization done (n=2): time 5.451e-06/0.5777, allocations: 0 / 413.9 MB, free: 6.477 MB / 282.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001699/0.5778, allocations: 41.62 kB / 414 MB, free: 6.43 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.331e-05/0.5779, allocations: 51.41 kB / 414 MB, free: 6.367 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.578, allocations: 104.9 kB / 414.1 MB, free: 6.258 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.5781, allocations: 29.64 kB / 414.1 MB, free: 6.223 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.201e-05/0.5781, allocations: 88.89 kB / 414.2 MB, free: 6.133 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.545e-05/0.5781, allocations: 0 / 414.2 MB, free: 6.133 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-06/0.5781, allocations: 0.6562 kB / 414.2 MB, free: 6.133 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.5783, allocations: 316.9 kB / 414.5 MB, free: 5.816 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.067e-05/0.5783, allocations: 0 / 414.5 MB, free: 5.816 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.325e-05/0.5783, allocations: 17.72 kB / 414.6 MB, free: 5.793 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.383e-05/0.5784, allocations: 5.312 kB / 414.6 MB, free: 5.789 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.5784, allocations: 0 / 414.6 MB, free: 5.789 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.679e-05/0.5785, allocations: 46.25 kB / 414.6 MB, free: 5.738 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.5785, allocations: 7.75 kB / 414.6 MB, free: 5.734 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.5785, allocations: 4 kB / 414.6 MB, free: 5.73 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.5786, allocations: 0 / 414.6 MB, free: 5.73 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.22e-05/0.5786, allocations: 4 kB / 414.6 MB, free: 5.727 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.5786, allocations: 0 / 414.6 MB, free: 5.727 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.385e-05/0.5787, allocations: 0 / 414.6 MB, free: 5.727 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.5787, allocations: 4 kB / 414.6 MB, free: 5.723 MB / 282.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: 2 ($whenCondition1,impureRandom.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 8.863e-05/0.5788, allocations: 104.9 kB / 414.7 MB, free: 5.613 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.196e-05/0.5788, allocations: 0 / 414.7 MB, free: 5.613 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.715e-05/0.5788, allocations: 18.86 kB / 414.8 MB, free: 5.598 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/0.5789, allocations: 7.984 kB / 414.8 MB, free: 5.59 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.5789, allocations: 0 / 414.8 MB, free: 5.59 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.5789, allocations: 0 / 414.8 MB, free: 5.59 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001414/0.579, allocations: 134.1 kB / 414.9 MB, free: 5.422 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.5791, allocations: 0 / 414.9 MB, free: 5.422 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.24e-06/0.5791, allocations: 3.938 kB / 414.9 MB, free: 5.418 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.5791, allocations: 0 / 414.9 MB, free: 5.418 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.5791, allocations: 4 kB / 414.9 MB, free: 5.414 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.5791, allocations: 0 / 414.9 MB, free: 5.414 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.5791, allocations: 0 / 414.9 MB, free: 5.414 MB / 282.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001051/0.5792, allocations: 69.03 kB / 415 MB, free: 5.328 MB / 282.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002774/0.5795, allocations: 450.5 kB / 415.4 MB, free: 4.867 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.9e-05/0.5796, allocations: 77.11 kB / 415.5 MB, free: 4.773 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.583e-05/0.5796, allocations: 4 kB / 415.5 MB, free: 4.77 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.27e-05/0.5796, allocations: 8 kB / 415.5 MB, free: 4.762 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/0.5797, allocations: 3.984 kB / 415.5 MB, free: 4.758 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-05/0.5797, allocations: 7.844 kB / 415.5 MB, free: 4.75 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.47e-05/0.5798, allocations: 91.53 kB / 415.6 MB, free: 4.66 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001373/0.5812, allocations: 28 kB / 415.6 MB, free: 4.633 MB / 282.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 (2): * Single equations (assignments): 1 * 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.0004824/0.5817, allocations: 165.5 kB / 415.8 MB, free: 4.465 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.975e-05/0.5818, allocations: 8 kB / 415.8 MB, free: 4.457 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.5818, allocations: 0 / 415.8 MB, free: 4.457 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.06e-05/0.5818, allocations: 7.938 kB / 415.8 MB, free: 4.449 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001553/0.582, allocations: 4 kB / 415.8 MB, free: 4.445 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002763/0.5823, allocations: 59.5 kB / 415.9 MB, free: 4.367 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004011/0.5827, allocations: 0.6921 MB / 416.6 MB, free: 3.648 MB / 282.7 MB Notification: Performance of SimCode: time 3.1e-07/0.5827, allocations: 0 / 416.6 MB, free: 3.648 MB / 282.7 MB (rm -f Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe ; mkfifo Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe ; head -c 1048576 < Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe >> ../files/Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ImpureGenerator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ImpureGenerator.fmu > Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe 2>&1)