Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.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_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure,fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.816/1.816, allocations: 387.2 MB / 394.5 MB, free: 13.66 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.0009503/0.0009504, allocations: 176.3 kB / 487 MB, free: 5.398 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.172/1.172, allocations: 221.3 MB / 0.7819 GB, free: 1.465 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.0008269/0.000827, allocations: 97.56 kB / 0.9213 GB, free: 2.711 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4175/0.4183, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1915/0.6099, allocations: 142.3 MB / 1.205 GB, free: 26.11 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5154/1.125, allocations: 151.3 MB / 1.353 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000201/1.126, allocations: 76.52 kB / 1.353 GB, free: 15.86 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.03733/1.163, allocations: 16.18 MB / 1.369 GB, free: 8.453 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/1.163, allocations: 13 kB / 1.369 GB, free: 8.441 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001599/1.163, allocations: 114.6 kB / 1.369 GB, free: 8.328 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006857/1.164, allocations: 0.5635 MB / 1.37 GB, free: 7.855 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.271e-05/1.164, allocations: 123 kB / 1.37 GB, free: 7.723 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.893e-05/1.164, allocations: 52 kB / 1.37 GB, free: 7.672 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009459/1.165, allocations: 0.5552 MB / 1.37 GB, free: 7.344 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009697/1.166, allocations: 0.6889 MB / 1.371 GB, free: 6.848 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.175e-05/1.166, allocations: 4 kB / 1.371 GB, free: 6.844 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.42e-05/1.166, allocations: 4 kB / 1.371 GB, free: 6.84 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.453e-05/1.166, allocations: 20 kB / 1.371 GB, free: 6.82 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002903/1.169, allocations: 2.454 MB / 1.373 GB, free: 4.969 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007989/1.17, allocations: 496.2 kB / 1.374 GB, free: 4.645 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002871/1.17, allocations: 235.7 kB / 1.374 GB, free: 4.504 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 4.469e-05/1.17, allocations: 8.5 kB / 1.374 GB, free: 4.496 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003766/1.171, allocations: 356.9 kB / 1.374 GB, free: 4.219 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=64): time 2.214e-06/1.171, allocations: 0 / 1.374 GB, free: 4.219 MB / 0.8073 GB Notification: Performance of matching and sorting (n=64): time 0.0006698/1.171, allocations: 474 kB / 1.375 GB, free: 3.875 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.279e-05/1.171, allocations: 302.9 kB / 1.375 GB, free: 3.516 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003833/1.172, allocations: 437.3 kB / 1.376 GB, free: 3.195 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 4.664e-05/1.172, allocations: 29.7 kB / 1.376 GB, free: 3.16 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/1.172, allocations: 327.5 kB / 1.376 GB, free: 2.871 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 9.527e-05/1.172, allocations: 198.8 kB / 1.376 GB, free: 2.699 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.631e-05/1.172, allocations: 4 kB / 1.376 GB, free: 2.695 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.16e-05/1.172, allocations: 370.6 kB / 1.377 GB, free: 2.352 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003118/1.172, allocations: 221.5 kB / 1.377 GB, free: 2.23 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003622/1.173, allocations: 352 kB / 1.377 GB, free: 1.949 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004567/1.173, allocations: 252 kB / 1.377 GB, free: 1.797 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/1.173, allocations: 0 / 1.377 GB, free: 1.797 MB / 0.8073 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0009271/1.174, allocations: 0.628 MB / 1.378 GB, free: 1.34 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 5.352e-05/1.174, allocations: 358.1 kB / 1.378 GB, free: 0.9648 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/1.174, allocations: 3.906 kB / 1.378 GB, free: 0.9609 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/1.174, allocations: 4 kB / 1.378 GB, free: 0.957 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005488/1.175, allocations: 150.5 kB / 1.378 GB, free: 0.8164 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/1.175, allocations: 4 kB / 1.378 GB, free: 0.8125 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005949/1.175, allocations: 159.4 kB / 1.379 GB, free: 0.6562 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.185e-05/1.176, allocations: 26.48 kB / 1.379 GB, free: 0.6367 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.789e-06/1.176, allocations: 4 kB / 1.379 GB, free: 0.6328 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008007/1.176, allocations: 0.5056 MB / 1.379 GB, free: 296 kB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/1.176, allocations: 4 kB / 1.379 GB, free: 292 kB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.819e-06/1.176, allocations: 7.938 kB / 1.379 GB, free: 284 kB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004543/1.177, allocations: 134.1 kB / 1.379 GB, free: 156 kB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.427e-06/1.177, allocations: 4 kB / 1.379 GB, free: 152 kB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004929/1.177, allocations: 127.5 kB / 1.379 GB, free: 24 kB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.486e-05/1.177, allocations: 30.42 kB / 1.379 GB, free: 0 / 0.8073 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.000148/1.178, allocations: 124.2 kB / 1.38 GB, free: 15.88 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.136e-05/1.178, allocations: 59.25 kB / 1.38 GB, free: 15.82 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008561/1.178, allocations: 0.5402 MB / 1.38 GB, free: 15.43 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/1.179, allocations: 12 kB / 1.38 GB, free: 15.42 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/1.179, allocations: 0 / 1.38 GB, free: 15.42 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/1.179, allocations: 7.984 kB / 1.38 GB, free: 15.41 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00154/1.18, allocations: 1.331 MB / 1.381 GB, free: 14.41 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/1.18, allocations: 12.12 kB / 1.381 GB, free: 14.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005688/1.181, allocations: 130.7 kB / 1.382 GB, free: 14.27 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/1.181, allocations: 8 kB / 1.382 GB, free: 14.27 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.779e-05/1.181, allocations: 11.05 kB / 1.382 GB, free: 14.26 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/1.181, allocations: 7.938 kB / 1.382 GB, free: 14.25 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/1.181, allocations: 4 kB / 1.382 GB, free: 14.25 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001154/1.182, allocations: 0.9897 MB / 1.383 GB, free: 13.47 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001546/1.183, allocations: 1.651 MB / 1.384 GB, free: 12.17 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/1.184, allocations: 147 kB / 1.384 GB, free: 12.02 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.469e-05/1.184, allocations: 4 kB / 1.384 GB, free: 12.02 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004602/1.184, allocations: 75.94 kB / 1.384 GB, free: 11.94 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.741e-05/1.184, allocations: 51.44 kB / 1.384 GB, free: 11.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.855e-05/1.184, allocations: 23.05 kB / 1.384 GB, free: 11.88 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0003206/1.185, allocations: 330.8 kB / 1.385 GB, free: 11.65 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001834/1.186, allocations: 314.4 kB / 1.385 GB, free: 11.34 MB / 0.823 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.0001917/1.187, allocations: 132.3 kB / 1.385 GB, free: 11.2 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001202/1.188, allocations: 0.8927 MB / 1.386 GB, free: 10.59 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.788e-06/1.188, allocations: 4.25 kB / 1.386 GB, free: 10.59 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004164/1.188, allocations: 272 kB / 1.386 GB, free: 10.41 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007207/1.189, allocations: 132.7 kB / 1.386 GB, free: 10.3 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001928/1.191, allocations: 1.019 MB / 1.387 GB, free: 9.371 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006765/1.192, allocations: 1.057 MB / 1.388 GB, free: 8.289 MB / 0.823 GB Notification: Performance of SimCode: time 2.91e-07/1.192, allocations: 0 / 1.388 GB, free: 8.289 MB / 0.823 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanDirectPressure_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanDirectPressure.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe 2>&1)