Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.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.Ren2014ACLivingroom,fileNamePrefix="Buildings_8_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom,fileNamePrefix="Buildings_8_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom",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.54/1.54, allocations: 289.8 MB / 297.1 MB, free: 6.66 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.001229/0.001229, allocations: 185.3 kB / 366.3 MB, free: 1.973 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.639/1.639, allocations: 205.1 MB / 0.6256 GB, free: 5.84 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.0009815/0.0009816, allocations: 79.7 kB / 0.7395 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2951/0.2961, allocations: 122.4 MB / 0.8591 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7239/1.02, allocations: 116.3 MB / 0.9727 GB, free: 68.23 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.193/1.213, allocations: 140.3 MB / 1.11 GB, free: 8.156 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002703/1.213, allocations: 84.67 kB / 1.11 GB, free: 8.074 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.01131/1.225, allocations: 3.576 MB / 1.113 GB, free: 4.461 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.498e-05/1.225, allocations: 12 kB / 1.113 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.184e-05/1.225, allocations: 8.969 kB / 1.113 GB, free: 4.441 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001919/1.225, allocations: 182.8 kB / 1.113 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.875e-05/1.225, allocations: 4 kB / 1.113 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.127e-05/1.225, allocations: 4 kB / 1.113 GB, free: 4.215 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001073/1.225, allocations: 24.56 kB / 1.113 GB, free: 4.191 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/1.225, allocations: 74.41 kB / 1.114 GB, free: 4.113 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/1.225, allocations: 0 / 1.114 GB, free: 4.113 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.595e-05/1.225, allocations: 0 / 1.114 GB, free: 4.113 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/1.225, allocations: 4 kB / 1.114 GB, free: 4.109 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006371/1.226, allocations: 301.2 kB / 1.114 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001319/1.226, allocations: 62.56 kB / 1.114 GB, free: 3.707 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.188e-05/1.226, allocations: 33.42 kB / 1.114 GB, free: 3.672 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.385e-05/1.226, allocations: 0 / 1.114 GB, free: 3.672 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001143/1.226, allocations: 80.12 kB / 1.114 GB, free: 3.582 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/1.226, allocations: 0 / 1.114 GB, free: 3.582 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0003948/1.227, allocations: 109.8 kB / 1.114 GB, free: 3.469 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/1.227, allocations: 59.39 kB / 1.114 GB, free: 3.398 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/1.227, allocations: 125.6 kB / 1.114 GB, free: 3.27 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/1.227, allocations: 25.7 kB / 1.114 GB, free: 3.238 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.011e-05/1.227, allocations: 92.08 kB / 1.114 GB, free: 3.145 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.453e-05/1.227, allocations: 19.75 kB / 1.114 GB, free: 3.125 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.548e-06/1.227, allocations: 4 kB / 1.114 GB, free: 3.121 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001214/1.227, allocations: 318.8 kB / 1.115 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.448e-05/1.227, allocations: 16 kB / 1.115 GB, free: 2.785 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.376e-05/1.227, allocations: 58 kB / 1.115 GB, free: 2.707 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.453e-05/1.227, allocations: 31.92 kB / 1.115 GB, free: 2.676 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/1.227, allocations: 0 / 1.115 GB, free: 2.676 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001636/1.228, allocations: 99.42 kB / 1.115 GB, free: 2.574 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/1.228, allocations: 4 kB / 1.115 GB, free: 2.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/1.228, allocations: 4 kB / 1.115 GB, free: 2.566 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/1.228, allocations: 8.188 kB / 1.115 GB, free: 2.559 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.592e-05/1.228, allocations: 12 kB / 1.115 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.717e-06/1.228, allocations: 7.984 kB / 1.115 GB, free: 2.539 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.182e-05/1.228, allocations: 4.5 kB / 1.115 GB, free: 2.535 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.606e-05/1.228, allocations: 8 kB / 1.115 GB, free: 2.527 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.637e-05/1.228, allocations: 108.8 kB / 1.115 GB, free: 2.414 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.678e-05/1.228, allocations: 11.91 kB / 1.115 GB, free: 2.402 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.22e-05/1.228, allocations: 16.48 kB / 1.115 GB, free: 2.383 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/1.228, allocations: 0 / 1.115 GB, free: 2.383 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/1.228, allocations: 0.5625 kB / 1.115 GB, free: 2.383 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/1.228, allocations: 0 / 1.115 GB, free: 2.383 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004938/1.229, allocations: 376.7 kB / 1.115 GB, free: 1.973 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/1.229, allocations: 0 / 1.115 GB, free: 1.973 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.689e-05/1.229, allocations: 4.688 kB / 1.115 GB, free: 1.969 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/1.229, allocations: 7.984 kB / 1.115 GB, free: 1.961 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/1.229, allocations: 4 kB / 1.115 GB, free: 1.957 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/1.229, allocations: 0 / 1.115 GB, free: 1.957 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/1.229, allocations: 0.5 kB / 1.115 GB, free: 1.957 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003074/1.229, allocations: 211.3 kB / 1.116 GB, free: 1.734 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004498/1.229, allocations: 0.5796 MB / 1.116 GB, free: 1.137 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.128e-05/1.23, allocations: 85.05 kB / 1.116 GB, free: 1.035 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.092e-05/1.23, allocations: 11.98 kB / 1.116 GB, free: 1.023 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/1.23, allocations: 11.98 kB / 1.116 GB, free: 1.012 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.71e-05/1.23, allocations: 7.891 kB / 1.116 GB, free: 1.004 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/1.23, allocations: 4 kB / 1.116 GB, free: 1 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.508e-05/1.23, allocations: 99.27 kB / 1.116 GB, free: 0.9023 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001018/1.231, allocations: 67.92 kB / 1.116 GB, free: 0.8359 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.0004095/1.231, allocations: 185.4 kB / 1.117 GB, free: 0.668 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000163/1.231, allocations: 59.92 kB / 1.117 GB, free: 0.6094 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/1.231, allocations: 384 / 1.117 GB, free: 0.6094 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.7e-05/1.232, allocations: 43.94 kB / 1.117 GB, free: 0.5664 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002059/1.232, allocations: 3.984 kB / 1.117 GB, free: 0.5625 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003614/1.232, allocations: 119.5 kB / 1.117 GB, free: 432 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003587/1.233, allocations: 0.7036 MB / 1.118 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of SimCode: time 3.21e-07/1.233, allocations: 0 / 1.118 GB, free: 15.69 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; mkfifo Buildings_8_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe >> ../files/Buildings_8_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom.fmu > Buildings_8_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe 2>&1)