Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.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 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.273/1.273, allocations: 249.4 MB / 256.7 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009903/0.0009904, allocations: 177.3 kB / 316 MB, free: 3.52 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.15/1.15, allocations: 205.1 MB / 0.5667 GB, free: 15.64 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008168/0.0008168, allocations: 86.22 kB / 0.671 GB, free: 4.766 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3338/0.3346, allocations: 112.5 MB / 0.7809 GB, free: 102.9 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.4927, allocations: 106.3 MB / 0.8847 GB, free: 12.44 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.476/0.9686, allocations: 132.7 MB / 1.014 GB, free: 5.723 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002091/0.9689, allocations: 79.86 kB / 1.014 GB, free: 5.676 MB / 0.6355 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.004694/0.9736, allocations: 1.948 MB / 1.016 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.9736, allocations: 8 kB / 1.016 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.553e-05/0.9737, allocations: 15.81 kB / 1.016 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002109/0.9739, allocations: 215.7 kB / 1.017 GB, free: 3.676 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.9739, allocations: 7.906 kB / 1.017 GB, free: 3.668 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.953e-05/0.974, allocations: 8 kB / 1.017 GB, free: 3.66 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001499/0.9741, allocations: 74.84 kB / 1.017 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.9743, allocations: 100.2 kB / 1.017 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.9743, allocations: 3.938 kB / 1.017 GB, free: 3.531 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.9743, allocations: 0.75 kB / 1.017 GB, free: 3.531 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.9744, allocations: 3.938 kB / 1.017 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007305/0.9751, allocations: 473.7 kB / 1.017 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/0.9752, allocations: 63.47 kB / 1.017 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.633e-05/0.9753, allocations: 31.59 kB / 1.017 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.086e-05/0.9753, allocations: 3.984 kB / 1.017 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.9753, allocations: 34.56 kB / 1.017 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.9753, allocations: 2.734 kB / 1.017 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0001816/0.9755, allocations: 76.48 kB / 1.017 GB, free: 2.906 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.357e-05/0.9755, allocations: 51.41 kB / 1.017 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.369e-05/0.9756, allocations: 135 kB / 1.018 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.9757, allocations: 29.7 kB / 1.018 GB, free: 2.684 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.613e-05/0.9757, allocations: 110.5 kB / 1.018 GB, free: 2.578 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.674e-05/0.9758, allocations: 19.48 kB / 1.018 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.32e-06/0.9758, allocations: 4 kB / 1.018 GB, free: 2.559 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.817e-05/0.9759, allocations: 326.4 kB / 1.018 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.294e-05/0.9759, allocations: 22.25 kB / 1.018 GB, free: 2.223 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.17e-05/0.976, allocations: 39.47 kB / 1.018 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.241e-05/0.976, allocations: 21.38 kB / 1.018 GB, free: 2.18 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.976, allocations: 0 / 1.018 GB, free: 2.18 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001317/0.9762, allocations: 92.16 kB / 1.018 GB, free: 2.102 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.688e-06/0.9762, allocations: 4 kB / 1.018 GB, free: 2.098 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.9762, allocations: 5.656 kB / 1.018 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.306e-06/0.9762, allocations: 0 / 1.018 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.9763, allocations: 19.98 kB / 1.018 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.9763, allocations: 0 / 1.018 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001084/0.9765, allocations: 28.16 kB / 1.018 GB, free: 2.047 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.968e-06/0.9765, allocations: 7.625 kB / 1.018 GB, free: 2.043 MB / 0.6355 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.677e-05/0.9765, allocations: 109 kB / 1.018 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.274e-05/0.9766, allocations: 15.84 kB / 1.018 GB, free: 1.914 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001654/0.9768, allocations: 91.94 kB / 1.018 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.9768, allocations: 4 kB / 1.018 GB, free: 1.836 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.9768, allocations: 224 / 1.018 GB, free: 1.836 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.9768, allocations: 11.89 kB / 1.018 GB, free: 1.824 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003117/0.9771, allocations: 357.8 kB / 1.019 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.9771, allocations: 0 / 1.019 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/0.9772, allocations: 25.36 kB / 1.019 GB, free: 1.445 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.299e-06/0.9772, allocations: 3.906 kB / 1.019 GB, free: 1.441 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.747e-06/0.9772, allocations: 0 / 1.019 GB, free: 1.441 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.9773, allocations: 4.031 kB / 1.019 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.9773, allocations: 4 kB / 1.019 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001523/0.9774, allocations: 199.2 kB / 1.019 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002282/0.9777, allocations: 0.558 MB / 1.02 GB, free: 0.6641 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.678e-05/0.9777, allocations: 91.48 kB / 1.02 GB, free: 0.5586 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.384e-05/0.9777, allocations: 7.984 kB / 1.02 GB, free: 0.5508 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001336/0.9779, allocations: 19.98 kB / 1.02 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.091e-05/0.9779, allocations: 7.984 kB / 1.02 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/0.9779, allocations: 10.56 kB / 1.02 GB, free: 0.5156 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.665e-05/0.978, allocations: 111.2 kB / 1.02 GB, free: 428 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007738/0.9788, allocations: 19.91 kB / 1.02 GB, free: 408 kB / 0.6355 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.0001572/0.979, allocations: 99.25 kB / 1.02 GB, free: 296 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001424/0.9791, allocations: 71.84 kB / 1.02 GB, free: 248 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.9791, allocations: 4 kB / 1.02 GB, free: 244 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.288e-05/0.9792, allocations: 26.88 kB / 1.02 GB, free: 224 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000245/0.9794, allocations: 19.42 kB / 1.02 GB, free: 208 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003506/0.9798, allocations: 155.7 kB / 1.02 GB, free: 48 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002779/0.9801, allocations: 0.7271 MB / 1.021 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of SimCode: time 2.31e-07/0.9801, allocations: 0 / 1.021 GB, free: 15.29 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe >> ../files/Buildings_maint.7.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_7_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_7_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_ExhaustDamper.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe 2>&1)