Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T.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.Controls.OBC.Shade.Validation.Shade_T,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_Shade_Validation_Shade_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_T,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.308/1.308, allocations: 285.5 MB / 292.8 MB, free: 10.46 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.0009196/0.0009196, allocations: 185.3 kB / 361.1 MB, free: 7.082 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.026/1.026, allocations: 205.1 MB / 0.6195 GB, free: 10.29 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.0007846/0.0007847, allocations: 93.23 kB / 0.7326 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1739/0.1747, allocations: 121.5 MB / 0.8512 GB, free: 2.867 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.402/0.5767, allocations: 115.3 MB / 0.9638 GB, free: 78.05 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1262/0.703, allocations: 137 MB / 1.098 GB, free: 2.957 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001817/0.7032, allocations: 68.8 kB / 1.098 GB, free: 2.891 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.002731/0.7059, allocations: 1.12 MB / 1.099 GB, free: 1.762 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.078e-05/0.706, allocations: 8.5 kB / 1.099 GB, free: 1.754 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.129e-05/0.706, allocations: 9.469 kB / 1.099 GB, free: 1.746 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.7061, allocations: 177.7 kB / 1.099 GB, free: 1.535 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.7062, allocations: 1.406 kB / 1.099 GB, free: 1.535 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.541e-05/0.7062, allocations: 7.906 kB / 1.099 GB, free: 1.527 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.07e-05/0.7062, allocations: 23.94 kB / 1.099 GB, free: 1.504 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.827e-05/0.7063, allocations: 46.5 kB / 1.099 GB, free: 1.453 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-06/0.7063, allocations: 0.5625 kB / 1.099 GB, free: 1.453 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.7064, allocations: 0.5 kB / 1.099 GB, free: 1.453 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.447e-06/0.7064, allocations: 5.312 kB / 1.099 GB, free: 1.449 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003336/0.7067, allocations: 275.7 kB / 1.099 GB, free: 1.145 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001166/0.7068, allocations: 43.83 kB / 1.099 GB, free: 1.098 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.771e-05/0.7069, allocations: 17.59 kB / 1.099 GB, free: 1.078 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.128e-05/0.7069, allocations: 0.9375 kB / 1.099 GB, free: 1.078 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.473e-05/0.7069, allocations: 30.56 kB / 1.099 GB, free: 1.039 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.7069, allocations: 0.5312 kB / 1.099 GB, free: 1.039 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0001341/0.707, allocations: 54.75 kB / 1.099 GB, free: 0.9805 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.489e-05/0.7071, allocations: 56.25 kB / 1.099 GB, free: 0.9141 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.359e-05/0.7071, allocations: 105.4 kB / 1.1 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.7072, allocations: 25.7 kB / 1.1 GB, free: 0.7773 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.73e-05/0.7072, allocations: 99.19 kB / 1.1 GB, free: 0.6797 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.356e-05/0.7072, allocations: 7.844 kB / 1.1 GB, free: 0.6719 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.396e-06/0.7072, allocations: 0 / 1.1 GB, free: 0.6719 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.992e-05/0.7073, allocations: 318.8 kB / 1.1 GB, free: 360 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.375e-05/0.7074, allocations: 12 kB / 1.1 GB, free: 348 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.213e-05/0.7074, allocations: 25.72 kB / 1.1 GB, free: 316 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.091e-05/0.7074, allocations: 7.188 kB / 1.1 GB, free: 312 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.7074, allocations: 4.031 kB / 1.1 GB, free: 308 kB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.532e-05/0.7075, allocations: 58.2 kB / 1.1 GB, free: 244 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.675e-06/0.7075, allocations: 4 kB / 1.1 GB, free: 240 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.7075, allocations: 0 / 1.1 GB, free: 240 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.063e-06/0.7075, allocations: 0 / 1.1 GB, free: 240 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.901e-05/0.7076, allocations: 13.3 kB / 1.1 GB, free: 228 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.7076, allocations: 0 / 1.1 GB, free: 228 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.545e-05/0.7077, allocations: 15.94 kB / 1.1 GB, free: 212 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.7077, allocations: 3.984 kB / 1.1 GB, free: 208 kB / 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 5.352e-05/0.7078, allocations: 113.5 kB / 1.1 GB, free: 88 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.622e-05/0.7078, allocations: 5.125 kB / 1.1 GB, free: 84 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.581e-05/0.7078, allocations: 12 kB / 1.1 GB, free: 64 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.7078, allocations: 0 / 1.1 GB, free: 64 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.7078, allocations: 0 / 1.1 GB, free: 64 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.7078, allocations: 0.5156 kB / 1.1 GB, free: 64 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000123/0.708, allocations: 156.5 kB / 1.1 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.708, allocations: 5.875 kB / 1.1 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.605e-05/0.708, allocations: 4 kB / 1.1 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.708, allocations: 0 / 1.1 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.7081, allocations: 0 / 1.1 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.7081, allocations: 3.906 kB / 1.1 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.7081, allocations: 0 / 1.1 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.73e-05/0.7082, allocations: 152 kB / 1.101 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001636/0.7083, allocations: 0.5237 MB / 1.101 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.832e-05/0.7084, allocations: 81.02 kB / 1.101 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.779e-05/0.7084, allocations: 4 kB / 1.101 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.797e-05/0.7085, allocations: 11.98 kB / 1.101 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.351e-05/0.7085, allocations: 11.98 kB / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.7086, allocations: 0.8906 kB / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.812e-05/0.7086, allocations: 89.25 kB / 1.101 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007282/0.7093, allocations: 11.98 kB / 1.101 GB, free: 14.94 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: 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 7.457e-05/0.7094, allocations: 99.03 kB / 1.101 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.012e-05/0.7095, allocations: 28 kB / 1.101 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.7095, allocations: 3.938 kB / 1.101 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.624e-05/0.7095, allocations: 19.94 kB / 1.101 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001484/0.7097, allocations: 7.891 kB / 1.101 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002093/0.7099, allocations: 80.64 kB / 1.101 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002036/0.7101, allocations: 0.6954 MB / 1.102 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of SimCode: time 2.51e-07/0.7101, allocations: 6.438 kB / 1.102 GB, free: 13.95 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_Shade_Validation_Shade_T_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_Shade_Validation_Shade_T.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1)