Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.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.Controls.OBC.Shade.Validation.Shade_H,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_Shade_Validation_Shade_H",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_H,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_Shade_Validation_Shade_H",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.207/1.207, allocations: 249.4 MB / 256.7 MB, free: 7.078 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.001013/0.001013, allocations: 196.4 kB / 316 MB, free: 3.539 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.19/1.19, allocations: 205.1 MB / 0.5667 GB, free: 15.68 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.0008929/0.0008929, allocations: 84.89 kB / 0.671 GB, free: 4.816 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3457/0.3466, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.5213, allocations: 106.3 MB / 0.8847 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4703/0.9916, allocations: 132 MB / 1.014 GB, free: 6.547 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001901/0.9919, allocations: 75.97 kB / 1.014 GB, free: 6.504 MB / 0.6355 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.003036/0.9949, allocations: 1.141 MB / 1.015 GB, free: 5.453 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.995, allocations: 8 kB / 1.015 GB, free: 5.445 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.489e-05/0.995, allocations: 7.906 kB / 1.015 GB, free: 5.438 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001636/0.9952, allocations: 175 kB / 1.015 GB, free: 5.23 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.9952, allocations: 0 / 1.015 GB, free: 5.23 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.484e-05/0.9952, allocations: 4 kB / 1.015 GB, free: 5.227 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.636e-05/0.9953, allocations: 26.73 kB / 1.015 GB, free: 5.207 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.996e-05/0.9954, allocations: 43.75 kB / 1.015 GB, free: 5.164 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.032e-06/0.9954, allocations: 0 / 1.015 GB, free: 5.164 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.9954, allocations: 0 / 1.015 GB, free: 5.164 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.9954, allocations: 4 kB / 1.015 GB, free: 5.16 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003769/0.9958, allocations: 290 kB / 1.015 GB, free: 4.859 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000135/0.9959, allocations: 37.64 kB / 1.015 GB, free: 4.82 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.847e-05/0.996, allocations: 12.8 kB / 1.015 GB, free: 4.809 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.369e-05/0.996, allocations: 0 / 1.015 GB, free: 4.809 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.945e-05/0.996, allocations: 37.62 kB / 1.015 GB, free: 4.766 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 9.61e-07/0.996, allocations: 4 kB / 1.015 GB, free: 4.762 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001475/0.9962, allocations: 49 kB / 1.015 GB, free: 4.711 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.599e-05/0.9962, allocations: 54.14 kB / 1.015 GB, free: 4.648 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.731e-05/0.9963, allocations: 115 kB / 1.016 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.9963, allocations: 25.7 kB / 1.016 GB, free: 4.508 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.562e-05/0.9964, allocations: 88.12 kB / 1.016 GB, free: 4.418 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.429e-05/0.9964, allocations: 7.281 kB / 1.016 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.686e-06/0.9964, allocations: 0 / 1.016 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.51e-05/0.9965, allocations: 318.6 kB / 1.016 GB, free: 4.098 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.321e-05/0.9965, allocations: 15.31 kB / 1.016 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.572e-05/0.9965, allocations: 28.33 kB / 1.016 GB, free: 4.059 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.161e-05/0.9966, allocations: 4 kB / 1.016 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.9966, allocations: 0 / 1.016 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.651e-05/0.9967, allocations: 63 kB / 1.016 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.9967, allocations: 7.906 kB / 1.016 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.9967, allocations: 0 / 1.016 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.849e-06/0.9967, allocations: 0 / 1.016 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.911e-05/0.9968, allocations: 14.22 kB / 1.016 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.206e-06/0.9968, allocations: 0 / 1.016 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.716e-05/0.9968, allocations: 15.92 kB / 1.016 GB, free: 3.961 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.72e-06/0.9969, allocations: 0 / 1.016 GB, free: 3.961 MB / 0.6355 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.shaH.hys.y,shaH.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.1e-05/0.9969, allocations: 107.5 kB / 1.016 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.798e-05/0.997, allocations: 7.906 kB / 1.016 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.032e-05/0.997, allocations: 19.61 kB / 1.016 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.997, allocations: 0 / 1.016 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.997, allocations: 0 / 1.016 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.997, allocations: 0 / 1.016 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001301/0.9972, allocations: 151.3 kB / 1.016 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.9972, allocations: 0 / 1.016 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.79e-05/0.9972, allocations: 11.98 kB / 1.016 GB, free: 3.637 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.9972, allocations: 0 / 1.016 GB, free: 3.637 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/0.9972, allocations: 0 / 1.016 GB, free: 3.637 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.9972, allocations: 7.938 kB / 1.016 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.9972, allocations: 0 / 1.016 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001076/0.9974, allocations: 146.7 kB / 1.017 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001794/0.9975, allocations: 0.5154 MB / 1.017 GB, free: 2.949 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.157e-05/0.9976, allocations: 81.02 kB / 1.017 GB, free: 2.852 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/0.9976, allocations: 11.31 kB / 1.017 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.639e-05/0.9977, allocations: 11.98 kB / 1.017 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.132e-05/0.9977, allocations: 7.984 kB / 1.017 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/0.9978, allocations: 0 / 1.017 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.366e-05/0.9978, allocations: 89.84 kB / 1.017 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007487/0.9986, allocations: 15.84 kB / 1.017 GB, free: 2.727 MB / 0.6355 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 (shaH.hys.y) * Number of discrete states: 1 (shaH.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.768e-05/0.9987, allocations: 103.2 kB / 1.017 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.044e-05/0.9987, allocations: 23.12 kB / 1.017 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.9988, allocations: 0 / 1.017 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.816e-05/0.9988, allocations: 11.31 kB / 1.017 GB, free: 2.594 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001551/0.9989, allocations: 3.938 kB / 1.017 GB, free: 2.594 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002308/0.9992, allocations: 83.69 kB / 1.018 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002241/0.9994, allocations: 0.7023 MB / 1.018 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of SimCode: time 2.31e-07/0.9994, allocations: 0 / 1.018 GB, free: 1.766 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_Shade_Validation_Shade_H_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_Shade_Validation_Shade_H.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1)