Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.Densities,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_Densities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.Densities,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_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 trunk/package.mo): time 0.001083/0.001084, allocations: 195.1 kB / 8.537 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.265/1.265, allocations: 225.5 MB / 234.4 MB, free: 3.484 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001004/0.001004, allocations: 99.14 kB / 286.3 MB, free: 5.238 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1235/0.1246, allocations: 56.89 MB / 343.2 MB, free: 8.68 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09944/0.224, allocations: 51.48 MB / 394.7 MB, free: 5.16 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2703/0.4944, allocations: 77.02 MB / 471.7 MB, free: 14.36 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001862/0.4946, allocations: 70.94 kB / 471.8 MB, free: 14.33 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.005665/0.5003, allocations: 1.844 MB / 473.6 MB, free: 13.14 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/0.5004, allocations: 12 kB / 473.6 MB, free: 13.13 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004529/0.5009, allocations: 64.11 kB / 473.7 MB, free: 13.09 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.501, allocations: 167.7 kB / 473.9 MB, free: 12.88 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.302e-05/0.501, allocations: 4 kB / 473.9 MB, free: 12.88 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.727e-05/0.5011, allocations: 11.98 kB / 473.9 MB, free: 12.87 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001385/0.5012, allocations: 37.52 kB / 473.9 MB, free: 12.85 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/0.5013, allocations: 63.88 kB / 474 MB, free: 12.8 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-06/0.5014, allocations: 3.938 kB / 474 MB, free: 12.79 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.5014, allocations: 0 / 474 MB, free: 12.79 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.5014, allocations: 0 / 474 MB, free: 12.79 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000612/0.502, allocations: 345 kB / 474.3 MB, free: 12.48 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.882e-05/0.5021, allocations: 56.92 kB / 474.4 MB, free: 12.43 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.766e-05/0.5022, allocations: 19.92 kB / 474.4 MB, free: 12.41 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.5022, allocations: 0 / 474.4 MB, free: 12.41 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.622e-05/0.5022, allocations: 33.89 kB / 474.4 MB, free: 12.38 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.5022, allocations: 0 / 474.4 MB, free: 12.38 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002076/0.5024, allocations: 65.61 kB / 474.5 MB, free: 12.32 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.858e-05/0.5025, allocations: 55.41 kB / 474.5 MB, free: 12.25 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.709e-05/0.5025, allocations: 99.66 kB / 474.6 MB, free: 12.16 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.5026, allocations: 29.7 kB / 474.7 MB, free: 12.12 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.649e-05/0.5026, allocations: 102.6 kB / 474.8 MB, free: 12.03 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.099e-05/0.5026, allocations: 14.94 kB / 474.8 MB, free: 12.02 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.59e-06/0.5026, allocations: 0 / 474.8 MB, free: 12.02 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.188e-05/0.5027, allocations: 318 kB / 475.1 MB, free: 11.7 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.185e-05/0.5027, allocations: 15.5 kB / 475.1 MB, free: 11.69 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.704e-05/0.5028, allocations: 11.69 kB / 475.1 MB, free: 11.68 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.153e-05/0.5028, allocations: 7.875 kB / 475.1 MB, free: 11.68 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.5028, allocations: 0 / 475.1 MB, free: 11.68 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001081/0.5029, allocations: 70.55 kB / 475.2 MB, free: 11.62 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.5029, allocations: 8 kB / 475.2 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.5029, allocations: 0 / 475.2 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.503, allocations: 0 / 475.2 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000157/0.5031, allocations: 26.53 kB / 475.2 MB, free: 11.6 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.5031, allocations: 0 / 475.2 MB, free: 11.6 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.31e-05/0.5032, allocations: 23.09 kB / 475.3 MB, free: 11.58 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.5033, allocations: 4 kB / 475.3 MB, free: 11.57 MB / 346.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 5.251e-05/0.5033, allocations: 101 kB / 475.4 MB, free: 11.47 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.123e-05/0.5033, allocations: 15.47 kB / 475.4 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001627/0.5035, allocations: 73.47 kB / 475.5 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.5035, allocations: 4 kB / 475.5 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.5035, allocations: 0 / 475.5 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.5035, allocations: 4 kB / 475.5 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001351/0.5037, allocations: 165.8 kB / 475.6 MB, free: 11.22 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.5037, allocations: 0 / 475.6 MB, free: 11.22 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001275/0.5038, allocations: 26.94 kB / 475.6 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.5038, allocations: 0 / 475.6 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.5039, allocations: 0 / 475.6 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.5039, allocations: 4 kB / 475.7 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.5039, allocations: 0 / 475.7 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001632/0.504, allocations: 172.8 kB / 475.8 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002713/0.5043, allocations: 0.5796 MB / 476.4 MB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.186e-05/0.5044, allocations: 90.25 kB / 476.5 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.049e-05/0.5044, allocations: 3.375 kB / 476.5 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001258/0.5045, allocations: 15.47 kB / 476.5 MB, free: 10.37 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.583e-05/0.5046, allocations: 7.234 kB / 476.5 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.754e-06/0.5046, allocations: 0 / 476.5 MB, free: 10.36 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.02e-05/0.5046, allocations: 94.19 kB / 476.6 MB, free: 10.28 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000799/0.5054, allocations: 8 kB / 476.6 MB, free: 10.27 MB / 346.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.0001071/0.5055, allocations: 110.9 kB / 476.7 MB, free: 10.16 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001089/0.5056, allocations: 33.59 kB / 476.8 MB, free: 10.14 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.5056, allocations: 0 / 476.8 MB, free: 10.14 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.988e-05/0.5057, allocations: 23.12 kB / 476.8 MB, free: 10.12 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001682/0.5059, allocations: 5.375 kB / 476.8 MB, free: 10.12 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003975/0.5063, allocations: 148.4 kB / 476.9 MB, free: 9.98 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001691/0.5065, allocations: 0.7126 MB / 477.6 MB, free: 9.254 MB / 346.7 MB Notification: Performance of SimCode: time 2.91e-07/0.5065, allocations: 0 / 477.6 MB, free: 9.254 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_Noise_Densities_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_Noise_Densities.fmu > Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities_res.mat does not exist to compare? outputFormat=mat