Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_T,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.397/1.397, allocations: 289.8 MB / 297.1 MB, free: 6.598 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.0009902/0.0009902, allocations: 169.3 kB / 366.3 MB, free: 1.973 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.126/1.126, allocations: 205.1 MB / 0.6256 GB, free: 5.82 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.0008088/0.0008087, allocations: 90.2 kB / 0.7396 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2031/0.2039, allocations: 122.4 MB / 0.8591 GB, free: 13.28 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4588/0.6627, allocations: 116.3 MB / 0.9726 GB, free: 68.23 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1419/0.8047, allocations: 138 MB / 1.107 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001764/0.8049, allocations: 59.97 kB / 1.107 GB, free: 10.41 MB / 0.7136 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.002873/0.8078, allocations: 1.13 MB / 1.109 GB, free: 9.25 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.8078, allocations: 8 kB / 1.109 GB, free: 9.242 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.413e-05/0.8079, allocations: 7.906 kB / 1.109 GB, free: 9.234 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.808, allocations: 167 kB / 1.109 GB, free: 9.031 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.808, allocations: 0 / 1.109 GB, free: 9.031 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.631e-05/0.8081, allocations: 7.906 kB / 1.109 GB, free: 9.023 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.105e-05/0.8081, allocations: 27.94 kB / 1.109 GB, free: 8.996 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.801e-05/0.8082, allocations: 50.42 kB / 1.109 GB, free: 8.941 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.8082, allocations: 0 / 1.109 GB, free: 8.941 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.8083, allocations: 4 kB / 1.109 GB, free: 8.938 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.8083, allocations: 0 / 1.109 GB, free: 8.938 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003958/0.8087, allocations: 279.4 kB / 1.109 GB, free: 8.629 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/0.8088, allocations: 38.52 kB / 1.109 GB, free: 8.582 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.897e-05/0.8089, allocations: 12.92 kB / 1.109 GB, free: 8.566 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.329e-05/0.8089, allocations: 80 / 1.109 GB, free: 8.566 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.473e-05/0.8089, allocations: 31.12 kB / 1.109 GB, free: 8.527 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.8089, allocations: 4 kB / 1.109 GB, free: 8.523 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001459/0.8091, allocations: 49.69 kB / 1.109 GB, free: 8.469 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.197e-05/0.8091, allocations: 55.41 kB / 1.109 GB, free: 8.402 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.32e-05/0.8092, allocations: 111.4 kB / 1.109 GB, free: 8.289 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.8092, allocations: 25.7 kB / 1.109 GB, free: 8.258 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.993e-05/0.8092, allocations: 96.97 kB / 1.11 GB, free: 8.16 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.701e-05/0.8093, allocations: 7.891 kB / 1.11 GB, free: 8.152 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.606e-06/0.8093, allocations: 0 / 1.11 GB, free: 8.152 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.504e-05/0.8094, allocations: 318.8 kB / 1.11 GB, free: 7.832 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.539e-05/0.8094, allocations: 15.94 kB / 1.11 GB, free: 7.816 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.83e-05/0.8094, allocations: 25.66 kB / 1.11 GB, free: 7.785 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.44e-05/0.8095, allocations: 14.72 kB / 1.11 GB, free: 7.773 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.8095, allocations: 0 / 1.11 GB, free: 7.773 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.597e-05/0.8096, allocations: 61.58 kB / 1.11 GB, free: 7.707 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.976e-06/0.8096, allocations: 4 kB / 1.11 GB, free: 7.703 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.8096, allocations: 0.5625 kB / 1.11 GB, free: 7.703 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.005e-06/0.8096, allocations: 0 / 1.11 GB, free: 7.703 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.714e-05/0.8097, allocations: 12.03 kB / 1.11 GB, free: 7.691 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.8097, allocations: 0 / 1.11 GB, free: 7.691 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.805e-05/0.8098, allocations: 15.92 kB / 1.11 GB, free: 7.676 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.321e-06/0.8098, allocations: 0 / 1.11 GB, free: 7.676 MB / 0.7136 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 6.801e-05/0.8098, allocations: 113.5 kB / 1.11 GB, free: 7.559 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.679e-05/0.8099, allocations: 7.906 kB / 1.11 GB, free: 7.551 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.645e-05/0.8099, allocations: 12 kB / 1.11 GB, free: 7.531 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.8099, allocations: 3.984 kB / 1.11 GB, free: 7.527 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.8099, allocations: 0 / 1.11 GB, free: 7.527 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.8099, allocations: 0 / 1.11 GB, free: 7.527 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001294/0.8101, allocations: 146.2 kB / 1.11 GB, free: 7.348 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.8101, allocations: 8.844 kB / 1.11 GB, free: 7.34 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.926e-05/0.8101, allocations: 7.984 kB / 1.11 GB, free: 7.332 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.8101, allocations: 0 / 1.11 GB, free: 7.332 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-06/0.8102, allocations: 4 kB / 1.11 GB, free: 7.328 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.8102, allocations: 3.906 kB / 1.11 GB, free: 7.324 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.8102, allocations: 0 / 1.11 GB, free: 7.324 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001058/0.8103, allocations: 147.5 kB / 1.11 GB, free: 7.164 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002084/0.8105, allocations: 0.5154 MB / 1.111 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.657e-05/0.8106, allocations: 89 kB / 1.111 GB, free: 6.523 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.8106, allocations: 0.6562 kB / 1.111 GB, free: 6.523 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.634e-05/0.8107, allocations: 8 kB / 1.111 GB, free: 6.516 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.305e-05/0.8107, allocations: 11.98 kB / 1.111 GB, free: 6.504 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.8107, allocations: 0 / 1.111 GB, free: 6.504 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.407e-05/0.8108, allocations: 91.27 kB / 1.111 GB, free: 6.414 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000793/0.8116, allocations: 8 kB / 1.111 GB, free: 6.406 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 8.482e-05/0.8117, allocations: 103.2 kB / 1.111 GB, free: 6.297 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.104e-05/0.8118, allocations: 28.64 kB / 1.111 GB, free: 6.27 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.183e-06/0.8118, allocations: 0 / 1.111 GB, free: 6.27 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.752e-05/0.8118, allocations: 15.94 kB / 1.111 GB, free: 6.254 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000161/0.812, allocations: 9.312 kB / 1.111 GB, free: 6.246 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002215/0.8122, allocations: 75.83 kB / 1.111 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002262/0.8124, allocations: 0.7071 MB / 1.112 GB, free: 5.414 MB / 0.7136 GB Notification: Performance of SimCode: time 2.4e-07/0.8124, allocations: 0 / 1.112 GB, free: 5.414 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_Shade_Validation_Shade_T_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_Shade_Validation_Shade_T.fmu > Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1)