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.ReturnFan.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.ReturnFan,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan",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.797/1.797, allocations: 390.4 MB / 397.7 MB, free: 10.69 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009563/0.0009563, allocations: 180.8 kB / 490.8 MB, free: 11.21 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.1/1.1, allocations: 221.4 MB / 0.7863 GB, free: 13.59 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008602/0.0008605, allocations: 101.4 kB / 0.9264 GB, free: 4.555 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 0.2357/0.2365, allocations: 149.2 MB / 1.072 GB, free: 15.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.523/0.7596, allocations: 143 MB / 1.212 GB, free: 156.1 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1467/0.9063, allocations: 150.1 MB / 1.358 GB, free: 41.59 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001937/0.9065, allocations: 75.94 kB / 1.358 GB, free: 41.52 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.006407/0.913, allocations: 2.677 MB / 1.361 GB, free: 38.85 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/0.913, allocations: 9.094 kB / 1.361 GB, free: 38.84 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.069e-05/0.9131, allocations: 15.81 kB / 1.361 GB, free: 38.83 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.636e-05/0.9132, allocations: 171 kB / 1.361 GB, free: 38.62 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.9132, allocations: 0.6562 kB / 1.361 GB, free: 38.62 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.639e-05/0.9132, allocations: 12.94 kB / 1.361 GB, free: 38.61 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001022/0.9133, allocations: 53.92 kB / 1.361 GB, free: 38.56 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001046/0.9135, allocations: 69.64 kB / 1.361 GB, free: 38.48 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.9135, allocations: 0.7188 kB / 1.361 GB, free: 38.48 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.9135, allocations: 3.984 kB / 1.361 GB, free: 38.48 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.9135, allocations: 0.6875 kB / 1.361 GB, free: 38.48 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005269/0.914, allocations: 398.4 kB / 1.362 GB, free: 38.06 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 7.976e-05/0.9141, allocations: 56 kB / 1.362 GB, free: 38 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.246e-05/0.9142, allocations: 24.98 kB / 1.362 GB, free: 37.97 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 9.468e-06/0.9142, allocations: 0.6875 kB / 1.362 GB, free: 37.97 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.339e-05/0.9143, allocations: 65.72 kB / 1.362 GB, free: 37.89 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=8): time 1.303e-06/0.9143, allocations: 0 / 1.362 GB, free: 37.89 MB / 0.8855 GB Notification: Performance of matching and sorting (n=8): time 0.0001682/0.9145, allocations: 79.94 kB / 1.362 GB, free: 37.81 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.605e-05/0.9145, allocations: 51.41 kB / 1.362 GB, free: 37.75 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.311e-05/0.9145, allocations: 121.5 kB / 1.362 GB, free: 37.63 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.9146, allocations: 25.7 kB / 1.362 GB, free: 37.6 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 3.376e-05/0.9146, allocations: 105 kB / 1.362 GB, free: 37.49 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.903e-05/0.9146, allocations: 23.7 kB / 1.362 GB, free: 37.47 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.205e-05/0.9147, allocations: 1 kB / 1.362 GB, free: 37.47 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 3.776e-05/0.9147, allocations: 314.8 kB / 1.363 GB, free: 37.15 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.937e-05/0.9148, allocations: 36.98 kB / 1.363 GB, free: 37.12 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.317e-05/0.9149, allocations: 55.14 kB / 1.363 GB, free: 37.05 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001899/0.9151, allocations: 57.17 kB / 1.363 GB, free: 37 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.9151, allocations: 3.938 kB / 1.363 GB, free: 37 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003119/0.9154, allocations: 146.5 kB / 1.363 GB, free: 36.85 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.749e-06/0.9154, allocations: 4.5 kB / 1.363 GB, free: 36.85 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.9154, allocations: 0.875 kB / 1.363 GB, free: 36.85 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.9154, allocations: 4 kB / 1.363 GB, free: 36.84 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.9155, allocations: 17.23 kB / 1.363 GB, free: 36.83 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.918e-06/0.9155, allocations: 0.875 kB / 1.363 GB, free: 36.83 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002081/0.9158, allocations: 57.98 kB / 1.363 GB, free: 36.78 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.115e-05/0.9158, allocations: 8 kB / 1.363 GB, free: 36.77 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,$PRE.fanStatus.y,fanStatus.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * 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 5.19e-05/0.9158, allocations: 116.8 kB / 1.363 GB, free: 36.65 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.371e-05/0.9159, allocations: 8.469 kB / 1.363 GB, free: 36.64 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.578e-05/0.9159, allocations: 9.188 kB / 1.363 GB, free: 36.64 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.9159, allocations: 7.984 kB / 1.363 GB, free: 36.63 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.9159, allocations: 2.969 kB / 1.363 GB, free: 36.63 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.9159, allocations: 0 / 1.363 GB, free: 36.63 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.549e-05/0.916, allocations: 166.2 kB / 1.363 GB, free: 36.43 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.916, allocations: 0.5625 kB / 1.363 GB, free: 36.43 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.415e-05/0.9161, allocations: 21.02 kB / 1.363 GB, free: 36.41 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.9161, allocations: 5.094 kB / 1.363 GB, free: 36.41 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.9161, allocations: 0 / 1.363 GB, free: 36.41 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.9161, allocations: 0 / 1.363 GB, free: 36.41 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.9161, allocations: 0.8438 kB / 1.363 GB, free: 36.41 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001097/0.9163, allocations: 106.4 kB / 1.363 GB, free: 36.29 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001255/0.9164, allocations: 493.9 kB / 1.364 GB, free: 35.79 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 1.861e-05/0.9164, allocations: 81.83 kB / 1.364 GB, free: 35.69 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.735e-05/0.9164, allocations: 0 / 1.364 GB, free: 35.69 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.831e-05/0.9165, allocations: 18.73 kB / 1.364 GB, free: 35.68 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.04e-05/0.9166, allocations: 8.516 kB / 1.364 GB, free: 35.67 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.9166, allocations: 4 kB / 1.364 GB, free: 35.66 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.86e-05/0.9166, allocations: 91.78 kB / 1.364 GB, free: 35.57 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0007575/0.9174, allocations: 36.42 kB / 1.364 GB, free: 35.54 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,fanStatus.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * 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.0001084/0.9175, allocations: 116.2 kB / 1.364 GB, free: 35.41 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001692/0.9177, allocations: 106.2 kB / 1.364 GB, free: 35.3 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.9177, allocations: 1.344 kB / 1.364 GB, free: 35.3 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 4.757e-05/0.9177, allocations: 31.94 kB / 1.364 GB, free: 35.27 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001793/0.9179, allocations: 18.42 kB / 1.364 GB, free: 35.25 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002582/0.9182, allocations: 116.5 kB / 1.364 GB, free: 35.11 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001269/0.9183, allocations: 0.7166 MB / 1.365 GB, free: 34.37 MB / 0.8855 GB Notification: Performance of SimCode: time 2.61e-07/0.9183, allocations: 0.6875 kB / 1.365 GB, free: 34.37 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.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.ReturnFan_res.mat does not exist to compare? outputFormat=mat