Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.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.Ren2014ACBedroom,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom",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.309/1.309, allocations: 249.4 MB / 256.7 MB, free: 6.934 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.001018/0.001018, allocations: 173.3 kB / 316 MB, free: 3.527 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.198/1.198, allocations: 205.1 MB / 0.5667 GB, free: 15.66 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.0008422/0.0008422, allocations: 90.83 kB / 0.671 GB, free: 4.789 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3226/0.3235, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.4789, allocations: 106.3 MB / 0.8847 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4512/0.93, allocations: 134.1 MB / 1.016 GB, free: 4.492 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002109/0.9303, allocations: 80.81 kB / 1.016 GB, free: 4.445 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.00992/0.9402, allocations: 3.59 MB / 1.019 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/0.9403, allocations: 8 kB / 1.019 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.704e-05/0.9403, allocations: 11.89 kB / 1.019 GB, free: 1.32 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.9404, allocations: 178.9 kB / 1.019 GB, free: 1.105 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.28e-05/0.9405, allocations: 0 / 1.019 GB, free: 1.105 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.913e-05/0.9405, allocations: 4 kB / 1.019 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.2e-05/0.9406, allocations: 27 kB / 1.019 GB, free: 1.086 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001119/0.9407, allocations: 75.59 kB / 1.019 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.232e-06/0.9407, allocations: 0 / 1.019 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.9407, allocations: 0 / 1.019 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.626e-06/0.9407, allocations: 0 / 1.019 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000405/0.9412, allocations: 300.5 kB / 1.02 GB, free: 0.7109 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001054/0.9413, allocations: 60 kB / 1.02 GB, free: 0.6562 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.441e-05/0.9413, allocations: 27.22 kB / 1.02 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.721e-05/0.9414, allocations: 7.812 kB / 1.02 GB, free: 0.6328 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.908e-05/0.9415, allocations: 81.81 kB / 1.02 GB, free: 0.5508 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 1.373e-06/0.9415, allocations: 0 / 1.02 GB, free: 0.5508 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0003327/0.9418, allocations: 111.2 kB / 1.02 GB, free: 464 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.992e-05/0.9418, allocations: 66.52 kB / 1.02 GB, free: 388 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.478e-05/0.9419, allocations: 115.5 kB / 1.02 GB, free: 272 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.942, allocations: 28.77 kB / 1.02 GB, free: 240 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.811e-05/0.942, allocations: 91.94 kB / 1.02 GB, free: 144 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.942, allocations: 16.77 kB / 1.02 GB, free: 132 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-06/0.942, allocations: 0 / 1.02 GB, free: 132 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.9421, allocations: 324.5 kB / 1.021 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.056e-05/0.9422, allocations: 14.69 kB / 1.021 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.668e-05/0.9423, allocations: 65 kB / 1.021 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.093e-05/0.9423, allocations: 22.23 kB / 1.021 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.9423, allocations: 8 kB / 1.021 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001967/0.9425, allocations: 101.8 kB / 1.021 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.699e-06/0.9425, allocations: 4 kB / 1.021 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.9425, allocations: 0 / 1.021 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.638e-06/0.9426, allocations: 4 kB / 1.021 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.164e-05/0.9427, allocations: 22.73 kB / 1.021 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.9427, allocations: 11.88 kB / 1.021 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.711e-05/0.9427, allocations: 12.09 kB / 1.021 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.9428, allocations: 4 kB / 1.021 GB, free: 15.55 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.712e-05/0.9428, allocations: 108.2 kB / 1.021 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.737e-05/0.9429, allocations: 7.906 kB / 1.021 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.663e-05/0.9429, allocations: 8.484 kB / 1.021 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.9429, allocations: 4 kB / 1.021 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.9429, allocations: 0 / 1.021 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.9429, allocations: 7.906 kB / 1.021 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004332/0.9434, allocations: 369.4 kB / 1.021 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.9434, allocations: 4 kB / 1.021 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.601e-05/0.9434, allocations: 7.984 kB / 1.021 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.9434, allocations: 3.906 kB / 1.021 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.9434, allocations: 0 / 1.021 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.9434, allocations: 0 / 1.021 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.9435, allocations: 4 kB / 1.021 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002854/0.9437, allocations: 203.7 kB / 1.022 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003807/0.9441, allocations: 0.5839 MB / 1.022 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 3.856e-05/0.9442, allocations: 89 kB / 1.022 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.521e-05/0.9442, allocations: 0 / 1.022 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/0.9443, allocations: 12 kB / 1.022 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.42e-05/0.9444, allocations: 7.984 kB / 1.022 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.9444, allocations: 4 kB / 1.022 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.587e-05/0.9445, allocations: 98.14 kB / 1.022 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008524/0.9453, allocations: 66.92 kB / 1.022 GB, free: 13.98 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.0003151/0.9456, allocations: 182.2 kB / 1.023 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001318/0.9458, allocations: 73.36 kB / 1.023 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.9458, allocations: 0 / 1.023 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 6.229e-05/0.9459, allocations: 34.55 kB / 1.023 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001761/0.946, allocations: 11.89 kB / 1.023 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003023/0.9463, allocations: 114.6 kB / 1.023 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002732/0.9466, allocations: 0.713 MB / 1.024 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of SimCode: time 2.21e-07/0.9466, allocations: 0 / 1.024 GB, free: 12.86 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe 2>&1)