Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_ExhaustDamper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_ExhaustDamper",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.0/package.mo): time 2.125/2.125, allocations: 284.8 MB / 292.1 MB, free: 10.78 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.001577/0.001577, allocations: 187.6 kB / 360.3 MB, free: 7.555 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.653/1.653, allocations: 205.1 MB / 0.6187 GB, free: 13.19 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.001256/0.001255, allocations: 89.52 kB / 0.7317 GB, free: 45.08 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2412/0.2425, allocations: 121.5 MB / 0.8503 GB, free: 3.809 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5567/0.7992, allocations: 115.2 MB / 0.9628 GB, free: 78.54 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2054/1.005, allocations: 137.4 MB / 1.097 GB, free: 3.402 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002751/1.005, allocations: 79.33 kB / 1.097 GB, free: 3.328 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.008187/1.013, allocations: 1.932 MB / 1.099 GB, free: 1.41 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/1.013, allocations: 8.5 kB / 1.099 GB, free: 1.402 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.509e-05/1.013, allocations: 19.81 kB / 1.099 GB, free: 1.383 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003263/1.014, allocations: 212.7 kB / 1.099 GB, free: 1.137 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.486e-05/1.014, allocations: 7.984 kB / 1.099 GB, free: 1.129 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.072e-05/1.014, allocations: 8 kB / 1.099 GB, free: 1.121 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000264/1.014, allocations: 68.47 kB / 1.099 GB, free: 1.055 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002895/1.014, allocations: 101.1 kB / 1.099 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/1.014, allocations: 3.188 kB / 1.099 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.048e-05/1.014, allocations: 3.938 kB / 1.099 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/1.014, allocations: 8.422 kB / 1.099 GB, free: 0.9414 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001184/1.016, allocations: 469.6 kB / 1.1 GB, free: 460 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001811/1.016, allocations: 63.41 kB / 1.1 GB, free: 388 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.916e-05/1.016, allocations: 36.7 kB / 1.1 GB, free: 348 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/1.016, allocations: 0 / 1.1 GB, free: 348 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/1.016, allocations: 34.56 kB / 1.1 GB, free: 304 kB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.633e-06/1.016, allocations: 0 / 1.1 GB, free: 304 kB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0002781/1.016, allocations: 77.78 kB / 1.1 GB, free: 220 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.293e-05/1.016, allocations: 51.41 kB / 1.1 GB, free: 156 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001818/1.017, allocations: 136 kB / 1.1 GB, free: 16 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.009e-05/1.017, allocations: 33.69 kB / 1.1 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.469e-05/1.017, allocations: 113 kB / 1.1 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.111e-05/1.017, allocations: 19.72 kB / 1.1 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.897e-06/1.017, allocations: 0 / 1.1 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000145/1.017, allocations: 322.8 kB / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.314e-05/1.017, allocations: 24 kB / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/1.017, allocations: 41.64 kB / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.901e-05/1.017, allocations: 22.59 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/1.017, allocations: 0 / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000237/1.017, allocations: 98.44 kB / 1.101 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/1.017, allocations: 4 kB / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/1.018, allocations: 3.938 kB / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/1.018, allocations: 5.547 kB / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002129/1.018, allocations: 19.98 kB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.439e-06/1.018, allocations: 0 / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001979/1.018, allocations: 23.98 kB / 1.101 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/1.018, allocations: 0 / 1.101 GB, free: 15.27 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($PRE.exhDamPos.greThr.y,exhDamPos.greThr.y,exhDamPos.and2.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.583e-05/1.018, allocations: 112.7 kB / 1.101 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.792e-05/1.018, allocations: 11.81 kB / 1.101 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003196/1.018, allocations: 94.09 kB / 1.101 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/1.019, allocations: 8.562 kB / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.381e-06/1.019, allocations: 2.188 kB / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/1.019, allocations: 1.219 kB / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005358/1.019, allocations: 361.3 kB / 1.102 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/1.019, allocations: 0 / 1.102 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001828/1.019, allocations: 27.92 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/1.019, allocations: 4.031 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/1.019, allocations: 0 / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.352e-06/1.019, allocations: 4 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/1.019, allocations: 0.8906 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002587/1.02, allocations: 189.9 kB / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004003/1.02, allocations: 0.5781 MB / 1.102 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.436e-05/1.02, allocations: 81.02 kB / 1.102 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.4e-05/1.02, allocations: 4 kB / 1.102 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002354/1.02, allocations: 19.98 kB / 1.102 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.127e-05/1.02, allocations: 17.75 kB / 1.102 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.527e-05/1.021, allocations: 5.625 kB / 1.102 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001149/1.021, allocations: 117.9 kB / 1.103 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001128/1.022, allocations: 16 kB / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (exhDamPos.greThr.y,exhDamPos.and2.y) * Number of discrete states: 1 (exhDamPos.greThr.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0001464/1.022, allocations: 103.2 kB / 1.103 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002262/1.022, allocations: 59.94 kB / 1.103 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/1.022, allocations: 0 / 1.103 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001085/1.022, allocations: 32 kB / 1.103 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003909/1.023, allocations: 28.42 kB / 1.103 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005805/1.023, allocations: 160.7 kB / 1.103 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004187/1.024, allocations: 0.7314 MB / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of SimCode: time 6.92e-07/1.024, allocations: 0 / 1.104 GB, free: 12.36 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_ExhaustDamper_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_ExhaustDamper.fmu > Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe 2>&1)