Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.51/1.51, allocations: 289.8 MB / 297.1 MB, free: 6.648 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001191/0.001191, allocations: 184.2 kB / 366.3 MB, free: 1.953 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.351/1.351, allocations: 205.1 MB / 0.6256 GB, free: 7.438 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001014/0.001014, allocations: 87.69 kB / 0.7395 GB, free: 39.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.204e-05/1.207e-05, allocations: 4 kB / 0.859 GB, free: 13.58 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7326/0.7326, allocations: 116.3 MB / 0.9726 GB, free: 76.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.943/4.676, allocations: 2.063 GB / 3.036 GB, free: 61.41 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003023/4.676, allocations: 80.97 kB / 3.036 GB, free: 61.33 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.328/6.005, allocations: 425.8 MB / 3.452 GB, free: 11.92 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.344e-05/6.005, allocations: 16 kB / 3.452 GB, free: 11.9 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.002194/6.007, allocations: 0.9989 MB / 3.453 GB, free: 10.85 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/6.007, allocations: 12.03 kB / 3.453 GB, free: 10.84 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001958/6.009, allocations: 278.8 kB / 3.453 GB, free: 10.56 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008105/6.01, allocations: 476.4 kB / 3.453 GB, free: 10.05 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.518e-05/6.01, allocations: 12 kB / 3.453 GB, free: 10.04 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.554e-05/6.01, allocations: 31.91 kB / 3.453 GB, free: 10.01 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006421/6.011, allocations: 389.9 kB / 3.454 GB, free: 9.629 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006994/6.011, allocations: 497.6 kB / 3.454 GB, free: 9.113 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/6.011, allocations: 0 / 3.454 GB, free: 9.113 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.491e-05/6.011, allocations: 0 / 3.454 GB, free: 9.113 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.236e-05/6.011, allocations: 16 kB / 3.454 GB, free: 9.098 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002319/6.014, allocations: 2.126 MB / 3.456 GB, free: 6.855 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005851/6.014, allocations: 374.5 kB / 3.457 GB, free: 6.48 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000248/6.015, allocations: 193.4 kB / 3.457 GB, free: 6.289 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007378/6.015, allocations: 0.6362 MB / 3.458 GB, free: 5.523 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000315/6.016, allocations: 258.9 kB / 3.458 GB, free: 5.258 MB / 0.948 GB Notification: Performance of pre-optimization done (n=37): time 2.164e-06/6.016, allocations: 0 / 3.458 GB, free: 5.258 MB / 0.948 GB Notification: Performance of matching and sorting (n=37): time 0.001943/6.018, allocations: 0.6251 MB / 3.458 GB, free: 4.625 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/6.018, allocations: 55.41 kB / 3.458 GB, free: 4.559 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000267/6.018, allocations: 305.1 kB / 3.459 GB, free: 4.254 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.018e-05/6.018, allocations: 29.7 kB / 3.459 GB, free: 4.219 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/6.018, allocations: 216 kB / 3.459 GB, free: 4.004 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 8.979e-05/6.018, allocations: 122.2 kB / 3.459 GB, free: 3.883 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.886e-05/6.018, allocations: 4 kB / 3.459 GB, free: 3.879 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001007/6.018, allocations: 350.8 kB / 3.459 GB, free: 3.527 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002901/6.019, allocations: 148.9 kB / 3.46 GB, free: 3.379 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003741/6.019, allocations: 269.5 kB / 3.46 GB, free: 3.07 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006481/6.02, allocations: 231.7 kB / 3.46 GB, free: 2.844 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/6.02, allocations: 8 kB / 3.46 GB, free: 2.836 MB / 0.948 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001105/6.021, allocations: 0.5122 MB / 3.461 GB, free: 2.316 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/6.021, allocations: 4 kB / 3.461 GB, free: 2.312 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/6.021, allocations: 4 kB / 3.461 GB, free: 2.309 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/6.021, allocations: 4.375 kB / 3.461 GB, free: 2.305 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004746/6.021, allocations: 107.9 kB / 3.461 GB, free: 2.199 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/6.021, allocations: 11.84 kB / 3.461 GB, free: 2.188 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000559/6.022, allocations: 83.62 kB / 3.461 GB, free: 2.105 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.443e-05/6.022, allocations: 20 kB / 3.461 GB, free: 2.086 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (53): * Single equations (assignments): 51 * 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.0001164/6.022, allocations: 127.6 kB / 3.461 GB, free: 1.957 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.835e-05/6.022, allocations: 43.44 kB / 3.461 GB, free: 1.914 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000843/6.023, allocations: 489.3 kB / 3.461 GB, free: 1.43 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.636e-06/6.023, allocations: 4 kB / 3.461 GB, free: 1.426 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/6.023, allocations: 0 / 3.461 GB, free: 1.426 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/6.023, allocations: 3.984 kB / 3.461 GB, free: 1.422 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00166/6.025, allocations: 1.229 MB / 3.463 GB, free: 108 kB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/6.025, allocations: 8.062 kB / 3.463 GB, free: 100 kB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004185/6.025, allocations: 87.88 kB / 3.463 GB, free: 12 kB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.494e-06/6.025, allocations: 8 kB / 3.463 GB, free: 4 kB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.4321/6.457, allocations: 7.734 kB / 3.463 GB, free: 307 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.888e-05/6.457, allocations: 3.688 kB / 3.463 GB, free: 307 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.135e-05/6.457, allocations: 7.344 kB / 3.463 GB, free: 307 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00167/6.459, allocations: 0.9946 MB / 3.464 GB, free: 306.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000245/6.459, allocations: 160.4 kB / 3.464 GB, free: 306.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.562e-05/6.459, allocations: 3.906 kB / 3.464 GB, free: 306.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000553/6.46, allocations: 49.11 kB / 3.464 GB, free: 306.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/6.46, allocations: 57.03 kB / 3.464 GB, free: 306.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.36e-05/6.46, allocations: 14.72 kB / 3.464 GB, free: 306.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0002502/6.46, allocations: 234.1 kB / 3.464 GB, free: 306.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001049/6.462, allocations: 248.7 kB / 3.464 GB, free: 306.4 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (37): * Single equations (assignments): 33 * 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.002246/6.464, allocations: 1.665 MB / 3.466 GB, free: 306 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0006839/6.464, allocations: 420.9 kB / 3.466 GB, free: 305.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/6.465, allocations: 0 / 3.466 GB, free: 305.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004173/6.465, allocations: 239.1 kB / 3.467 GB, free: 305.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009522/6.466, allocations: 177.9 kB / 3.467 GB, free: 305.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001631/6.468, allocations: 0.7897 MB / 3.468 GB, free: 305.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004657/6.468, allocations: 0.9276 MB / 3.469 GB, free: 304.9 MB / 0.948 GB Notification: Performance of SimCode: time 3.9e-07/6.468, allocations: 6.719 kB / 3.469 GB, free: 304.9 MB / 0.948 GB Notification: Performance of Templates: time 0.02513/6.493, allocations: 16.71 MB / 3.485 GB, free: 304.8 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)