Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.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.Ren2014ACLivingroom,fileNamePrefix="Buildings_9_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 1.983/1.983, allocations: 387.2 MB / 394.5 MB, free: 13.25 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0011/0.001101, allocations: 189.9 kB / 487 MB, free: 0.7031 MB / 378.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 221.4 MB / 0.7819 GB, free: 6.738 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 92.81 kB / 0.9213 GB, free: 43.69 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 0.275/0.276, allocations: 148.5 MB / 1.066 GB, free: 7.477 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6798/0.9558, allocations: 142.3 MB / 1.205 GB, free: 72.85 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1788/1.135, allocations: 150.5 MB / 1.352 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002203/1.135, allocations: 79.95 kB / 1.352 GB, free: 12.71 MB / 0.8542 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.0105/1.145, allocations: 3.623 MB / 1.356 GB, free: 9.059 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/1.146, allocations: 8 kB / 1.356 GB, free: 9.051 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.137e-05/1.146, allocations: 11.89 kB / 1.356 GB, free: 9.039 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/1.146, allocations: 170.9 kB / 1.356 GB, free: 8.832 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.574e-05/1.146, allocations: 4 kB / 1.356 GB, free: 8.828 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/1.146, allocations: 7.938 kB / 1.356 GB, free: 8.82 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.836e-05/1.146, allocations: 28 kB / 1.356 GB, free: 8.793 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001209/1.146, allocations: 77.5 kB / 1.356 GB, free: 8.711 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/1.146, allocations: 0 / 1.356 GB, free: 8.711 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/1.146, allocations: 4 kB / 1.356 GB, free: 8.707 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/1.146, allocations: 0 / 1.356 GB, free: 8.707 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004609/1.146, allocations: 309.1 kB / 1.357 GB, free: 8.371 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001125/1.147, allocations: 58.56 kB / 1.357 GB, free: 8.305 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.602e-05/1.147, allocations: 28.86 kB / 1.357 GB, free: 8.273 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/1.147, allocations: 0 / 1.357 GB, free: 8.273 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001085/1.147, allocations: 83.38 kB / 1.357 GB, free: 8.18 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/1.147, allocations: 0 / 1.357 GB, free: 8.18 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8): time 0.0003822/1.147, allocations: 113.5 kB / 1.357 GB, free: 8.066 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.041e-05/1.147, allocations: 55.39 kB / 1.357 GB, free: 8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.924e-05/1.147, allocations: 128.6 kB / 1.357 GB, free: 7.867 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/1.147, allocations: 29.7 kB / 1.357 GB, free: 7.832 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.31e-05/1.147, allocations: 80.14 kB / 1.357 GB, free: 7.75 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.118e-05/1.147, allocations: 19.95 kB / 1.357 GB, free: 7.73 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.03e-06/1.147, allocations: 0 / 1.357 GB, free: 7.73 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.055e-05/1.148, allocations: 318.8 kB / 1.357 GB, free: 7.41 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.494e-05/1.148, allocations: 20 kB / 1.357 GB, free: 7.391 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.285e-05/1.148, allocations: 61.98 kB / 1.357 GB, free: 7.309 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.645e-05/1.148, allocations: 19.98 kB / 1.357 GB, free: 7.289 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/1.148, allocations: 4 kB / 1.357 GB, free: 7.285 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001493/1.148, allocations: 101.4 kB / 1.358 GB, free: 7.18 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/1.148, allocations: 8 kB / 1.358 GB, free: 7.172 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/1.148, allocations: 0 / 1.358 GB, free: 7.172 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/1.148, allocations: 4 kB / 1.358 GB, free: 7.168 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.508e-05/1.148, allocations: 20.73 kB / 1.358 GB, free: 7.148 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/1.148, allocations: 192 / 1.358 GB, free: 7.148 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.049e-05/1.148, allocations: 12 kB / 1.358 GB, free: 7.137 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/1.148, allocations: 8 kB / 1.358 GB, free: 7.129 MB / 0.8542 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.685e-05/1.148, allocations: 116.8 kB / 1.358 GB, free: 7.008 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.784e-05/1.148, allocations: 7.906 kB / 1.358 GB, free: 7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.897e-05/1.148, allocations: 12.48 kB / 1.358 GB, free: 6.988 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/1.148, allocations: 0 / 1.358 GB, free: 6.988 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/1.148, allocations: 8 kB / 1.358 GB, free: 6.98 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/1.148, allocations: 5.469 kB / 1.358 GB, free: 6.977 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004507/1.149, allocations: 362.9 kB / 1.358 GB, free: 6.578 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/1.149, allocations: 1.125 kB / 1.358 GB, free: 6.578 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.183e-05/1.149, allocations: 11.92 kB / 1.358 GB, free: 6.566 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/1.149, allocations: 4 kB / 1.358 GB, free: 6.562 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/1.149, allocations: 0 / 1.358 GB, free: 6.562 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/1.149, allocations: 0 / 1.358 GB, free: 6.562 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/1.149, allocations: 0 / 1.358 GB, free: 6.562 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003501/1.149, allocations: 215.3 kB / 1.358 GB, free: 6.336 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004058/1.15, allocations: 0.5701 MB / 1.359 GB, free: 5.746 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.362e-05/1.15, allocations: 85.56 kB / 1.359 GB, free: 5.645 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.885e-05/1.15, allocations: 8 kB / 1.359 GB, free: 5.637 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/1.15, allocations: 12 kB / 1.359 GB, free: 5.625 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.442e-05/1.15, allocations: 11.83 kB / 1.359 GB, free: 5.613 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/1.15, allocations: 6.031 kB / 1.359 GB, free: 5.609 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.867e-05/1.15, allocations: 99.27 kB / 1.359 GB, free: 5.512 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0009203/1.151, allocations: 67.86 kB / 1.359 GB, free: 5.445 MB / 0.8542 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.0004078/1.151, allocations: 186.9 kB / 1.359 GB, free: 5.277 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001477/1.151, allocations: 59.92 kB / 1.359 GB, free: 5.219 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/1.151, allocations: 4 kB / 1.359 GB, free: 5.215 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.134e-05/1.152, allocations: 39.92 kB / 1.359 GB, free: 5.176 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001944/1.152, allocations: 4.375 kB / 1.359 GB, free: 5.172 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003488/1.152, allocations: 119.7 kB / 1.36 GB, free: 5.035 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002912/1.152, allocations: 0.7113 MB / 1.36 GB, free: 4.297 MB / 0.8542 GB Notification: Performance of SimCode: time 2.71e-07/1.152, allocations: 0 / 1.36 GB, free: 4.297 MB / 0.8542 GB (rm -f Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom.fmu > Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe 2>&1)