Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.489/1.489, allocations: 285.5 MB / 292.8 MB, free: 10.41 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.001198/0.001198, allocations: 173.3 kB / 361.1 MB, free: 7.102 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.337/1.337, allocations: 205.1 MB / 0.6195 GB, free: 10.29 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.001114/0.001113, allocations: 93.03 kB / 0.7326 GB, free: 44.22 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.276e-06/8.316e-06, allocations: 0 / 0.8511 GB, free: 2.977 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.609/0.609, allocations: 115.3 MB / 0.9637 GB, free: 78.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.885/4.494, allocations: 2.062 GB / 3.026 GB, free: 73.95 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002736/4.495, allocations: 80.7 kB / 3.026 GB, free: 73.87 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.377/5.872, allocations: 425.7 MB / 3.442 GB, free: 28.64 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.05e-05/5.872, allocations: 20 kB / 3.442 GB, free: 28.62 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.002522/5.875, allocations: 1.003 MB / 3.443 GB, free: 27.56 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/5.875, allocations: 12.03 kB / 3.443 GB, free: 27.55 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002236/5.877, allocations: 274.8 kB / 3.443 GB, free: 27.28 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001077/5.878, allocations: 476.2 kB / 3.444 GB, free: 26.77 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.331e-05/5.878, allocations: 15.98 kB / 3.444 GB, free: 26.75 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001701/5.878, allocations: 32 kB / 3.444 GB, free: 26.72 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00073/5.879, allocations: 389.7 kB / 3.444 GB, free: 26.34 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007358/5.88, allocations: 493.6 kB / 3.444 GB, free: 25.83 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.966e-05/5.88, allocations: 3.984 kB / 3.444 GB, free: 25.82 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.834e-05/5.88, allocations: 7.984 kB / 3.444 GB, free: 25.82 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/5.88, allocations: 11.94 kB / 3.444 GB, free: 25.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002714/5.883, allocations: 2.134 MB / 3.447 GB, free: 23.55 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006233/5.883, allocations: 378.5 kB / 3.447 GB, free: 23.18 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002644/5.884, allocations: 189.4 kB / 3.447 GB, free: 22.99 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000721/5.884, allocations: 0.6479 MB / 3.448 GB, free: 22.21 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003302/5.885, allocations: 251.6 kB / 3.448 GB, free: 21.95 MB / 0.948 GB Notification: Performance of pre-optimization done (n=37): time 3.056e-06/5.885, allocations: 4 kB / 3.448 GB, free: 21.95 MB / 0.948 GB Notification: Performance of matching and sorting (n=37): time 0.002182/5.887, allocations: 0.6134 MB / 3.449 GB, free: 21.33 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.946e-05/5.887, allocations: 63.41 kB / 3.449 GB, free: 21.25 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000305/5.887, allocations: 305.1 kB / 3.449 GB, free: 20.95 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.836e-05/5.887, allocations: 25.7 kB / 3.449 GB, free: 20.92 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/5.887, allocations: 220 kB / 3.449 GB, free: 20.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/5.888, allocations: 122.2 kB / 3.449 GB, free: 20.58 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.369e-05/5.888, allocations: 0 / 3.449 GB, free: 20.58 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.919e-05/5.888, allocations: 354.8 kB / 3.45 GB, free: 20.23 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002227/5.888, allocations: 144.9 kB / 3.45 GB, free: 20.09 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002895/5.888, allocations: 269.5 kB / 3.45 GB, free: 19.78 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005077/5.889, allocations: 247.4 kB / 3.45 GB, free: 19.54 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/5.889, allocations: 0 / 3.45 GB, free: 19.54 MB / 0.948 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009703/5.89, allocations: 0.5084 MB / 3.451 GB, free: 19.02 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/5.89, allocations: 7.984 kB / 3.451 GB, free: 19.01 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/5.89, allocations: 4 kB / 3.451 GB, free: 19.01 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.488e-05/5.89, allocations: 4 kB / 3.451 GB, free: 19 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005614/5.89, allocations: 116.2 kB / 3.451 GB, free: 18.89 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/5.89, allocations: 4 kB / 3.451 GB, free: 18.89 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007236/5.891, allocations: 79.55 kB / 3.451 GB, free: 18.81 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.253e-05/5.891, allocations: 27.98 kB / 3.451 GB, free: 18.78 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.0001449/5.891, allocations: 112.9 kB / 3.451 GB, free: 18.66 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.953e-05/5.891, allocations: 47.34 kB / 3.451 GB, free: 18.62 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009779/5.892, allocations: 485.3 kB / 3.452 GB, free: 18.14 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/5.892, allocations: 4 kB / 3.452 GB, free: 18.13 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/5.892, allocations: 4 kB / 3.452 GB, free: 18.13 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/5.893, allocations: 7.984 kB / 3.452 GB, free: 18.12 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002371/5.895, allocations: 1.222 MB / 3.453 GB, free: 16.81 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.438e-06/5.895, allocations: 3.906 kB / 3.453 GB, free: 16.81 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004834/5.895, allocations: 88.33 kB / 3.453 GB, free: 16.72 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.327e-05/5.895, allocations: 11.98 kB / 3.453 GB, free: 16.71 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.305e-05/5.895, allocations: 4 kB / 3.453 GB, free: 16.71 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.776e-06/5.895, allocations: 15.94 kB / 3.453 GB, free: 16.69 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.44e-05/5.896, allocations: 4 kB / 3.453 GB, free: 16.69 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001378/5.897, allocations: 0.9893 MB / 3.454 GB, free: 15.55 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002989/5.897, allocations: 164.4 kB / 3.454 GB, free: 15.37 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001209/5.897, allocations: 4 kB / 3.454 GB, free: 15.36 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006152/5.898, allocations: 48.02 kB / 3.454 GB, free: 15.32 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001666/5.898, allocations: 59.72 kB / 3.454 GB, free: 15.26 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.633e-05/5.898, allocations: 19.98 kB / 3.454 GB, free: 15.24 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0002903/5.899, allocations: 231.2 kB / 3.454 GB, free: 15.01 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001466/5.9, allocations: 251.7 kB / 3.455 GB, free: 14.77 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.003417/5.903, allocations: 1.668 MB / 3.456 GB, free: 13.03 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0007325/5.904, allocations: 415.5 kB / 3.457 GB, free: 12.61 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/5.904, allocations: 0 / 3.457 GB, free: 12.61 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004428/5.905, allocations: 245.1 kB / 3.457 GB, free: 12.38 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/5.906, allocations: 172.5 kB / 3.457 GB, free: 12.21 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001952/5.908, allocations: 0.7802 MB / 3.458 GB, free: 11.37 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005859/5.908, allocations: 0.9322 MB / 3.459 GB, free: 10.41 MB / 0.948 GB Notification: Performance of SimCode: time 4.71e-07/5.908, allocations: 0 / 3.459 GB, free: 10.41 MB / 0.948 GB Notification: Performance of Templates: time 0.4813/6.39, allocations: 16.71 MB / 3.475 GB, free: 308 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)