Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.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.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanDirectPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanDirectPressure",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.824/1.824, 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.0009542/0.0009543, allocations: 173.4 kB / 487 MB, free: 5.383 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.168/1.168, allocations: 221.3 MB / 0.7819 GB, free: 1.406 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.000922/0.0009222, allocations: 100.6 kB / 0.9213 GB, free: 2.656 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4176/0.4185, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1841/0.6026, allocations: 142.3 MB / 1.205 GB, free: 26.08 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5158/1.119, allocations: 151.7 MB / 1.354 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000204/1.119, allocations: 81.39 kB / 1.354 GB, free: 15.89 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: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.0462/1.165, allocations: 21.96 MB / 1.375 GB, free: 3.527 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.017e-05/1.165, allocations: 8 kB / 1.375 GB, free: 3.52 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002063/1.165, allocations: 166 kB / 1.375 GB, free: 3.355 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009036/1.166, allocations: 0.7508 MB / 1.376 GB, free: 2.762 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.405e-05/1.166, allocations: 139.8 kB / 1.376 GB, free: 2.605 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001259/1.166, allocations: 87.55 kB / 1.376 GB, free: 2.523 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001317/1.168, allocations: 0.8534 MB / 1.377 GB, free: 2.023 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001463/1.169, allocations: 1.054 MB / 1.378 GB, free: 1.266 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.028e-05/1.169, allocations: 4 kB / 1.378 GB, free: 1.262 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.734e-05/1.169, allocations: 0 / 1.378 GB, free: 1.262 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.047e-05/1.169, allocations: 32 kB / 1.378 GB, free: 1.23 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005146/1.174, allocations: 3.923 MB / 1.382 GB, free: 14.38 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/1.175, allocations: 0.6752 MB / 1.383 GB, free: 13.95 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004255/1.176, allocations: 323.9 kB / 1.383 GB, free: 13.76 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.228e-05/1.176, allocations: 19.7 kB / 1.383 GB, free: 13.75 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005814/1.177, allocations: 468.8 kB / 1.383 GB, free: 13.39 MB / 0.823 GB Notification: Performance of pre-optimization done (n=88): time 2.836e-06/1.177, allocations: 0 / 1.383 GB, free: 13.39 MB / 0.823 GB Notification: Performance of matching and sorting (n=88): time 0.001038/1.178, allocations: 0.6187 MB / 1.384 GB, free: 12.93 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000155/1.178, allocations: 380.3 kB / 1.384 GB, free: 12.48 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000694/1.178, allocations: 0.6153 MB / 1.385 GB, free: 12.04 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 6.486e-05/1.179, allocations: 29.7 kB / 1.385 GB, free: 12 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002893/1.179, allocations: 0.4888 MB / 1.385 GB, free: 11.57 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001744/1.179, allocations: 274.7 kB / 1.386 GB, free: 11.34 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.554e-05/1.179, allocations: 4 kB / 1.386 GB, free: 11.33 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001432/1.179, allocations: 395.4 kB / 1.386 GB, free: 10.97 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004665/1.18, allocations: 298.9 kB / 1.386 GB, free: 10.82 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00059/1.18, allocations: 493.7 kB / 1.387 GB, free: 10.43 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006564/1.181, allocations: 355.7 kB / 1.387 GB, free: 10.21 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/1.181, allocations: 4 kB / 1.387 GB, free: 10.21 MB / 0.823 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.001402/1.182, allocations: 0.8785 MB / 1.388 GB, free: 9.582 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002193/1.183, allocations: 0.6165 MB / 1.389 GB, free: 8.934 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/1.183, allocations: 4 kB / 1.389 GB, free: 8.93 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/1.183, allocations: 7.906 kB / 1.389 GB, free: 8.922 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008409/1.184, allocations: 209.8 kB / 1.389 GB, free: 8.723 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/1.184, allocations: 4 kB / 1.389 GB, free: 8.719 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008165/1.184, allocations: 187.1 kB / 1.389 GB, free: 8.535 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.429e-05/1.184, allocations: 37.61 kB / 1.389 GB, free: 8.508 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 7.434e-06/1.184, allocations: 4 kB / 1.389 GB, free: 8.504 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001207/1.186, allocations: 0.7307 MB / 1.39 GB, free: 8.016 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/1.186, allocations: 4.156 kB / 1.39 GB, free: 8.012 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.565e-06/1.186, allocations: 8 kB / 1.39 GB, free: 8.004 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007059/1.186, allocations: 194 kB / 1.39 GB, free: 7.82 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/1.186, allocations: 4 kB / 1.39 GB, free: 7.816 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006747/1.187, allocations: 162.2 kB / 1.39 GB, free: 7.66 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.569e-05/1.187, allocations: 29.19 kB / 1.39 GB, free: 7.637 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition1,$whenCondition2,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.retFanPre.movMea.mode,retFanPre.movMea.mode,$PRE.retFanPre1.movMea.mode,retFanPre1.movMea.mode,$PRE.retFanPre2.movMea.mode,retFanPre2.movMea.mode,$PRE.yFan.y,yFan.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 121 * 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 0.0001741/1.187, allocations: 131.7 kB / 1.39 GB, free: 7.504 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/1.187, allocations: 90.88 kB / 1.39 GB, free: 7.414 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001204/1.189, allocations: 0.7247 MB / 1.391 GB, free: 6.902 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/1.189, allocations: 12 kB / 1.391 GB, free: 6.891 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/1.189, allocations: 0 / 1.391 GB, free: 6.891 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.838e-06/1.189, allocations: 3.984 kB / 1.391 GB, free: 6.887 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001988/1.191, allocations: 1.717 MB / 1.393 GB, free: 5.668 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/1.191, allocations: 8 kB / 1.393 GB, free: 5.66 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007266/1.191, allocations: 170.7 kB / 1.393 GB, free: 5.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.688e-06/1.192, allocations: 11.98 kB / 1.393 GB, free: 5.488 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.766e-05/1.192, allocations: 11.62 kB / 1.393 GB, free: 5.48 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/1.192, allocations: 4 kB / 1.393 GB, free: 5.477 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/1.192, allocations: 96 / 1.393 GB, free: 5.477 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00148/1.193, allocations: 1.15 MB / 1.394 GB, free: 4.68 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001999/1.195, allocations: 1.919 MB / 1.396 GB, free: 3.309 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001563/1.195, allocations: 182.8 kB / 1.396 GB, free: 3.125 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001148/1.195, allocations: 4 kB / 1.396 GB, free: 3.121 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005505/1.196, allocations: 87.92 kB / 1.396 GB, free: 3.035 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.536e-05/1.196, allocations: 48.08 kB / 1.396 GB, free: 2.996 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.954e-05/1.196, allocations: 35.3 kB / 1.396 GB, free: 2.969 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0004798/1.197, allocations: 460.4 kB / 1.397 GB, free: 2.66 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002067/1.199, allocations: 464.8 kB / 1.397 GB, free: 2.207 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (retFanPre.movMea.mu,retFanPre.conP.I.y,retFanPre1.movMea.mu,retFanPre1.conP.I.y,retFanPre2.movMea.mu,retFanPre2.conP.I.y) * Number of discrete variables: 12 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,retFanPre.movMea.mode,retFanPre1.movMea.mode,retFanPre2.movMea.mode,yFan.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0002019/1.199, allocations: 142.7 kB / 1.397 GB, free: 2.062 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001695/1.201, allocations: 1.241 MB / 1.399 GB, free: 1.227 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/1.201, allocations: 4 kB / 1.399 GB, free: 1.223 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004787/1.201, allocations: 354.3 kB / 1.399 GB, free: 0.9844 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008873/1.202, allocations: 182.6 kB / 1.399 GB, free: 0.8398 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002677/1.205, allocations: 1.451 MB / 1.4 GB, free: 15.54 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000892/1.206, allocations: 1.241 MB / 1.402 GB, free: 14.28 MB / 0.8386 GB Notification: Performance of SimCode: time 3.5e-07/1.206, allocations: 0 / 1.402 GB, free: 14.28 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanDirectPressure_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanDirectPressure.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe 2>&1)