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.ExhaustDamper.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.ExhaustDamper,fileNamePrefix="Buildings_maint_8_0_x_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_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.304/1.304, allocations: 285.5 MB / 292.8 MB, free: 10.44 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.0009035/0.0009035, allocations: 181.2 kB / 361.1 MB, free: 7.102 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9976/0.9976, allocations: 205.1 MB / 0.6195 GB, free: 10.31 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.0007845/0.0007846, allocations: 96.97 kB / 0.7326 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1736/0.1745, allocations: 121.5 MB / 0.8512 GB, free: 2.82 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4233/0.5978, allocations: 115.3 MB / 0.9638 GB, free: 78.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1335/0.7313, allocations: 137.6 MB / 1.098 GB, free: 2.348 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000211/0.7316, allocations: 75.94 kB / 1.098 GB, free: 2.273 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.004652/0.7363, allocations: 1.931 MB / 1.1 GB, free: 368 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.7363, allocations: 9 kB / 1.1 GB, free: 360 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.795e-05/0.7364, allocations: 15.81 kB / 1.1 GB, free: 344 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002042/0.7366, allocations: 208 kB / 1.1 GB, free: 96 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.7366, allocations: 8 kB / 1.1 GB, free: 88 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.247e-05/0.7366, allocations: 8 kB / 1.1 GB, free: 80 kB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001527/0.7368, allocations: 69.94 kB / 1.1 GB, free: 12 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.737, allocations: 103.4 kB / 1.101 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.737, allocations: 3.141 kB / 1.101 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.595e-05/0.737, allocations: 2.75 kB / 1.101 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.737, allocations: 11.73 kB / 1.101 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007284/0.7377, allocations: 472 kB / 1.101 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000115/0.7379, allocations: 59.22 kB / 1.101 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.951e-05/0.7379, allocations: 36.8 kB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.738, allocations: 4 kB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.738, allocations: 34.5 kB / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.492e-06/0.738, allocations: 0 / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002402/0.7382, allocations: 81.73 kB / 1.101 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.394e-05/0.7383, allocations: 51.41 kB / 1.101 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.631e-05/0.7384, allocations: 132.9 kB / 1.101 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.7384, allocations: 29.7 kB / 1.101 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.299e-05/0.7385, allocations: 115.8 kB / 1.102 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.752e-05/0.7385, allocations: 23.7 kB / 1.102 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.601e-06/0.7385, allocations: 0 / 1.102 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.707e-05/0.7386, allocations: 318.8 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.323e-05/0.7386, allocations: 20 kB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.797e-05/0.7387, allocations: 41.72 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.365e-05/0.7387, allocations: 27.19 kB / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.7388, allocations: 32 / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001331/0.7389, allocations: 86.91 kB / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.7389, allocations: 10.97 kB / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.7389, allocations: 0 / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.7389, allocations: 4.656 kB / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000132/0.7391, allocations: 23.92 kB / 1.102 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.7391, allocations: 0 / 1.102 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/0.7392, allocations: 23.97 kB / 1.102 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.7392, allocations: 8 kB / 1.102 GB, free: 14.23 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 6.048e-05/0.7393, allocations: 107 kB / 1.102 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.38e-05/0.7393, allocations: 11.81 kB / 1.102 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001696/0.7395, allocations: 94.88 kB / 1.102 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.7395, allocations: 0.5625 kB / 1.102 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.7395, allocations: 3.938 kB / 1.102 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.7395, allocations: 3.984 kB / 1.102 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003153/0.7399, allocations: 357 kB / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.7399, allocations: 8.172 kB / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.854e-05/0.74, allocations: 15.98 kB / 1.103 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.74, allocations: 11.97 kB / 1.103 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.74, allocations: 0 / 1.103 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.74, allocations: 0 / 1.103 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.74, allocations: 0.6562 kB / 1.103 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001528/0.7402, allocations: 197.9 kB / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002241/0.7404, allocations: 0.5748 MB / 1.103 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.282e-05/0.7404, allocations: 85.02 kB / 1.104 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.294e-05/0.7405, allocations: 3.984 kB / 1.104 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/0.7406, allocations: 19.98 kB / 1.104 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.402e-05/0.7407, allocations: 15.98 kB / 1.104 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-06/0.7407, allocations: 0 / 1.104 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.326e-05/0.7407, allocations: 115.2 kB / 1.104 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007498/0.7415, allocations: 16 kB / 1.104 GB, free: 12.49 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 9.998e-05/0.7416, allocations: 110.1 kB / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001318/0.7417, allocations: 63.92 kB / 1.104 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.7417, allocations: 0 / 1.104 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.25e-05/0.7418, allocations: 24 kB / 1.104 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000243/0.7421, allocations: 30.11 kB / 1.104 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003654/0.7424, allocations: 161 kB / 1.104 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002872/0.7427, allocations: 0.7394 MB / 1.105 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of SimCode: time 2.31e-07/0.7427, allocations: 0 / 1.105 GB, free: 11.32 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe >> ../files/Buildings_maint.8.0.x_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_maint_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_ExhaustDamper_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_ExhaustDamper.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe 2>&1)