Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Sources.Examples.Outside_CpLowRise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) 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) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Fluid.Sources.Examples.Outside_CpLowRise,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sources.Examples.Outside_CpLowRise") translateModel(Annex60.Fluid.Sources.Examples.Outside_CpLowRise,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sources.Examples.Outside_CpLowRise") [: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/Annex60 1.0.0/package.mo): time 0.291/0.291, allocations: 54.4 MB / 61.67 MB, free: 11.18 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001479/0.001479, allocations: 187.7 kB / 75.38 MB, free: 1.523 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.741/1.741, allocations: 194.2 MB / 283.2 MB, free: 3.562 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001648/0.001648, allocations: 115.4 kB / 341.3 MB, free: 9.445 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.005e-06/8.035e-06, allocations: 0 / 404.9 MB, free: 27.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.1707, allocations: 57.64 MB / 462.6 MB, free: 2.004 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.066/5.237, allocations: 2.147 GB / 2.598 GB, free: 55.48 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002798/5.237, allocations: 79.95 kB / 2.598 GB, free: 55.4 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.185/6.422, allocations: 282 MB / 2.874 GB, free: 105.3 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.000111/6.422, allocations: 44.3 kB / 2.874 GB, free: 105.3 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: 407 * Number of variables: 407 Notification: Performance of Generate backend data structure: time 0.003565/6.426, allocations: 1.914 MB / 2.876 GB, free: 104.3 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.131e-05/6.426, allocations: 11.81 kB / 2.876 GB, free: 104.3 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003995/6.43, allocations: 0.5703 MB / 2.876 GB, free: 104.2 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001691/6.432, allocations: 0.8617 MB / 2.877 GB, free: 104 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.238e-05/6.432, allocations: 51.97 kB / 2.877 GB, free: 104 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001874/6.432, allocations: 101.1 kB / 2.877 GB, free: 104 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002673/6.435, allocations: 1.603 MB / 2.879 GB, free: 104 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002549/6.437, allocations: 1.481 MB / 2.88 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.593e-05/6.437, allocations: 0 / 2.88 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001802/6.437, allocations: 3.875 kB / 2.88 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.924e-05/6.437, allocations: 41.84 kB / 2.88 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007995/6.445, allocations: 4.696 MB / 2.885 GB, free: 102.1 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002051/6.448, allocations: 1.196 MB / 2.886 GB, free: 102.1 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008268/6.448, allocations: 0.5843 MB / 2.887 GB, free: 102.1 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001105/6.45, allocations: 0.8666 MB / 2.887 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001205/6.451, allocations: 0.8096 MB / 2.888 GB, free: 101 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=129): time 4.538e-06/6.451, allocations: 0 / 2.888 GB, free: 101 MB / 0.4948 GB Notification: Performance of matching and sorting (n=129): time 0.003698/6.454, allocations: 1.441 MB / 2.89 GB, free: 100.9 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/6.455, allocations: 293.4 kB / 2.89 GB, free: 100.6 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008484/6.455, allocations: 0.5645 MB / 2.89 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001284/6.456, allocations: 39.48 kB / 2.891 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004513/6.456, allocations: 0.4898 MB / 2.891 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003605/6.456, allocations: 419.5 kB / 2.891 GB, free: 99.84 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.986e-05/6.456, allocations: 7.812 kB / 2.891 GB, free: 99.84 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001566/6.457, allocations: 395.2 kB / 2.892 GB, free: 99.53 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008188/6.457, allocations: 495.5 kB / 2.892 GB, free: 99.53 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000763/6.458, allocations: 0.5838 MB / 2.893 GB, free: 99.46 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001471/6.46, allocations: 0.6642 MB / 2.893 GB, free: 99.45 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/6.46, allocations: 0 / 2.893 GB, free: 99.45 MB / 0.4948 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.003575/6.463, allocations: 1.604 MB / 2.895 GB, free: 99.3 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/6.463, allocations: 7.75 kB / 2.895 GB, free: 99.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/6.463, allocations: 3.906 kB / 2.895 GB, free: 99.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009827/6.464, allocations: 201.1 kB / 2.895 GB, free: 99.26 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001075/6.465, allocations: 209.3 kB / 2.895 GB, free: 99.26 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004668/6.47, allocations: 6.481 MB / 2.902 GB, free: 93.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001549/6.472, allocations: 134.4 kB / 2.902 GB, free: 93.23 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001537/6.472, allocations: 60.38 kB / 2.902 GB, free: 93.23 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart,west.x_pTphi.i_w,west.x_pTphi.i_nw,west.x_pTphi.found,north.x_pTphi.i_w,north.x_pTphi.i_nw,north.x_pTphi.found,south.x_pTphi.i_w,south.x_pTphi.i_nw,south.x_pTphi.found,east.x_pTphi.i_w,east.x_pTphi.i_nw,east.x_pTphi.found) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (125): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 10 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000506/6.472, allocations: 272.1 kB / 2.902 GB, free: 92.99 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00023/6.473, allocations: 103.6 kB / 2.902 GB, free: 92.94 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004358/6.477, allocations: 1.817 MB / 2.904 GB, free: 92.8 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.8e-05/6.477, allocations: 13 kB / 2.904 GB, free: 92.8 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/6.477, allocations: 7.469 kB / 2.904 GB, free: 92.8 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.781e-05/6.477, allocations: 3.844 kB / 2.904 GB, free: 92.8 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00256/6.48, allocations: 1.182 MB / 2.905 GB, free: 92.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.184e-05/6.48, allocations: 3.781 kB / 2.905 GB, free: 92.61 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001052/6.481, allocations: 204.8 kB / 2.905 GB, free: 92.61 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009421/6.482, allocations: 190.9 kB / 2.906 GB, free: 92.57 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001083/6.482, allocations: 28.34 kB / 2.906 GB, free: 92.56 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005068/6.487, allocations: 6.515 MB / 2.912 GB, free: 86.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/6.487, allocations: 3.969 kB / 2.912 GB, free: 86.57 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004095/6.491, allocations: 1.621 MB / 2.914 GB, free: 86.38 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001006/6.492, allocations: 418 kB / 2.914 GB, free: 86.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002013/6.492, allocations: 17.73 kB / 2.914 GB, free: 86.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001326/6.494, allocations: 114.3 kB / 2.914 GB, free: 86.21 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001721/6.494, allocations: 63.89 kB / 2.914 GB, free: 86.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001623/6.494, allocations: 69.89 kB / 2.914 GB, free: 86.2 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0006849/6.495, allocations: 448.9 kB / 2.915 GB, free: 86.11 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002811/6.497, allocations: 0.6864 MB / 2.915 GB, free: 85.96 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim1.tStart,weaDat.conTim.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (120): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003409/6.501, allocations: 1.772 MB / 2.917 GB, free: 85.57 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003177/6.504, allocations: 2.081 MB / 2.919 GB, free: 84.74 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/6.504, allocations: 0.6562 kB / 2.919 GB, free: 84.74 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001752/6.506, allocations: 1.373 MB / 2.92 GB, free: 84.11 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002216/6.508, allocations: 312.7 kB / 2.921 GB, free: 84.1 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006785/6.515, allocations: 2.239 MB / 2.923 GB, free: 83.61 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001322/6.516, allocations: 1.386 MB / 2.924 GB, free: 82.89 MB / 0.4948 GB Notification: Performance of SimCode: time 1.082e-06/6.516, allocations: 3.969 kB / 2.924 GB, free: 82.89 MB / 0.4948 GB Notification: Performance of Templates: time 0.07817/6.594, allocations: 33.3 MB / 2.957 GB, free: 73.77 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Sources.Examples.Outside_CpLowRise.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Sources.Examples.Outside_CpLowRise.sim & ./Annex60_1.0.0_Annex60.Fluid.Sources.Examples.Outside_CpLowRise -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1)