Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReliefDamper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReliefDamper",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 10.0.0-master/package.mo): time 1.805/1.805, allocations: 390.4 MB / 397.7 MB, free: 11.24 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000952/0.0009519, allocations: 177.3 kB / 490.8 MB, free: 1.973 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.151/1.151, allocations: 221.3 MB / 0.7863 GB, free: 13.69 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000877/0.000877, allocations: 94.48 kB / 0.9264 GB, free: 14.22 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4136/0.4145, allocations: 149.2 MB / 1.072 GB, free: 182.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1825/0.5969, allocations: 143 MB / 1.212 GB, free: 39.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5301/1.127, allocations: 150.4 MB / 1.359 GB, free: 17.21 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002538/1.127, allocations: 79.39 kB / 1.359 GB, free: 17.21 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.01073/1.138, allocations: 3.72 MB / 1.362 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/1.138, allocations: 12.16 kB / 1.362 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.556e-05/1.138, allocations: 25.75 kB / 1.362 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003418/1.139, allocations: 260 kB / 1.363 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/1.139, allocations: 5.812 kB / 1.363 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.578e-05/1.139, allocations: 10.91 kB / 1.363 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001856/1.139, allocations: 91.23 kB / 1.363 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/1.139, allocations: 114.2 kB / 1.363 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/1.139, allocations: 1.406 kB / 1.363 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/1.139, allocations: 0 / 1.363 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/1.139, allocations: 2.812 kB / 1.363 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007202/1.14, allocations: 0.5253 MB / 1.363 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002594/1.14, allocations: 92.41 kB / 1.363 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.866e-05/1.14, allocations: 37.33 kB / 1.363 GB, free: 32 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.465e-05/1.14, allocations: 1.094 kB / 1.363 GB, free: 32 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001138/1.14, allocations: 95.67 kB / 1.364 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=12): time 1.834e-06/1.14, allocations: 0 / 1.364 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of matching and sorting (n=12): time 0.0002369/1.141, allocations: 116.3 kB / 1.364 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.988e-05/1.141, allocations: 57.72 kB / 1.364 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/1.141, allocations: 144.9 kB / 1.364 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/1.141, allocations: 31.42 kB / 1.364 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.494e-05/1.141, allocations: 126.8 kB / 1.364 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.618e-05/1.141, allocations: 28.89 kB / 1.364 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.664e-05/1.141, allocations: 4.062 kB / 1.364 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.389e-05/1.141, allocations: 327.4 kB / 1.364 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/1.141, allocations: 52.67 kB / 1.364 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001122/1.141, allocations: 78.28 kB / 1.364 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002167/1.141, allocations: 59.28 kB / 1.365 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/1.141, allocations: 5.344 kB / 1.365 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003904/1.142, allocations: 183.2 kB / 1.365 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/1.142, allocations: 5.062 kB / 1.365 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/1.142, allocations: 0 / 1.365 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/1.142, allocations: 2.734 kB / 1.365 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/1.142, allocations: 36.56 kB / 1.365 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/1.142, allocations: 2.312 kB / 1.365 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002962/1.142, allocations: 76.31 kB / 1.365 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.948e-05/1.142, allocations: 18.73 kB / 1.365 GB, free: 31.16 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,$PRE.relDam.greThr.greHys.y,relDam.greThr.greHys.y,relDam.and2.y,$PRE.fanStatus.y,fanStatus.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 1 * 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 7.698e-05/1.142, allocations: 109.2 kB / 1.365 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.243e-05/1.142, allocations: 13.53 kB / 1.365 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002289/1.143, allocations: 132.3 kB / 1.365 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/1.143, allocations: 3.812 kB / 1.365 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/1.143, allocations: 0 / 1.365 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/1.143, allocations: 0 / 1.365 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001515/1.143, allocations: 227.7 kB / 1.365 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/1.143, allocations: 0 / 1.365 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001608/1.143, allocations: 28.98 kB / 1.365 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/1.143, allocations: 3.203 kB / 1.365 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/1.143, allocations: 0 / 1.365 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/1.143, allocations: 5.344 kB / 1.365 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/1.143, allocations: 0 / 1.365 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001788/1.143, allocations: 152.8 kB / 1.366 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002463/1.144, allocations: 0.513 MB / 1.366 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.684e-05/1.144, allocations: 90.31 kB / 1.366 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.905e-05/1.144, allocations: 10.97 kB / 1.366 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001684/1.144, allocations: 32.45 kB / 1.366 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.466e-05/1.144, allocations: 14.27 kB / 1.366 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/1.144, allocations: 7.812 kB / 1.366 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7.187e-05/1.144, allocations: 115.7 kB / 1.366 GB, free: 30.13 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0007729/1.145, allocations: 44.41 kB / 1.366 GB, free: 30.12 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,relDam.greThr.greHys.y,relDam.and2.y,fanStatus.y) * Number of discrete states: 1 (relDam.greThr.greHys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000148/1.145, allocations: 120.5 kB / 1.366 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002545/1.145, allocations: 147.2 kB / 1.367 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/1.145, allocations: 4.125 kB / 1.367 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.729e-05/1.145, allocations: 50.3 kB / 1.367 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000224/1.145, allocations: 26.09 kB / 1.367 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004278/1.146, allocations: 200.1 kB / 1.367 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002667/1.146, allocations: 0.7543 MB / 1.368 GB, free: 29.16 MB / 0.8386 GB Notification: Performance of SimCode: time 2.3e-07/1.146, allocations: 0 / 1.368 GB, free: 29.16 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReliefDamper_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReliefDamper.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper_res.mat does not exist to compare? outputFormat=mat