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: "" <> buildModelFMU(Modelica_Noise.Blocks.Examples.NoiseExamples.Densities,fileNamePrefix="Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Densities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Noise.Blocks.Examples.NoiseExamples.Densities,fileNamePrefix="Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Densities",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.003061/0.00306, allocations: 179.6 kB / 7.458 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 1.225/1.225, allocations: 170.6 MB / 178.4 MB, free: 15.38 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.00162/0.00162, allocations: 104.4 kB / 217.7 MB, free: 8.156 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.018/0.018, allocations: 3.039 MB / 259.8 MB, free: 28.6 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1062/0.1242, allocations: 45.52 MB / 305.4 MB, free: 15.01 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2721/0.3963, allocations: 39.38 MB / 344.8 MB, free: 38.34 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09457/0.491, allocations: 66.81 MB / 411.6 MB, free: 8.969 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003706/0.4914, allocations: 75.95 kB / 411.6 MB, free: 8.895 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.005614/0.497, allocations: 1.7 MB / 413.3 MB, free: 7.18 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.669e-05/0.4971, allocations: 8 kB / 413.4 MB, free: 7.172 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004152/0.4975, allocations: 59.84 kB / 413.4 MB, free: 7.113 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000175/0.4977, allocations: 170.9 kB / 413.6 MB, free: 6.906 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.553e-05/0.4978, allocations: 0 / 413.6 MB, free: 6.906 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.908e-05/0.4978, allocations: 7.938 kB / 413.6 MB, free: 6.898 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000137/0.4979, allocations: 35.98 kB / 413.6 MB, free: 6.863 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.4981, allocations: 57.67 kB / 413.7 MB, free: 6.801 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.4981, allocations: 7.891 kB / 413.7 MB, free: 6.793 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.903e-05/0.4981, allocations: 0.5 kB / 413.7 MB, free: 6.793 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.4981, allocations: 2.844 kB / 413.7 MB, free: 6.793 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007366/0.4989, allocations: 321.2 kB / 414 MB, free: 6.441 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001167/0.499, allocations: 54.56 kB / 414.1 MB, free: 6.379 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.273e-05/0.4991, allocations: 24.98 kB / 414.1 MB, free: 6.352 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.4991, allocations: 0 / 414.1 MB, free: 6.352 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.4992, allocations: 38.47 kB / 414.1 MB, free: 6.305 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 8.62e-07/0.4992, allocations: 0 / 414.1 MB, free: 6.305 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.000237/0.4994, allocations: 61.69 kB / 414.2 MB, free: 6.238 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.287e-05/0.4995, allocations: 57.94 kB / 414.2 MB, free: 6.172 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.4996, allocations: 111.3 kB / 414.3 MB, free: 6.059 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.157e-05/0.4996, allocations: 25.7 kB / 414.4 MB, free: 6.027 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.244e-05/0.4997, allocations: 91.98 kB / 414.5 MB, free: 5.934 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.715e-05/0.4997, allocations: 15.8 kB / 414.5 MB, free: 5.918 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.631e-06/0.4997, allocations: 0 / 414.5 MB, free: 5.918 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.4999, allocations: 318.8 kB / 414.8 MB, free: 5.598 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.22e-05/0.4999, allocations: 14.62 kB / 414.8 MB, free: 5.586 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.845e-05/0.4999, allocations: 16 kB / 414.8 MB, free: 5.57 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.364e-05/0.5, allocations: 15.98 kB / 414.8 MB, free: 5.555 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.5, allocations: 4 kB / 414.8 MB, free: 5.551 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001097/0.5001, allocations: 57.8 kB / 414.9 MB, free: 5.488 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.5001, allocations: 11.22 kB / 414.9 MB, free: 5.48 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.5001, allocations: 3.906 kB / 414.9 MB, free: 5.477 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.5002, allocations: 0 / 414.9 MB, free: 5.477 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.5003, allocations: 23.98 kB / 414.9 MB, free: 5.453 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.5003, allocations: 7.984 kB / 414.9 MB, free: 5.445 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.034e-05/0.5004, allocations: 19.88 kB / 415 MB, free: 5.426 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.5004, allocations: 7.984 kB / 415 MB, free: 5.418 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.338e-05/0.5005, allocations: 101 kB / 415.1 MB, free: 5.312 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.155e-05/0.5005, allocations: 7.906 kB / 415.1 MB, free: 5.305 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001817/0.5007, allocations: 73.73 kB / 415.1 MB, free: 5.227 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.5007, allocations: 4 kB / 415.1 MB, free: 5.223 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.5008, allocations: 0 / 415.1 MB, free: 5.223 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.5008, allocations: 3.906 kB / 415.1 MB, free: 5.219 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001655/0.5009, allocations: 162.2 kB / 415.3 MB, free: 5.023 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.501, allocations: 0 / 415.3 MB, free: 5.023 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001318/0.5011, allocations: 23.98 kB / 415.3 MB, free: 5 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.5011, allocations: 4 kB / 415.3 MB, free: 4.996 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.5011, allocations: 320 / 415.3 MB, free: 4.996 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.5011, allocations: 3.938 kB / 415.3 MB, free: 4.992 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.5011, allocations: 8 kB / 415.3 MB, free: 4.984 MB / 282.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001704/0.5013, allocations: 171.3 kB / 415.5 MB, free: 4.801 MB / 282.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003939/0.5017, allocations: 0.5311 MB / 416 MB, free: 4.25 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.689e-05/0.5018, allocations: 85.02 kB / 416.1 MB, free: 4.148 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.238e-05/0.5018, allocations: 0.6562 kB / 416.1 MB, free: 4.148 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/0.5019, allocations: 15.98 kB / 416.1 MB, free: 4.133 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.943e-05/0.502, allocations: 3.984 kB / 416.1 MB, free: 4.129 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-06/0.502, allocations: 0 / 416.1 MB, free: 4.129 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.441e-05/0.5021, allocations: 95.22 kB / 416.2 MB, free: 4.035 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007812/0.5029, allocations: 12 kB / 416.3 MB, free: 4.023 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.0001327/0.503, allocations: 99.23 kB / 416.3 MB, free: 3.914 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001119/0.5031, allocations: 34.72 kB / 416.4 MB, free: 3.883 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.5031, allocations: 0 / 416.4 MB, free: 3.883 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.052e-05/0.5032, allocations: 31.92 kB / 416.4 MB, free: 3.852 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000174/0.5034, allocations: 7.844 kB / 416.4 MB, free: 3.844 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004381/0.5038, allocations: 133.6 kB / 416.6 MB, free: 3.691 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003235/0.5041, allocations: 0.7075 MB / 417.3 MB, free: 2.957 MB / 282.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5041, allocations: 0 / 417.3 MB, free: 2.957 MB / 282.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Densities_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Densities.fmu > Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Densities.pipe 2>&1)