Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatus.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.Generic.SetPoints.Validation.ZoneStatus,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_ZoneStatus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatus,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_ZoneStatus",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.19/2.19, allocations: 284.8 MB / 292.1 MB, free: 10.75 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.001514/0.001513, allocations: 177.2 kB / 360.3 MB, free: 7.523 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.653/1.653, allocations: 205.1 MB / 0.6187 GB, free: 13.2 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.00122/0.00122, allocations: 96.44 kB / 0.7317 GB, free: 45.09 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2593/0.2606, allocations: 121.4 MB / 0.8502 GB, free: 3.863 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5452/0.8058, allocations: 115.2 MB / 0.9628 GB, free: 78.59 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2078/1.014, allocations: 139.2 MB / 1.099 GB, free: 1.652 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000269/1.014, allocations: 75.94 kB / 1.099 GB, free: 1.578 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: 164 * Number of variables: 164 Notification: Performance of Generate backend data structure: time 0.04587/1.06, allocations: 10.64 MB / 1.109 GB, free: 7 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/1.06, allocations: 12.5 kB / 1.109 GB, free: 6.988 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002974/1.06, allocations: 94.91 kB / 1.109 GB, free: 6.895 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008673/1.061, allocations: 406.3 kB / 1.11 GB, free: 6.457 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.064e-05/1.061, allocations: 24 kB / 1.11 GB, free: 6.434 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001563/1.061, allocations: 47.91 kB / 1.11 GB, free: 6.387 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001334/1.063, allocations: 390.5 kB / 1.11 GB, free: 6.008 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00135/1.064, allocations: 439.9 kB / 1.111 GB, free: 5.57 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/1.064, allocations: 4 kB / 1.111 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.951e-05/1.064, allocations: 0 / 1.111 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.331e-05/1.064, allocations: 16 kB / 1.111 GB, free: 5.551 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004949/1.069, allocations: 1.659 MB / 1.112 GB, free: 3.848 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009921/1.07, allocations: 355.5 kB / 1.112 GB, free: 3.496 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004053/1.071, allocations: 133.6 kB / 1.113 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.334e-05/1.071, allocations: 8.359 kB / 1.113 GB, free: 3.355 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006279/1.071, allocations: 251.9 kB / 1.113 GB, free: 3.09 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=47): time 2.846e-06/1.071, allocations: 4 kB / 1.113 GB, free: 3.086 MB / 0.7136 GB Notification: Performance of matching and sorting (n=47): time 0.001031/1.072, allocations: 329.7 kB / 1.113 GB, free: 2.758 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.177e-05/1.073, allocations: 112.2 kB / 1.113 GB, free: 2.625 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005586/1.073, allocations: 332.6 kB / 1.114 GB, free: 2.297 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001281/1.073, allocations: 45.7 kB / 1.114 GB, free: 2.246 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002588/1.074, allocations: 256.3 kB / 1.114 GB, free: 1.988 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001625/1.074, allocations: 118.4 kB / 1.114 GB, free: 1.871 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.331e-05/1.074, allocations: 0 / 1.114 GB, free: 1.871 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001865/1.074, allocations: 362.8 kB / 1.114 GB, free: 1.508 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006177/1.075, allocations: 173.1 kB / 1.115 GB, free: 1.336 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007006/1.075, allocations: 287.2 kB / 1.115 GB, free: 1.012 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006173/1.076, allocations: 142.2 kB / 1.115 GB, free: 0.8711 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/1.076, allocations: 0 / 1.115 GB, free: 0.8711 MB / 0.7136 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001433/1.077, allocations: 451.9 kB / 1.115 GB, free: 432 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/1.077, allocations: 8 kB / 1.115 GB, free: 424 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/1.077, allocations: 0 / 1.115 GB, free: 424 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/1.077, allocations: 4 kB / 1.115 GB, free: 420 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004983/1.078, allocations: 56.88 kB / 1.115 GB, free: 364 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/1.078, allocations: 7.938 kB / 1.115 GB, free: 356 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001235/1.079, allocations: 169.3 kB / 1.116 GB, free: 188 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.008e-05/1.079, allocations: 23.91 kB / 1.116 GB, free: 164 kB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 40 ($whenCondition1,$whenCondition2,noWinZonSta.yOccHeaHig,noWinZonSta.yHigOccCoo,noWinZonSta.yUnoHeaHig,noWinZonSta.yEndSetBac,noWinZonSta.yHigUnoCoo,noWinZonSta.yEndSetUp,$PRE.noWinZonSta.hys.y,noWinZonSta.hys.y,$PRE.noWinZonSta.hys1.y,noWinZonSta.hys1.y,$PRE.noWinZonSta.hys2.y,noWinZonSta.hys2.y,$PRE.noWinZonSta.hys5.y,noWinZonSta.hys5.y,$PRE.noWinZonSta.hys3.y,noWinZonSta.hys3.y,$PRE.noWinZonSta.hys4.y,noWinZonSta.hys4.y,witWinZonSta.yOccHeaHig,witWinZonSta.yHigOccCoo,witWinZonSta.yUnoHeaHig,witWinZonSta.yEndSetBac,witWinZonSta.yHigUnoCoo,witWinZonSta.yEndSetUp,$PRE.witWinZonSta.hys.y,witWinZonSta.hys.y,$PRE.witWinZonSta.hys1.y,witWinZonSta.hys1.y,$PRE.witWinZonSta.hys2.y,witWinZonSta.hys2.y,$PRE.witWinZonSta.hys5.y,witWinZonSta.hys5.y,$PRE.witWinZonSta.hys3.y,witWinZonSta.hys3.y,$PRE.witWinZonSta.hys4.y,witWinZonSta.hys4.y,$PRE.uWinSta.y,uWinSta.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 60 * 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.0002035/1.08, allocations: 137.6 kB / 1.116 GB, free: 24 kB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001188/1.08, allocations: 43.66 kB / 1.116 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00104/1.081, allocations: 350.1 kB / 1.116 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.248e-06/1.081, allocations: 4 kB / 1.116 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/1.081, allocations: 0 / 1.116 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.585e-06/1.081, allocations: 4 kB / 1.116 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00113/1.082, allocations: 0.7452 MB / 1.117 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/1.082, allocations: 5.031 kB / 1.117 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004339/1.082, allocations: 39.92 kB / 1.117 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.105e-05/1.082, allocations: 4 kB / 1.117 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.933e-05/1.083, allocations: 16.05 kB / 1.117 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.85e-06/1.083, allocations: 2 kB / 1.117 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.083, allocations: 0 / 1.117 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009495/1.083, allocations: 399.7 kB / 1.117 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001055/1.085, allocations: 0.7656 MB / 1.118 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/1.085, allocations: 120.5 kB / 1.118 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001368/1.085, allocations: 8 kB / 1.118 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006705/1.086, allocations: 91.92 kB / 1.118 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003387/1.086, allocations: 104.4 kB / 1.118 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.533e-05/1.086, allocations: 11.98 kB / 1.118 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0003873/1.086, allocations: 243.1 kB / 1.119 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001472/1.088, allocations: 131.5 kB / 1.119 GB, free: 12.81 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 27 ($whenCondition1,$whenCondition2,noWinZonSta.yOccHeaHig,noWinZonSta.yHigOccCoo,noWinZonSta.yUnoHeaHig,noWinZonSta.yEndSetBac,noWinZonSta.yHigUnoCoo,noWinZonSta.yEndSetUp,noWinZonSta.hys.y,noWinZonSta.hys1.y,noWinZonSta.hys2.y,noWinZonSta.hys5.y,noWinZonSta.hys3.y,noWinZonSta.hys4.y,witWinZonSta.yOccHeaHig,witWinZonSta.yHigOccCoo,witWinZonSta.yUnoHeaHig,witWinZonSta.yEndSetBac,witWinZonSta.yHigUnoCoo,witWinZonSta.yEndSetUp,witWinZonSta.hys.y,witWinZonSta.hys1.y,witWinZonSta.hys2.y,witWinZonSta.hys5.y,witWinZonSta.hys3.y,witWinZonSta.hys4.y,uWinSta.y) * Number of discrete states: 12 (witWinZonSta.hys4.y,witWinZonSta.hys3.y,witWinZonSta.hys5.y,witWinZonSta.hys2.y,witWinZonSta.hys1.y,witWinZonSta.hys.y,noWinZonSta.hys4.y,noWinZonSta.hys3.y,noWinZonSta.hys5.y,noWinZonSta.hys2.y,noWinZonSta.hys1.y,noWinZonSta.hys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002799/1.088, allocations: 141.8 kB / 1.119 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001177/1.089, allocations: 422.3 kB / 1.119 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/1.089, allocations: 1.031 kB / 1.119 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0006198/1.09, allocations: 203.9 kB / 1.119 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003937/1.09, allocations: 37.42 kB / 1.12 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002133/1.093, allocations: 0.6588 MB / 1.12 GB, free: 11.32 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009633/1.094, allocations: 0.9574 MB / 1.121 GB, free: 10.33 MB / 0.7292 GB Notification: Performance of SimCode: time 7.81e-07/1.094, allocations: 0.75 kB / 1.121 GB, free: 10.33 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatus.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatus.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatus.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_ZoneStatus_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_ZoneStatus.fmu > Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatus.pipe 2>&1)