Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.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.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanDirectPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure,fileNamePrefix="Buildings_latest_Buildings_Obsolete_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 10.0.0-master/package.mo): time 2.015/2.015, allocations: 390.4 MB / 397.7 MB, free: 11.25 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.001068/0.001068, allocations: 183 kB / 490.8 MB, free: 1.934 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.36/1.36, allocations: 221.4 MB / 0.7863 GB, free: 13.65 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.0008839/0.0008837, allocations: 90.84 kB / 0.9264 GB, free: 14.19 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.5828/0.5837, allocations: 149.2 MB / 1.072 GB, free: 182.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2555/0.8392, allocations: 143 MB / 1.212 GB, free: 39.93 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.724/1.563, allocations: 152.7 MB / 1.361 GB, free: 17.07 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003012/1.564, allocations: 93.09 kB / 1.361 GB, free: 17.07 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.0433/1.607, allocations: 16.3 MB / 1.377 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/1.607, allocations: 8.969 kB / 1.377 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002786/1.607, allocations: 115.1 kB / 1.377 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001016/1.608, allocations: 0.5609 MB / 1.378 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001357/1.608, allocations: 120 kB / 1.378 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001389/1.609, allocations: 52.84 kB / 1.378 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001239/1.61, allocations: 0.5545 MB / 1.378 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001332/1.611, allocations: 0.6966 MB / 1.379 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.744e-05/1.611, allocations: 4.906 kB / 1.379 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.388e-05/1.611, allocations: 2 kB / 1.379 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.655e-05/1.611, allocations: 24.08 kB / 1.379 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003857/1.615, allocations: 2.459 MB / 1.381 GB, free: 29.25 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009739/1.616, allocations: 493.3 kB / 1.382 GB, free: 29.19 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003542/1.617, allocations: 230.7 kB / 1.382 GB, free: 29.18 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.375e-05/1.617, allocations: 18.8 kB / 1.382 GB, free: 29.17 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004723/1.617, allocations: 351.2 kB / 1.382 GB, free: 29.02 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=64): time 3.055e-06/1.617, allocations: 0 / 1.382 GB, free: 29.02 MB / 0.8386 GB Notification: Performance of matching and sorting (n=64): time 0.0009744/1.618, allocations: 476.8 kB / 1.383 GB, free: 28.91 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.357e-05/1.618, allocations: 296.1 kB / 1.383 GB, free: 28.56 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006041/1.619, allocations: 438.3 kB / 1.384 GB, free: 28.41 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.191e-05/1.619, allocations: 32.64 kB / 1.384 GB, free: 28.38 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000241/1.619, allocations: 332.7 kB / 1.384 GB, free: 28.13 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.000139/1.619, allocations: 197 kB / 1.384 GB, free: 27.99 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.789e-05/1.619, allocations: 1.344 kB / 1.384 GB, free: 27.99 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001858/1.62, allocations: 374.8 kB / 1.384 GB, free: 27.65 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000429/1.62, allocations: 213.7 kB / 1.385 GB, free: 27.64 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004672/1.62, allocations: 350.3 kB / 1.385 GB, free: 27.5 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005577/1.621, allocations: 251.4 kB / 1.385 GB, free: 27.46 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/1.621, allocations: 1.094 kB / 1.385 GB, free: 27.46 MB / 0.8386 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001237/1.622, allocations: 0.6241 MB / 1.386 GB, free: 27.32 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001417/1.622, allocations: 362.4 kB / 1.386 GB, free: 26.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/1.622, allocations: 5.406 kB / 1.386 GB, free: 26.96 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/1.622, allocations: 3.75 kB / 1.386 GB, free: 26.96 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006294/1.623, allocations: 157.8 kB / 1.386 GB, free: 26.92 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/1.623, allocations: 4 kB / 1.386 GB, free: 26.92 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007077/1.624, allocations: 154.2 kB / 1.386 GB, free: 26.86 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.816e-05/1.624, allocations: 28.33 kB / 1.387 GB, free: 26.85 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.123e-06/1.624, allocations: 3.875 kB / 1.387 GB, free: 26.85 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001041/1.625, allocations: 0.508 MB / 1.387 GB, free: 26.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/1.625, allocations: 5.344 kB / 1.387 GB, free: 26.79 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.556e-06/1.625, allocations: 3.656 kB / 1.387 GB, free: 26.79 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005226/1.625, allocations: 123.5 kB / 1.387 GB, free: 26.76 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/1.626, allocations: 4 kB / 1.387 GB, free: 26.76 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006057/1.626, allocations: 134.8 kB / 1.387 GB, free: 26.7 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.099e-05/1.626, allocations: 24.28 kB / 1.387 GB, free: 26.7 MB / 0.8386 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.0002162/1.626, allocations: 124.8 kB / 1.387 GB, free: 26.59 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/1.627, allocations: 61.59 kB / 1.387 GB, free: 26.55 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001064/1.628, allocations: 0.5397 MB / 1.388 GB, free: 26.42 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.906e-06/1.628, allocations: 7.75 kB / 1.388 GB, free: 26.42 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/1.628, allocations: 0 / 1.388 GB, free: 26.42 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/1.628, allocations: 3.984 kB / 1.388 GB, free: 26.42 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00183/1.629, allocations: 1.345 MB / 1.389 GB, free: 25.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/1.63, allocations: 1.469 kB / 1.389 GB, free: 25.83 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006013/1.63, allocations: 135.8 kB / 1.389 GB, free: 25.8 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.765e-06/1.63, allocations: 5.031 kB / 1.389 GB, free: 25.8 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.517e-05/1.63, allocations: 12.97 kB / 1.389 GB, free: 25.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.002e-06/1.63, allocations: 11.41 kB / 1.389 GB, free: 25.79 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/1.63, allocations: 2.438 kB / 1.389 GB, free: 25.79 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00137/1.632, allocations: 0.9894 MB / 1.39 GB, free: 25.41 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001829/1.633, allocations: 1.647 MB / 1.392 GB, free: 24.65 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001306/1.634, allocations: 151.3 kB / 1.392 GB, free: 24.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.536e-05/1.634, allocations: 6.297 kB / 1.392 GB, free: 24.51 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004864/1.634, allocations: 77.09 kB / 1.392 GB, free: 24.49 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.711e-05/1.634, allocations: 48.28 kB / 1.392 GB, free: 24.46 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.994e-05/1.634, allocations: 24.23 kB / 1.392 GB, free: 24.46 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0004353/1.635, allocations: 330.4 kB / 1.393 GB, free: 24.36 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.002158/1.637, allocations: 314.3 kB / 1.393 GB, free: 24.27 MB / 0.8386 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.000232/1.637, allocations: 136.2 kB / 1.393 GB, free: 24.16 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001476/1.639, allocations: 0.8932 MB / 1.394 GB, free: 24.04 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/1.639, allocations: 1.312 kB / 1.394 GB, free: 24.04 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0004077/1.639, allocations: 264.7 kB / 1.394 GB, free: 24.02 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008188/1.64, allocations: 140.8 kB / 1.394 GB, free: 23.97 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002439/1.642, allocations: 1.019 MB / 1.395 GB, free: 23.52 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008381/1.643, allocations: 1.056 MB / 1.396 GB, free: 22.66 MB / 0.8386 GB Notification: Performance of SimCode: time 5.81e-07/1.643, allocations: 0 / 1.396 GB, free: 22.66 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure_res.mat --tempDir=temp_Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanDirectPressure_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanDirectPressure.fmu > Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe 2>&1)