Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Densities.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: translateModel(Modelica_Noise.Blocks.Examples.NoiseExamples.Densities,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Densities") translateModel(Modelica_Noise.Blocks.Examples.NoiseExamples.Densities,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Densities") [: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.00355/0.00355, allocations: 178.5 kB / 7.457 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 0.9343/0.9343, allocations: 170.6 MB / 178.4 MB, free: 15.41 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.001617/0.001618, allocations: 111.9 kB / 217.7 MB, free: 8.168 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.01765/0.01765, allocations: 3.042 MB / 259.8 MB, free: 28.63 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.091e-06/6.191e-06, allocations: 0 / 305.3 MB, free: 15.13 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1448, allocations: 39.38 MB / 344.7 MB, free: 38.43 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06752/0.2124, allocations: 66.81 MB / 411.5 MB, free: 9.062 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002134/0.2126, allocations: 83.94 kB / 411.5 MB, free: 8.98 MB / 282.7 MB Notification: Performance of FrontEnd: time 0.004874/0.2175, allocations: 1.346 MB / 412.9 MB, free: 7.66 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.606e-06/0.2176, allocations: 4 kB / 412.9 MB, free: 7.656 MB / 282.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.0003414/0.2179, allocations: 358.2 kB / 413.2 MB, free: 7.262 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.218, allocations: 12.03 kB / 413.3 MB, free: 7.25 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003636/0.2183, allocations: 51.86 kB / 413.3 MB, free: 7.199 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/0.2185, allocations: 182.8 kB / 413.5 MB, free: 6.98 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.761e-05/0.2185, allocations: 4 kB / 413.5 MB, free: 6.977 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.39e-05/0.2185, allocations: 4 kB / 413.5 MB, free: 6.973 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001218/0.2187, allocations: 32 kB / 413.5 MB, free: 6.941 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001202/0.2188, allocations: 60.62 kB / 413.6 MB, free: 6.879 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.2188, allocations: 3.906 kB / 413.6 MB, free: 6.875 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.2188, allocations: 4 kB / 413.6 MB, free: 6.871 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.2189, allocations: 0 / 413.6 MB, free: 6.871 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006319/0.2195, allocations: 325.2 kB / 413.9 MB, free: 6.516 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.07e-05/0.2196, allocations: 42.58 kB / 413.9 MB, free: 6.465 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.317e-05/0.2196, allocations: 16.98 kB / 414 MB, free: 6.445 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.2197, allocations: 4 kB / 414 MB, free: 6.441 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/0.2197, allocations: 38.45 kB / 414 MB, free: 6.395 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.713e-06/0.2197, allocations: 4 kB / 414 MB, free: 6.391 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001965/0.2199, allocations: 65.62 kB / 414.1 MB, free: 6.32 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.38e-05/0.2199, allocations: 51.41 kB / 414.1 MB, free: 6.258 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.744e-05/0.22, allocations: 103.3 kB / 414.2 MB, free: 6.152 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.22, allocations: 25.7 kB / 414.2 MB, free: 6.121 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.867e-05/0.2201, allocations: 95.97 kB / 414.3 MB, free: 6.023 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.433e-05/0.2201, allocations: 11.81 kB / 414.4 MB, free: 6.012 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.3e-06/0.2201, allocations: 0 / 414.4 MB, free: 6.012 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.229e-05/0.2202, allocations: 326.8 kB / 414.7 MB, free: 5.684 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.074e-05/0.2203, allocations: 18.41 kB / 414.7 MB, free: 5.668 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.011e-05/0.2203, allocations: 16.84 kB / 414.7 MB, free: 5.652 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.584e-05/0.2203, allocations: 12 kB / 414.7 MB, free: 5.641 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.592e-06/0.2203, allocations: 0 / 414.7 MB, free: 5.641 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001189/0.2205, allocations: 65.67 kB / 414.8 MB, free: 5.57 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.2205, allocations: 7.281 kB / 414.8 MB, free: 5.566 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.2205, allocations: 3.906 kB / 414.8 MB, free: 5.562 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.2205, allocations: 0 / 414.8 MB, free: 5.562 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001685/0.2207, allocations: 31.92 kB / 414.8 MB, free: 5.531 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.2207, allocations: 0 / 414.8 MB, free: 5.531 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.956e-05/0.2208, allocations: 21.61 kB / 414.8 MB, free: 5.512 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.2208, allocations: 0 / 414.8 MB, free: 5.512 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * 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.3e-05/0.2209, allocations: 105 kB / 414.9 MB, free: 5.402 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.024e-05/0.2209, allocations: 7.906 kB / 415 MB, free: 5.395 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001731/0.2211, allocations: 81.72 kB / 415 MB, free: 5.309 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.2211, allocations: 3.984 kB / 415 MB, free: 5.305 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.2211, allocations: 320 / 415 MB, free: 5.305 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.2211, allocations: 3.906 kB / 415 MB, free: 5.301 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001647/0.2213, allocations: 166.2 kB / 415.2 MB, free: 5.102 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.2213, allocations: 0 / 415.2 MB, free: 5.102 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001333/0.2215, allocations: 27.92 kB / 415.2 MB, free: 5.074 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.2215, allocations: 0 / 415.2 MB, free: 5.074 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.2215, allocations: 3.984 kB / 415.2 MB, free: 5.07 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.2215, allocations: 4 kB / 415.2 MB, free: 5.066 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.2215, allocations: 0 / 415.2 MB, free: 5.066 MB / 282.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000159/0.2217, allocations: 168.8 kB / 415.4 MB, free: 4.887 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.375e-05/0.2217, allocations: 81.11 kB / 415.5 MB, free: 4.789 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.972e-05/0.2217, allocations: 4 kB / 415.5 MB, free: 4.785 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000126/0.2219, allocations: 17.3 kB / 415.5 MB, free: 4.77 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.161e-05/0.2219, allocations: 7.984 kB / 415.5 MB, free: 4.762 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.682e-06/0.2219, allocations: 0 / 415.5 MB, free: 4.762 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.164e-05/0.222, allocations: 87.28 kB / 415.6 MB, free: 4.676 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002242/0.2222, allocations: 12 kB / 415.6 MB, free: 4.664 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.0001009/0.2223, allocations: 103.2 kB / 415.7 MB, free: 4.551 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001068/0.2224, allocations: 35.94 kB / 415.7 MB, free: 4.516 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2224, allocations: 4 kB / 415.8 MB, free: 4.512 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.506e-05/0.2225, allocations: 23.98 kB / 415.8 MB, free: 4.488 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001636/0.2227, allocations: 4 kB / 415.8 MB, free: 4.484 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004083/0.2231, allocations: 137.2 kB / 415.9 MB, free: 4.332 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002578/0.2233, allocations: 0.7075 MB / 416.6 MB, free: 3.598 MB / 282.7 MB Notification: Performance of SimCode: time 2.51e-07/0.2233, allocations: 0 / 416.6 MB, free: 3.598 MB / 282.7 MB Notification: Performance of Templates: time 0.002713/0.2261, allocations: 0.8466 MB / 417.5 MB, free: 2.766 MB / 282.7 MB make -j1 -f Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Densities.makefile (rm -f Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Densities.pipe ; mkfifo Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Densities.pipe ; head -c 1048576 < Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Densities.pipe >> ../files/Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Densities.sim & ./Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Densities -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Densities.pipe 2>&1)