Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") translateModel(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.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/Complex 3.2.1+maint.om/package.mo): time 0.004563/0.004563, allocations: 174.8 kB / 7.444 MB, free: 2.324 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.553/1.553, allocations: 170.6 MB / 178.4 MB, free: 15.38 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001792/0.001792, allocations: 116.4 kB / 217.7 MB, free: 8.148 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 8.015e-06/8.035e-06, allocations: 0 / 261.7 MB, free: 26.65 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08506/0.08509, allocations: 38.76 MB / 300.5 MB, free: 3.891 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.253/0.3382, allocations: 67.91 MB / 368.4 MB, free: 0.6055 MB / 250.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001953/0.3384, allocations: 70.41 kB / 368.5 MB, free: 0.5703 MB / 250.7 MB Notification: Performance of FrontEnd: time 0.009912/0.3484, allocations: 3.54 MB / 372 MB, free: 13.6 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.485e-05/0.3484, allocations: 8 kB / 372 MB, free: 13.59 MB / 266.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.0007355/0.3492, allocations: 0.4963 MB / 372.5 MB, free: 13.07 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.3492, allocations: 8.031 kB / 372.5 MB, free: 13.06 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001252/0.3493, allocations: 34.14 kB / 372.6 MB, free: 13.03 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003046/0.3497, allocations: 225.4 kB / 372.8 MB, free: 12.78 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.3497, allocations: 4 kB / 372.8 MB, free: 12.78 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.509e-05/0.3497, allocations: 12 kB / 372.8 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000257/0.35, allocations: 121.5 kB / 372.9 MB, free: 12.69 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003049/0.3503, allocations: 174.8 kB / 373.1 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.3503, allocations: 4 kB / 373.1 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.046e-05/0.3504, allocations: 0 / 373.1 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.3504, allocations: 11.91 kB / 373.1 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001274/0.3517, allocations: 0.7676 MB / 373.9 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002462/0.3519, allocations: 126.7 kB / 374 MB, free: 11.72 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.954e-05/0.352, allocations: 70.27 kB / 374.1 MB, free: 11.67 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.469e-05/0.352, allocations: 0 / 374.1 MB, free: 11.67 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.3521, allocations: 34.56 kB / 374.1 MB, free: 11.63 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.182e-06/0.3521, allocations: 0 / 374.1 MB, free: 11.63 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003661/0.3525, allocations: 137.8 kB / 374.2 MB, free: 11.51 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.297e-05/0.3525, allocations: 59.28 kB / 374.3 MB, free: 11.44 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.3526, allocations: 140.2 kB / 374.4 MB, free: 11.31 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/0.3527, allocations: 25.7 kB / 374.4 MB, free: 11.28 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.313e-05/0.3527, allocations: 139 kB / 374.6 MB, free: 11.15 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.177e-05/0.3528, allocations: 50.89 kB / 374.6 MB, free: 11.11 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.174e-06/0.3528, allocations: 11.88 kB / 374.6 MB, free: 11.09 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.353, allocations: 331.7 kB / 375 MB, free: 10.77 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.909e-05/0.353, allocations: 35.12 kB / 375 MB, free: 10.75 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.825e-05/0.3531, allocations: 62.56 kB / 375.1 MB, free: 10.7 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.828e-05/0.3532, allocations: 42.14 kB / 375.1 MB, free: 10.67 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3532, allocations: 4 kB / 375.1 MB, free: 10.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002969/0.3535, allocations: 164.2 kB / 375.3 MB, free: 10.52 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.3535, allocations: 8 kB / 375.3 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.3536, allocations: 0 / 375.3 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001713/0.3537, allocations: 31.47 kB / 375.3 MB, free: 10.49 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001727/0.3539, allocations: 44 kB / 375.4 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001115/0.355, allocations: 1.292 MB / 376.6 MB, free: 9.098 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001899/0.3552, allocations: 35.86 kB / 376.7 MB, free: 9.062 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.3553, allocations: 8.062 kB / 376.7 MB, free: 9.055 MB / 266.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 8.941e-05/0.3554, allocations: 112.4 kB / 376.8 MB, free: 8.941 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.031e-05/0.3554, allocations: 15.81 kB / 376.8 MB, free: 8.926 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.677e-05/0.3554, allocations: 11.19 kB / 376.8 MB, free: 8.914 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.3555, allocations: 4 kB / 376.8 MB, free: 8.91 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3555, allocations: 0 / 376.8 MB, free: 8.91 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.3555, allocations: 7.891 kB / 376.8 MB, free: 8.902 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000502/0.356, allocations: 446.1 kB / 377.3 MB, free: 8.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.356, allocations: 4 kB / 377.3 MB, free: 8.477 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001555/0.3562, allocations: 31.11 kB / 377.3 MB, free: 8.449 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.989e-05/0.3563, allocations: 32.77 kB / 377.3 MB, free: 8.418 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.3563, allocations: 3.875 kB / 377.3 MB, free: 8.418 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009051/0.3572, allocations: 1.296 MB / 378.6 MB, free: 7.066 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.3572, allocations: 0 / 378.6 MB, free: 7.066 MB / 266.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003873/0.3576, allocations: 304.4 kB / 378.9 MB, free: 6.805 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.921e-05/0.3577, allocations: 108.3 kB / 379 MB, free: 6.684 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.445e-05/0.3577, allocations: 7.609 kB / 379 MB, free: 6.68 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002178/0.358, allocations: 28.05 kB / 379.1 MB, free: 6.652 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.045e-05/0.358, allocations: 11.97 kB / 379.1 MB, free: 6.641 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.358, allocations: 4 kB / 379.1 MB, free: 6.637 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.959e-05/0.3581, allocations: 106.1 kB / 379.2 MB, free: 6.543 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003047/0.3584, allocations: 55.84 kB / 379.2 MB, free: 6.488 MB / 266.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.0001259/0.3586, allocations: 103.1 kB / 379.3 MB, free: 6.379 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003359/0.3589, allocations: 208.3 kB / 379.6 MB, free: 6.199 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3589, allocations: 0 / 379.6 MB, free: 6.199 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001757/0.3591, allocations: 166.2 kB / 379.7 MB, free: 6.047 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002198/0.3593, allocations: 22.91 kB / 379.7 MB, free: 6.027 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005848/0.3599, allocations: 274.9 kB / 380 MB, free: 5.762 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003456/0.3603, allocations: 0.7542 MB / 380.8 MB, free: 4.98 MB / 266.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3603, allocations: 0 / 380.8 MB, free: 4.98 MB / 266.7 MB Notification: Performance of Templates: time 0.004961/0.3653, allocations: 2.088 MB / 382.8 MB, free: 2.898 MB / 266.7 MB make -j1 -f Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile (rm -f Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & ./Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1)