Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset",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 8.1.4-maint.8.1.x/package.mo): time 1.359/1.359, allocations: 289.8 MB / 297.1 MB, free: 6.629 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009046/0.0009046, allocations: 177.3 kB / 366.3 MB, free: 1.961 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.04/1.04, allocations: 205.1 MB / 0.6256 GB, free: 5.816 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008333/0.0008332, allocations: 87.5 kB / 0.7395 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1982/0.1991, allocations: 122.4 MB / 0.8591 GB, free: 13.26 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4727/0.6718, allocations: 116.3 MB / 0.9727 GB, free: 68.19 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1475/0.8194, allocations: 139.6 MB / 1.109 GB, free: 8.906 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001863/0.8196, allocations: 63.97 kB / 1.109 GB, free: 8.844 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.02151/0.8412, allocations: 9.008 MB / 1.118 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.8412, allocations: 12 kB / 1.118 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001079/0.8413, allocations: 71.09 kB / 1.118 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002252/0.8416, allocations: 271.5 kB / 1.118 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.791e-05/0.8416, allocations: 23.92 kB / 1.118 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.078e-05/0.8417, allocations: 40 kB / 1.118 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005459/0.8422, allocations: 318.6 kB / 1.119 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000615/0.8428, allocations: 428.2 kB / 1.119 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.8429, allocations: 4 kB / 1.119 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.999e-05/0.8429, allocations: 3.938 kB / 1.119 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.608e-05/0.8429, allocations: 12 kB / 1.119 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002052/0.845, allocations: 1.452 MB / 1.12 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000527/0.8455, allocations: 262.2 kB / 1.121 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001542/0.8457, allocations: 105.6 kB / 1.121 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.759e-05/0.8457, allocations: 12.08 kB / 1.121 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002165/0.8459, allocations: 161.1 kB / 1.121 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=32): time 1.372e-06/0.846, allocations: 0 / 1.121 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of matching and sorting (n=32): time 0.0004417/0.8464, allocations: 265.5 kB / 1.121 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.794e-05/0.8465, allocations: 81.11 kB / 1.121 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000313/0.8468, allocations: 320 kB / 1.121 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.137e-05/0.8468, allocations: 25.7 kB / 1.122 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.000136/0.847, allocations: 260.1 kB / 1.122 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.56e-05/0.847, allocations: 98.47 kB / 1.122 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.309e-05/0.8471, allocations: 0 / 1.122 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.8472, allocations: 350.8 kB / 1.122 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002097/0.8474, allocations: 120 kB / 1.122 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002277/0.8476, allocations: 167.3 kB / 1.122 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003534/0.848, allocations: 145.3 kB / 1.123 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.848, allocations: 0 / 1.123 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006865/0.8487, allocations: 391.6 kB / 1.123 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.8487, allocations: 4 kB / 1.123 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.8487, allocations: 8.062 kB / 1.123 GB, free: 10.26 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.8487, allocations: 0 / 1.123 GB, free: 10.26 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003392/0.8491, allocations: 71.91 kB / 1.123 GB, free: 10.19 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.8491, allocations: 4 kB / 1.123 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003668/0.8495, allocations: 71.55 kB / 1.123 GB, free: 10.11 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.484e-05/0.8495, allocations: 12 kB / 1.123 GB, free: 10.1 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,$PRE.TRoo1.booPul.y,TRoo1.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 41 * 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 9.427e-05/0.8496, allocations: 118.5 kB / 1.123 GB, free: 9.98 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.488e-05/0.8497, allocations: 39.47 kB / 1.123 GB, free: 9.941 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004625/0.8501, allocations: 279 kB / 1.124 GB, free: 9.66 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-06/0.8502, allocations: 4 kB / 1.124 GB, free: 9.656 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.8502, allocations: 0 / 1.124 GB, free: 9.656 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.295e-06/0.8502, allocations: 7.984 kB / 1.124 GB, free: 9.648 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008946/0.8511, allocations: 0.8857 MB / 1.124 GB, free: 8.707 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.8511, allocations: 7.984 kB / 1.124 GB, free: 8.699 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002591/0.8514, allocations: 51.92 kB / 1.125 GB, free: 8.648 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.8514, allocations: 4 kB / 1.125 GB, free: 8.645 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.109e-05/0.8514, allocations: 12.11 kB / 1.125 GB, free: 8.633 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.8514, allocations: 4 kB / 1.125 GB, free: 8.629 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.8514, allocations: 0 / 1.125 GB, free: 8.629 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004786/0.8519, allocations: 0.5073 MB / 1.125 GB, free: 8.059 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005462/0.8525, allocations: 0.8943 MB / 1.126 GB, free: 7.102 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.294e-05/0.8525, allocations: 124.6 kB / 1.126 GB, free: 6.961 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.792e-05/0.8526, allocations: 4 kB / 1.126 GB, free: 6.957 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002452/0.8528, allocations: 14.33 kB / 1.126 GB, free: 6.945 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.77e-05/0.8529, allocations: 27.81 kB / 1.126 GB, free: 6.918 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.898e-05/0.8529, allocations: 8 kB / 1.126 GB, free: 6.91 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0002169/0.8532, allocations: 248.6 kB / 1.126 GB, free: 6.668 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0009984/0.8542, allocations: 123.4 kB / 1.126 GB, free: 6.547 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,TRoo1.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001556/0.8543, allocations: 119.2 kB / 1.127 GB, free: 6.422 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004895/0.8548, allocations: 300.7 kB / 1.127 GB, free: 6.125 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.8548, allocations: 4 kB / 1.127 GB, free: 6.121 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001885/0.855, allocations: 119.8 kB / 1.127 GB, free: 6.004 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003788/0.8554, allocations: 45.62 kB / 1.127 GB, free: 5.961 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.8564, allocations: 0.5616 MB / 1.128 GB, free: 5.363 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004564/0.8569, allocations: 0.8936 MB / 1.128 GB, free: 4.445 MB / 0.7292 GB Notification: Performance of SimCode: time 1.553e-06/0.8569, allocations: 4 kB / 1.128 GB, free: 4.441 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.fmu > Buildings_8_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1)