Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.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.CDL.Continuous.Validation.Hysteresis,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Hysteresis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Hysteresis",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.135/2.135, allocations: 284.8 MB / 292.1 MB, free: 10.79 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.001596/0.001595, allocations: 181.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.667/1.667, allocations: 205.1 MB / 0.6187 GB, free: 13.23 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.001228/0.001227, allocations: 89.08 kB / 0.7317 GB, free: 45.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2441/0.2454, allocations: 121.4 MB / 0.8502 GB, free: 3.934 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5431/0.7885, allocations: 115.2 MB / 0.9628 GB, free: 78.56 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2054/0.9939, allocations: 137.7 MB / 1.097 GB, free: 3.117 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002768/0.9943, allocations: 72.61 kB / 1.097 GB, free: 3.047 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.02233/1.017, allocations: 4.569 MB / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/1.017, allocations: 8.5 kB / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001031/1.017, allocations: 27.72 kB / 1.102 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002151/1.017, allocations: 196.1 kB / 1.102 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.369e-05/1.017, allocations: 4.422 kB / 1.102 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.547e-05/1.017, allocations: 16 kB / 1.102 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002058/1.017, allocations: 53.19 kB / 1.102 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002889/1.018, allocations: 116.7 kB / 1.102 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/1.018, allocations: 4.359 kB / 1.102 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.209e-05/1.018, allocations: 4 kB / 1.102 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/1.018, allocations: 0 / 1.102 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001127/1.019, allocations: 0.6574 MB / 1.103 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004697/1.019, allocations: 128.4 kB / 1.103 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001197/1.02, allocations: 47.42 kB / 1.103 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.703e-05/1.02, allocations: 4 kB / 1.103 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002269/1.02, allocations: 124.9 kB / 1.103 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 2.014e-06/1.02, allocations: 0 / 1.103 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.0004233/1.02, allocations: 129.9 kB / 1.103 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.094e-05/1.02, allocations: 106.8 kB / 1.103 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002354/1.021, allocations: 169.4 kB / 1.104 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.023e-05/1.021, allocations: 33.7 kB / 1.104 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/1.021, allocations: 108.5 kB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.755e-05/1.021, allocations: 43.55 kB / 1.104 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-05/1.021, allocations: 8 kB / 1.104 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001525/1.021, allocations: 326.8 kB / 1.104 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003068/1.021, allocations: 87.94 kB / 1.104 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004312/1.022, allocations: 150.8 kB / 1.104 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005855/1.022, allocations: 103.8 kB / 1.104 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/1.022, allocations: 0 / 1.104 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001111/1.024, allocations: 283.2 kB / 1.105 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/1.024, allocations: 4 kB / 1.105 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/1.024, allocations: 5.484 kB / 1.105 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/1.024, allocations: 0 / 1.105 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001882/1.024, allocations: 27.92 kB / 1.105 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/1.024, allocations: 4.125 kB / 1.105 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009174/1.025, allocations: 119.8 kB / 1.105 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.722e-05/1.025, allocations: 15.98 kB / 1.105 GB, free: 11.2 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition3,$whenCondition4,$PRE.hysteresis1.y,hysteresis1.y,$PRE.pul.booPul.y,pul.booPul.y,$whenCondition1,$whenCondition2,$PRE.hysteresis2.y,hysteresis2.y,$PRE.pul1.booPul.y,pul1.booPul.y,$PRE.hysteresis.y,hysteresis.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 2 * 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.0001424/1.025, allocations: 121.5 kB / 1.105 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.472e-05/1.025, allocations: 19.8 kB / 1.105 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002179/1.025, allocations: 78.7 kB / 1.105 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/1.025, allocations: 4.031 kB / 1.105 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.341e-06/1.025, allocations: 0 / 1.105 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/1.025, allocations: 4 kB / 1.105 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002929/1.026, allocations: 218.1 kB / 1.105 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/1.026, allocations: 0 / 1.105 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001695/1.026, allocations: 19.98 kB / 1.105 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.607e-06/1.026, allocations: 5.609 kB / 1.105 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.081e-05/1.026, allocations: 4 kB / 1.105 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.065e-06/1.026, allocations: 3.906 kB / 1.105 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/1.026, allocations: 3.938 kB / 1.105 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000345/1.026, allocations: 186.1 kB / 1.105 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004901/1.027, allocations: 0.5576 MB / 1.106 GB, free: 9.863 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.301e-05/1.027, allocations: 94.61 kB / 1.106 GB, free: 9.754 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.291e-05/1.027, allocations: 4 kB / 1.106 GB, free: 9.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002538/1.027, allocations: 29.41 kB / 1.106 GB, free: 9.723 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/1.027, allocations: 27.95 kB / 1.106 GB, free: 9.695 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.392e-05/1.027, allocations: 11.98 kB / 1.106 GB, free: 9.684 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001544/1.028, allocations: 123.3 kB / 1.106 GB, free: 9.562 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001233/1.029, allocations: 59.84 kB / 1.106 GB, free: 9.504 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,hysteresis1.y,pul.booPul.y,$whenCondition1,$whenCondition2,hysteresis2.y,pul1.booPul.y,hysteresis.y) * Number of discrete states: 3 (hysteresis.y,hysteresis2.y,hysteresis1.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000224/1.029, allocations: 120.1 kB / 1.106 GB, free: 9.379 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005812/1.03, allocations: 231.2 kB / 1.107 GB, free: 9.141 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/1.03, allocations: 0 / 1.107 GB, free: 9.141 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001903/1.03, allocations: 55.94 kB / 1.107 GB, free: 9.086 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004294/1.03, allocations: 37.91 kB / 1.107 GB, free: 9.051 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006782/1.031, allocations: 202.9 kB / 1.107 GB, free: 8.816 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004362/1.031, allocations: 0.7468 MB / 1.108 GB, free: 8.047 MB / 0.7136 GB Notification: Performance of SimCode: time 8.12e-07/1.031, allocations: 0 / 1.108 GB, free: 8.047 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Hysteresis_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Hysteresis.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe 2>&1)