Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_T,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_Shade_Validation_Shade_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_T,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_Shade_Validation_Shade_T",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.0/package.mo): time 2.116/2.116, allocations: 284.8 MB / 292.1 MB, free: 10.75 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.001638/0.001638, allocations: 189.2 kB / 360.3 MB, free: 7.555 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.651/1.651, allocations: 205.1 MB / 0.6187 GB, free: 13.21 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.00121/0.001209, allocations: 85.53 kB / 0.7317 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2492/0.2505, allocations: 121.4 MB / 0.8502 GB, free: 3.906 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5706/0.8211, allocations: 115.2 MB / 0.9628 GB, free: 78.34 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2095/1.031, allocations: 136.8 MB / 1.096 GB, free: 4.043 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002478/1.031, allocations: 71.94 kB / 1.096 GB, free: 3.977 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.004712/1.036, allocations: 1.116 MB / 1.098 GB, free: 2.852 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/1.036, allocations: 9.094 kB / 1.098 GB, free: 2.844 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.831e-05/1.036, allocations: 12.39 kB / 1.098 GB, free: 2.832 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001664/1.036, allocations: 176.3 kB / 1.098 GB, free: 2.621 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/1.036, allocations: 4.562 kB / 1.098 GB, free: 2.617 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.811e-05/1.036, allocations: 5.969 kB / 1.098 GB, free: 2.613 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001101/1.036, allocations: 23.94 kB / 1.098 GB, free: 2.59 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001216/1.036, allocations: 47.78 kB / 1.098 GB, free: 2.539 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/1.036, allocations: 0.5312 kB / 1.098 GB, free: 2.539 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/1.036, allocations: 1.281 kB / 1.098 GB, free: 2.539 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/1.036, allocations: 0 / 1.098 GB, free: 2.539 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005027/1.037, allocations: 278.4 kB / 1.098 GB, free: 2.234 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001858/1.037, allocations: 43.59 kB / 1.098 GB, free: 2.184 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.939e-05/1.037, allocations: 16.92 kB / 1.098 GB, free: 2.164 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.746e-05/1.037, allocations: 4.984 kB / 1.098 GB, free: 2.16 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/1.037, allocations: 30.56 kB / 1.098 GB, free: 2.121 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.913e-06/1.037, allocations: 0 / 1.098 GB, free: 2.121 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0002118/1.038, allocations: 53.69 kB / 1.098 GB, free: 2.062 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.443e-05/1.038, allocations: 51.41 kB / 1.098 GB, free: 2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/1.038, allocations: 112.7 kB / 1.098 GB, free: 1.887 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.184e-05/1.038, allocations: 29.7 kB / 1.098 GB, free: 1.852 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.165e-05/1.038, allocations: 88.05 kB / 1.098 GB, free: 1.762 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.493e-05/1.038, allocations: 7.906 kB / 1.098 GB, free: 1.754 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.121e-06/1.038, allocations: 0 / 1.098 GB, free: 1.754 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001498/1.038, allocations: 318.8 kB / 1.099 GB, free: 1.434 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.206e-05/1.038, allocations: 12 kB / 1.099 GB, free: 1.422 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.339e-05/1.038, allocations: 29.59 kB / 1.099 GB, free: 1.387 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.995e-05/1.038, allocations: 16.59 kB / 1.099 GB, free: 1.375 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/1.038, allocations: 4.031 kB / 1.099 GB, free: 1.371 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001422/1.038, allocations: 49.61 kB / 1.099 GB, free: 1.316 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/1.038, allocations: 4 kB / 1.099 GB, free: 1.312 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/1.038, allocations: 4 kB / 1.099 GB, free: 1.309 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/1.038, allocations: 0 / 1.099 GB, free: 1.309 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/1.039, allocations: 11.98 kB / 1.099 GB, free: 1.297 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/1.039, allocations: 0 / 1.099 GB, free: 1.297 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001295/1.039, allocations: 23.92 kB / 1.099 GB, free: 1.273 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/1.039, allocations: 0.5625 kB / 1.099 GB, free: 1.273 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.shaT.hys.y,shaT.hys.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 0.0001043/1.039, allocations: 108.7 kB / 1.099 GB, free: 1.16 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.519e-05/1.039, allocations: 11.84 kB / 1.099 GB, free: 1.148 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.17e-05/1.039, allocations: 6 kB / 1.099 GB, free: 1.137 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/1.039, allocations: 0.6094 kB / 1.099 GB, free: 1.137 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/1.039, allocations: 4 kB / 1.099 GB, free: 1.133 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/1.039, allocations: 3.75 kB / 1.099 GB, free: 1.133 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002052/1.039, allocations: 158.2 kB / 1.099 GB, free: 0.9414 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/1.039, allocations: 0 / 1.099 GB, free: 0.9414 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.386e-05/1.039, allocations: 4 kB / 1.099 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/1.039, allocations: 0 / 1.099 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/1.039, allocations: 7.984 kB / 1.099 GB, free: 0.9297 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/1.039, allocations: 3.906 kB / 1.099 GB, free: 0.9258 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/1.039, allocations: 0.6094 kB / 1.099 GB, free: 0.9258 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001732/1.04, allocations: 147.5 kB / 1.099 GB, free: 0.7656 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003035/1.04, allocations: 0.5161 MB / 1.1 GB, free: 236 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.346e-05/1.04, allocations: 85.02 kB / 1.1 GB, free: 132 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.658e-05/1.04, allocations: 0 / 1.1 GB, free: 132 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001377/1.04, allocations: 9.922 kB / 1.1 GB, free: 124 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.695e-05/1.04, allocations: 11.98 kB / 1.1 GB, free: 112 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.748e-06/1.04, allocations: 4 kB / 1.1 GB, free: 108 kB / 0.698 GB Notification: Performance of sort global known variables: time 6.889e-05/1.04, allocations: 97.12 kB / 1.1 GB, free: 12 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.001185/1.041, allocations: 8 kB / 1.1 GB, free: 4 kB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (shaT.hys.y) * Number of discrete states: 1 (shaT.hys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0001512/1.042, allocations: 95.19 kB / 1.1 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001438/1.042, allocations: 24.75 kB / 1.1 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/1.042, allocations: 0 / 1.1 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.526e-05/1.042, allocations: 23.92 kB / 1.1 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002458/1.042, allocations: 7.906 kB / 1.1 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003489/1.043, allocations: 76.64 kB / 1.1 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003907/1.043, allocations: 0.7032 MB / 1.101 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of SimCode: time 7.52e-07/1.043, allocations: 0 / 1.101 GB, free: 15.02 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_Shade_Validation_Shade_T_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_Shade_Validation_Shade_T.fmu > Buildings_8.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1)