Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TemperatureDryBulb.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.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(Annex60.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TemperatureDryBulb") [: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.3013/0.3013, allocations: 54.39 MB / 61.67 MB, free: 11.15 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.001203/0.001203, allocations: 191.7 kB / 75.38 MB, free: 1.469 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.664/1.664, allocations: 194.2 MB / 283.2 MB, free: 3.492 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.001757/0.001757, allocations: 121.3 kB / 341.3 MB, free: 9.367 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.627e-06/8.637e-06, allocations: 4 kB / 404.9 MB, free: 27.68 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1501, allocations: 57.65 MB / 462.6 MB, free: 1.957 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.795/4.946, allocations: 2.121 GB / 2.572 GB, free: 83.25 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002808/4.946, allocations: 83.95 kB / 2.573 GB, free: 83.16 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.492/6.438, allocations: 417 MB / 2.98 GB, free: 58.24 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.066e-05/6.438, allocations: 19.05 kB / 2.98 GB, free: 58.22 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.0035/6.442, allocations: 1.121 MB / 2.981 GB, free: 57.05 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.771e-05/6.442, allocations: 15.97 kB / 2.981 GB, free: 57.04 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002644/6.445, allocations: 270.6 kB / 2.981 GB, free: 56.77 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001562/6.446, allocations: 0.5079 MB / 2.982 GB, free: 56.23 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.291e-05/6.446, allocations: 23.98 kB / 2.982 GB, free: 56.21 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001998/6.447, allocations: 36 kB / 2.982 GB, free: 56.17 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001185/6.448, allocations: 0.5375 MB / 2.982 GB, free: 55.63 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001309/6.449, allocations: 0.67 MB / 2.983 GB, free: 54.93 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.728e-05/6.449, allocations: 3.938 kB / 2.983 GB, free: 54.93 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001161/6.449, allocations: 0 / 2.983 GB, free: 54.93 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.267e-05/6.449, allocations: 23.89 kB / 2.983 GB, free: 54.9 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004798/6.454, allocations: 2.732 MB / 2.986 GB, free: 52.03 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007444/6.455, allocations: 423.1 kB / 2.986 GB, free: 51.61 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002534/6.455, allocations: 188.9 kB / 2.986 GB, free: 51.42 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004399/6.456, allocations: 368.7 kB / 2.987 GB, free: 50.99 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005409/6.456, allocations: 424.1 kB / 2.987 GB, free: 50.51 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=36): time 4.108e-06/6.456, allocations: 0 / 2.987 GB, free: 50.51 MB / 0.4948 GB Notification: Performance of matching and sorting (n=36): time 0.002181/6.458, allocations: 0.6004 MB / 2.988 GB, free: 49.91 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00014/6.459, allocations: 474.7 kB / 2.988 GB, free: 49.33 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000421/6.459, allocations: 361 kB / 2.988 GB, free: 48.97 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.447e-05/6.459, allocations: 25.7 kB / 2.988 GB, free: 48.94 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001777/6.459, allocations: 315.3 kB / 2.989 GB, free: 48.62 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.315e-05/6.459, allocations: 122.3 kB / 2.989 GB, free: 48.5 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.79e-05/6.459, allocations: 0 / 2.989 GB, free: 48.5 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.906e-05/6.459, allocations: 358.8 kB / 2.989 GB, free: 48.14 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002439/6.46, allocations: 169.2 kB / 2.989 GB, free: 47.98 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003593/6.46, allocations: 407.8 kB / 2.99 GB, free: 47.49 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005416/6.461, allocations: 284.4 kB / 2.99 GB, free: 47.21 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/6.461, allocations: 4 kB / 2.99 GB, free: 47.21 MB / 0.4948 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.00104/6.462, allocations: 0.5997 MB / 2.991 GB, free: 46.6 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/6.462, allocations: 4 kB / 2.991 GB, free: 46.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/6.462, allocations: 8 kB / 2.991 GB, free: 46.59 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.308e-05/6.462, allocations: 12.5 kB / 2.991 GB, free: 46.58 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005983/6.462, allocations: 131.8 kB / 2.991 GB, free: 46.45 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.607e-05/6.462, allocations: 8 kB / 2.991 GB, free: 46.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008721/6.463, allocations: 103.4 kB / 2.991 GB, free: 46.34 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.77e-05/6.463, allocations: 24 kB / 2.991 GB, free: 46.32 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$PRE.m_flow1.T_start,m_flow1.T_start,$PRE.m_flow1.count,m_flow1.count,$PRE.m_flow2.T_start,m_flow2.T_start,$PRE.m_flow2.count,m_flow2.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001637/6.464, allocations: 132.6 kB / 2.991 GB, free: 46.18 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/6.464, allocations: 51.44 kB / 2.991 GB, free: 46.13 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008465/6.465, allocations: 469.9 kB / 2.991 GB, free: 45.66 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.625e-06/6.465, allocations: 4 kB / 2.991 GB, free: 45.66 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/6.465, allocations: 4 kB / 2.991 GB, free: 45.66 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/6.465, allocations: 4 kB / 2.991 GB, free: 45.65 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001784/6.466, allocations: 1.41 MB / 2.993 GB, free: 44.17 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/6.466, allocations: 4 kB / 2.993 GB, free: 44.17 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004429/6.467, allocations: 88.23 kB / 2.993 GB, free: 44.08 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/6.467, allocations: 7.906 kB / 2.993 GB, free: 44.07 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.637e-05/6.467, allocations: 4 kB / 2.993 GB, free: 44.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/6.467, allocations: 7.984 kB / 2.993 GB, free: 44.06 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/6.467, allocations: 11.94 kB / 2.993 GB, free: 44.05 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00112/6.468, allocations: 0.9352 MB / 2.994 GB, free: 43 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003038/6.468, allocations: 188.3 kB / 2.994 GB, free: 42.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001321/6.468, allocations: 11.98 kB / 2.994 GB, free: 42.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006782/6.469, allocations: 71.94 kB / 2.994 GB, free: 42.71 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/6.469, allocations: 43.84 kB / 2.994 GB, free: 42.67 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.463e-05/6.469, allocations: 12 kB / 2.994 GB, free: 42.66 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0002446/6.47, allocations: 271.2 kB / 2.994 GB, free: 42.39 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001151/6.471, allocations: 307.5 kB / 2.995 GB, free: 42.09 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 2 (temDyn.T,temDynLoss.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,m_flow1.T_start,m_flow1.count,m_flow2.T_start,m_flow2.count) * Number of discrete states: 2 (m_flow2.count,m_flow1.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002544/6.473, allocations: 1.678 MB / 2.996 GB, free: 40.53 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0008302/6.474, allocations: 481 kB / 2.997 GB, free: 40.05 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/6.474, allocations: 0 / 2.997 GB, free: 40.05 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004069/6.475, allocations: 227.7 kB / 2.997 GB, free: 39.83 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001141/6.476, allocations: 222.2 kB / 2.997 GB, free: 39.61 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001976/6.478, allocations: 0.8741 MB / 2.998 GB, free: 38.68 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000708/6.478, allocations: 0.987 MB / 2.999 GB, free: 37.66 MB / 0.4948 GB Notification: Performance of SimCode: time 1.262e-06/6.478, allocations: 0 / 2.999 GB, free: 37.66 MB / 0.4948 GB Notification: Performance of Templates: time 0.03089/6.509, allocations: 19.77 MB / 3.018 GB, free: 17.96 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)