Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom,fileNamePrefix="Buildings_9_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 1.939/1.939, allocations: 387.2 MB / 394.5 MB, free: 13.66 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 185.2 kB / 487 MB, free: 5.352 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 221.3 MB / 0.7819 GB, free: 1.449 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009853/0.0009852, allocations: 96.62 kB / 0.9213 GB, free: 2.695 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.5475/0.5485, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2445/0.793, allocations: 142.3 MB / 1.205 GB, free: 26.16 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6886/1.482, allocations: 150.5 MB / 1.352 GB, free: 15.87 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002475/1.482, allocations: 81.17 kB / 1.352 GB, free: 15.87 MB / 0.8073 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.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.493, allocations: 3.622 MB / 1.356 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/1.493, allocations: 10.05 kB / 1.356 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.871e-05/1.493, allocations: 7.969 kB / 1.356 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.063e-05/1.493, allocations: 184.7 kB / 1.356 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.486e-05/1.494, allocations: 1.875 kB / 1.356 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.883e-05/1.494, allocations: 4.188 kB / 1.356 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.895e-05/1.494, allocations: 32.84 kB / 1.356 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001189/1.494, allocations: 73.89 kB / 1.356 GB, free: 15 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.313e-06/1.494, allocations: 4.656 kB / 1.356 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/1.494, allocations: 0 / 1.356 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/1.494, allocations: 1.844 kB / 1.356 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004228/1.494, allocations: 299.8 kB / 1.357 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000114/1.494, allocations: 57.94 kB / 1.357 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.662e-05/1.494, allocations: 32.28 kB / 1.357 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/1.494, allocations: 2.062 kB / 1.357 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001036/1.495, allocations: 85.7 kB / 1.357 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=8): time 1.322e-06/1.495, allocations: 0 / 1.357 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8): time 0.0003803/1.495, allocations: 105.7 kB / 1.357 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.219e-05/1.495, allocations: 59.06 kB / 1.357 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.777e-05/1.495, allocations: 123.1 kB / 1.357 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/1.495, allocations: 27.83 kB / 1.357 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.532e-05/1.495, allocations: 86.94 kB / 1.357 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.058e-05/1.495, allocations: 16.62 kB / 1.357 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.869e-06/1.495, allocations: 4 kB / 1.357 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.531e-05/1.495, allocations: 320.1 kB / 1.357 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.586e-05/1.495, allocations: 13.75 kB / 1.357 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.161e-05/1.495, allocations: 63.84 kB / 1.357 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.068e-05/1.495, allocations: 25.78 kB / 1.357 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/1.495, allocations: 0.5938 kB / 1.357 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001517/1.496, allocations: 100.4 kB / 1.358 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/1.496, allocations: 5.922 kB / 1.358 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.299e-06/1.496, allocations: 1.875 kB / 1.358 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/1.496, allocations: 6.656 kB / 1.358 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.461e-05/1.496, allocations: 18.55 kB / 1.358 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/1.496, allocations: 7.281 kB / 1.358 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.039e-05/1.496, allocations: 6.984 kB / 1.358 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/1.496, allocations: 7.5 kB / 1.358 GB, free: 13.91 MB / 0.8073 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 5.601e-05/1.496, allocations: 113 kB / 1.358 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.886e-05/1.496, allocations: 12.53 kB / 1.358 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.336e-05/1.496, allocations: 11.28 kB / 1.358 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/1.496, allocations: 1.844 kB / 1.358 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/1.496, allocations: 0 / 1.358 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/1.496, allocations: 1.484 kB / 1.358 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004431/1.496, allocations: 368.9 kB / 1.358 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/1.496, allocations: 4.875 kB / 1.358 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.869e-05/1.496, allocations: 6.453 kB / 1.358 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/1.496, allocations: 4.906 kB / 1.358 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/1.496, allocations: 2.594 kB / 1.358 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/1.496, allocations: 1.062 kB / 1.358 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/1.497, allocations: 0.9375 kB / 1.358 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002988/1.497, allocations: 212.4 kB / 1.358 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003332/1.497, allocations: 0.5795 MB / 1.359 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.159e-05/1.497, allocations: 84.72 kB / 1.359 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.792e-05/1.497, allocations: 1.75 kB / 1.359 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/1.497, allocations: 14.62 kB / 1.359 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.676e-05/1.497, allocations: 9.172 kB / 1.359 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.379e-05/1.497, allocations: 4.172 kB / 1.359 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.753e-05/1.497, allocations: 103 kB / 1.359 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0009249/1.498, allocations: 71.86 kB / 1.359 GB, free: 12.66 MB / 0.8073 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.0003783/1.499, allocations: 180 kB / 1.359 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002016/1.499, allocations: 60.98 kB / 1.359 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/1.499, allocations: 4 kB / 1.359 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.725e-05/1.499, allocations: 37.38 kB / 1.359 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000208/1.499, allocations: 5.75 kB / 1.359 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003662/1.5, allocations: 115.5 kB / 1.36 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002655/1.5, allocations: 0.7136 MB / 1.36 GB, free: 27.75 MB / 0.823 GB Notification: Performance of SimCode: time 2.91e-07/1.5, allocations: 3.938 kB / 1.36 GB, free: 27.75 MB / 0.823 GB (rm -f Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom.fmu > Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe 2>&1)