Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanDirectPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_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 8.0.0/package.mo): time 2.138/2.138, allocations: 284.8 MB / 292.1 MB, free: 10.77 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00157/0.00157, allocations: 191.4 kB / 360.3 MB, free: 7.547 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.645/1.645, allocations: 205.1 MB / 0.6187 GB, free: 13.22 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001209/0.001209, allocations: 97.84 kB / 0.7317 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2444/0.2457, allocations: 121.5 MB / 0.8503 GB, free: 3.859 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5585/0.8042, allocations: 115.2 MB / 0.9628 GB, free: 78.59 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2116/1.016, allocations: 139.6 MB / 1.099 GB, free: 1.219 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002786/1.016, allocations: 84.45 kB / 1.099 GB, free: 1.137 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.06791/1.084, allocations: 16.41 MB / 1.115 GB, free: 0.793 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/1.084, allocations: 12.5 kB / 1.115 GB, free: 0.7812 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002986/1.085, allocations: 110.7 kB / 1.115 GB, free: 0.6719 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00134/1.086, allocations: 0.5765 MB / 1.116 GB, free: 56 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001713/1.086, allocations: 123.1 kB / 1.116 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001798/1.086, allocations: 52 kB / 1.116 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001904/1.088, allocations: 0.5702 MB / 1.117 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001991/1.09, allocations: 0.6941 MB / 1.117 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.356e-05/1.09, allocations: 7.906 kB / 1.117 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.502e-05/1.09, allocations: 2.156 kB / 1.117 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.821e-05/1.09, allocations: 20 kB / 1.117 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006468/1.097, allocations: 2.516 MB / 1.12 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002054/1.099, allocations: 0.5121 MB / 1.12 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006363/1.1, allocations: 218.6 kB / 1.121 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 7.979e-05/1.1, allocations: 20.42 kB / 1.121 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008768/1.101, allocations: 356.1 kB / 1.121 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=64): time 3.357e-06/1.101, allocations: 0 / 1.121 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of matching and sorting (n=64): time 0.001616/1.102, allocations: 499.2 kB / 1.121 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000231/1.103, allocations: 299.3 kB / 1.122 GB, free: 9.996 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009777/1.104, allocations: 458.3 kB / 1.122 GB, free: 9.543 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001102/1.104, allocations: 33.69 kB / 1.122 GB, free: 9.504 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003733/1.104, allocations: 335.7 kB / 1.122 GB, free: 9.168 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002447/1.104, allocations: 193.1 kB / 1.123 GB, free: 8.977 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.719e-05/1.104, allocations: 0 / 1.123 GB, free: 8.977 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002415/1.105, allocations: 378.8 kB / 1.123 GB, free: 8.598 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007527/1.105, allocations: 217.6 kB / 1.123 GB, free: 8.383 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009111/1.106, allocations: 368.5 kB / 1.124 GB, free: 7.977 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00102/1.107, allocations: 251.1 kB / 1.124 GB, free: 7.73 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.745e-06/1.107, allocations: 4 kB / 1.124 GB, free: 7.727 MB / 0.7292 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002134/1.109, allocations: 0.6358 MB / 1.124 GB, free: 7.082 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001822/1.11, allocations: 371.5 kB / 1.125 GB, free: 6.695 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/1.11, allocations: 4 kB / 1.125 GB, free: 6.691 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.662e-05/1.11, allocations: 10.25 kB / 1.125 GB, free: 6.684 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00128/1.111, allocations: 143.8 kB / 1.125 GB, free: 6.543 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.35e-05/1.111, allocations: 11.94 kB / 1.125 GB, free: 6.531 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001397/1.112, allocations: 155.3 kB / 1.125 GB, free: 6.379 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.971e-05/1.113, allocations: 28 kB / 1.125 GB, free: 6.352 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/1.113, allocations: 4 kB / 1.125 GB, free: 6.348 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001886/1.115, allocations: 0.5178 MB / 1.126 GB, free: 5.828 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/1.115, allocations: 4 kB / 1.126 GB, free: 5.824 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/1.115, allocations: 4.062 kB / 1.126 GB, free: 5.82 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/1.116, allocations: 127.8 kB / 1.126 GB, free: 5.695 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.876e-06/1.116, allocations: 4 kB / 1.126 GB, free: 5.691 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001119/1.117, allocations: 127.5 kB / 1.126 GB, free: 5.566 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.257e-05/1.117, allocations: 24.09 kB / 1.126 GB, free: 5.543 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition1,$PRE.retFanPre.movMea.mode,retFanPre.movMea.mode,$PRE.yFan.y,yFan.y,$PRE.retFanPre1.movMea.mode,retFanPre1.movMea.mode,$PRE.retFanPre2.movMea.mode,retFanPre2.movMea.mode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 82 * 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.0002468/1.117, allocations: 136.5 kB / 1.126 GB, free: 5.402 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001587/1.117, allocations: 67.16 kB / 1.126 GB, free: 5.336 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001849/1.119, allocations: 0.5598 MB / 1.127 GB, free: 4.77 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.907e-05/1.119, allocations: 8 kB / 1.127 GB, free: 4.762 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/1.119, allocations: 0 / 1.127 GB, free: 4.762 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.303e-05/1.119, allocations: 3.984 kB / 1.127 GB, free: 4.758 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003152/1.122, allocations: 1.37 MB / 1.128 GB, free: 3.324 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/1.122, allocations: 4.031 kB / 1.128 GB, free: 3.32 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001257/1.124, allocations: 135.8 kB / 1.128 GB, free: 3.188 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-05/1.124, allocations: 12 kB / 1.128 GB, free: 3.176 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.735e-05/1.124, allocations: 11.98 kB / 1.128 GB, free: 3.164 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-05/1.124, allocations: 13.06 kB / 1.128 GB, free: 3.152 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/1.124, allocations: 0 / 1.128 GB, free: 3.152 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002548/1.126, allocations: 1.016 MB / 1.129 GB, free: 2.066 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003421/1.13, allocations: 1.698 MB / 1.131 GB, free: 304 kB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002355/1.13, allocations: 152.1 kB / 1.131 GB, free: 132 kB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001559/1.13, allocations: 8 kB / 1.131 GB, free: 124 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009522/1.131, allocations: 75.94 kB / 1.131 GB, free: 48 kB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001418/1.131, allocations: 40.59 kB / 1.131 GB, free: 8 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.754e-05/1.132, allocations: 25.61 kB / 1.131 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.0006854/1.132, allocations: 342.9 kB / 1.131 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.003029/1.135, allocations: 330.3 kB / 1.132 GB, free: 15.33 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (retFanPre.movMea.mu,retFanPre1.movMea.mu,retFanPre2.movMea.mu) * Number of discrete variables: 9 ($whenCondition5,$whenCondition4,$whenCondition2,$whenCondition3,$whenCondition1,retFanPre.movMea.mode,yFan.y,retFanPre1.movMea.mode,retFanPre2.movMea.mode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 66 * 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.0002846/1.136, allocations: 133.3 kB / 1.132 GB, free: 15.19 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.002552/1.138, allocations: 0.918 MB / 1.133 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/1.138, allocations: 4.25 kB / 1.133 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0007927/1.139, allocations: 274.4 kB / 1.133 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001317/1.14, allocations: 135.8 kB / 1.133 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003808/1.144, allocations: 1.048 MB / 1.134 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001235/1.145, allocations: 1.07 MB / 1.135 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of SimCode: time 1.333e-06/1.145, allocations: 0 / 1.135 GB, free: 11.65 MB / 0.7448 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanDirectPressure_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanDirectPressure.fmu > Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe 2>&1)