Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.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.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.513/2.513, allocations: 284.8 MB / 292.1 MB, free: 10.74 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.001641/0.00164, allocations: 181.3 kB / 360.3 MB, free: 7.531 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.922/1.922, 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.001316/0.001315, allocations: 96.88 kB / 0.7317 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2851/0.2865, allocations: 121.4 MB / 0.8502 GB, free: 3.93 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6371/0.9236, allocations: 115.2 MB / 0.9627 GB, free: 78.5 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2429/1.167, allocations: 139.1 MB / 1.099 GB, free: 1.699 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005608/1.167, allocations: 83.94 kB / 1.099 GB, free: 1.617 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.02832/1.196, allocations: 3.583 MB / 1.102 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/1.196, allocations: 8 kB / 1.102 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.77e-05/1.196, allocations: 8.656 kB / 1.102 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000171/1.196, allocations: 174.2 kB / 1.102 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.974e-05/1.196, allocations: 10.12 kB / 1.102 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.67e-05/1.196, allocations: 4 kB / 1.102 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001498/1.196, allocations: 35.92 kB / 1.102 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001926/1.196, allocations: 68.77 kB / 1.103 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/1.196, allocations: 0.75 kB / 1.103 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.397e-05/1.196, allocations: 7.984 kB / 1.103 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/1.196, allocations: 0 / 1.103 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007766/1.197, allocations: 301.3 kB / 1.103 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001931/1.197, allocations: 58.61 kB / 1.103 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001112/1.198, allocations: 32.86 kB / 1.103 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.462e-05/1.198, allocations: 4.547 kB / 1.103 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002294/1.198, allocations: 79.39 kB / 1.103 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 3.717e-06/1.198, allocations: 0 / 1.103 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0008119/1.199, allocations: 105.5 kB / 1.103 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.129e-05/1.199, allocations: 55.41 kB / 1.103 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/1.199, allocations: 121.1 kB / 1.103 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.458e-05/1.199, allocations: 29.64 kB / 1.103 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.226e-05/1.199, allocations: 92.08 kB / 1.103 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.804e-05/1.199, allocations: 23.94 kB / 1.103 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.055e-06/1.199, allocations: 4 kB / 1.103 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001443/1.199, allocations: 322.8 kB / 1.104 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.705e-05/1.199, allocations: 12 kB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/1.199, allocations: 57.27 kB / 1.104 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.638e-05/1.2, allocations: 28.69 kB / 1.104 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/1.2, allocations: 0 / 1.104 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002609/1.2, allocations: 97.36 kB / 1.104 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/1.2, allocations: 8 kB / 1.104 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.565e-06/1.2, allocations: 0 / 1.104 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/1.2, allocations: 8.188 kB / 1.104 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001898/1.2, allocations: 23.92 kB / 1.104 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/1.2, allocations: 0 / 1.104 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001215/1.2, allocations: 8 kB / 1.104 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/1.2, allocations: 4 kB / 1.104 GB, free: 12.14 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 0.0001224/1.2, allocations: 121.9 kB / 1.104 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.975e-05/1.2, allocations: 11.91 kB / 1.104 GB, free: 12 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.43e-05/1.201, allocations: 8.5 kB / 1.104 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/1.201, allocations: 0 / 1.104 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/1.201, allocations: 4.688 kB / 1.104 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/1.201, allocations: 0 / 1.104 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008385/1.201, allocations: 366.1 kB / 1.104 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/1.201, allocations: 1.406 kB / 1.104 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.031e-05/1.202, allocations: 9.609 kB / 1.104 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/1.202, allocations: 4 kB / 1.104 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.785e-05/1.202, allocations: 4 kB / 1.104 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/1.202, allocations: 0 / 1.104 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.159e-06/1.202, allocations: 3.938 kB / 1.104 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000537/1.202, allocations: 215.3 kB / 1.105 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008846/1.203, allocations: 0.5779 MB / 1.105 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.542e-05/1.203, allocations: 81.53 kB / 1.105 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.8e-05/1.203, allocations: 4 kB / 1.105 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002249/1.203, allocations: 11.98 kB / 1.105 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.155e-05/1.204, allocations: 3.906 kB / 1.105 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-05/1.204, allocations: 11.92 kB / 1.105 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001378/1.204, allocations: 98.52 kB / 1.105 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001363/1.205, allocations: 63.98 kB / 1.105 GB, free: 10.46 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.0006443/1.206, allocations: 197.7 kB / 1.106 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004074/1.206, allocations: 55.94 kB / 1.106 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/1.206, allocations: 384 / 1.106 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002019/1.206, allocations: 39.98 kB / 1.106 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000491/1.207, allocations: 7.938 kB / 1.106 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007388/1.208, allocations: 116.3 kB / 1.106 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005068/1.208, allocations: 0.7075 MB / 1.107 GB, free: 9.309 MB / 0.7136 GB Notification: Performance of SimCode: time 1.353e-06/1.208, allocations: 0 / 1.107 GB, free: 9.309 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom.fmu > Buildings_8.0.0_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe 2>&1)