Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.242/1.242, allocations: 249.4 MB / 256.7 MB, free: 7.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009182/0.0009182, allocations: 181.3 kB / 316 MB, free: 3.562 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.216/1.216, allocations: 205.1 MB / 0.5667 GB, free: 15.64 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001159/0.001159, allocations: 93.33 kB / 0.671 GB, free: 4.777 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3445/0.3457, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1703/0.516, allocations: 106.3 MB / 0.8847 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5213/1.037, allocations: 134.1 MB / 1.016 GB, free: 4.574 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002396/1.038, allocations: 77.45 kB / 1.016 GB, free: 4.531 MB / 0.6355 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.01028/1.048, allocations: 3.589 MB / 1.019 GB, free: 1.418 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/1.048, allocations: 8 kB / 1.019 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.511e-05/1.048, allocations: 7.906 kB / 1.019 GB, free: 1.402 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/1.048, allocations: 170.9 kB / 1.019 GB, free: 1.195 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/1.048, allocations: 4 kB / 1.019 GB, free: 1.191 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.881e-05/1.048, allocations: 7.984 kB / 1.019 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.092e-05/1.048, allocations: 33.72 kB / 1.019 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/1.048, allocations: 72.53 kB / 1.019 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/1.048, allocations: 4 kB / 1.019 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/1.048, allocations: 0 / 1.019 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/1.049, allocations: 0 / 1.019 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004446/1.049, allocations: 295 kB / 1.02 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001129/1.049, allocations: 63.7 kB / 1.02 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.725e-05/1.049, allocations: 35.22 kB / 1.02 GB, free: 0.7109 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/1.049, allocations: 4 kB / 1.02 GB, free: 0.707 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.99e-05/1.049, allocations: 80.45 kB / 1.02 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 1.292e-06/1.049, allocations: 0 / 1.02 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0003362/1.05, allocations: 109.2 kB / 1.02 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.867e-05/1.05, allocations: 55.56 kB / 1.02 GB, free: 480 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.493e-05/1.05, allocations: 119.2 kB / 1.02 GB, free: 360 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/1.05, allocations: 25.7 kB / 1.02 GB, free: 328 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.416e-05/1.05, allocations: 99.59 kB / 1.02 GB, free: 228 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.768e-05/1.05, allocations: 14.94 kB / 1.02 GB, free: 216 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.629e-06/1.05, allocations: 0 / 1.02 GB, free: 216 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.506e-05/1.05, allocations: 326.6 kB / 1.021 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.111e-05/1.05, allocations: 14.25 kB / 1.021 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.348e-05/1.05, allocations: 60.52 kB / 1.021 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.075e-05/1.05, allocations: 22.17 kB / 1.021 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/1.05, allocations: 4 kB / 1.021 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000144/1.05, allocations: 103.7 kB / 1.021 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/1.05, allocations: 4 kB / 1.021 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/1.05, allocations: 0 / 1.021 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/1.05, allocations: 4 kB / 1.021 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.972e-05/1.05, allocations: 15.98 kB / 1.021 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/1.05, allocations: 8.422 kB / 1.021 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.128e-05/1.05, allocations: 20.08 kB / 1.021 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/1.05, allocations: 4 kB / 1.021 GB, free: 15.64 MB / 0.6511 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 6.298e-05/1.051, allocations: 105 kB / 1.021 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.76e-05/1.051, allocations: 7.906 kB / 1.021 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.97e-05/1.051, allocations: 7.562 kB / 1.021 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/1.051, allocations: 4 kB / 1.021 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/1.051, allocations: 0 / 1.021 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/1.051, allocations: 7.891 kB / 1.021 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004561/1.051, allocations: 375.9 kB / 1.021 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/1.051, allocations: 3.984 kB / 1.021 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.545e-05/1.051, allocations: 8 kB / 1.021 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/1.051, allocations: 3.906 kB / 1.021 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/1.051, allocations: 3.984 kB / 1.021 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/1.051, allocations: 0 / 1.021 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.051, allocations: 0 / 1.021 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002975/1.052, allocations: 211.3 kB / 1.022 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004138/1.052, allocations: 0.5758 MB / 1.022 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 3.592e-05/1.052, allocations: 85.02 kB / 1.022 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.573e-05/1.052, allocations: 0 / 1.022 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001239/1.052, allocations: 18.67 kB / 1.022 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.932e-05/1.052, allocations: 11.92 kB / 1.022 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/1.052, allocations: 1.562 kB / 1.022 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6.044e-05/1.052, allocations: 100.8 kB / 1.022 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000963/1.053, allocations: 66.3 kB / 1.022 GB, free: 14.06 MB / 0.6511 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.0003707/1.054, allocations: 184.1 kB / 1.023 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001368/1.054, allocations: 72.36 kB / 1.023 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/1.054, allocations: 0 / 1.023 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 6.48e-05/1.054, allocations: 30.38 kB / 1.023 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001894/1.054, allocations: 16.08 kB / 1.023 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003172/1.054, allocations: 107.9 kB / 1.023 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002632/1.055, allocations: 0.7148 MB / 1.024 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of SimCode: time 2.51e-07/1.055, allocations: 0 / 1.024 GB, free: 12.95 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe 2>&1)