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.ExhaustDamper.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.ExhaustDamper,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.39/1.39, allocations: 289.8 MB / 297.1 MB, free: 6.645 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.001026/0.001026, allocations: 181.3 kB / 366.3 MB, free: 1.977 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.113/1.113, allocations: 205.1 MB / 0.6256 GB, free: 5.793 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.0008651/0.0008651, allocations: 101.9 kB / 0.7396 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2139/0.2148, allocations: 122.5 MB / 0.8592 GB, free: 13.16 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4554/0.6702, allocations: 116.3 MB / 0.9727 GB, free: 68.35 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1484/0.8187, allocations: 138.6 MB / 1.108 GB, free: 9.844 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000202/0.819, allocations: 84.77 kB / 1.108 GB, free: 9.762 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.00476/0.8237, allocations: 1.922 MB / 1.11 GB, free: 7.809 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.8238, allocations: 8 kB / 1.11 GB, free: 7.801 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.9e-05/0.8238, allocations: 19.81 kB / 1.11 GB, free: 7.781 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00023/0.8241, allocations: 222.4 kB / 1.11 GB, free: 7.527 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.8241, allocations: 4 kB / 1.11 GB, free: 7.523 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.973e-05/0.8241, allocations: 8 kB / 1.11 GB, free: 7.516 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001607/0.8243, allocations: 72.47 kB / 1.11 GB, free: 7.445 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.8245, allocations: 99.3 kB / 1.11 GB, free: 7.344 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.8245, allocations: 0 / 1.11 GB, free: 7.344 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.8245, allocations: 0 / 1.11 GB, free: 7.344 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.8245, allocations: 7.906 kB / 1.11 GB, free: 7.336 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007866/0.8253, allocations: 470.3 kB / 1.111 GB, free: 6.84 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001145/0.8254, allocations: 66.64 kB / 1.111 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.679e-05/0.8255, allocations: 28.77 kB / 1.111 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/0.8255, allocations: 8 kB / 1.111 GB, free: 6.727 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.759e-05/0.8256, allocations: 30.56 kB / 1.111 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.8256, allocations: 0 / 1.111 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002049/0.8258, allocations: 83.88 kB / 1.111 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.439e-05/0.8258, allocations: 51.41 kB / 1.111 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.8259, allocations: 130 kB / 1.111 GB, free: 6.406 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.8259, allocations: 25.7 kB / 1.111 GB, free: 6.375 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.098e-05/0.826, allocations: 121 kB / 1.111 GB, free: 6.254 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.739e-05/0.826, allocations: 19.7 kB / 1.111 GB, free: 6.234 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.362e-06/0.826, allocations: 4 kB / 1.111 GB, free: 6.23 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.677e-05/0.8261, allocations: 318.8 kB / 1.112 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.586e-05/0.8262, allocations: 20 kB / 1.112 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.612e-05/0.8263, allocations: 38.38 kB / 1.112 GB, free: 5.848 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.676e-05/0.8263, allocations: 27.61 kB / 1.112 GB, free: 5.824 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.8263, allocations: 4.219 kB / 1.112 GB, free: 5.82 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001383/0.8265, allocations: 85.58 kB / 1.112 GB, free: 5.73 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.8265, allocations: 15.92 kB / 1.112 GB, free: 5.715 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.8265, allocations: 0 / 1.112 GB, free: 5.715 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.8265, allocations: 8.734 kB / 1.112 GB, free: 5.707 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/0.8267, allocations: 15.98 kB / 1.112 GB, free: 5.691 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.8267, allocations: 4 kB / 1.112 GB, free: 5.688 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001099/0.8268, allocations: 23.92 kB / 1.112 GB, free: 5.664 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-06/0.8268, allocations: 0 / 1.112 GB, free: 5.664 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.988e-05/0.8269, allocations: 112.9 kB / 1.112 GB, free: 5.547 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.491e-05/0.8269, allocations: 11.81 kB / 1.112 GB, free: 5.535 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001712/0.8271, allocations: 90.31 kB / 1.112 GB, free: 5.441 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.8271, allocations: 4 kB / 1.112 GB, free: 5.438 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.8271, allocations: 5.297 kB / 1.112 GB, free: 5.434 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.8271, allocations: 0 / 1.112 GB, free: 5.434 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003284/0.8275, allocations: 359.8 kB / 1.113 GB, free: 5.035 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.8275, allocations: 0 / 1.113 GB, free: 5.035 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.852e-05/0.8276, allocations: 19.98 kB / 1.113 GB, free: 5.016 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.8276, allocations: 4.031 kB / 1.113 GB, free: 5.012 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.8276, allocations: 4 kB / 1.113 GB, free: 5.008 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.8276, allocations: 0 / 1.113 GB, free: 5.008 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.8276, allocations: 0 / 1.113 GB, free: 5.008 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00016/0.8278, allocations: 208.3 kB / 1.113 GB, free: 4.781 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002631/0.8281, allocations: 0.5648 MB / 1.113 GB, free: 4.188 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.897e-05/0.8281, allocations: 89 kB / 1.113 GB, free: 4.082 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.341e-05/0.8281, allocations: 4 kB / 1.113 GB, free: 4.078 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001468/0.8283, allocations: 19.98 kB / 1.113 GB, free: 4.059 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.682e-05/0.8284, allocations: 13.48 kB / 1.113 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.8284, allocations: 4 kB / 1.113 GB, free: 4.043 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.175e-05/0.8284, allocations: 114 kB / 1.114 GB, free: 3.934 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008176/0.8293, allocations: 20 kB / 1.114 GB, free: 3.914 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.0001142/0.8294, allocations: 107.2 kB / 1.114 GB, free: 3.797 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000133/0.8295, allocations: 56 kB / 1.114 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.8295, allocations: 4 kB / 1.114 GB, free: 3.738 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.618e-05/0.8296, allocations: 31.92 kB / 1.114 GB, free: 3.707 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002452/0.8298, allocations: 27.83 kB / 1.114 GB, free: 3.68 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003844/0.8302, allocations: 152.2 kB / 1.114 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003175/0.8306, allocations: 0.7404 MB / 1.115 GB, free: 2.742 MB / 0.7136 GB Notification: Performance of SimCode: time 1.874e-06/0.8306, allocations: 0 / 1.115 GB, free: 2.742 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe >> ../files/Buildings_8_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_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_ExhaustDamper_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_ExhaustDamper.fmu > Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe 2>&1)