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_u.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_u,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_Supply_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_Supply_u",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.39/1.39, allocations: 289.8 MB / 297.1 MB, free: 6.668 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.001041/0.001041, allocations: 169.3 kB / 366.3 MB, free: 1.996 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.083/1.083, allocations: 205.1 MB / 0.6256 GB, free: 5.852 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.0008309/0.0008309, allocations: 81.83 kB / 0.7395 GB, free: 39.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1986/0.1994, allocations: 122.5 MB / 0.8592 GB, free: 13.22 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4125/0.6119, allocations: 116.3 MB / 0.9727 GB, free: 68.56 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1407/0.7526, allocations: 139.8 MB / 1.109 GB, free: 8.656 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000209/0.7529, allocations: 83.88 kB / 1.109 GB, free: 8.574 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: 403 * Number of variables: 403 Notification: Performance of Generate backend data structure: time 0.0473/0.8002, allocations: 20.33 MB / 1.129 GB, free: 4.215 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.8003, allocations: 8 kB / 1.129 GB, free: 4.207 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002507/0.8005, allocations: 193.7 kB / 1.129 GB, free: 4.016 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001085/0.8016, allocations: 0.8105 MB / 1.13 GB, free: 3.164 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.876e-05/0.8017, allocations: 52 kB / 1.13 GB, free: 3.113 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001399/0.8018, allocations: 88 kB / 1.13 GB, free: 3.027 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001932/0.8038, allocations: 1.158 MB / 1.131 GB, free: 1.867 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002058/0.8058, allocations: 1.117 MB / 1.133 GB, free: 0.7344 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.895e-05/0.8059, allocations: 4.562 kB / 1.133 GB, free: 0.7305 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.341e-05/0.806, allocations: 0 / 1.133 GB, free: 0.7305 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.281e-05/0.806, allocations: 40 kB / 1.133 GB, free: 0.6914 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007081/0.8131, allocations: 4.043 MB / 1.137 GB, free: 12.6 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002124/0.8152, allocations: 1.052 MB / 1.138 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006172/0.8159, allocations: 419.8 kB / 1.138 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.819e-05/0.816, allocations: 29.53 kB / 1.138 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/0.816, allocations: 47.75 kB / 1.138 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=122): time 2.785e-06/0.816, allocations: 4 kB / 1.138 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of matching and sorting (n=122): time 0.001549/0.8176, allocations: 0.9357 MB / 1.139 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.458e-05/0.8176, allocations: 64.41 kB / 1.139 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000605/0.8182, allocations: 0.5471 MB / 1.14 GB, free: 9.461 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.134e-05/0.8183, allocations: 27.86 kB / 1.14 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002514/0.8185, allocations: 0.5071 MB / 1.14 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002386/0.8188, allocations: 386 kB / 1.14 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.998e-05/0.8188, allocations: 4.484 kB / 1.14 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.819, allocations: 349.9 kB / 1.141 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005956/0.8196, allocations: 358.6 kB / 1.141 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000659/0.8202, allocations: 461.8 kB / 1.142 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006571/0.8209, allocations: 406.9 kB / 1.142 GB, free: 6.957 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.8209, allocations: 3.938 kB / 1.142 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.001614/0.8225, allocations: 1.013 MB / 1.143 GB, free: 5.934 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.967e-05/0.8226, allocations: 102.2 kB / 1.143 GB, free: 5.824 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.8226, allocations: 0 / 1.143 GB, free: 5.824 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.8226, allocations: 4 kB / 1.143 GB, free: 5.82 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001171/0.8238, allocations: 279.7 kB / 1.143 GB, free: 5.547 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.8238, allocations: 7.984 kB / 1.143 GB, free: 5.539 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008173/0.8246, allocations: 175 kB / 1.143 GB, free: 5.367 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.899e-05/0.8247, allocations: 35.98 kB / 1.144 GB, free: 5.332 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.712e-06/0.8247, allocations: 5.25 kB / 1.144 GB, free: 5.328 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001368/0.8261, allocations: 0.8522 MB / 1.144 GB, free: 4.477 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.8261, allocations: 4 kB / 1.144 GB, free: 4.473 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.283e-06/0.8261, allocations: 4 kB / 1.144 GB, free: 4.469 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009681/0.8271, allocations: 223.7 kB / 1.145 GB, free: 4.25 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.8271, allocations: 4.703 kB / 1.145 GB, free: 4.246 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005872/0.8277, allocations: 116.8 kB / 1.145 GB, free: 4.133 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.922e-05/0.8278, allocations: 39.92 kB / 1.145 GB, free: 4.094 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (131): * Single equations (assignments): 131 * 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 0.0001625/0.8279, allocations: 120.8 kB / 1.145 GB, free: 3.969 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001529/0.8281, allocations: 106.7 kB / 1.145 GB, free: 3.863 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001952/0.8301, allocations: 1.173 MB / 1.146 GB, free: 2.684 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.296e-05/0.8301, allocations: 15.98 kB / 1.146 GB, free: 2.668 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.8301, allocations: 0 / 1.146 GB, free: 2.668 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.336e-05/0.8301, allocations: 7.969 kB / 1.146 GB, free: 2.66 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006379/0.8365, allocations: 4.438 MB / 1.15 GB, free: 13.99 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.101e-05/0.8365, allocations: 16 kB / 1.15 GB, free: 13.97 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001081/0.8376, allocations: 284.3 kB / 1.151 GB, free: 13.7 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.021e-05/0.8376, allocations: 24 kB / 1.151 GB, free: 13.67 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.277e-05/0.8377, allocations: 31.98 kB / 1.151 GB, free: 13.64 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.781e-05/0.8377, allocations: 27.92 kB / 1.151 GB, free: 13.61 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.17e-05/0.8378, allocations: 23.88 kB / 1.151 GB, free: 13.59 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002126/0.8399, allocations: 2.283 MB / 1.153 GB, free: 10.74 MB / 0.7605 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002195/0.8421, allocations: 2.692 MB / 1.156 GB, free: 7.465 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001638/0.8423, allocations: 215.5 kB / 1.156 GB, free: 7.234 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001342/0.8424, allocations: 24.7 kB / 1.156 GB, free: 7.211 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009359/0.8434, allocations: 151.9 kB / 1.156 GB, free: 7.062 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000159/0.8435, allocations: 120.1 kB / 1.156 GB, free: 6.945 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.266e-05/0.8436, allocations: 63.94 kB / 1.156 GB, free: 6.883 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.0004522/0.8441, allocations: 435.2 kB / 1.157 GB, free: 6.461 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.002282/0.8464, allocations: 0.4969 MB / 1.157 GB, free: 5.961 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 140 * 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.0001945/0.8466, allocations: 143 kB / 1.157 GB, free: 5.809 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.002151/0.8487, allocations: 1.45 MB / 1.159 GB, free: 4.359 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.8487, allocations: 4.188 kB / 1.159 GB, free: 4.355 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0008994/0.8496, allocations: 0.5732 MB / 1.159 GB, free: 3.785 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006897/0.8503, allocations: 139.5 kB / 1.159 GB, free: 3.66 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003682/0.854, allocations: 2.129 MB / 1.161 GB, free: 1.312 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001128/0.8552, allocations: 1.354 MB / 1.163 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of SimCode: time 3.8e-07/0.8552, allocations: 0 / 1.163 GB, free: 15.93 MB / 0.7761 GB (rm -f Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.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_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_Supply_u.fmu > Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.pipe 2>&1)