Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") [: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.2+maint.om/package.mo): time 0.001723/0.001723, allocations: 186.7 kB / 8.135 MB, free: 2.223 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.224/1.224, allocations: 194.2 MB / 202.8 MB, free: 8.746 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001796/0.001796, allocations: 115.6 kB / 247.7 MB, free: 6.254 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 7.103e-06/7.123e-06, allocations: 4 kB / 297.6 MB, free: 7.988 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06921/0.06923, allocations: 44.48 MB / 342 MB, free: 11.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1908/0.26, allocations: 75.5 MB / 417.5 MB, free: 19.85 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001743/0.2603, allocations: 65.78 kB / 417.6 MB, free: 19.82 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.02353/0.2838, allocations: 9.216 MB / 426.8 MB, free: 12.4 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.092e-05/0.2839, allocations: 8 kB / 426.8 MB, free: 12.39 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.0009739/0.2848, allocations: 0.728 MB / 427.6 MB, free: 11.65 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.2849, allocations: 8.031 kB / 427.6 MB, free: 11.64 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001122/0.285, allocations: 63.33 kB / 427.6 MB, free: 11.58 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004842/0.2855, allocations: 390.6 kB / 428 MB, free: 11.21 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.341e-05/0.2856, allocations: 48.77 kB / 428.1 MB, free: 11.15 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.769e-05/0.2856, allocations: 19.94 kB / 428.1 MB, free: 11.13 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004474/0.2861, allocations: 259.4 kB / 428.3 MB, free: 10.97 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000482/0.2866, allocations: 395.2 kB / 428.7 MB, free: 10.62 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.2866, allocations: 3.906 kB / 428.7 MB, free: 10.62 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.457e-05/0.2867, allocations: 0 / 428.7 MB, free: 10.62 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.2867, allocations: 8 kB / 428.7 MB, free: 10.61 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0018/0.2885, allocations: 1.192 MB / 429.9 MB, free: 9.625 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003375/0.2888, allocations: 224.1 kB / 430.1 MB, free: 9.48 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002526/0.2891, allocations: 146.5 kB / 430.3 MB, free: 9.391 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.389e-05/0.2891, allocations: 4 kB / 430.3 MB, free: 9.387 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.654e-05/0.2892, allocations: 44.67 kB / 430.3 MB, free: 9.34 MB / 314.7 MB Notification: Performance of pre-optimization done (n=36): time 1.664e-06/0.2892, allocations: 0.875 kB / 430.3 MB, free: 9.34 MB / 314.7 MB Notification: Performance of matching and sorting (n=36): time 0.0006935/0.2899, allocations: 356.5 kB / 430.7 MB, free: 9.066 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.766e-05/0.2899, allocations: 444.3 kB / 431.1 MB, free: 8.531 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000323/0.2903, allocations: 345.8 kB / 431.5 MB, free: 8.262 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.984e-05/0.2903, allocations: 25.7 kB / 431.5 MB, free: 8.23 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.297e-05/0.2904, allocations: 172.7 kB / 431.7 MB, free: 8.078 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.177e-05/0.2905, allocations: 123.3 kB / 431.8 MB, free: 7.969 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.996e-05/0.2905, allocations: 0 / 431.8 MB, free: 7.969 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.937e-05/0.2906, allocations: 353.7 kB / 432.1 MB, free: 7.633 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001719/0.2907, allocations: 109.3 kB / 432.2 MB, free: 7.57 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002273/0.291, allocations: 228.4 kB / 432.4 MB, free: 7.355 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001918/0.2912, allocations: 121.3 kB / 432.6 MB, free: 7.281 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2912, allocations: 0 / 432.6 MB, free: 7.281 MB / 314.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006224/0.2918, allocations: 385.8 kB / 432.9 MB, free: 6.984 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.2918, allocations: 8.031 kB / 432.9 MB, free: 6.977 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.2918, allocations: 1.125 kB / 432.9 MB, free: 6.977 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002319/0.2921, allocations: 55.06 kB / 433 MB, free: 6.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004899/0.2926, allocations: 98.94 kB / 433.1 MB, free: 6.836 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00161/0.2942, allocations: 2.612 MB / 435.7 MB, free: 4.129 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003739/0.2946, allocations: 59.7 kB / 435.8 MB, free: 4.07 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.349e-05/0.2946, allocations: 11.19 kB / 435.8 MB, free: 4.062 MB / 314.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient2.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pipe.flowPort_a.h:VARIABLE(flow=false unit = "J/kg" ) type: Real ambient1.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001348/0.2948, allocations: 116.9 kB / 435.9 MB, free: 3.941 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.91e-05/0.2949, allocations: 47.44 kB / 435.9 MB, free: 3.895 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.183e-05/0.295, allocations: 45.17 kB / 436 MB, free: 3.871 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.295, allocations: 0 / 436 MB, free: 3.871 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.295, allocations: 8.781 kB / 436 MB, free: 3.867 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004414/0.2954, allocations: 0.6532 MB / 436.6 MB, free: 3.18 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00105/0.2965, allocations: 0.8915 MB / 437.5 MB, free: 2.441 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.2965, allocations: 0 / 437.5 MB, free: 2.441 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005405/0.297, allocations: 99 kB / 437.6 MB, free: 2.348 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.2971, allocations: 7.984 kB / 437.6 MB, free: 2.34 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.537e-05/0.2971, allocations: 0 / 437.6 MB, free: 2.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.2971, allocations: 0 / 437.6 MB, free: 2.34 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.2971, allocations: 0 / 437.6 MB, free: 2.34 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006411/0.2978, allocations: 0.5439 MB / 438.2 MB, free: 1.926 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.608e-05/0.2978, allocations: 127.5 kB / 438.3 MB, free: 1.789 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.533e-05/0.2979, allocations: 0 / 438.3 MB, free: 1.789 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003547/0.2983, allocations: 39.94 kB / 438.4 MB, free: 1.75 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.477e-05/0.2984, allocations: 19.16 kB / 438.4 MB, free: 1.734 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.312e-05/0.2984, allocations: 7.875 kB / 438.4 MB, free: 1.73 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0002242/0.2986, allocations: 267.8 kB / 438.6 MB, free: 1.531 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004166/0.299, allocations: 138.3 kB / 438.8 MB, free: 1.398 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 36 * 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.0001299/0.2992, allocations: 107.2 kB / 438.9 MB, free: 1.285 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006444/0.2998, allocations: 0.499 MB / 439.4 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.2998, allocations: 4 kB / 439.4 MB, free: 0.8516 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001908/0.3, allocations: 145.8 kB / 439.5 MB, free: 0.7539 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005017/0.3006, allocations: 108.5 kB / 439.6 MB, free: 0.6719 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.3018, allocations: 0.6345 MB / 440.3 MB, free: 80 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005075/0.3024, allocations: 0.8844 MB / 441.1 MB, free: 15.17 MB / 330.7 MB Notification: Performance of SimCode: time 3.41e-07/0.3024, allocations: 0 / 441.1 MB, free: 15.17 MB / 330.7 MB Notification: Performance of Templates: time 0.01272/0.3151, allocations: 7.021 MB / 448.2 MB, free: 8.227 MB / 330.7 MB make -j1 -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile (rm -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1)