Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") translateModel(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") [: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/Modelica 3.1.0+maint.om/package.mo): time 0.8462/0.8462, allocations: 110.8 MB / 118 MB, free: 14.58 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.002295/0.002295, allocations: 160 kB / 143.7 MB, free: 4.898 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 6.462e-06/6.612e-06, allocations: 0 / 173.4 MB, free: 23.07 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05408/0.05411, allocations: 25.17 MB / 198.6 MB, free: 13.96 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.215/0.2692, allocations: 35.77 MB / 234.4 MB, free: 4.32 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003426/0.2697, allocations: 65.55 kB / 234.5 MB, free: 4.32 MB / 170.7 MB Notification: Performance of FrontEnd: time 0.01046/0.2801, allocations: 3.609 MB / 238.1 MB, free: 4.047 MB / 170.7 MB Notification: Performance of Transformations before backend: time 1.587e-05/0.2802, allocations: 3.875 kB / 238.1 MB, free: 4.047 MB / 170.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0007202/0.2809, allocations: 0.4937 MB / 238.6 MB, free: 3.648 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.281, allocations: 11.72 kB / 238.6 MB, free: 3.648 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.071e-05/0.2811, allocations: 27.22 kB / 238.6 MB, free: 3.633 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002688/0.2813, allocations: 219.3 kB / 238.8 MB, free: 3.422 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.2814, allocations: 7.781 kB / 238.8 MB, free: 3.422 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.417e-05/0.2814, allocations: 11.62 kB / 238.8 MB, free: 3.422 MB / 170.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002514/0.2817, allocations: 123.7 kB / 239 MB, free: 3.418 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002989/0.282, allocations: 175.5 kB / 239.1 MB, free: 3.363 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.282, allocations: 3.938 kB / 239.1 MB, free: 3.359 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.375e-05/0.282, allocations: 5.141 kB / 239.1 MB, free: 3.359 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.178e-06/0.282, allocations: 7.781 kB / 239.1 MB, free: 3.355 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001133/0.2832, allocations: 0.7696 MB / 239.9 MB, free: 2.918 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002458/0.2834, allocations: 125.2 kB / 240 MB, free: 2.891 MB / 170.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.097e-05/0.2835, allocations: 58.5 kB / 240.1 MB, free: 2.883 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001113/0.2837, allocations: 85.44 kB / 240.2 MB, free: 2.789 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/0.2837, allocations: 34.64 kB / 240.2 MB, free: 2.75 MB / 170.7 MB Notification: Performance of pre-optimization done (n=16): time 1.613e-06/0.2837, allocations: 0 / 240.2 MB, free: 2.75 MB / 170.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004199/0.2841, allocations: 149.5 kB / 240.4 MB, free: 2.695 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.08e-05/0.2841, allocations: 55.41 kB / 240.4 MB, free: 2.629 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.864e-05/0.2843, allocations: 132.5 kB / 240.5 MB, free: 2.539 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.2843, allocations: 25.7 kB / 240.6 MB, free: 2.508 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.348e-05/0.2843, allocations: 140.9 kB / 240.7 MB, free: 2.391 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.075e-05/0.2844, allocations: 54.91 kB / 240.8 MB, free: 2.355 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.404e-06/0.2844, allocations: 0 / 240.8 MB, free: 2.355 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 7.113e-05/0.2845, allocations: 321.4 kB / 241.1 MB, free: 2.043 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.618e-05/0.2846, allocations: 38.91 kB / 241.1 MB, free: 2.043 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.625e-05/0.2846, allocations: 67.97 kB / 241.2 MB, free: 2.008 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.607e-05/0.2847, allocations: 37.03 kB / 241.2 MB, free: 2.008 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.2847, allocations: 3.844 kB / 241.2 MB, free: 2.008 MB / 170.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000294/0.285, allocations: 175.5 kB / 241.4 MB, free: 1.949 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.2851, allocations: 7.172 kB / 241.4 MB, free: 1.949 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.2851, allocations: 4.094 kB / 241.4 MB, free: 1.945 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001808/0.2853, allocations: 33.62 kB / 241.4 MB, free: 1.938 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001556/0.2854, allocations: 29.78 kB / 241.5 MB, free: 1.938 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009261/0.2864, allocations: 1.302 MB / 242.8 MB, free: 0.7227 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000197/0.2866, allocations: 42.23 kB / 242.8 MB, free: 0.7109 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.723e-05/0.2866, allocations: 11.67 kB / 242.8 MB, free: 0.707 MB / 170.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: 2 ($PRE.onOffController.y,onOffController.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.398e-05/0.2867, allocations: 104.9 kB / 242.9 MB, free: 0.6016 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.846e-05/0.2867, allocations: 16.25 kB / 242.9 MB, free: 0.5898 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003261/0.2871, allocations: 164.8 kB / 243.1 MB, free: 0.5312 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.2871, allocations: 1.172 kB / 243.1 MB, free: 0.5312 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.2871, allocations: 3.688 kB / 243.1 MB, free: 0.5312 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.2871, allocations: 1.031 kB / 243.1 MB, free: 0.5312 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005047/0.2876, allocations: 453.2 kB / 243.5 MB, free: 252 kB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.2876, allocations: 0 / 243.5 MB, free: 252 kB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001637/0.2878, allocations: 36.02 kB / 243.6 MB, free: 244 kB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.903e-05/0.2879, allocations: 28.23 kB / 243.6 MB, free: 236 kB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.2879, allocations: 0.7031 kB / 243.6 MB, free: 236 kB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009792/0.2889, allocations: 1.299 MB / 244.9 MB, free: 15.01 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.2889, allocations: 3.844 kB / 244.9 MB, free: 15.01 MB / 186.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004108/0.2893, allocations: 300.5 kB / 245.2 MB, free: 14.86 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.213e-05/0.2894, allocations: 108.6 kB / 245.3 MB, free: 14.75 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.516e-05/0.2895, allocations: 0.5156 kB / 245.3 MB, free: 14.75 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002271/0.2897, allocations: 30.25 kB / 245.3 MB, free: 14.75 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.859e-05/0.2898, allocations: 18.58 kB / 245.4 MB, free: 14.74 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/0.2898, allocations: 8.391 kB / 245.4 MB, free: 14.74 MB / 186.7 MB Notification: Performance of sort global known variables: time 7.342e-05/0.2899, allocations: 109.9 kB / 245.5 MB, free: 14.66 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0003313/0.2902, allocations: 59.25 kB / 245.5 MB, free: 14.65 MB / 186.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (heatCapacitor.T) * Number of discrete variables: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001637/0.2904, allocations: 101.4 kB / 245.6 MB, free: 14.56 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0003493/0.2907, allocations: 206.9 kB / 245.8 MB, free: 14.45 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.2908, allocations: 3.781 kB / 245.8 MB, free: 14.45 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001763/0.2909, allocations: 168.5 kB / 246 MB, free: 14.35 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000391/0.2913, allocations: 41.33 kB / 246 MB, free: 14.34 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006779/0.292, allocations: 279.9 kB / 246.3 MB, free: 14.19 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004041/0.2925, allocations: 0.7611 MB / 247.1 MB, free: 13.48 MB / 186.7 MB Notification: Performance of SimCode: time 2.7e-07/0.2925, allocations: 0 / 247.1 MB, free: 13.48 MB / 186.7 MB Notification: Performance of Templates: time 0.005971/0.2984, allocations: 2.36 MB / 249.4 MB, free: 12.54 MB / 186.7 MB make -j1 -f Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile (rm -f Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & ./Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1)