Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom,fileNamePrefix="Buildings_latest_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 1.849/1.849, allocations: 390.4 MB / 397.7 MB, free: 10.72 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.0009772/0.0009773, allocations: 178.3 kB / 490.8 MB, free: 11.23 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.186/1.186, allocations: 221.4 MB / 0.7863 GB, free: 13.6 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008485/0.0008486, allocations: 91.31 kB / 0.9264 GB, free: 4.562 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 0.2754/0.2762, allocations: 149.1 MB / 1.072 GB, free: 15.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6757/0.952, allocations: 143 MB / 1.212 GB, free: 155.8 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1621/1.114, allocations: 151.3 MB / 1.359 GB, free: 40.31 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002395/1.114, allocations: 83.94 kB / 1.36 GB, free: 40.23 MB / 0.8855 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.009542/1.124, allocations: 3.626 MB / 1.363 GB, free: 36.59 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/1.124, allocations: 8.625 kB / 1.363 GB, free: 36.59 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.611e-05/1.124, allocations: 11.84 kB / 1.363 GB, free: 36.57 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.063e-05/1.124, allocations: 183.7 kB / 1.363 GB, free: 36.36 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.485e-05/1.124, allocations: 0 / 1.363 GB, free: 36.36 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.636e-05/1.124, allocations: 8.672 kB / 1.363 GB, free: 36.35 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.517e-05/1.124, allocations: 28 kB / 1.363 GB, free: 36.32 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001086/1.124, allocations: 70.88 kB / 1.363 GB, free: 36.25 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/1.124, allocations: 3.938 kB / 1.363 GB, free: 36.24 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/1.124, allocations: 0 / 1.363 GB, free: 36.24 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/1.125, allocations: 8.344 kB / 1.363 GB, free: 36.24 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003784/1.125, allocations: 291.5 kB / 1.364 GB, free: 35.92 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/1.125, allocations: 63.55 kB / 1.364 GB, free: 35.85 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.395e-05/1.125, allocations: 35.03 kB / 1.364 GB, free: 35.81 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.289e-05/1.125, allocations: 4.562 kB / 1.364 GB, free: 35.81 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.1e-05/1.125, allocations: 78.25 kB / 1.364 GB, free: 35.72 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=8): time 2.354e-06/1.125, allocations: 0.6875 kB / 1.364 GB, free: 35.72 MB / 0.8855 GB Notification: Performance of matching and sorting (n=8): time 0.0003454/1.126, allocations: 109.7 kB / 1.364 GB, free: 35.61 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.469e-05/1.126, allocations: 60 kB / 1.364 GB, free: 35.54 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.003e-05/1.126, allocations: 118.3 kB / 1.364 GB, free: 35.41 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/1.126, allocations: 25.7 kB / 1.364 GB, free: 35.38 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 2.723e-05/1.126, allocations: 96.81 kB / 1.364 GB, free: 35.29 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.683e-05/1.126, allocations: 11.81 kB / 1.364 GB, free: 35.27 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.889e-06/1.126, allocations: 1 kB / 1.364 GB, free: 35.27 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 5.45e-05/1.126, allocations: 322.8 kB / 1.365 GB, free: 34.95 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.977e-05/1.126, allocations: 12.62 kB / 1.365 GB, free: 34.93 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.815e-05/1.126, allocations: 59.3 kB / 1.365 GB, free: 34.86 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.451e-05/1.126, allocations: 30.33 kB / 1.365 GB, free: 34.83 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/1.126, allocations: 0.5312 kB / 1.365 GB, free: 34.83 MB / 0.8855 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001327/1.126, allocations: 94.95 kB / 1.365 GB, free: 34.73 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.688e-06/1.126, allocations: 4 kB / 1.365 GB, free: 34.73 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/1.126, allocations: 4.625 kB / 1.365 GB, free: 34.72 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/1.126, allocations: 4.5 kB / 1.365 GB, free: 34.72 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.773e-05/1.126, allocations: 20.67 kB / 1.365 GB, free: 34.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/1.126, allocations: 4 kB / 1.365 GB, free: 34.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.5e-05/1.126, allocations: 6.062 kB / 1.365 GB, free: 34.69 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.413e-05/1.126, allocations: 7.984 kB / 1.365 GB, free: 34.68 MB / 0.8855 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.823e-05/1.126, allocations: 120.5 kB / 1.365 GB, free: 34.56 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.566e-05/1.126, allocations: 11.81 kB / 1.365 GB, free: 34.55 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.716e-05/1.126, allocations: 13.5 kB / 1.365 GB, free: 34.54 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/1.126, allocations: 0 / 1.365 GB, free: 34.54 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/1.126, allocations: 0.5 kB / 1.365 GB, free: 34.54 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/1.126, allocations: 0.7188 kB / 1.365 GB, free: 34.54 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003746/1.127, allocations: 377.8 kB / 1.365 GB, free: 34.13 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/1.127, allocations: 1.812 kB / 1.365 GB, free: 34.13 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.34e-05/1.127, allocations: 5.125 kB / 1.365 GB, free: 34.12 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/1.127, allocations: 1.875 kB / 1.365 GB, free: 34.12 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/1.127, allocations: 3.984 kB / 1.365 GB, free: 34.12 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/1.127, allocations: 6.625 kB / 1.365 GB, free: 34.12 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/1.127, allocations: 0 / 1.365 GB, free: 34.12 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002587/1.127, allocations: 208.3 kB / 1.365 GB, free: 33.9 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000301/1.128, allocations: 0.5795 MB / 1.366 GB, free: 33.3 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 2.266e-05/1.128, allocations: 89.67 kB / 1.366 GB, free: 33.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.554e-05/1.128, allocations: 0 / 1.366 GB, free: 33.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001172/1.128, allocations: 13.67 kB / 1.366 GB, free: 33.18 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.962e-05/1.128, allocations: 7.984 kB / 1.366 GB, free: 33.18 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/1.128, allocations: 5.906 kB / 1.366 GB, free: 33.17 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.178e-05/1.128, allocations: 99.48 kB / 1.366 GB, free: 33.08 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0008353/1.129, allocations: 67.78 kB / 1.366 GB, free: 33.01 MB / 0.8855 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.0003016/1.129, allocations: 180.3 kB / 1.366 GB, free: 32.85 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.000129/1.129, allocations: 68.48 kB / 1.367 GB, free: 32.79 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/1.129, allocations: 2.438 kB / 1.367 GB, free: 32.79 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 5.987e-05/1.129, allocations: 36.59 kB / 1.367 GB, free: 32.75 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001793/1.129, allocations: 12.48 kB / 1.367 GB, free: 32.74 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002842/1.13, allocations: 116.5 kB / 1.367 GB, free: 32.6 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001301/1.13, allocations: 0.7086 MB / 1.367 GB, free: 31.87 MB / 0.8855 GB Notification: Performance of SimCode: time 2.6e-07/1.13, allocations: 0.5625 kB / 1.367 GB, free: 31.87 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom.fmu > Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe 2>&1)