Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.419/1.419, allocations: 285.5 MB / 292.8 MB, free: 10.42 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.0009988/0.0009988, allocations: 177.2 kB / 361.1 MB, free: 7.09 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.189/1.189, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.0008386/0.0008386, allocations: 85.41 kB / 0.7325 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2271/0.228, allocations: 121.4 MB / 0.8512 GB, free: 2.902 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5404/0.7685, allocations: 115.3 MB / 0.9637 GB, free: 78.52 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.158/0.9265, allocations: 139.3 MB / 1.1 GB, free: 0.7422 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002616/0.9268, allocations: 80.47 kB / 1.1 GB, free: 0.6641 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.01091/0.9378, allocations: 3.585 MB / 1.103 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.9378, allocations: 8.5 kB / 1.103 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.423e-05/0.9379, allocations: 7.906 kB / 1.103 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.938, allocations: 182.2 kB / 1.104 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.675e-05/0.9381, allocations: 0 / 1.104 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.843e-05/0.9381, allocations: 4.594 kB / 1.104 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.592e-05/0.9382, allocations: 33.56 kB / 1.104 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.9383, allocations: 73.56 kB / 1.104 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.076e-06/0.9383, allocations: 4.781 kB / 1.104 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.9383, allocations: 0 / 1.104 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.9384, allocations: 0.5312 kB / 1.104 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004961/0.9389, allocations: 302.3 kB / 1.104 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001372/0.939, allocations: 66.59 kB / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.197e-05/0.9391, allocations: 24.86 kB / 1.104 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/0.9391, allocations: 4 kB / 1.104 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001196/0.9392, allocations: 83.38 kB / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 1.724e-06/0.9392, allocations: 0 / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0003943/0.9396, allocations: 102.2 kB / 1.104 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/0.9397, allocations: 67.53 kB / 1.104 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.883e-05/0.9398, allocations: 117.2 kB / 1.104 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.719e-05/0.9398, allocations: 29.64 kB / 1.104 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.176e-05/0.9399, allocations: 88.08 kB / 1.105 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.991e-05/0.9399, allocations: 19.73 kB / 1.105 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.979e-06/0.9399, allocations: 0 / 1.105 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.9401, allocations: 322.8 kB / 1.105 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.6e-05/0.9401, allocations: 16 kB / 1.105 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.708e-05/0.9402, allocations: 63.52 kB / 1.105 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.291e-05/0.9403, allocations: 23.98 kB / 1.105 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.9403, allocations: 4 kB / 1.105 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001661/0.9404, allocations: 107.5 kB / 1.105 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.9405, allocations: 4 kB / 1.105 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.9405, allocations: 0 / 1.105 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.9405, allocations: 4 kB / 1.105 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.844e-05/0.9406, allocations: 20.12 kB / 1.105 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.941e-05/0.9406, allocations: 7.984 kB / 1.105 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.034e-05/0.9407, allocations: 4 kB / 1.105 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.596e-05/0.9407, allocations: 8 kB / 1.105 GB, free: 11.18 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 8.773e-05/0.9408, allocations: 108.9 kB / 1.105 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.036e-05/0.9409, allocations: 7.906 kB / 1.105 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.808e-05/0.9409, allocations: 20.42 kB / 1.105 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.9409, allocations: 4 kB / 1.105 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.9409, allocations: 0 / 1.105 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.9409, allocations: 0 / 1.105 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005028/0.9414, allocations: 366.9 kB / 1.106 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.9414, allocations: 4 kB / 1.106 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.73e-05/0.9415, allocations: 7.984 kB / 1.106 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.9415, allocations: 0 / 1.106 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.9415, allocations: 4 kB / 1.106 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.9415, allocations: 2.656 kB / 1.106 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.9415, allocations: 0 / 1.106 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003101/0.9419, allocations: 211.2 kB / 1.106 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004217/0.9423, allocations: 0.5726 MB / 1.106 GB, free: 9.805 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.451e-05/0.9424, allocations: 93.02 kB / 1.106 GB, free: 9.695 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.904e-05/0.9424, allocations: 3.984 kB / 1.106 GB, free: 9.691 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/0.9425, allocations: 8 kB / 1.106 GB, free: 9.684 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.366e-05/0.9426, allocations: 11.89 kB / 1.106 GB, free: 9.672 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/0.9426, allocations: 0 / 1.106 GB, free: 9.672 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.372e-05/0.9426, allocations: 102.9 kB / 1.107 GB, free: 9.574 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0009127/0.9436, allocations: 67.91 kB / 1.107 GB, free: 9.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.0004075/0.944, allocations: 190.6 kB / 1.107 GB, free: 9.328 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001635/0.9441, allocations: 63.92 kB / 1.107 GB, free: 9.266 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.9442, allocations: 0 / 1.107 GB, free: 9.266 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.938e-05/0.9442, allocations: 32.38 kB / 1.107 GB, free: 9.234 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002009/0.9444, allocations: 15.2 kB / 1.107 GB, free: 9.223 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000372/0.9448, allocations: 116.2 kB / 1.107 GB, free: 9.086 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002683/0.9451, allocations: 0.7075 MB / 1.108 GB, free: 8.352 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.9451, allocations: 0 / 1.108 GB, free: 8.352 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe 2>&1)