Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom,fileNamePrefix="Buildings_8_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom,fileNamePrefix="Buildings_8_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom",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.1.4-maint.8.1.x/package.mo): time 1.538/1.538, allocations: 289.8 MB / 297.1 MB, free: 6.672 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.001514, allocations: 177.3 kB / 366.3 MB, free: 1.988 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.636/1.636, allocations: 205.1 MB / 0.6256 GB, free: 7.453 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.0009048/0.0009048, allocations: 97.36 kB / 0.7396 GB, free: 39.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2798/0.2807, allocations: 122.4 MB / 0.8591 GB, free: 13.48 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7579/1.039, allocations: 116.3 MB / 0.9726 GB, free: 76.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1879/1.227, allocations: 140.3 MB / 1.11 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002782/1.227, allocations: 76.61 kB / 1.11 GB, free: 10.06 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.01184/1.239, allocations: 3.581 MB / 1.113 GB, free: 6.477 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/1.239, allocations: 8 kB / 1.113 GB, free: 6.469 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.385e-05/1.239, allocations: 8.5 kB / 1.113 GB, free: 6.461 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001485/1.239, allocations: 178.9 kB / 1.113 GB, free: 6.246 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.922e-05/1.239, allocations: 4 kB / 1.113 GB, free: 6.242 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.065e-05/1.239, allocations: 7.938 kB / 1.113 GB, free: 6.234 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001028/1.239, allocations: 28 kB / 1.113 GB, free: 6.207 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/1.239, allocations: 75.16 kB / 1.114 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/1.239, allocations: 0 / 1.114 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/1.239, allocations: 0 / 1.114 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/1.239, allocations: 0 / 1.114 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005666/1.24, allocations: 301.2 kB / 1.114 GB, free: 5.797 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001536/1.24, allocations: 62.56 kB / 1.114 GB, free: 5.727 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.495e-05/1.24, allocations: 28.86 kB / 1.114 GB, free: 5.695 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.85e-05/1.24, allocations: 8.141 kB / 1.114 GB, free: 5.688 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001309/1.24, allocations: 79.38 kB / 1.114 GB, free: 5.598 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 2.375e-06/1.24, allocations: 0 / 1.114 GB, free: 5.598 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0004368/1.241, allocations: 109.6 kB / 1.114 GB, free: 5.484 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/1.241, allocations: 55.41 kB / 1.114 GB, free: 5.418 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/1.241, allocations: 121.2 kB / 1.114 GB, free: 5.289 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/1.241, allocations: 25.7 kB / 1.114 GB, free: 5.258 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.04e-05/1.241, allocations: 92.64 kB / 1.114 GB, free: 5.164 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.209e-05/1.241, allocations: 15.75 kB / 1.114 GB, free: 5.148 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.553e-06/1.241, allocations: 4 kB / 1.114 GB, free: 5.145 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002007/1.241, allocations: 322.8 kB / 1.115 GB, free: 4.82 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.243e-05/1.241, allocations: 12 kB / 1.115 GB, free: 4.809 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.809e-05/1.242, allocations: 62 kB / 1.115 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.28e-05/1.242, allocations: 28.64 kB / 1.115 GB, free: 4.699 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/1.242, allocations: 0 / 1.115 GB, free: 4.699 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001677/1.242, allocations: 101.4 kB / 1.115 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/1.242, allocations: 6.656 kB / 1.115 GB, free: 4.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/1.242, allocations: 5.938 kB / 1.115 GB, free: 4.586 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/1.242, allocations: 192 / 1.115 GB, free: 4.586 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/1.242, allocations: 19.94 kB / 1.115 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/1.242, allocations: 8.734 kB / 1.115 GB, free: 4.559 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.038e-05/1.242, allocations: 4 kB / 1.115 GB, free: 4.555 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/1.242, allocations: 4 kB / 1.115 GB, free: 4.551 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.ac.curSeed,ac.curSeed,$PRE.ac.pOff,ac.pOff,$PRE.ac.pOn,ac.pOn,$PRE.ac.on,ac.on,ac.occ,$whenCondition1,ac.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.814e-05/1.242, allocations: 115.5 kB / 1.115 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.16e-05/1.242, allocations: 15.91 kB / 1.115 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.068e-05/1.242, allocations: 16.52 kB / 1.115 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/1.242, allocations: 0 / 1.115 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/1.242, allocations: 0 / 1.115 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/1.242, allocations: 0.9375 kB / 1.115 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005194/1.243, allocations: 370.9 kB / 1.115 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/1.243, allocations: 0 / 1.115 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.326e-05/1.243, allocations: 4 kB / 1.115 GB, free: 3.988 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.8e-06/1.243, allocations: 11.92 kB / 1.115 GB, free: 3.977 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/1.243, allocations: 2.188 kB / 1.115 GB, free: 3.977 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/1.243, allocations: 4 kB / 1.115 GB, free: 3.973 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/1.243, allocations: 0 / 1.115 GB, free: 3.973 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003417/1.243, allocations: 212.9 kB / 1.116 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004512/1.244, allocations: 0.574 MB / 1.116 GB, free: 3.156 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.101e-05/1.244, allocations: 85.86 kB / 1.116 GB, free: 3.055 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.961e-05/1.244, allocations: 3.984 kB / 1.116 GB, free: 3.051 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/1.244, allocations: 8 kB / 1.116 GB, free: 3.043 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.511e-05/1.244, allocations: 11.89 kB / 1.116 GB, free: 3.031 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/1.244, allocations: 7.938 kB / 1.116 GB, free: 3.023 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.395e-05/1.244, allocations: 95.27 kB / 1.116 GB, free: 2.93 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0009889/1.245, allocations: 71.92 kB / 1.116 GB, free: 2.859 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (ac.sampleTrigger,$whenCondition1,ac.occ,ac.on,ac.pOn,ac.pOff,ac.curSeed) * Number of discrete states: 1 (ac.on) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * 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.0004791/1.246, allocations: 182.4 kB / 1.117 GB, free: 2.691 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001653/1.246, allocations: 63.92 kB / 1.117 GB, free: 2.629 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/1.246, allocations: 384 / 1.117 GB, free: 2.629 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.481e-05/1.246, allocations: 39.94 kB / 1.117 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000208/1.246, allocations: 12.55 kB / 1.117 GB, free: 2.578 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003606/1.246, allocations: 107.5 kB / 1.117 GB, free: 2.449 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002944/1.247, allocations: 0.7075 MB / 1.118 GB, free: 1.715 MB / 0.7136 GB Notification: Performance of SimCode: time 2.3e-07/1.247, allocations: 1.031 kB / 1.118 GB, free: 1.715 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; mkfifo Buildings_8_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe >> ../files/Buildings_8_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom.fmu > Buildings_8_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe 2>&1)