Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_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.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_T,fileNamePrefix="Buildings_maint_8_0_x_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_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.357/1.357, allocations: 285.5 MB / 292.8 MB, free: 9.781 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.0009256/0.0009256, allocations: 189.2 kB / 361.1 MB, free: 376 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.041/1.041, allocations: 205.1 MB / 0.6195 GB, free: 2.992 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007884/0.0007884, allocations: 92.45 kB / 0.7326 GB, free: 1.188 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.3587/0.3595, allocations: 121.5 MB / 0.8512 GB, free: 151.6 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.5032, allocations: 115.3 MB / 0.9638 GB, free: 56.25 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4164/0.9197, allocations: 138.8 MB / 1.099 GB, free: 44.33 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001931/0.9199, allocations: 72.73 kB / 1.099 GB, free: 44.33 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.01497/0.9349, allocations: 7.401 MB / 1.107 GB, free: 43.36 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.865e-05/0.9349, allocations: 11.62 kB / 1.107 GB, free: 43.36 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.814e-05/0.935, allocations: 68.81 kB / 1.107 GB, free: 43.32 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003762/0.9354, allocations: 401.1 kB / 1.107 GB, free: 43.06 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.9354, allocations: 19.97 kB / 1.107 GB, free: 43.06 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.182e-05/0.9355, allocations: 35.75 kB / 1.107 GB, free: 43.06 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005976/0.9361, allocations: 408.6 kB / 1.108 GB, free: 43.06 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005858/0.9367, allocations: 415.1 kB / 1.108 GB, free: 43.01 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.9367, allocations: 3.984 kB / 1.108 GB, free: 43 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.717e-05/0.9368, allocations: 0 / 1.108 GB, free: 43 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.9368, allocations: 15.44 kB / 1.108 GB, free: 43 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002055/0.9388, allocations: 1.518 MB / 1.109 GB, free: 42.62 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007725/0.9396, allocations: 399.1 kB / 1.11 GB, free: 42.58 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001717/0.9398, allocations: 132.3 kB / 1.11 GB, free: 42.57 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.278e-05/0.9398, allocations: 3.781 kB / 1.11 GB, free: 42.57 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.392e-05/0.9399, allocations: 41.44 kB / 1.11 GB, free: 42.52 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=36): time 1.553e-06/0.9399, allocations: 0 / 1.11 GB, free: 42.52 MB / 0.7136 GB Notification: Performance of matching and sorting (n=36): time 0.0004734/0.9403, allocations: 306.2 kB / 1.11 GB, free: 42.46 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.697e-05/0.9404, allocations: 55.16 kB / 1.11 GB, free: 42.4 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000231/0.9406, allocations: 286.9 kB / 1.111 GB, free: 42.29 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.9406, allocations: 28.92 kB / 1.111 GB, free: 42.26 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.204e-05/0.9407, allocations: 249.4 kB / 1.111 GB, free: 42.09 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.949e-05/0.9408, allocations: 117.7 kB / 1.111 GB, free: 42.01 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.788e-05/0.9408, allocations: 4 kB / 1.111 GB, free: 42 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.168e-05/0.9408, allocations: 345.5 kB / 1.111 GB, free: 41.69 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001697/0.941, allocations: 123.8 kB / 1.111 GB, free: 41.69 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001891/0.9412, allocations: 165.5 kB / 1.112 GB, free: 41.65 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001913/0.9414, allocations: 139.4 kB / 1.112 GB, free: 41.65 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.9414, allocations: 0 / 1.112 GB, free: 41.65 MB / 0.7136 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004731/0.9419, allocations: 382.6 kB / 1.112 GB, free: 41.58 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.201e-05/0.9419, allocations: 177.5 kB / 1.112 GB, free: 41.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.9419, allocations: 7.812 kB / 1.112 GB, free: 41.4 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.942, allocations: 0 / 1.112 GB, free: 41.4 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004021/0.9424, allocations: 102.4 kB / 1.112 GB, free: 41.39 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.9424, allocations: 3.906 kB / 1.112 GB, free: 41.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003007/0.9427, allocations: 63.62 kB / 1.112 GB, free: 41.37 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.566e-05/0.9427, allocations: 7.844 kB / 1.112 GB, free: 41.37 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.53e-06/0.9427, allocations: 6.953 kB / 1.112 GB, free: 41.37 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003988/0.9431, allocations: 295.5 kB / 1.113 GB, free: 41.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-06/0.9431, allocations: 0 / 1.113 GB, free: 41.36 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.276e-06/0.9432, allocations: 3.906 kB / 1.113 GB, free: 41.36 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003282/0.9435, allocations: 80.06 kB / 1.113 GB, free: 41.36 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.844e-06/0.9435, allocations: 0 / 1.113 GB, free: 41.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002191/0.9437, allocations: 45.36 kB / 1.113 GB, free: 41.34 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.248e-05/0.9437, allocations: 15.16 kB / 1.113 GB, free: 41.34 MB / 0.7136 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 6.909e-05/0.9438, allocations: 108.8 kB / 1.113 GB, free: 41.22 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.899e-05/0.9439, allocations: 46.94 kB / 1.113 GB, free: 41.2 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004598/0.9444, allocations: 336.8 kB / 1.113 GB, free: 41.14 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.9444, allocations: 3.969 kB / 1.113 GB, free: 41.14 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.9444, allocations: 0 / 1.113 GB, free: 41.14 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.9444, allocations: 3.328 kB / 1.113 GB, free: 41.14 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001142/0.9455, allocations: 1.178 MB / 1.115 GB, free: 40.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.808e-06/0.9455, allocations: 7.812 kB / 1.115 GB, free: 40.67 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003025/0.9459, allocations: 74.94 kB / 1.115 GB, free: 40.67 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.151e-06/0.9459, allocations: 7.594 kB / 1.115 GB, free: 40.67 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.223e-05/0.9459, allocations: 6.844 kB / 1.115 GB, free: 40.67 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.9459, allocations: 18.14 kB / 1.115 GB, free: 40.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.9459, allocations: 3.688 kB / 1.115 GB, free: 40.66 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004477/0.9464, allocations: 0.7424 MB / 1.115 GB, free: 40.03 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006251/0.947, allocations: 1.139 MB / 1.116 GB, free: 55 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.649e-05/0.9471, allocations: 134 kB / 1.117 GB, free: 54.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.074e-05/0.9471, allocations: 7.438 kB / 1.117 GB, free: 54.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003448/0.9475, allocations: 60.95 kB / 1.117 GB, free: 54.86 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.602e-05/0.9475, allocations: 25.88 kB / 1.117 GB, free: 54.86 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.434e-05/0.9476, allocations: 18.69 kB / 1.117 GB, free: 54.86 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001666/0.9477, allocations: 230 kB / 1.117 GB, free: 54.78 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001551/0.9493, allocations: 188 kB / 1.117 GB, free: 54.71 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.0001263/0.9494, allocations: 122.4 kB / 1.117 GB, free: 54.61 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006026/0.95, allocations: 473.3 kB / 1.118 GB, free: 54.6 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.95, allocations: 3.844 kB / 1.118 GB, free: 54.6 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002002/0.9502, allocations: 157.3 kB / 1.118 GB, free: 54.58 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003263/0.9506, allocations: 52.23 kB / 1.118 GB, free: 54.58 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/0.9518, allocations: 0.7095 MB / 1.119 GB, free: 54.21 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004957/0.9523, allocations: 0.9025 MB / 1.119 GB, free: 53.5 MB / 0.7292 GB Notification: Performance of SimCode: time 2.71e-07/0.9523, allocations: 0 / 1.119 GB, free: 53.5 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_T.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_T.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_T.pipe >> ../files/Buildings_maint.8.0.x_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_maint_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_Supply_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_Supply_T.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_T.pipe 2>&1)