Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.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.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 1.837/1.837, allocations: 390.4 MB / 397.7 MB, free: 11.28 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.000915/0.000915, allocations: 180.5 kB / 490.8 MB, free: 1.969 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.156/1.156, allocations: 221.4 MB / 0.7863 GB, free: 13.66 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.0008809/0.000881, allocations: 98.33 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4358/0.4367, allocations: 149.2 MB / 1.072 GB, free: 182.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1925/0.6292, allocations: 143 MB / 1.212 GB, free: 39.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.535/1.164, allocations: 152.5 MB / 1.361 GB, free: 17.53 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001967/1.165, allocations: 80.88 kB / 1.361 GB, free: 17.53 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: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.04985/1.214, allocations: 21.96 MB / 1.382 GB, free: 29.25 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/1.214, allocations: 12.88 kB / 1.382 GB, free: 29.24 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002461/1.215, allocations: 168.8 kB / 1.382 GB, free: 29.16 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009526/1.216, allocations: 0.7471 MB / 1.383 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001218/1.216, allocations: 148.4 kB / 1.383 GB, free: 28.63 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001575/1.216, allocations: 86.47 kB / 1.383 GB, free: 28.62 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001524/1.217, allocations: 0.8548 MB / 1.384 GB, free: 28.61 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001725/1.219, allocations: 1.055 MB / 1.385 GB, free: 28.36 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.239e-05/1.219, allocations: 7.938 kB / 1.385 GB, free: 28.36 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.059e-05/1.219, allocations: 2.5 kB / 1.385 GB, free: 28.36 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.078e-05/1.219, allocations: 32.28 kB / 1.385 GB, free: 28.36 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005406/1.225, allocations: 3.912 MB / 1.389 GB, free: 26.6 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001057/1.226, allocations: 0.6691 MB / 1.39 GB, free: 26.53 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000463/1.226, allocations: 328.6 kB / 1.39 GB, free: 26.51 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.643e-05/1.226, allocations: 21.64 kB / 1.39 GB, free: 26.5 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005954/1.227, allocations: 462.7 kB / 1.39 GB, free: 26.31 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=88): time 2.304e-06/1.227, allocations: 0.5312 kB / 1.39 GB, free: 26.31 MB / 0.8386 GB Notification: Performance of matching and sorting (n=88): time 0.001008/1.228, allocations: 0.6175 MB / 1.391 GB, free: 26.18 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.639e-05/1.228, allocations: 380.1 kB / 1.391 GB, free: 25.74 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006931/1.229, allocations: 0.6172 MB / 1.392 GB, free: 25.56 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.869e-05/1.229, allocations: 32.42 kB / 1.392 GB, free: 25.53 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002299/1.229, allocations: 495.6 kB / 1.393 GB, free: 25.17 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001444/1.229, allocations: 278.5 kB / 1.393 GB, free: 24.96 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.647e-05/1.229, allocations: 2.344 kB / 1.393 GB, free: 24.96 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001398/1.229, allocations: 397.8 kB / 1.393 GB, free: 24.62 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004868/1.23, allocations: 297.2 kB / 1.393 GB, free: 24.62 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005964/1.231, allocations: 491.1 kB / 1.394 GB, free: 24.42 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006705/1.231, allocations: 354.6 kB / 1.394 GB, free: 24.37 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/1.231, allocations: 1.375 kB / 1.394 GB, free: 24.37 MB / 0.8386 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.001426/1.233, allocations: 0.8825 MB / 1.395 GB, free: 24.2 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.000201/1.233, allocations: 0.6201 MB / 1.396 GB, free: 23.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/1.233, allocations: 1.844 kB / 1.396 GB, free: 23.55 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/1.233, allocations: 10.97 kB / 1.396 GB, free: 23.55 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008152/1.234, allocations: 207.9 kB / 1.396 GB, free: 23.51 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/1.234, allocations: 13.47 kB / 1.396 GB, free: 23.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008047/1.235, allocations: 181.1 kB / 1.396 GB, free: 23.42 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.22e-05/1.235, allocations: 43.08 kB / 1.396 GB, free: 23.41 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.903e-06/1.235, allocations: 7.469 kB / 1.396 GB, free: 23.41 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001244/1.236, allocations: 0.7349 MB / 1.397 GB, free: 23.33 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/1.236, allocations: 1.344 kB / 1.397 GB, free: 23.33 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.436e-06/1.236, allocations: 6.25 kB / 1.397 GB, free: 23.33 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006873/1.237, allocations: 184.3 kB / 1.397 GB, free: 23.29 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/1.237, allocations: 6.219 kB / 1.397 GB, free: 23.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006489/1.237, allocations: 157.5 kB / 1.397 GB, free: 23.22 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-05/1.237, allocations: 32.22 kB / 1.397 GB, free: 23.22 MB / 0.8386 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.0001767/1.238, allocations: 139.6 kB / 1.397 GB, free: 23.09 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/1.238, allocations: 88.44 kB / 1.398 GB, free: 23.05 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00117/1.239, allocations: 0.7243 MB / 1.398 GB, free: 22.89 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/1.239, allocations: 10.06 kB / 1.398 GB, free: 22.89 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/1.239, allocations: 4 kB / 1.398 GB, free: 22.88 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/1.239, allocations: 4.078 kB / 1.398 GB, free: 22.88 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001937/1.241, allocations: 1.715 MB / 1.4 GB, free: 22.26 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/1.241, allocations: 9.375 kB / 1.4 GB, free: 22.25 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007344/1.242, allocations: 178.4 kB / 1.4 GB, free: 22.21 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.113e-06/1.242, allocations: 3.562 kB / 1.4 GB, free: 22.21 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.854e-05/1.242, allocations: 7.719 kB / 1.4 GB, free: 22.21 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.162e-06/1.242, allocations: 7.688 kB / 1.4 GB, free: 22.21 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/1.242, allocations: 0 / 1.4 GB, free: 22.21 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001628/1.243, allocations: 1.153 MB / 1.401 GB, free: 21.94 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00224/1.246, allocations: 1.913 MB / 1.403 GB, free: 21.31 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001402/1.246, allocations: 185.2 kB / 1.403 GB, free: 21.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001166/1.246, allocations: 2.625 kB / 1.403 GB, free: 21.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000562/1.246, allocations: 86.86 kB / 1.403 GB, free: 21.12 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/1.247, allocations: 57.27 kB / 1.403 GB, free: 21.09 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.442e-05/1.247, allocations: 30.2 kB / 1.403 GB, free: 21.09 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0005482/1.247, allocations: 461 kB / 1.404 GB, free: 20.97 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.002171/1.249, allocations: 464.2 kB / 1.404 GB, free: 20.85 MB / 0.8386 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.0001992/1.25, allocations: 138 kB / 1.404 GB, free: 20.74 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.00195/1.251, allocations: 1.248 MB / 1.406 GB, free: 20.59 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/1.251, allocations: 5.031 kB / 1.406 GB, free: 20.59 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0005555/1.252, allocations: 346.7 kB / 1.406 GB, free: 20.57 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009144/1.253, allocations: 181.4 kB / 1.406 GB, free: 20.49 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00251/1.255, allocations: 1.459 MB / 1.408 GB, free: 19.19 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007683/1.256, allocations: 1.239 MB / 1.409 GB, free: 17.93 MB / 0.8386 GB Notification: Performance of SimCode: time 3.11e-07/1.256, allocations: 0 / 1.409 GB, free: 17.93 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanDirectPressure_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanDirectPressure.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe 2>&1)