Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0/package.mo): time 0.7814/0.7814, allocations: 127.4 MB / 134.6 MB, free: 4.051 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001275/0.001276, allocations: 185.3 kB / 164.4 MB, free: 6.84 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.547/1.547, allocations: 205.1 MB / 399.1 MB, free: 6.105 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009788/0.0009788, allocations: 98.06 kB / 476.3 MB, free: 8.852 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 9.297e-06/9.337e-06, allocations: 4 kB / 0.546 GB, free: 42.71 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1608, allocations: 76.74 MB / 0.6209 GB, free: 13.89 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.995/5.156, allocations: 2.138 GB / 2.759 GB, free: 29.82 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002447/5.156, allocations: 91.94 kB / 2.759 GB, free: 29.73 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.74/6.896, allocations: 424 MB / 3.173 GB, free: 97.97 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.168e-05/6.896, allocations: 23.34 kB / 3.173 GB, free: 97.96 MB / 0.6511 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.00283/6.899, allocations: 0.9903 MB / 3.174 GB, free: 97.16 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/6.899, allocations: 8.844 kB / 3.174 GB, free: 97.16 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002452/6.902, allocations: 272.6 kB / 3.174 GB, free: 97.03 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00117/6.903, allocations: 478.5 kB / 3.174 GB, free: 96.65 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.549e-05/6.903, allocations: 16.53 kB / 3.174 GB, free: 96.65 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001411/6.903, allocations: 27.12 kB / 3.174 GB, free: 96.65 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008904/6.904, allocations: 401.3 kB / 3.175 GB, free: 96.47 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008831/6.905, allocations: 497.2 kB / 3.175 GB, free: 96.14 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/6.905, allocations: 4.938 kB / 3.175 GB, free: 96.14 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.682e-05/6.905, allocations: 1.312 kB / 3.175 GB, free: 96.14 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.075e-05/6.905, allocations: 10.34 kB / 3.175 GB, free: 96.14 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00329/6.908, allocations: 2.133 MB / 3.177 GB, free: 94.3 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008909/6.909, allocations: 414 kB / 3.178 GB, free: 94.11 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000339/6.909, allocations: 185.8 kB / 3.178 GB, free: 94.03 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007789/6.91, allocations: 0.6311 MB / 3.179 GB, free: 93.34 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004025/6.911, allocations: 253.6 kB / 3.179 GB, free: 93.18 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=35): time 3.006e-06/6.911, allocations: 0 / 3.179 GB, free: 93.18 MB / 0.6511 GB Notification: Performance of matching and sorting (n=35): time 0.002489/6.913, allocations: 0.6123 MB / 3.179 GB, free: 92.89 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.501e-05/6.913, allocations: 56.41 kB / 3.179 GB, free: 92.83 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004426/6.914, allocations: 300.8 kB / 3.18 GB, free: 92.64 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.343e-05/6.914, allocations: 27.55 kB / 3.18 GB, free: 92.61 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001633/6.914, allocations: 218.3 kB / 3.18 GB, free: 92.41 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001223/6.914, allocations: 114 kB / 3.18 GB, free: 92.32 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-05/6.914, allocations: 1.219 kB / 3.18 GB, free: 92.32 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000115/6.914, allocations: 352.5 kB / 3.18 GB, free: 91.97 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003/6.914, allocations: 141.5 kB / 3.181 GB, free: 91.91 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003619/6.915, allocations: 257.3 kB / 3.181 GB, free: 91.71 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005676/6.915, allocations: 231.1 kB / 3.181 GB, free: 91.6 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/6.915, allocations: 0 / 3.181 GB, free: 91.6 MB / 0.6511 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001095/6.917, allocations: 0.5022 MB / 3.182 GB, free: 91.34 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.442e-05/6.917, allocations: 5.031 kB / 3.182 GB, free: 91.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/6.917, allocations: 7.188 kB / 3.182 GB, free: 91.34 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.509e-05/6.917, allocations: 4.781 kB / 3.182 GB, free: 91.34 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005562/6.917, allocations: 109.3 kB / 3.182 GB, free: 91.31 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.966e-05/6.917, allocations: 8.688 kB / 3.182 GB, free: 91.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006803/6.918, allocations: 74.34 kB / 3.182 GB, free: 91.27 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.044e-05/6.918, allocations: 19.66 kB / 3.182 GB, free: 91.27 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (51): * Single equations (assignments): 49 * 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.0001432/6.918, allocations: 118.6 kB / 3.182 GB, free: 91.15 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/6.918, allocations: 44.53 kB / 3.182 GB, free: 91.12 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001077/6.919, allocations: 477.9 kB / 3.182 GB, free: 90.85 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/6.919, allocations: 8.031 kB / 3.182 GB, free: 90.84 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/6.919, allocations: 3.984 kB / 3.182 GB, free: 90.84 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/6.919, allocations: 0.7188 kB / 3.182 GB, free: 90.84 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002319/6.922, allocations: 1.17 MB / 3.183 GB, free: 89.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/6.922, allocations: 0 / 3.183 GB, free: 89.91 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004514/6.922, allocations: 88.27 kB / 3.184 GB, free: 89.83 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.074e-05/6.922, allocations: 4 kB / 3.184 GB, free: 89.82 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.782e-05/6.922, allocations: 9.188 kB / 3.184 GB, free: 89.82 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.172e-06/6.922, allocations: 7.938 kB / 3.184 GB, free: 89.81 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/6.922, allocations: 4 kB / 3.184 GB, free: 89.8 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001154/6.923, allocations: 0.9435 MB / 3.185 GB, free: 88.73 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001558/6.924, allocations: 116.5 kB / 3.185 GB, free: 88.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/6.924, allocations: 11.98 kB / 3.185 GB, free: 88.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005267/6.924, allocations: 48.02 kB / 3.185 GB, free: 88.54 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/6.924, allocations: 47.84 kB / 3.185 GB, free: 88.49 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.593e-05/6.924, allocations: 16 kB / 3.185 GB, free: 88.48 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0002182/6.925, allocations: 227.4 kB / 3.185 GB, free: 88.26 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001015/6.926, allocations: 251.6 kB / 3.185 GB, free: 88.02 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (35): * Single equations (assignments): 31 * 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.002503/6.928, allocations: 1.703 MB / 3.187 GB, free: 86.43 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0007154/6.929, allocations: 415.2 kB / 3.187 GB, free: 86.01 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.227e-06/6.929, allocations: 4.625 kB / 3.187 GB, free: 86.01 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004139/6.929, allocations: 223.7 kB / 3.187 GB, free: 85.79 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/6.93, allocations: 177.4 kB / 3.188 GB, free: 85.62 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001828/6.932, allocations: 0.7625 MB / 3.188 GB, free: 84.8 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005918/6.933, allocations: 0.928 MB / 3.189 GB, free: 83.84 MB / 0.6511 GB Notification: Performance of SimCode: time 1.012e-06/6.933, allocations: 0 / 3.189 GB, free: 83.84 MB / 0.6511 GB Notification: Performance of Templates: time 0.026/6.959, allocations: 16.74 MB / 3.206 GB, free: 67.26 MB / 0.6511 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)