Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) 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(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2") [: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.002597/0.002597, allocations: 181.1 kB / 7.455 MB, free: 2.34 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.239/1.239, allocations: 194.2 MB / 202.1 MB, free: 8.742 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.001713/0.001713, allocations: 120.7 kB / 247.1 MB, free: 6.238 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1708/0.1708, allocations: 39.94 MB / 331.9 MB, free: 4.902 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.696e-06/8.726e-06, allocations: 4 kB / 392.8 MB, free: 75.91 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09733/0.09736, allocations: 54.87 MB / 447.7 MB, free: 21.01 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.978/5.075, allocations: 2.596 GB / 3.033 GB, free: 150.6 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002334/5.075, allocations: 81.42 kB / 3.033 GB, free: 150.6 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.831/7.906, allocations: 0.7984 GB / 3.832 GB, free: 41.61 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.000205/7.907, allocations: 52.48 kB / 3.832 GB, free: 41.61 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 441 * Number of variables: 441 Notification: Performance of Generate backend data structure: time 0.01335/7.92, allocations: 2.988 MB / 3.835 GB, free: 40.18 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/7.92, allocations: 11.31 kB / 3.835 GB, free: 40.18 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008158/7.928, allocations: 0.9092 MB / 3.835 GB, free: 40.08 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003691/7.932, allocations: 1.159 MB / 3.837 GB, free: 39.74 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000471/7.932, allocations: 395.4 kB / 3.837 GB, free: 39.43 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007872/7.933, allocations: 103 kB / 3.837 GB, free: 39.42 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004194/7.937, allocations: 1.895 MB / 3.839 GB, free: 39.41 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003487/7.941, allocations: 2.4 MB / 3.841 GB, free: 38.67 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.416e-05/7.941, allocations: 11.56 kB / 3.841 GB, free: 38.66 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002021/7.941, allocations: 9.312 kB / 3.841 GB, free: 38.66 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.175e-05/7.941, allocations: 93.59 kB / 3.841 GB, free: 38.66 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08011/8.021, allocations: 35.83 MB / 3.876 GB, free: 21.95 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000754/8.022, allocations: 440.3 kB / 3.877 GB, free: 21.93 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004429/8.023, allocations: 363.9 kB / 3.877 GB, free: 21.92 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06614/8.089, allocations: 23.89 MB / 3.9 GB, free: 8.699 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.798e-05/8.089, allocations: 47.25 kB / 3.901 GB, free: 8.645 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=95): time 2.996e-06/8.089, allocations: 0 / 3.901 GB, free: 8.645 MB / 0.4948 GB Notification: Performance of matching and sorting (n=111): time 0.009848/8.099, allocations: 3.262 MB / 3.904 GB, free: 5.816 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.339e-05/8.099, allocations: 167.2 kB / 3.904 GB, free: 5.617 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001278/8.1, allocations: 1.004 MB / 3.905 GB, free: 4.723 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.086e-05/8.1, allocations: 29.7 kB / 3.905 GB, free: 4.688 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003908/8.101, allocations: 0.8832 MB / 3.906 GB, free: 3.879 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002802/8.101, allocations: 391.3 kB / 3.906 GB, free: 3.531 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.239e-05/8.101, allocations: 3.938 kB / 3.906 GB, free: 3.527 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001901/8.101, allocations: 460.7 kB / 3.907 GB, free: 3.113 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007111/8.102, allocations: 0.5163 MB / 3.907 GB, free: 2.637 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001167/8.103, allocations: 1.811 MB / 3.909 GB, free: 268 kB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002013/8.105, allocations: 0.9115 MB / 3.91 GB, free: 15.53 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.566e-05/8.105, allocations: 15.94 kB / 3.91 GB, free: 15.51 MB / 0.5105 GB Notification: Performance of matching and sorting (n=305) (initialization): time 0.006271/8.111, allocations: 2.831 MB / 3.912 GB, free: 13.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/8.111, allocations: 8 kB / 3.912 GB, free: 13.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-05/8.112, allocations: 52.09 kB / 3.913 GB, free: 13.04 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001025/8.113, allocations: 396.3 kB / 3.913 GB, free: 12.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00154/8.114, allocations: 0.5268 MB / 3.913 GB, free: 12.24 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002395/8.117, allocations: 2.835 MB / 3.916 GB, free: 9.422 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002175/8.119, allocations: 167.1 kB / 3.916 GB, free: 9.289 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002129/8.119, allocations: 147.6 kB / 3.917 GB, free: 9.152 MB / 0.5105 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volume2_1.mb_flow:VARIABLE(unit = "kg/s" ) "Mass flows across boundaries" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volume2_2.mb_flow:VARIABLE(unit = "kg/s" ) "Mass flows across boundaries" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volume1_1.mb_flow:VARIABLE(unit = "kg/s" ) "Mass flows across boundaries" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volume1_2.mb_flow:VARIABLE(unit = "kg/s" ) "Mass flows across boundaries" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 205 * Number of states: 0 () * Number of discrete variables: 28 (source2.medium.phase,source1.medium.phase,volume1_1.heatTransfer.states[1].phase,volume1_2.heatTransfer.states[1].phase,volume2_1.heatTransfer.states[1].phase,volume2_2.heatTransfer.states[1].phase,volume1_1.regularFlow[1],volume1_1.regularFlow[2],volume1_1.regularFlow[3],volume1_2.regularFlow[1],volume1_2.regularFlow[2],volume1_2.regularFlow[3],volume2_1.regularFlow[1],volume2_1.regularFlow[2],volume2_2.regularFlow[1],volume2_2.regularFlow[2],sink2.medium.phase,volume2_2.inFlow[2],volume2_2.inFlow[1],volume2_1.inFlow[2],volume2_1.inFlow[1],sink1.medium.phase,volume1_2.inFlow[3],volume1_2.inFlow[2],volume1_2.inFlow[1],volume1_1.inFlow[3],volume1_1.inFlow[2],volume1_1.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (277): * Single equations (assignments): 273 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 6,2 6,2 6,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.000443/8.119, allocations: 237.6 kB / 3.917 GB, free: 8.918 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001716/8.121, allocations: 0.569 MB / 3.917 GB, free: 8.492 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005712/8.127, allocations: 4.258 MB / 3.921 GB, free: 4.648 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-05/8.127, allocations: 45.77 kB / 3.921 GB, free: 4.621 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/8.127, allocations: 4 kB / 3.921 GB, free: 4.617 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.256e-05/8.127, allocations: 3.938 kB / 3.922 GB, free: 4.617 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2851/8.412, allocations: 6.061 MB / 3.927 GB, free: 87.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.326e-05/8.412, allocations: 3.5 kB / 3.927 GB, free: 87.25 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007373/8.413, allocations: 182.5 kB / 3.928 GB, free: 87.25 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009249/8.414, allocations: 390 kB / 3.928 GB, free: 87.22 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.701e-05/8.414, allocations: 24.19 kB / 3.928 GB, free: 87.22 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001828/8.416, allocations: 2.924 MB / 3.931 GB, free: 85.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/8.416, allocations: 7.844 kB / 3.931 GB, free: 85.16 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005546/8.421, allocations: 4.717 MB / 3.935 GB, free: 84.36 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001025/8.422, allocations: 416.3 kB / 3.936 GB, free: 84.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000224/8.423, allocations: 10.72 kB / 3.936 GB, free: 84.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001028/8.424, allocations: 104.2 kB / 3.936 GB, free: 84.27 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001572/8.424, allocations: 94.98 kB / 3.936 GB, free: 84.27 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.949e-05/8.424, allocations: 50.02 kB / 3.936 GB, free: 84.27 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.000994/8.425, allocations: 0.7181 MB / 3.937 GB, free: 84.16 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007084/8.432, allocations: 1.365 MB / 3.938 GB, free: 84.16 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 4 (volume1_1.medium.h,volume1_2.medium.h,volume2_1.medium.h,volume2_2.medium.h) * Number of discrete variables: 26 ($cse1.phase,$cse1.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,volume1_1.heatTransfer.states[1].phase,volume1_2.heatTransfer.states[1].phase,volume2_1.heatTransfer.states[1].phase,volume2_2.heatTransfer.states[1].phase,source1.medium.phase,source2.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 5,2 5,2 5,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.008594/8.441, allocations: 2.296 MB / 3.94 GB, free: 84 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003648/8.444, allocations: 2.428 MB / 3.943 GB, free: 83.98 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.846e-06/8.444, allocations: 0 / 3.943 GB, free: 83.98 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002093/8.446, allocations: 1.807 MB / 3.945 GB, free: 83.96 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002931/8.449, allocations: 0.5413 MB / 3.945 GB, free: 83.96 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3086/8.758, allocations: 185.2 MB / 4.126 GB, free: 31.91 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.274/9.032, allocations: 1.756 MB / 4.128 GB, free: 86.19 MB / 0.5105 GB Notification: Performance of SimCode: time 1.262e-06/9.032, allocations: 0 / 4.128 GB, free: 86.19 MB / 0.5105 GB Notification: Performance of Templates: time 0.07863/9.111, allocations: 55.3 MB / 4.182 GB, free: 84.51 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe 2>&1)