Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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 1.6.0+build.1/package.mo): time 0.4843/0.4843, allocations: 94.74 MB / 102 MB, free: 10.37 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001213/0.001213, allocations: 183.5 kB / 125.3 MB, free: 12 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.289/1.289, allocations: 170.5 MB / 319 MB, free: 9.348 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00165/0.00165, allocations: 109.1 kB / 381 MB, free: 18.15 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.175e-06/8.195e-06, allocations: 0 / 448.6 MB, free: 2.113 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1507, allocations: 61.51 MB / 0.4981 GB, free: 4.508 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.62/11.77, allocations: 5.246 GB / 5.744 GB, free: 31 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002757/11.77, allocations: 81.69 kB / 5.744 GB, free: 30.92 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.341/13.11, allocations: 341.5 MB / 6.078 GB, free: 100.8 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.544e-05/13.11, allocations: 15.72 kB / 6.078 GB, free: 100.7 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.003872/13.12, allocations: 1.057 MB / 6.079 GB, free: 100.1 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/13.12, allocations: 13.52 kB / 6.079 GB, free: 100.1 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007461/13.12, allocations: 87.45 kB / 6.079 GB, free: 100 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001283/13.12, allocations: 0.4899 MB / 6.079 GB, free: 99.68 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.807e-05/13.12, allocations: 15.72 kB / 6.079 GB, free: 99.68 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001753/13.12, allocations: 35.22 kB / 6.079 GB, free: 99.68 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001258/13.12, allocations: 0.6076 MB / 6.08 GB, free: 99.48 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001162/13.12, allocations: 0.641 MB / 6.081 GB, free: 99.19 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/13.12, allocations: 3.938 kB / 6.081 GB, free: 99.19 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-05/13.12, allocations: 0 / 6.081 GB, free: 99.19 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.472e-05/13.12, allocations: 14.66 kB / 6.081 GB, free: 99.19 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003857/13.12, allocations: 2.577 MB / 6.083 GB, free: 97.4 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003446/13.12, allocations: 225.9 kB / 6.083 GB, free: 97.29 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002034/13.12, allocations: 150.2 kB / 6.084 GB, free: 97.23 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003535/13.12, allocations: 232.3 kB / 6.084 GB, free: 97.03 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004414/13.13, allocations: 448.7 kB / 6.084 GB, free: 96.68 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=38): time 1.923e-06/13.13, allocations: 0 / 6.084 GB, free: 96.68 MB / 0.5261 GB Notification: Performance of matching and sorting (n=38): time 0.001193/13.13, allocations: 482.2 kB / 6.085 GB, free: 96.51 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001661/13.13, allocations: 0.774 MB / 6.085 GB, free: 95.57 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003859/13.13, allocations: 379 kB / 6.086 GB, free: 95.38 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.805e-05/13.13, allocations: 29.08 kB / 6.086 GB, free: 95.34 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001748/13.13, allocations: 301.9 kB / 6.086 GB, free: 95.11 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.128e-05/13.13, allocations: 132 kB / 6.086 GB, free: 95 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.89e-05/13.13, allocations: 3.25 kB / 6.086 GB, free: 95 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.033e-05/13.13, allocations: 363.8 kB / 6.087 GB, free: 94.67 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002439/13.13, allocations: 174.4 kB / 6.087 GB, free: 94.61 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003657/13.13, allocations: 423.4 kB / 6.087 GB, free: 94.27 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009165/13.13, allocations: 359.6 kB / 6.087 GB, free: 94.17 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/13.13, allocations: 1.125 kB / 6.087 GB, free: 94.17 MB / 0.5261 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001533/13.13, allocations: 0.6937 MB / 6.088 GB, free: 93.95 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/13.13, allocations: 8.5 kB / 6.088 GB, free: 93.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/13.13, allocations: 4.938 kB / 6.088 GB, free: 93.95 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.376e-05/13.13, allocations: 12.44 kB / 6.088 GB, free: 93.94 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000707/13.13, allocations: 149.6 kB / 6.088 GB, free: 93.93 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.926e-05/13.13, allocations: 12.41 kB / 6.088 GB, free: 93.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008434/13.13, allocations: 96.11 kB / 6.088 GB, free: 93.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.874e-05/13.13, allocations: 33.27 kB / 6.088 GB, free: 93.89 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.m_flow.T_start,m_flow.T_start,$PRE.m_flow.count,m_flow.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 1 * 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.0001647/13.13, allocations: 130.9 kB / 6.089 GB, free: 93.77 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001281/13.13, allocations: 56.7 kB / 6.089 GB, free: 93.75 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00152/13.13, allocations: 0.6761 MB / 6.089 GB, free: 93.49 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.942e-05/13.13, allocations: 10.66 kB / 6.089 GB, free: 93.48 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-05/13.13, allocations: 8.219 kB / 6.089 GB, free: 93.48 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/13.13, allocations: 3.219 kB / 6.089 GB, free: 93.48 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001448/13.14, allocations: 1.805 MB / 6.091 GB, free: 92.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/13.14, allocations: 2.281 kB / 6.091 GB, free: 92.07 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000427/13.14, allocations: 90.3 kB / 6.091 GB, free: 92.06 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.458e-06/13.14, allocations: 4.031 kB / 6.091 GB, free: 92.06 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.069e-05/13.14, allocations: 12.2 kB / 6.091 GB, free: 92.06 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.456e-06/13.14, allocations: 9.25 kB / 6.091 GB, free: 92.06 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/13.14, allocations: 6.469 kB / 6.091 GB, free: 92.06 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001348/13.14, allocations: 0.9473 MB / 6.092 GB, free: 91.42 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003224/13.14, allocations: 235.9 kB / 6.092 GB, free: 91.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001247/13.14, allocations: 5.938 kB / 6.092 GB, free: 91.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005788/13.14, allocations: 54.92 kB / 6.092 GB, free: 91.24 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.753e-05/13.14, allocations: 45.86 kB / 6.092 GB, free: 91.23 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.524e-05/13.14, allocations: 13.89 kB / 6.092 GB, free: 91.23 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0004288/13.14, allocations: 435.5 kB / 6.093 GB, free: 91.02 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001716/13.14, allocations: 0.4962 MB / 6.093 GB, free: 90.87 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 1 (temDyn.T) * Number of discrete variables: 3 ($whenCondition1,m_flow.T_start,m_flow.count) * Number of discrete states: 1 (m_flow.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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/13.14, allocations: 1.463 MB / 6.095 GB, free: 90.46 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008333/13.14, allocations: 476.5 kB / 6.095 GB, free: 90.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/13.14, allocations: 4 kB / 6.095 GB, free: 90.3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003717/13.14, allocations: 229.3 kB / 6.095 GB, free: 90.21 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00113/13.15, allocations: 232.9 kB / 6.096 GB, free: 90.16 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002253/13.15, allocations: 0.9591 MB / 6.097 GB, free: 89.68 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000667/13.15, allocations: 1.03 MB / 6.098 GB, free: 88.94 MB / 0.5261 GB Notification: Performance of SimCode: time 2.214e-06/13.15, allocations: 0.625 kB / 6.098 GB, free: 88.94 MB / 0.5261 GB Notification: Performance of Templates: time 0.03451/13.18, allocations: 21.24 MB / 6.118 GB, free: 69.62 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (rm -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)