Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.39/1.39, allocations: 285.5 MB / 292.8 MB, free: 10.45 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.0009632/0.0009632, allocations: 183.4 kB / 361.1 MB, free: 7.082 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.188/1.188, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.0008127/0.0008128, allocations: 94.05 kB / 0.7326 GB, free: 44.22 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2078/0.2087, allocations: 121.5 MB / 0.8512 GB, free: 2.863 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5011/0.7098, allocations: 115.3 MB / 0.9637 GB, free: 77.92 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1424/0.8522, allocations: 139.3 MB / 1.1 GB, free: 0.6719 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002534/0.8525, allocations: 80.61 kB / 1.1 GB, free: 0.5938 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0105/0.863, allocations: 3.579 MB / 1.103 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.337e-05/0.8631, allocations: 13.06 kB / 1.103 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.699e-05/0.8632, allocations: 8.531 kB / 1.103 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002073/0.8634, allocations: 173.7 kB / 1.104 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.097e-05/0.8634, allocations: 8.688 kB / 1.104 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.247e-05/0.8635, allocations: 7.984 kB / 1.104 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.988e-05/0.8636, allocations: 33.88 kB / 1.104 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000128/0.8637, allocations: 69.56 kB / 1.104 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.8637, allocations: 0 / 1.104 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.8637, allocations: 0 / 1.104 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.8638, allocations: 4 kB / 1.104 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005177/0.8643, allocations: 297.2 kB / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001378/0.8644, allocations: 62.56 kB / 1.104 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.691e-05/0.8645, allocations: 32.84 kB / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.662e-05/0.8645, allocations: 0 / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001224/0.8647, allocations: 75.39 kB / 1.104 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 2.515e-06/0.8647, allocations: 8 kB / 1.104 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0003646/0.8651, allocations: 112.5 kB / 1.104 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.352e-05/0.8651, allocations: 55.41 kB / 1.104 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.97e-05/0.8652, allocations: 117.2 kB / 1.104 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.8652, allocations: 25.7 kB / 1.104 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.566e-05/0.8653, allocations: 96.06 kB / 1.105 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.115e-05/0.8653, allocations: 15.75 kB / 1.105 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.17e-06/0.8653, allocations: 0 / 1.105 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.265e-05/0.8654, allocations: 318.8 kB / 1.105 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.285e-05/0.8654, allocations: 24 kB / 1.105 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.446e-05/0.8655, allocations: 61.91 kB / 1.105 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.761e-05/0.8655, allocations: 23.98 kB / 1.105 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.8655, allocations: 3.938 kB / 1.105 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001511/0.8657, allocations: 97.42 kB / 1.105 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.8657, allocations: 8 kB / 1.105 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.8657, allocations: 0 / 1.105 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.8657, allocations: 4 kB / 1.105 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.772e-05/0.8658, allocations: 15.92 kB / 1.105 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.8659, allocations: 8.188 kB / 1.105 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.253e-05/0.8659, allocations: 11.98 kB / 1.105 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.587e-05/0.866, allocations: 8 kB / 1.105 GB, free: 11.11 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 9.175e-05/0.8661, allocations: 112.8 kB / 1.105 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.017e-05/0.8661, allocations: 7.906 kB / 1.105 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.656e-05/0.8661, allocations: 8.5 kB / 1.105 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.8661, allocations: 4 kB / 1.105 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.8662, allocations: 1.75 kB / 1.105 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.8662, allocations: 4 kB / 1.105 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004885/0.8667, allocations: 366.9 kB / 1.106 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.8667, allocations: 0 / 1.106 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.735e-05/0.8667, allocations: 7.938 kB / 1.106 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.8667, allocations: 0 / 1.106 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/0.8668, allocations: 7.984 kB / 1.106 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.8668, allocations: 0 / 1.106 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.8668, allocations: 4 kB / 1.106 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003163/0.8671, allocations: 211.3 kB / 1.106 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004096/0.8675, allocations: 0.5727 MB / 1.106 GB, free: 9.73 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.52e-05/0.8676, allocations: 89 kB / 1.106 GB, free: 9.625 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.896e-05/0.8676, allocations: 5.938 kB / 1.106 GB, free: 9.621 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/0.8677, allocations: 19.89 kB / 1.106 GB, free: 9.602 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.617e-05/0.8678, allocations: 7.922 kB / 1.106 GB, free: 9.594 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.8678, allocations: 4 kB / 1.106 GB, free: 9.59 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.622e-05/0.8678, allocations: 106.6 kB / 1.107 GB, free: 9.488 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0009007/0.8687, allocations: 56 kB / 1.107 GB, free: 9.434 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.0003505/0.8691, allocations: 191 kB / 1.107 GB, free: 9.25 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001383/0.8692, allocations: 59.92 kB / 1.107 GB, free: 9.191 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.8693, allocations: 0 / 1.107 GB, free: 9.191 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.613e-05/0.8693, allocations: 40.59 kB / 1.107 GB, free: 9.152 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001859/0.8695, allocations: 12.36 kB / 1.107 GB, free: 9.141 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003196/0.8698, allocations: 113.7 kB / 1.107 GB, free: 9.008 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002624/0.8701, allocations: 0.7036 MB / 1.108 GB, free: 8.277 MB / 0.7136 GB Notification: Performance of SimCode: time 2.31e-07/0.8701, allocations: 0 / 1.108 GB, free: 8.277 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe 2>&1)