Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_CoolingCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_CoolingCoil",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 7.0.3-maint.7.0.x/package.mo): time 1.194/1.194, allocations: 249.4 MB / 256.7 MB, free: 15.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009583/0.0009583, allocations: 187.5 kB / 316 MB, free: 7.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.277/1.277, allocations: 205.1 MB / 0.5667 GB, free: 23.68 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008144/0.0008144, allocations: 74.44 kB / 0.671 GB, free: 1.004 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.1939/0.1948, allocations: 112.5 MB / 0.7809 GB, free: 368 kB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3644/0.5592, allocations: 106.3 MB / 0.8847 GB, free: 76.3 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.137/0.6962, allocations: 134.6 MB / 1.016 GB, free: 5.523 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002136/0.6965, allocations: 79.94 kB / 1.016 GB, free: 5.445 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.0133/0.7098, allocations: 5.656 MB / 1.022 GB, free: 15.74 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.7099, allocations: 8 kB / 1.022 GB, free: 15.73 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.437e-05/0.7099, allocations: 35.53 kB / 1.022 GB, free: 15.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004488/0.7104, allocations: 314 kB / 1.022 GB, free: 15.35 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.715e-05/0.7104, allocations: 11.94 kB / 1.022 GB, free: 15.34 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.666e-05/0.7105, allocations: 16 kB / 1.022 GB, free: 15.32 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00032/0.7108, allocations: 160.9 kB / 1.022 GB, free: 15.17 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00038/0.7112, allocations: 225.8 kB / 1.022 GB, free: 14.94 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.7112, allocations: 0 / 1.022 GB, free: 14.94 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.275e-05/0.7112, allocations: 0 / 1.022 GB, free: 14.94 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.7113, allocations: 11.91 kB / 1.022 GB, free: 14.93 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001263/0.7125, allocations: 0.8725 MB / 1.023 GB, free: 14.01 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003362/0.7129, allocations: 164.1 kB / 1.023 GB, free: 13.84 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001226/0.713, allocations: 76.84 kB / 1.024 GB, free: 13.77 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.339e-05/0.713, allocations: 0 / 1.024 GB, free: 13.77 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001582/0.7132, allocations: 103.7 kB / 1.024 GB, free: 13.65 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=18): time 1.253e-06/0.7132, allocations: 3.938 kB / 1.024 GB, free: 13.65 MB / 0.6823 GB Notification: Performance of matching and sorting (n=18): time 0.0002921/0.7135, allocations: 158.8 kB / 1.024 GB, free: 13.49 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/0.7136, allocations: 85.11 kB / 1.024 GB, free: 13.39 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002009/0.7138, allocations: 221 kB / 1.024 GB, free: 13.16 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.7138, allocations: 29.7 kB / 1.024 GB, free: 13.13 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.583e-05/0.7139, allocations: 156.1 kB / 1.024 GB, free: 12.97 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.239e-05/0.7139, allocations: 63.12 kB / 1.024 GB, free: 12.91 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.136e-05/0.714, allocations: 0 / 1.024 GB, free: 12.91 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.7141, allocations: 334.8 kB / 1.025 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/0.7142, allocations: 55.86 kB / 1.025 GB, free: 12.52 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001163/0.7143, allocations: 91.42 kB / 1.025 GB, free: 12.42 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.685e-05/0.7144, allocations: 60 kB / 1.025 GB, free: 12.36 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.7144, allocations: 0 / 1.025 GB, free: 12.36 MB / 0.6823 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002858/0.7147, allocations: 183.2 kB / 1.025 GB, free: 12.18 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.741e-05/0.7148, allocations: 185.9 kB / 1.025 GB, free: 11.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.7148, allocations: 0 / 1.025 GB, free: 11.98 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.606e-06/0.7148, allocations: 4.031 kB / 1.025 GB, free: 11.98 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002753/0.7151, allocations: 59.95 kB / 1.025 GB, free: 11.92 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.7151, allocations: 4 kB / 1.025 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002276/0.7153, allocations: 55.73 kB / 1.025 GB, free: 11.86 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.011e-05/0.7154, allocations: 12 kB / 1.025 GB, free: 11.85 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.219e-06/0.7154, allocations: 4 kB / 1.025 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000221/0.7156, allocations: 121.9 kB / 1.025 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.504e-06/0.7156, allocations: 4 kB / 1.025 GB, free: 11.72 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.244e-06/0.7156, allocations: 0 / 1.025 GB, free: 11.72 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002268/0.7159, allocations: 55.94 kB / 1.026 GB, free: 11.67 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.7159, allocations: 7.984 kB / 1.026 GB, free: 11.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001905/0.7161, allocations: 31.89 kB / 1.026 GB, free: 11.63 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.7161, allocations: 11.98 kB / 1.026 GB, free: 11.62 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,cooCoi.uZonSta,cooCoi.and2.u1,cooCoi.and2.y,$PRE.zonSta.T_start,zonSta.T_start,$PRE.zonSta.count,zonSta.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * 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 8.334e-05/0.7162, allocations: 113 kB / 1.026 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.433e-05/0.7162, allocations: 27.72 kB / 1.026 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.46e-05/0.7163, allocations: 29.88 kB / 1.026 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.7163, allocations: 0 / 1.026 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.7163, allocations: 0 / 1.026 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.7163, allocations: 7.938 kB / 1.026 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005569/0.7169, allocations: 0.5298 MB / 1.026 GB, free: 10.87 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.7169, allocations: 0 / 1.026 GB, free: 10.87 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002135/0.7171, allocations: 51.94 kB / 1.026 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.7171, allocations: 4 kB / 1.026 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/0.7171, allocations: 3.984 kB / 1.026 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.7171, allocations: 0 / 1.026 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.7172, allocations: 4 kB / 1.026 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002805/0.7174, allocations: 281.6 kB / 1.027 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004016/0.7179, allocations: 0.6426 MB / 1.027 GB, free: 9.836 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.898e-05/0.7179, allocations: 104.8 kB / 1.027 GB, free: 9.715 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.943e-05/0.718, allocations: 3.906 kB / 1.027 GB, free: 9.711 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002404/0.7182, allocations: 35.97 kB / 1.027 GB, free: 9.676 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.63e-05/0.7183, allocations: 31.95 kB / 1.027 GB, free: 9.645 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-05/0.7183, allocations: 4 kB / 1.027 GB, free: 9.641 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0001471/0.7185, allocations: 169.2 kB / 1.028 GB, free: 9.477 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001479/0.72, allocations: 95.53 kB / 1.028 GB, free: 9.383 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,cooCoi.uZonSta,cooCoi.and2.u1,cooCoi.and2.y,zonSta.T_start,zonSta.count) * Number of discrete states: 1 (zonSta.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001426/0.7201, allocations: 115.1 kB / 1.028 GB, free: 9.262 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003867/0.7205, allocations: 221.2 kB / 1.028 GB, free: 9.043 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.7205, allocations: 0 / 1.028 GB, free: 9.043 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001437/0.7207, allocations: 87.98 kB / 1.028 GB, free: 8.957 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003496/0.721, allocations: 44.98 kB / 1.028 GB, free: 8.914 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007125/0.7217, allocations: 325.4 kB / 1.028 GB, free: 8.57 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003553/0.7221, allocations: 0.7992 MB / 1.029 GB, free: 7.742 MB / 0.6823 GB Notification: Performance of SimCode: time 2.6e-07/0.7221, allocations: 4 kB / 1.029 GB, free: 7.738 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_CoolingCoil_fmu --startTime=0 --stopTime=28000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_CoolingCoil.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil.pipe 2>&1)