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: translateModel(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom") translateModel(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom") [: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.477/1.477, allocations: 289.8 MB / 297.1 MB, free: 6.629 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.001341/0.001341, allocations: 175.9 kB / 366.3 MB, free: 1.953 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.193/1.193, allocations: 205.1 MB / 0.6256 GB, free: 7.434 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.0009208/0.0009209, allocations: 94.91 kB / 0.7395 GB, free: 39.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.955e-06/8.055e-06, allocations: 0 / 0.859 GB, free: 13.57 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5265/0.5265, allocations: 116.3 MB / 0.9726 GB, free: 76.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1659/0.6924, allocations: 140.3 MB / 1.11 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002331/0.6927, allocations: 80.8 kB / 1.11 GB, free: 10.11 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: Performance of FrontEnd: time 0.009826/0.7026, allocations: 3.114 MB / 1.113 GB, free: 7.031 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.7026, allocations: 0.5 kB / 1.113 GB, free: 7.031 MB / 0.7136 GB 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.0005285/0.7031, allocations: 476.3 kB / 1.113 GB, free: 6.512 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.7032, allocations: 12.03 kB / 1.113 GB, free: 6.5 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.035e-05/0.7032, allocations: 7.906 kB / 1.113 GB, free: 6.492 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.7033, allocations: 174.9 kB / 1.113 GB, free: 6.281 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.605e-05/0.7034, allocations: 0 / 1.113 GB, free: 6.281 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.973e-05/0.7034, allocations: 4 kB / 1.113 GB, free: 6.277 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.431e-05/0.7035, allocations: 33.58 kB / 1.113 GB, free: 6.246 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.7036, allocations: 73.56 kB / 1.113 GB, free: 6.168 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.7036, allocations: 3.938 kB / 1.113 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.7037, allocations: 2.125 kB / 1.113 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.7037, allocations: 8 kB / 1.113 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004536/0.7041, allocations: 293.3 kB / 1.114 GB, free: 5.832 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001138/0.7043, allocations: 58.58 kB / 1.114 GB, free: 5.766 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.693e-05/0.7043, allocations: 36.84 kB / 1.114 GB, free: 5.727 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.7043, allocations: 0 / 1.114 GB, free: 5.727 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000151/0.7045, allocations: 79.42 kB / 1.114 GB, free: 5.637 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 1.462e-06/0.7045, allocations: 0 / 1.114 GB, free: 5.637 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.000354/0.7049, allocations: 107.7 kB / 1.114 GB, free: 5.527 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.972e-05/0.7049, allocations: 55.41 kB / 1.114 GB, free: 5.461 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.389e-05/0.705, allocations: 126.1 kB / 1.114 GB, free: 5.328 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.705, allocations: 25.7 kB / 1.114 GB, free: 5.297 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.193e-05/0.7051, allocations: 96.16 kB / 1.114 GB, free: 5.199 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.173e-05/0.7051, allocations: 19.8 kB / 1.114 GB, free: 5.18 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-06/0.7051, allocations: 0 / 1.114 GB, free: 5.18 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.006e-05/0.7052, allocations: 318.8 kB / 1.115 GB, free: 4.859 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.536e-05/0.7053, allocations: 20 kB / 1.115 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.757e-05/0.7053, allocations: 58.02 kB / 1.115 GB, free: 4.762 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.899e-05/0.7054, allocations: 23.92 kB / 1.115 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.7054, allocations: 0 / 1.115 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000146/0.7055, allocations: 106.7 kB / 1.115 GB, free: 4.629 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.7055, allocations: 4 kB / 1.115 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.7056, allocations: 4 kB / 1.115 GB, free: 4.621 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.7056, allocations: 0 / 1.115 GB, free: 4.621 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.005e-05/0.7057, allocations: 15.98 kB / 1.115 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.7057, allocations: 4 kB / 1.115 GB, free: 4.602 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.655e-05/0.7058, allocations: 4 kB / 1.115 GB, free: 4.598 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.615e-05/0.7058, allocations: 12.11 kB / 1.115 GB, free: 4.586 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 7.544e-05/0.7059, allocations: 116.8 kB / 1.115 GB, free: 4.465 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.677e-05/0.7059, allocations: 7.906 kB / 1.115 GB, free: 4.457 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.501e-05/0.7059, allocations: 12.55 kB / 1.115 GB, free: 4.441 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.7059, allocations: 3.984 kB / 1.115 GB, free: 4.438 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.7059, allocations: 0 / 1.115 GB, free: 4.438 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.706, allocations: 0 / 1.115 GB, free: 4.438 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004594/0.7064, allocations: 383.4 kB / 1.115 GB, free: 4.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.7064, allocations: 2.062 kB / 1.115 GB, free: 4.02 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.512e-05/0.7065, allocations: 4 kB / 1.115 GB, free: 4.016 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.7065, allocations: 0 / 1.115 GB, free: 4.016 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/0.7065, allocations: 4 kB / 1.115 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.7065, allocations: 3.984 kB / 1.115 GB, free: 4.008 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.7065, allocations: 1.406 kB / 1.115 GB, free: 4.008 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003142/0.7068, allocations: 203.3 kB / 1.116 GB, free: 3.793 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.27e-05/0.7069, allocations: 89.02 kB / 1.116 GB, free: 3.688 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.565e-05/0.7069, allocations: 0 / 1.116 GB, free: 3.688 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/0.7071, allocations: 15.98 kB / 1.116 GB, free: 3.672 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.959e-05/0.7071, allocations: 4 kB / 1.116 GB, free: 3.668 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.647e-05/0.7072, allocations: 7.984 kB / 1.116 GB, free: 3.66 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.758e-05/0.7072, allocations: 93.75 kB / 1.116 GB, free: 3.57 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003363/0.7076, allocations: 63.92 kB / 1.116 GB, free: 3.508 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.0004458/0.708, allocations: 191.4 kB / 1.116 GB, free: 3.332 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001605/0.7082, allocations: 63.92 kB / 1.116 GB, free: 3.27 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.7082, allocations: 0 / 1.116 GB, free: 3.27 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.257e-05/0.7083, allocations: 40.3 kB / 1.116 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002046/0.7085, allocations: 13.03 kB / 1.116 GB, free: 3.219 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003547/0.7088, allocations: 117.2 kB / 1.116 GB, free: 3.082 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000293/0.7092, allocations: 0.7036 MB / 1.117 GB, free: 2.352 MB / 0.7136 GB Notification: Performance of SimCode: time 2.1e-07/0.7092, allocations: 0 / 1.117 GB, free: 2.352 MB / 0.7136 GB Notification: Performance of Templates: time 0.004987/0.7142, allocations: 2.059 MB / 1.119 GB, free: 344 kB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.makefile (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 & ./Buildings_8_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe 2>&1)