Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.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.Distributions,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Distributions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.Distributions,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Distributions",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.001284/0.001284, allocations: 174.9 kB / 8.473 MB, free: 1.875 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.112/1.112, allocations: 205.2 MB / 214.1 MB, free: 5.504 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000833/0.000833, allocations: 91.25 kB / 262.1 MB, free: 5.555 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1553/0.1561, allocations: 52.96 MB / 315.1 MB, free: 41.45 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06915/0.2253, allocations: 47.57 MB / 362.6 MB, free: 9.926 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2116/0.437, allocations: 77.42 MB / 440 MB, free: 10.63 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002085/0.4372, allocations: 67.41 kB / 440.1 MB, free: 10.63 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.02231/0.4595, allocations: 7.648 MB / 447.8 MB, free: 9.039 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.4596, allocations: 7.625 kB / 447.8 MB, free: 9.039 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002556/0.4599, allocations: 31.14 kB / 447.8 MB, free: 9.027 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/0.46, allocations: 202.3 kB / 448 MB, free: 8.809 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.061e-05/0.4601, allocations: 7.75 kB / 448 MB, free: 8.805 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.649e-05/0.4601, allocations: 3.906 kB / 448 MB, free: 8.805 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001027/0.4602, allocations: 45.17 kB / 448.1 MB, free: 8.797 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001585/0.4604, allocations: 108.7 kB / 448.2 MB, free: 8.723 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.4604, allocations: 3.969 kB / 448.2 MB, free: 8.723 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.4604, allocations: 0 / 448.2 MB, free: 8.723 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.4604, allocations: 0 / 448.2 MB, free: 8.723 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005226/0.461, allocations: 0.5116 MB / 448.7 MB, free: 8.262 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001875/0.4612, allocations: 130.6 kB / 448.8 MB, free: 8.172 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.501e-05/0.4612, allocations: 47.86 kB / 448.8 MB, free: 8.148 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.233e-05/0.4613, allocations: 3.938 kB / 448.8 MB, free: 8.145 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001408/0.4614, allocations: 136.1 kB / 449 MB, free: 8.051 MB / 314.7 MB Notification: Performance of pre-optimization done (n=17): time 1.452e-06/0.4614, allocations: 0 / 449 MB, free: 8.051 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006851/0.4621, allocations: 169.8 kB / 449.1 MB, free: 7.984 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.819e-05/0.4622, allocations: 118.4 kB / 449.3 MB, free: 7.855 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.4623, allocations: 174.3 kB / 449.4 MB, free: 7.746 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.352e-05/0.4624, allocations: 44.59 kB / 449.5 MB, free: 7.711 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.459e-05/0.4624, allocations: 98.88 kB / 449.6 MB, free: 7.617 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.392e-05/0.4624, allocations: 38.52 kB / 449.6 MB, free: 7.594 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.436e-05/0.4625, allocations: 3.875 kB / 449.6 MB, free: 7.594 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.691e-05/0.4625, allocations: 330 kB / 449.9 MB, free: 7.273 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001264/0.4626, allocations: 79.86 kB / 450 MB, free: 7.266 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001355/0.4628, allocations: 116.2 kB / 450.1 MB, free: 7.219 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006264/0.4634, allocations: 132.7 kB / 450.3 MB, free: 7.184 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.4634, allocations: 0.75 kB / 450.3 MB, free: 7.184 MB / 314.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0008554/0.4643, allocations: 309.2 kB / 450.6 MB, free: 7.082 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.4643, allocations: 7.688 kB / 450.6 MB, free: 7.082 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-05/0.4643, allocations: 3.984 kB / 450.6 MB, free: 7.078 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.4644, allocations: 3.844 kB / 450.6 MB, free: 7.078 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001653/0.4645, allocations: 31.27 kB / 450.6 MB, free: 7.07 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.4645, allocations: 0 / 450.6 MB, free: 7.07 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.4647, allocations: 27.48 kB / 450.6 MB, free: 7.051 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.133e-05/0.4647, allocations: 22.78 kB / 450.7 MB, free: 7.043 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition2,$whenCondition1,n,$PRE.truncatedNormalNoise.state[1],truncatedNormalNoise.state[1],$PRE.truncatedNormalNoise.state[2],truncatedNormalNoise.state[2],$PRE.truncatedNormalNoise.state[3],truncatedNormalNoise.state[3],$PRE.truncatedNormalNoise.state[4],truncatedNormalNoise.state[4],$PRE.truncatedNormalNoise.r,truncatedNormalNoise.r,$PRE.truncatedNormalNoise.r_raw,truncatedNormalNoise.r_raw,$PRE.uniformNoise.state[1],uniformNoise.state[1],$PRE.uniformNoise.state[2],uniformNoise.state[2],$PRE.uniformNoise.state[3],uniformNoise.state[3],$PRE.uniformNoise.state[4],uniformNoise.state[4],$PRE.uniformNoise.r,uniformNoise.r,$PRE.uniformNoise.r_raw,uniformNoise.r_raw,globalSeed.id_impure,uniformNoise.localSeed,uniformNoise.actualGlobalSeed,truncatedNormalNoise.localSeed,truncatedNormalNoise.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 25 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.284e-05/0.4648, allocations: 123.9 kB / 450.8 MB, free: 6.93 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.783e-05/0.4648, allocations: 15.64 kB / 450.8 MB, free: 6.918 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.345e-05/0.4649, allocations: 12.12 kB / 450.8 MB, free: 6.918 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.4649, allocations: 7.75 kB / 450.8 MB, free: 6.914 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.4649, allocations: 0 / 450.8 MB, free: 6.914 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.4649, allocations: 0 / 450.8 MB, free: 6.914 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001451/0.465, allocations: 200.5 kB / 451 MB, free: 6.723 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.4651, allocations: 0 / 451 MB, free: 6.723 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.245e-05/0.4651, allocations: 15.52 kB / 451 MB, free: 6.719 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.4651, allocations: 0 / 451 MB, free: 6.719 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.4652, allocations: 7.281 kB / 451 MB, free: 6.719 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.4652, allocations: 3.984 kB / 451 MB, free: 6.715 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.4652, allocations: 0 / 451 MB, free: 6.715 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005741/0.4658, allocations: 236.4 kB / 451.3 MB, free: 6.562 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007577/0.4665, allocations: 0.7252 MB / 452 MB, free: 6.023 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.393e-05/0.4666, allocations: 92.77 kB / 452.1 MB, free: 5.918 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.624e-05/0.4666, allocations: 15.17 kB / 452.1 MB, free: 5.914 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.819e-05/0.4667, allocations: 11.83 kB / 452.1 MB, free: 5.906 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.782e-05/0.4668, allocations: 19.45 kB / 452.1 MB, free: 5.898 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/0.4668, allocations: 7.859 kB / 452.1 MB, free: 5.895 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.107e-05/0.4669, allocations: 126.7 kB / 452.3 MB, free: 5.816 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001321/0.4682, allocations: 172.8 kB / 452.4 MB, free: 5.758 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition2,uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],uniformNoise.r,uniformNoise.r_raw,$whenCondition1,truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],truncatedNormalNoise.r,truncatedNormalNoise.r_raw,n) * Number of discrete states: 8 (truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001154/0.4694, allocations: 414.5 kB / 452.8 MB, free: 5.516 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003114/0.4697, allocations: 228.8 kB / 453.1 MB, free: 5.434 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.4697, allocations: 0 / 453.1 MB, free: 5.434 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.333e-05/0.4698, allocations: 52.98 kB / 453.1 MB, free: 5.43 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001329/0.47, allocations: 11.97 kB / 453.1 MB, free: 5.422 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003878/0.4704, allocations: 199.1 kB / 453.3 MB, free: 5.289 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001584/0.4705, allocations: 0.7452 MB / 454.1 MB, free: 4.559 MB / 314.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4705, allocations: 0 / 454.1 MB, free: 4.559 MB / 314.7 MB (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Distributions_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Distributions.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe 2>&1)