Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.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.HeatTransfer.Examples.ControlledTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") translateModel(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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/Complex 3.2.2+maint.om/package.mo): time 0.00102/0.00102, allocations: 188.9 kB / 8.135 MB, free: 2.203 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.078/1.078, 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.00175/0.00175, allocations: 122.7 kB / 247.7 MB, free: 6.215 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.51e-06/5.53e-06, allocations: 0 / 297.6 MB, free: 7.996 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06789/0.06791, allocations: 44.48 MB / 342 MB, free: 11.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1871/0.255, allocations: 73.18 MB / 415.2 MB, free: 21.95 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001701/0.2552, allocations: 67.78 kB / 415.3 MB, free: 21.91 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.009619/0.2648, allocations: 3.529 MB / 418.8 MB, free: 19.02 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.086e-05/0.2649, allocations: 4 kB / 418.8 MB, free: 19.01 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0006201/0.2655, allocations: 0.5047 MB / 419.3 MB, free: 18.48 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.2655, allocations: 8.031 kB / 419.3 MB, free: 18.47 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001088/0.2657, allocations: 23.72 kB / 419.4 MB, free: 18.45 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002013/0.2659, allocations: 231 kB / 419.6 MB, free: 18.2 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.2659, allocations: 8 kB / 419.6 MB, free: 18.19 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.335e-05/0.2659, allocations: 12 kB / 419.6 MB, free: 18.18 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002432/0.2662, allocations: 121.1 kB / 419.7 MB, free: 18.1 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002601/0.2664, allocations: 174.3 kB / 419.9 MB, free: 17.96 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.2665, allocations: 4 kB / 419.9 MB, free: 17.96 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.975e-05/0.2665, allocations: 0 / 419.9 MB, free: 17.96 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.2665, allocations: 11.84 kB / 419.9 MB, free: 17.95 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001048/0.2676, allocations: 0.7734 MB / 420.7 MB, free: 17.23 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002298/0.2678, allocations: 127.2 kB / 420.8 MB, free: 17.14 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.2e-05/0.2679, allocations: 61.3 kB / 420.9 MB, free: 17.09 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/0.2679, allocations: 4 kB / 420.9 MB, free: 17.09 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/0.268, allocations: 30.56 kB / 420.9 MB, free: 17.05 MB / 314.7 MB Notification: Performance of pre-optimization done (n=16): time 1.533e-06/0.268, allocations: 4 kB / 420.9 MB, free: 17.05 MB / 314.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003367/0.2683, allocations: 144.2 kB / 421 MB, free: 16.93 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.698e-05/0.2683, allocations: 59.34 kB / 421.1 MB, free: 16.86 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.154e-05/0.2684, allocations: 131 kB / 421.2 MB, free: 16.74 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.2685, allocations: 25.7 kB / 421.3 MB, free: 16.71 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.266e-05/0.2685, allocations: 146.5 kB / 421.4 MB, free: 16.57 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.146e-05/0.2685, allocations: 53.81 kB / 421.4 MB, free: 16.52 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.985e-06/0.2686, allocations: 4 kB / 421.5 MB, free: 16.52 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.773e-05/0.2686, allocations: 321.6 kB / 421.8 MB, free: 16.2 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.572e-05/0.2687, allocations: 33.5 kB / 421.8 MB, free: 16.18 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.091e-05/0.2687, allocations: 73.84 kB / 421.9 MB, free: 16.12 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.905e-05/0.2688, allocations: 39.45 kB / 421.9 MB, free: 16.09 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2688, allocations: 4 kB / 421.9 MB, free: 16.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002796/0.2691, allocations: 167.8 kB / 422.1 MB, free: 15.95 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.919e-06/0.2691, allocations: 4 kB / 422.1 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.2692, allocations: 0 / 422.1 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001558/0.2693, allocations: 35.45 kB / 422.1 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001664/0.2695, allocations: 40.56 kB / 422.2 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007787/0.2703, allocations: 1.296 MB / 423.5 MB, free: 14.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001966/0.2705, allocations: 37.92 kB / 423.5 MB, free: 14.49 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/0.2705, allocations: 11.62 kB / 423.5 MB, free: 14.48 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: 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 5.804e-05/0.2706, allocations: 108.7 kB / 423.6 MB, free: 14.37 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.397e-05/0.2706, allocations: 19.75 kB / 423.6 MB, free: 14.35 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.662e-05/0.2707, allocations: 19.55 kB / 423.6 MB, free: 14.34 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.2707, allocations: 0 / 423.6 MB, free: 14.34 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.2707, allocations: 0 / 423.6 MB, free: 14.34 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.2707, allocations: 4 kB / 423.6 MB, free: 14.34 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004543/0.2712, allocations: 446.5 kB / 424.1 MB, free: 13.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.2712, allocations: 3.984 kB / 424.1 MB, free: 13.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001701/0.2713, allocations: 33.14 kB / 424.1 MB, free: 13.88 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001046/0.2715, allocations: 27.84 kB / 424.1 MB, free: 13.86 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.2715, allocations: 4 kB / 424.2 MB, free: 13.85 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006956/0.2722, allocations: 1.304 MB / 425.5 MB, free: 12.5 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2722, allocations: 0 / 425.5 MB, free: 12.5 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003391/0.2725, allocations: 305 kB / 425.8 MB, free: 12.24 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.696e-05/0.2726, allocations: 100.9 kB / 425.9 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.561e-05/0.2727, allocations: 0 / 425.9 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002306/0.2729, allocations: 35.83 kB / 425.9 MB, free: 12.09 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.581e-05/0.2729, allocations: 11.97 kB / 425.9 MB, free: 12.08 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.273, allocations: 4 kB / 425.9 MB, free: 12.08 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.882e-05/0.273, allocations: 118.5 kB / 426 MB, free: 11.97 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003103/0.2733, allocations: 55.84 kB / 426.1 MB, free: 11.92 MB / 314.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 8.778e-05/0.2734, allocations: 97.86 kB / 426.2 MB, free: 11.82 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002845/0.2737, allocations: 207 kB / 426.4 MB, free: 11.64 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2737, allocations: 0 / 426.4 MB, free: 11.64 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001515/0.2739, allocations: 169.8 kB / 426.5 MB, free: 11.48 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002115/0.2741, allocations: 19.48 kB / 426.6 MB, free: 11.47 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000536/0.2747, allocations: 285.1 kB / 426.8 MB, free: 11.19 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001719/0.2748, allocations: 0.7542 MB / 427.6 MB, free: 10.41 MB / 314.7 MB Notification: Performance of SimCode: time 3.81e-07/0.2749, allocations: 0 / 427.6 MB, free: 10.41 MB / 314.7 MB Notification: Performance of Templates: time 0.004419/0.2793, allocations: 2.088 MB / 429.7 MB, free: 8.387 MB / 314.7 MB make -j1 -f Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile (rm -f Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & ./Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1)