Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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) 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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_latest_Buildings_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/Buildings 10.0.0-master/package.mo): time 2/2, allocations: 390.4 MB / 397.7 MB, free: 11.23 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009889/0.0009889, allocations: 174.7 kB / 490.8 MB, free: 1.906 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.531/1.531, allocations: 221.3 MB / 0.7863 GB, free: 13.71 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009883/0.0009884, allocations: 87.62 kB / 0.9264 GB, free: 14.22 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.7396/0.7407, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2856/1.026, allocations: 143 MB / 1.212 GB, free: 39.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.489/5.515, allocations: 1.868 GB / 3.08 GB, free: 431.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003334/5.515, allocations: 86.38 kB / 3.08 GB, free: 431.4 MB / 1.151 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.8301/6.345, allocations: 430.7 MB / 3.501 GB, free: 8.898 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/6.345, allocations: 8 kB / 3.501 GB, free: 8.891 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002181/6.348, allocations: 274.9 kB / 3.501 GB, free: 8.621 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008955/6.349, allocations: 480 kB / 3.501 GB, free: 8.113 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.663e-05/6.349, allocations: 19.98 kB / 3.502 GB, free: 8.094 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.871e-05/6.349, allocations: 24 kB / 3.502 GB, free: 8.07 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006411/6.349, allocations: 389.9 kB / 3.502 GB, free: 7.691 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006563/6.35, allocations: 493.6 kB / 3.502 GB, free: 7.172 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/6.35, allocations: 3.938 kB / 3.502 GB, free: 7.168 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.373e-05/6.35, allocations: 4 kB / 3.502 GB, free: 7.164 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/6.35, allocations: 11.98 kB / 3.502 GB, free: 7.152 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002349/6.352, allocations: 2.135 MB / 3.504 GB, free: 4.91 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005718/6.353, allocations: 366.6 kB / 3.505 GB, free: 4.543 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000248/6.353, allocations: 193.4 kB / 3.505 GB, free: 4.352 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006664/6.354, allocations: 0.644 MB / 3.506 GB, free: 3.578 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003255/6.354, allocations: 251.5 kB / 3.506 GB, free: 3.32 MB / 1.151 GB Notification: Performance of pre-optimization done (n=37): time 2.885e-06/6.354, allocations: 4 kB / 3.506 GB, free: 3.316 MB / 1.151 GB Notification: Performance of matching and sorting (n=37): time 0.002072/6.356, allocations: 0.6173 MB / 3.506 GB, free: 2.691 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.516e-05/6.356, allocations: 59.41 kB / 3.507 GB, free: 2.621 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002752/6.357, allocations: 297.2 kB / 3.507 GB, free: 2.324 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.353e-05/6.357, allocations: 29.7 kB / 3.507 GB, free: 2.289 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/6.357, allocations: 223.9 kB / 3.507 GB, free: 2.066 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 8.226e-05/6.357, allocations: 122.3 kB / 3.507 GB, free: 1.945 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.327e-05/6.357, allocations: 0 / 3.507 GB, free: 1.945 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.221e-05/6.357, allocations: 354.7 kB / 3.508 GB, free: 1.59 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002133/6.357, allocations: 148.9 kB / 3.508 GB, free: 1.445 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002682/6.358, allocations: 269.5 kB / 3.508 GB, free: 1.129 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004696/6.358, allocations: 243.7 kB / 3.508 GB, free: 0.8906 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/6.358, allocations: 0 / 3.508 GB, free: 0.8906 MB / 1.151 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008994/6.359, allocations: 0.5047 MB / 3.509 GB, free: 388 kB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/6.359, allocations: 4 kB / 3.509 GB, free: 384 kB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/6.359, allocations: 7.984 kB / 3.509 GB, free: 376 kB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/6.359, allocations: 4 kB / 3.509 GB, free: 372 kB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005109/6.36, allocations: 108 kB / 3.509 GB, free: 264 kB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/6.36, allocations: 15.88 kB / 3.509 GB, free: 248 kB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005921/6.36, allocations: 79.48 kB / 3.509 GB, free: 168 kB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.785e-05/6.36, allocations: 27.98 kB / 3.509 GB, free: 140 kB / 1.151 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.0001115/6.36, allocations: 118.6 kB / 3.509 GB, free: 16 kB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.5175/6.878, allocations: 42.83 kB / 3.509 GB, free: 411.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001177/6.879, allocations: 487.6 kB / 3.51 GB, free: 411.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.784e-06/6.879, allocations: 3.906 kB / 3.51 GB, free: 411.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/6.879, allocations: 3.125 kB / 3.51 GB, free: 411.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/6.879, allocations: 3.938 kB / 3.51 GB, free: 411.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001985/6.881, allocations: 1.217 MB / 3.511 GB, free: 410.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/6.881, allocations: 3.281 kB / 3.511 GB, free: 410.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004572/6.882, allocations: 92.77 kB / 3.511 GB, free: 410.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.27e-05/6.882, allocations: 9.438 kB / 3.511 GB, free: 410.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.133e-05/6.882, allocations: 11.16 kB / 3.511 GB, free: 410.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.169e-06/6.882, allocations: 3.281 kB / 3.511 GB, free: 410.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/6.882, allocations: 7.062 kB / 3.511 GB, free: 410.9 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001182/6.883, allocations: 1.005 MB / 3.512 GB, free: 410.4 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001693/6.885, allocations: 1.651 MB / 3.513 GB, free: 409.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002222/6.885, allocations: 156.3 kB / 3.514 GB, free: 409.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.357e-05/6.885, allocations: 15.3 kB / 3.514 GB, free: 409.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005124/6.885, allocations: 47.27 kB / 3.514 GB, free: 409.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001437/6.886, allocations: 54.86 kB / 3.514 GB, free: 409.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.836e-05/6.886, allocations: 14.78 kB / 3.514 GB, free: 409.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0002378/6.886, allocations: 235.2 kB / 3.514 GB, free: 409.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001863/6.888, allocations: 428 kB / 3.514 GB, free: 409.3 MB / 1.151 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.002106/6.89, allocations: 1.672 MB / 3.516 GB, free: 408.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0006946/6.891, allocations: 424.5 kB / 3.516 GB, free: 408.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/6.891, allocations: 0 / 3.516 GB, free: 408.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004517/6.891, allocations: 233.8 kB / 3.517 GB, free: 408.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009608/6.892, allocations: 178.5 kB / 3.517 GB, free: 408.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001513/6.894, allocations: 0.7898 MB / 3.518 GB, free: 408.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004925/6.894, allocations: 0.934 MB / 3.518 GB, free: 407.8 MB / 1.151 GB Notification: Performance of SimCode: time 4.01e-07/6.894, allocations: 0 / 3.518 GB, free: 407.8 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)