Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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/BuildingSystems 2.0.0-master/package.mo): time 0.7934/0.7934, allocations: 141.8 MB / 149.1 MB, free: 4.484 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 183.1 kB / 181.9 MB, free: 156 kB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 221.3 MB / 436 MB, free: 9.281 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 97.66 kB / 0.507 GB, free: 24.15 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002005/0.002006, allocations: 281.6 kB / 0.5884 GB, free: 12.3 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 7.735e-06/7.855e-06, allocations: 0 / 0.6759 GB, free: 2.676 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5157/0.5157, allocations: 82.76 MB / 0.7567 GB, free: 113 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.077/4.593, allocations: 1.828 GB / 2.585 GB, free: 269.1 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000233/4.593, allocations: 82.83 kB / 2.585 GB, free: 269.1 MB / 0.6982 GB Notification: Performance of FrontEnd: time 1.177/5.77, allocations: 429.7 MB / 3.004 GB, free: 109.7 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 4.028e-05/5.77, allocations: 19.83 kB / 3.004 GB, free: 109.6 MB / 0.6982 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.001826/5.772, allocations: 1.013 MB / 3.005 GB, free: 108.6 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/5.772, allocations: 9.281 kB / 3.005 GB, free: 108.6 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002052/5.774, allocations: 270.9 kB / 3.006 GB, free: 108.3 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007763/5.775, allocations: 471.5 kB / 3.006 GB, free: 107.8 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/5.775, allocations: 16 kB / 3.006 GB, free: 107.8 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.723e-05/5.775, allocations: 28 kB / 3.006 GB, free: 107.8 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006035/5.776, allocations: 393.8 kB / 3.007 GB, free: 107.4 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006241/5.776, allocations: 493.6 kB / 3.007 GB, free: 106.9 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/5.776, allocations: 0 / 3.007 GB, free: 106.9 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.298e-05/5.776, allocations: 0 / 3.007 GB, free: 106.9 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/5.776, allocations: 12 kB / 3.007 GB, free: 106.9 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002263/5.779, allocations: 2.14 MB / 3.009 GB, free: 104.6 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005765/5.779, allocations: 374.4 kB / 3.01 GB, free: 104.3 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002402/5.779, allocations: 200.8 kB / 3.01 GB, free: 104.1 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007359/5.78, allocations: 0.6324 MB / 3.01 GB, free: 103.3 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003265/5.781, allocations: 251.7 kB / 3.011 GB, free: 103 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=37): time 2.044e-06/5.781, allocations: 0 / 3.011 GB, free: 103 MB / 0.6982 GB Notification: Performance of matching and sorting (n=37): time 0.002009/5.783, allocations: 0.6176 MB / 3.011 GB, free: 102.4 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/5.783, allocations: 59.39 kB / 3.011 GB, free: 102.3 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002796/5.783, allocations: 305.1 kB / 3.012 GB, free: 102 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 4.524e-05/5.783, allocations: 29.7 kB / 3.012 GB, free: 102 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/5.783, allocations: 216.6 kB / 3.012 GB, free: 101.8 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 8.536e-05/5.783, allocations: 122.3 kB / 3.012 GB, free: 101.7 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.441e-05/5.783, allocations: 3.062 kB / 3.012 GB, free: 101.7 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 8.799e-05/5.783, allocations: 358.8 kB / 3.012 GB, free: 101.3 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002077/5.783, allocations: 144.8 kB / 3.012 GB, free: 101.2 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002661/5.784, allocations: 273.5 kB / 3.013 GB, free: 100.9 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004426/5.784, allocations: 232.8 kB / 3.013 GB, free: 100.6 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/5.784, allocations: 3.906 kB / 3.013 GB, free: 100.6 MB / 0.6982 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.000822/5.785, allocations: 0.5087 MB / 3.013 GB, free: 100.1 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/5.785, allocations: 12.03 kB / 3.013 GB, free: 100.1 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/5.785, allocations: 0 / 3.013 GB, free: 100.1 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.116e-05/5.785, allocations: 8 kB / 3.013 GB, free: 100.1 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004729/5.786, allocations: 111.8 kB / 3.013 GB, free: 99.98 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/5.786, allocations: 7.938 kB / 3.013 GB, free: 99.97 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005736/5.786, allocations: 83.47 kB / 3.014 GB, free: 99.89 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.034e-05/5.786, allocations: 24 kB / 3.014 GB, free: 99.87 MB / 0.6982 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.0001084/5.786, allocations: 121.8 kB / 3.014 GB, free: 99.74 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.856e-05/5.786, allocations: 51.44 kB / 3.014 GB, free: 99.69 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008349/5.787, allocations: 477.7 kB / 3.014 GB, free: 99.22 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/5.787, allocations: 4 kB / 3.014 GB, free: 99.21 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/5.787, allocations: 0 / 3.014 GB, free: 99.21 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/5.787, allocations: 3.984 kB / 3.014 GB, free: 99.21 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001706/5.789, allocations: 1.234 MB / 3.015 GB, free: 97.9 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/5.789, allocations: 4.219 kB / 3.015 GB, free: 97.9 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004266/5.789, allocations: 92.19 kB / 3.016 GB, free: 97.81 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.045e-06/5.789, allocations: 11.88 kB / 3.016 GB, free: 97.8 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.375e-05/5.79, allocations: 8 kB / 3.016 GB, free: 97.79 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/5.79, allocations: 8 kB / 3.016 GB, free: 97.78 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/5.79, allocations: 7.984 kB / 3.016 GB, free: 97.77 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00106/5.791, allocations: 0.9878 MB / 3.017 GB, free: 96.63 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001639/5.791, allocations: 156.4 kB / 3.017 GB, free: 96.46 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.278e-05/5.791, allocations: 8 kB / 3.017 GB, free: 96.45 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004821/5.791, allocations: 60 kB / 3.017 GB, free: 96.39 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/5.791, allocations: 47.78 kB / 3.017 GB, free: 96.35 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.208e-05/5.792, allocations: 12 kB / 3.017 GB, free: 96.34 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0001812/5.792, allocations: 231.2 kB / 3.017 GB, free: 96.11 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.0008835/5.793, allocations: 255.6 kB / 3.017 GB, free: 95.86 MB / 0.6982 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.001941/5.795, allocations: 1.676 MB / 3.019 GB, free: 94.32 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.0006118/5.795, allocations: 419.3 kB / 3.019 GB, free: 93.89 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/5.795, allocations: 4 kB / 3.019 GB, free: 93.89 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0003934/5.796, allocations: 231.6 kB / 3.02 GB, free: 93.66 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009288/5.797, allocations: 183 kB / 3.02 GB, free: 93.48 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001537/5.798, allocations: 0.7791 MB / 3.02 GB, free: 92.64 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004615/5.799, allocations: 0.9332 MB / 3.021 GB, free: 91.68 MB / 0.6982 GB Notification: Performance of SimCode: time 1.032e-06/5.799, allocations: 0 / 3.021 GB, free: 91.68 MB / 0.6982 GB Notification: Performance of Templates: time 0.02422/5.823, allocations: 16.75 MB / 3.038 GB, free: 75.11 MB / 0.6982 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)