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: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) [: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.7514/0.7514, allocations: 127.4 MB / 134.6 MB, free: 4.09 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.001546/0.001546, allocations: 189.2 kB / 164.4 MB, free: 6.875 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.865/1.865, allocations: 205.1 MB / 399.1 MB, free: 6.082 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.001142/0.001142, allocations: 86.86 kB / 476.3 MB, free: 8.832 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3864/0.3876, allocations: 82.89 MB / 0.5461 GB, free: 42.64 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1857/0.5733, allocations: 76.75 MB / 0.621 GB, free: 13.81 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.777/5.35, allocations: 2.138 GB / 2.759 GB, free: 30.17 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002901/5.351, allocations: 87.94 kB / 2.759 GB, free: 30.08 MB / 0.6355 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 1.621/6.971, allocations: 425 MB / 3.174 GB, free: 96.31 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/6.972, allocations: 9.594 kB / 3.174 GB, free: 96.31 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002407/6.974, allocations: 272.7 kB / 3.174 GB, free: 96.18 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00117/6.975, allocations: 471.4 kB / 3.174 GB, free: 95.8 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.193e-05/6.975, allocations: 15.47 kB / 3.174 GB, free: 95.8 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001237/6.975, allocations: 26.59 kB / 3.174 GB, free: 95.8 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008566/6.976, allocations: 406.6 kB / 3.175 GB, free: 95.62 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009234/6.977, allocations: 492.8 kB / 3.175 GB, free: 95.3 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.275e-05/6.977, allocations: 3.906 kB / 3.175 GB, free: 95.3 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.026e-05/6.977, allocations: 2.188 kB / 3.175 GB, free: 95.3 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.014e-05/6.977, allocations: 14.16 kB / 3.175 GB, free: 95.29 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003171/6.98, allocations: 2.13 MB / 3.177 GB, free: 93.46 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008693/6.981, allocations: 414.5 kB / 3.178 GB, free: 93.27 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003726/6.982, allocations: 185.3 kB / 3.178 GB, free: 93.19 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009963/6.983, allocations: 0.634 MB / 3.179 GB, free: 92.49 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005539/6.983, allocations: 246.1 kB / 3.179 GB, free: 92.34 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=35): time 6.011e-06/6.983, allocations: 2.953 kB / 3.179 GB, free: 92.34 MB / 0.6511 GB Notification: Performance of matching and sorting (n=35): time 0.002865/6.986, allocations: 0.6121 MB / 3.179 GB, free: 92.05 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/6.986, allocations: 56.81 kB / 3.18 GB, free: 91.99 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004876/6.987, allocations: 296.5 kB / 3.18 GB, free: 91.8 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.523e-05/6.987, allocations: 27.98 kB / 3.18 GB, free: 91.77 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001711/6.987, allocations: 217.7 kB / 3.18 GB, free: 91.58 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001181/6.987, allocations: 113.4 kB / 3.18 GB, free: 91.48 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.737e-05/6.987, allocations: 5.031 kB / 3.18 GB, free: 91.48 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001015/6.987, allocations: 357.2 kB / 3.18 GB, free: 91.13 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002807/6.988, allocations: 140.5 kB / 3.181 GB, free: 91.07 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003919/6.988, allocations: 253.6 kB / 3.181 GB, free: 90.88 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005919/6.989, allocations: 228.3 kB / 3.181 GB, free: 90.76 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/6.989, allocations: 4 kB / 3.181 GB, free: 90.75 MB / 0.6511 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001106/6.99, allocations: 0.4946 MB / 3.182 GB, free: 90.51 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/6.99, allocations: 9.062 kB / 3.182 GB, free: 90.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/6.99, allocations: 2.438 kB / 3.182 GB, free: 90.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.547e-05/6.99, allocations: 5.594 kB / 3.182 GB, free: 90.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005897/6.99, allocations: 110.2 kB / 3.182 GB, free: 90.47 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.314e-05/6.99, allocations: 7.531 kB / 3.182 GB, free: 90.47 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006875/6.991, allocations: 79.94 kB / 3.182 GB, free: 90.43 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.221e-05/6.991, allocations: 19.97 kB / 3.182 GB, free: 90.43 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.0001317/6.991, allocations: 121.6 kB / 3.182 GB, free: 90.3 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.097e-05/6.991, allocations: 44.66 kB / 3.182 GB, free: 90.28 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001099/6.992, allocations: 486 kB / 3.182 GB, free: 90 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/6.993, allocations: 8.312 kB / 3.182 GB, free: 89.99 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/6.993, allocations: 0 / 3.182 GB, free: 89.99 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/6.993, allocations: 0 / 3.182 GB, free: 89.99 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002321/6.995, allocations: 1.161 MB / 3.184 GB, free: 88.97 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/6.995, allocations: 4.656 kB / 3.184 GB, free: 88.97 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004569/6.995, allocations: 84.25 kB / 3.184 GB, free: 88.89 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-05/6.995, allocations: 4 kB / 3.184 GB, free: 88.88 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.365e-05/6.995, allocations: 12 kB / 3.184 GB, free: 88.87 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.8e-06/6.995, allocations: 7.938 kB / 3.184 GB, free: 88.86 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.285e-06/6.995, allocations: 8 kB / 3.184 GB, free: 88.86 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001308/6.997, allocations: 0.9329 MB / 3.185 GB, free: 87.79 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001933/6.999, allocations: 1.606 MB / 3.186 GB, free: 86.06 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001849/6.999, allocations: 128.5 kB / 3.186 GB, free: 85.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000116/6.999, allocations: 4 kB / 3.186 GB, free: 85.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005593/7, allocations: 56.02 kB / 3.186 GB, free: 85.86 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001319/7, allocations: 47.84 kB / 3.186 GB, free: 85.81 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.183e-05/7, allocations: 11.98 kB / 3.186 GB, free: 85.8 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0002274/7, allocations: 231.2 kB / 3.187 GB, free: 85.58 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001975/7.002, allocations: 431.8 kB / 3.187 GB, free: 85.16 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.002127/7.004, allocations: 1.702 MB / 3.189 GB, free: 83.57 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0007271/7.005, allocations: 415.9 kB / 3.189 GB, free: 83.15 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/7.005, allocations: 4.125 kB / 3.189 GB, free: 83.15 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003948/7.005, allocations: 219.8 kB / 3.189 GB, free: 82.93 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009883/7.006, allocations: 177.2 kB / 3.189 GB, free: 82.77 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001683/7.008, allocations: 0.7746 MB / 3.19 GB, free: 81.93 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005293/7.009, allocations: 0.9241 MB / 3.191 GB, free: 80.98 MB / 0.6511 GB Notification: Performance of SimCode: time 6.41e-07/7.009, allocations: 0 / 3.191 GB, free: 80.98 MB / 0.6511 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_TemperatureDryBulb_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)