Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_T.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.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_T,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_Supply_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_T,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_Supply_T",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.415/1.415, allocations: 289.8 MB / 297.1 MB, free: 6.664 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.0009371/0.0009371, allocations: 177.2 kB / 366.3 MB, free: 1.98 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.104/1.104, allocations: 205.1 MB / 0.6256 GB, free: 5.832 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.00082/0.00082, allocations: 86.47 kB / 0.7395 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2088/0.2096, allocations: 122.5 MB / 0.8592 GB, free: 13.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4524/0.662, allocations: 116.3 MB / 0.9727 GB, free: 68.64 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1467/0.8088, allocations: 139.8 MB / 1.109 GB, free: 8.801 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000213/0.809, allocations: 75.94 kB / 1.109 GB, free: 8.727 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: 141 * Number of variables: 141 Notification: Performance of Generate backend data structure: time 0.01839/0.8274, allocations: 7.406 MB / 1.117 GB, free: 1.289 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.8275, allocations: 16.64 kB / 1.117 GB, free: 1.273 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001532/0.8277, allocations: 67.16 kB / 1.117 GB, free: 1.207 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005105/0.8282, allocations: 394.5 kB / 1.117 GB, free: 0.7812 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.579e-05/0.8282, allocations: 21.53 kB / 1.117 GB, free: 0.7617 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.214e-05/0.8283, allocations: 35.98 kB / 1.117 GB, free: 0.7266 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007015/0.829, allocations: 410.5 kB / 1.117 GB, free: 332 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007184/0.8297, allocations: 408 kB / 1.118 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.8297, allocations: 5.125 kB / 1.118 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.687e-05/0.8298, allocations: 0 / 1.118 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.568e-05/0.8298, allocations: 16 kB / 1.118 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002652/0.8325, allocations: 1.526 MB / 1.119 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009634/0.8334, allocations: 387.5 kB / 1.12 GB, free: 13.94 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002239/0.8337, allocations: 124.9 kB / 1.12 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.675e-05/0.8337, allocations: 8.578 kB / 1.12 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.8337, allocations: 42.56 kB / 1.12 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=36): time 1.984e-06/0.8338, allocations: 0 / 1.12 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of matching and sorting (n=36): time 0.000558/0.8343, allocations: 304.8 kB / 1.12 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.645e-05/0.8344, allocations: 55.41 kB / 1.12 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002949/0.8347, allocations: 293.9 kB / 1.12 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/0.8347, allocations: 27.02 kB / 1.12 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.8349, allocations: 256.2 kB / 1.121 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.42e-05/0.8349, allocations: 114.2 kB / 1.121 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.845e-05/0.835, allocations: 0 / 1.121 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.8351, allocations: 350.8 kB / 1.121 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002108/0.8353, allocations: 124.7 kB / 1.121 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002332/0.8355, allocations: 168.5 kB / 1.121 GB, free: 12.03 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00024/0.8358, allocations: 130.7 kB / 1.122 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.8358, allocations: 4 kB / 1.122 GB, free: 11.9 MB / 0.7292 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000588/0.8364, allocations: 376.3 kB / 1.122 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.952e-05/0.8365, allocations: 189.9 kB / 1.122 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.8365, allocations: 0 / 1.122 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.8365, allocations: 4 kB / 1.122 GB, free: 11.33 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004553/0.837, allocations: 99.88 kB / 1.122 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.837, allocations: 5.875 kB / 1.122 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003365/0.8373, allocations: 67.64 kB / 1.122 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.176e-05/0.8374, allocations: 8 kB / 1.122 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.642e-06/0.8374, allocations: 4 kB / 1.122 GB, free: 11.15 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004826/0.8379, allocations: 292 kB / 1.123 GB, free: 10.87 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.8379, allocations: 4 kB / 1.123 GB, free: 10.87 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.102e-06/0.8379, allocations: 7.938 kB / 1.123 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003728/0.8383, allocations: 83.89 kB / 1.123 GB, free: 10.78 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.8383, allocations: 0 / 1.123 GB, free: 10.78 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002433/0.8385, allocations: 43.67 kB / 1.123 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.609e-05/0.8386, allocations: 11.94 kB / 1.123 GB, free: 10.72 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * 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.69e-05/0.8387, allocations: 121.5 kB / 1.123 GB, free: 10.6 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.921e-05/0.8388, allocations: 35.53 kB / 1.123 GB, free: 10.56 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005281/0.8393, allocations: 322.8 kB / 1.123 GB, free: 10.24 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.8393, allocations: 4 kB / 1.123 GB, free: 10.24 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.8393, allocations: 4 kB / 1.123 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.8393, allocations: 0 / 1.123 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0015/0.8408, allocations: 1.178 MB / 1.124 GB, free: 8.953 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.8408, allocations: 8.031 kB / 1.124 GB, free: 8.945 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003478/0.8412, allocations: 83.83 kB / 1.124 GB, free: 8.863 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.338e-06/0.8412, allocations: 13.58 kB / 1.124 GB, free: 8.852 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.487e-05/0.8412, allocations: 4 kB / 1.124 GB, free: 8.848 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.232e-06/0.8413, allocations: 8 kB / 1.124 GB, free: 8.84 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/0.8413, allocations: 7.938 kB / 1.124 GB, free: 8.832 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006757/0.842, allocations: 0.7559 MB / 1.125 GB, free: 7.883 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007372/0.8427, allocations: 1.13 MB / 1.126 GB, free: 6.559 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.8428, allocations: 132.5 kB / 1.126 GB, free: 6.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.52e-05/0.8429, allocations: 8 kB / 1.126 GB, free: 6.402 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003839/0.8433, allocations: 55.95 kB / 1.126 GB, free: 6.348 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.879e-05/0.8433, allocations: 31.81 kB / 1.127 GB, free: 6.316 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.1e-05/0.8434, allocations: 16 kB / 1.127 GB, free: 6.301 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.000203/0.8436, allocations: 228.6 kB / 1.127 GB, free: 6.078 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001746/0.8453, allocations: 182.8 kB / 1.127 GB, free: 5.898 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001368/0.8455, allocations: 115.1 kB / 1.127 GB, free: 5.777 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0008072/0.8463, allocations: 481.7 kB / 1.128 GB, free: 5.309 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.8463, allocations: 0 / 1.128 GB, free: 5.309 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002618/0.8466, allocations: 156.8 kB / 1.128 GB, free: 5.156 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003819/0.847, allocations: 49.94 kB / 1.128 GB, free: 5.109 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001452/0.8484, allocations: 0.7093 MB / 1.128 GB, free: 4.316 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005488/0.849, allocations: 0.9052 MB / 1.129 GB, free: 3.387 MB / 0.7292 GB Notification: Performance of SimCode: time 2.7e-07/0.849, allocations: 0 / 1.129 GB, free: 3.387 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_T.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_T.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_T.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_Supply_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_Supply_T.fmu > Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_T.pipe 2>&1)