Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper,fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.839/1.839, allocations: 387.2 MB / 394.5 MB, free: 13.68 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.001045/0.001045, allocations: 173.4 kB / 487 MB, free: 5.406 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.167/1.167, allocations: 221.3 MB / 0.7819 GB, free: 1.398 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008571/0.0008571, allocations: 107.2 kB / 0.9213 GB, free: 2.652 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4198/0.4207, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1905/0.6112, allocations: 142.3 MB / 1.205 GB, free: 26.11 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5039/1.115, allocations: 148.9 MB / 1.351 GB, free: 16.27 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001882/1.115, allocations: 72.84 kB / 1.351 GB, free: 16.27 MB / 0.8073 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.004479/1.12, allocations: 1.944 MB / 1.353 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/1.12, allocations: 8.844 kB / 1.353 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.483e-05/1.12, allocations: 15.53 kB / 1.353 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001839/1.12, allocations: 208.8 kB / 1.353 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/1.12, allocations: 4.719 kB / 1.353 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.155e-05/1.12, allocations: 6.312 kB / 1.353 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001537/1.12, allocations: 71.77 kB / 1.353 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001714/1.12, allocations: 106.2 kB / 1.353 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/1.12, allocations: 0.5625 kB / 1.353 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/1.121, allocations: 0 / 1.353 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/1.121, allocations: 7.125 kB / 1.353 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006934/1.121, allocations: 468.5 kB / 1.354 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001082/1.121, allocations: 69.48 kB / 1.354 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.719e-05/1.121, allocations: 28.72 kB / 1.354 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/1.121, allocations: 5.031 kB / 1.354 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.488e-05/1.121, allocations: 32.48 kB / 1.354 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/1.121, allocations: 0 / 1.354 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0001764/1.122, allocations: 78.09 kB / 1.354 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.736e-05/1.122, allocations: 53.03 kB / 1.354 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.064e-05/1.122, allocations: 143.3 kB / 1.354 GB, free: 15 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/1.122, allocations: 28.02 kB / 1.354 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.321e-05/1.122, allocations: 115 kB / 1.354 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.571e-05/1.122, allocations: 19.88 kB / 1.354 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.721e-06/1.122, allocations: 0 / 1.354 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.101e-05/1.122, allocations: 321.3 kB / 1.354 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.593e-05/1.122, allocations: 23.75 kB / 1.354 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.246e-05/1.122, allocations: 39.64 kB / 1.355 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.165e-05/1.122, allocations: 26.8 kB / 1.355 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/1.122, allocations: 0 / 1.355 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000135/1.122, allocations: 91.05 kB / 1.355 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/1.122, allocations: 8.625 kB / 1.355 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/1.122, allocations: 0.9375 kB / 1.355 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/1.122, allocations: 6.031 kB / 1.355 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001347/1.122, allocations: 18.03 kB / 1.355 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/1.122, allocations: 8.906 kB / 1.355 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001099/1.123, allocations: 17.05 kB / 1.355 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/1.123, allocations: 2 kB / 1.355 GB, free: 14.48 MB / 0.8073 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 4.511e-05/1.123, allocations: 112.2 kB / 1.355 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.275e-05/1.123, allocations: 15.81 kB / 1.355 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001603/1.123, allocations: 98.44 kB / 1.355 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/1.123, allocations: 0.7812 kB / 1.355 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/1.123, allocations: 4.688 kB / 1.355 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/1.123, allocations: 0 / 1.355 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000284/1.123, allocations: 362.3 kB / 1.355 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/1.123, allocations: 0.625 kB / 1.355 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/1.123, allocations: 23.47 kB / 1.355 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/1.123, allocations: 1.094 kB / 1.355 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/1.123, allocations: 1.125 kB / 1.355 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/1.123, allocations: 0 / 1.355 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/1.123, allocations: 5.812 kB / 1.355 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001299/1.123, allocations: 200.4 kB / 1.355 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001548/1.124, allocations: 0.5648 MB / 1.356 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.259e-05/1.124, allocations: 88.84 kB / 1.356 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.352e-05/1.124, allocations: 2.062 kB / 1.356 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001381/1.124, allocations: 21.3 kB / 1.356 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.219e-05/1.124, allocations: 15.09 kB / 1.356 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/1.124, allocations: 6.031 kB / 1.356 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5.167e-05/1.124, allocations: 117.3 kB / 1.356 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0007682/1.125, allocations: 20.06 kB / 1.356 GB, free: 13.14 MB / 0.8073 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 8.599e-05/1.125, allocations: 106 kB / 1.356 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001278/1.125, allocations: 56.48 kB / 1.356 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/1.125, allocations: 0 / 1.356 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.716e-05/1.125, allocations: 37.59 kB / 1.356 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002379/1.125, allocations: 28.22 kB / 1.357 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003543/1.126, allocations: 154.1 kB / 1.357 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003386/1.126, allocations: 0.733 MB / 1.357 GB, free: 28.22 MB / 0.823 GB Notification: Performance of SimCode: time 2.51e-07/1.126, allocations: 1 kB / 1.357 GB, free: 28.22 MB / 0.823 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_ExhaustDamper_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_ExhaustDamper.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper_res.mat does not exist to compare? outputFormat=mat