Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_H.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_H,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_Shade_Validation_Shade_H",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_H,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.37/1.37, allocations: 289.8 MB / 297.1 MB, free: 6.645 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.001171/0.001171, allocations: 173.3 kB / 366.3 MB, free: 2.016 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.122/1.122, allocations: 205.1 MB / 0.6256 GB, free: 5.863 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.0007346/0.0007345, allocations: 95.88 kB / 0.7396 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2038/0.2046, allocations: 122.4 MB / 0.8591 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4613/0.6659, allocations: 116.3 MB / 0.9727 GB, free: 68.17 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1441/0.81, allocations: 138 MB / 1.107 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001692/0.8102, allocations: 68.77 kB / 1.107 GB, free: 10.45 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.002717/0.813, allocations: 1.132 MB / 1.109 GB, free: 9.289 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.423e-05/0.813, allocations: 8 kB / 1.109 GB, free: 9.281 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.482e-05/0.813, allocations: 7.906 kB / 1.109 GB, free: 9.273 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.951e-05/0.8131, allocations: 167 kB / 1.109 GB, free: 9.07 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.927e-06/0.8132, allocations: 4 kB / 1.109 GB, free: 9.066 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.585e-05/0.8132, allocations: 7.906 kB / 1.109 GB, free: 9.059 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.722e-05/0.8132, allocations: 27.92 kB / 1.109 GB, free: 9.031 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.972e-05/0.8133, allocations: 45.67 kB / 1.109 GB, free: 8.98 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.288e-06/0.8133, allocations: 0 / 1.109 GB, free: 8.98 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.873e-06/0.8133, allocations: 0 / 1.109 GB, free: 8.98 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.8134, allocations: 8 kB / 1.109 GB, free: 8.973 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003092/0.8137, allocations: 269.4 kB / 1.109 GB, free: 8.672 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001071/0.8138, allocations: 50.5 kB / 1.109 GB, free: 8.613 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.703e-05/0.8138, allocations: 12.92 kB / 1.109 GB, free: 8.598 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.109e-05/0.8138, allocations: 0 / 1.109 GB, free: 8.598 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.337e-05/0.8139, allocations: 30.56 kB / 1.109 GB, free: 8.559 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 8.22e-07/0.8139, allocations: 0 / 1.109 GB, free: 8.559 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001282/0.814, allocations: 53.69 kB / 1.109 GB, free: 8.5 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.032e-05/0.814, allocations: 55.41 kB / 1.109 GB, free: 8.434 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.719e-05/0.8141, allocations: 113 kB / 1.109 GB, free: 8.316 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.8141, allocations: 25.7 kB / 1.109 GB, free: 8.285 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.209e-05/0.8142, allocations: 88.05 kB / 1.11 GB, free: 8.195 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.615e-05/0.8142, allocations: 12.83 kB / 1.11 GB, free: 8.184 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-06/0.8142, allocations: 0 / 1.11 GB, free: 8.184 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.554e-05/0.8143, allocations: 310.8 kB / 1.11 GB, free: 7.871 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.337e-05/0.8143, allocations: 15.94 kB / 1.11 GB, free: 7.855 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.138e-05/0.8143, allocations: 25.72 kB / 1.11 GB, free: 7.824 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.669e-05/0.8144, allocations: 18.61 kB / 1.11 GB, free: 7.809 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.8144, allocations: 3.938 kB / 1.11 GB, free: 7.805 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.479e-05/0.8145, allocations: 53.59 kB / 1.11 GB, free: 7.746 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.005e-06/0.8145, allocations: 4 kB / 1.11 GB, free: 7.742 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.956e-06/0.8145, allocations: 0 / 1.11 GB, free: 7.742 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.352e-06/0.8145, allocations: 0.75 kB / 1.11 GB, free: 7.742 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.591e-05/0.8146, allocations: 8 kB / 1.11 GB, free: 7.734 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.415e-06/0.8146, allocations: 0 / 1.11 GB, free: 7.734 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.852e-05/0.8146, allocations: 19.92 kB / 1.11 GB, free: 7.715 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.8147, allocations: 4 kB / 1.11 GB, free: 7.711 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.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 5.21e-05/0.8147, allocations: 113 kB / 1.11 GB, free: 7.594 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.778e-05/0.8147, allocations: 7.891 kB / 1.11 GB, free: 7.586 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.213e-05/0.8148, allocations: 8 kB / 1.11 GB, free: 7.57 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.8148, allocations: 0.9375 kB / 1.11 GB, free: 7.57 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.8148, allocations: 0 / 1.11 GB, free: 7.57 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.8148, allocations: 7.984 kB / 1.11 GB, free: 7.562 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001245/0.8149, allocations: 146.2 kB / 1.11 GB, free: 7.383 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.8149, allocations: 0 / 1.11 GB, free: 7.383 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.791e-05/0.815, allocations: 15.98 kB / 1.11 GB, free: 7.367 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.815, allocations: 0 / 1.11 GB, free: 7.367 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.721e-06/0.815, allocations: 0 / 1.11 GB, free: 7.367 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.815, allocations: 3.906 kB / 1.11 GB, free: 7.363 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.815, allocations: 0 / 1.11 GB, free: 7.363 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001068/0.8151, allocations: 149 kB / 1.11 GB, free: 7.203 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001797/0.8153, allocations: 0.5193 MB / 1.111 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.506e-05/0.8154, allocations: 85 kB / 1.111 GB, free: 6.562 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.8154, allocations: 0 / 1.111 GB, free: 6.562 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.692e-05/0.8155, allocations: 12 kB / 1.111 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.281e-05/0.8155, allocations: 7.984 kB / 1.111 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-06/0.8155, allocations: 0 / 1.111 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.243e-05/0.8156, allocations: 97.34 kB / 1.111 GB, free: 6.449 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007889/0.8164, allocations: 8 kB / 1.111 GB, free: 6.441 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 (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 9.679e-05/0.8165, allocations: 95.25 kB / 1.111 GB, free: 6.34 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.388e-05/0.8165, allocations: 27.98 kB / 1.111 GB, free: 6.312 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.81e-07/0.8166, allocations: 7.938 kB / 1.111 GB, free: 6.305 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.685e-05/0.8166, allocations: 15.94 kB / 1.111 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001437/0.8167, allocations: 5.875 kB / 1.111 GB, free: 6.285 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002005/0.8169, allocations: 79.83 kB / 1.111 GB, free: 6.18 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002088/0.8172, allocations: 0.6993 MB / 1.112 GB, free: 5.457 MB / 0.7136 GB Notification: Performance of SimCode: time 3.61e-07/0.8172, allocations: 0 / 1.112 GB, free: 5.457 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_Shade_Validation_Shade_H_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_Shade_Validation_Shade_H.fmu > Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1)