Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.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.CDL.Continuous.Validation.Hysteresis,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Hysteresis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.302/1.302, allocations: 285.5 MB / 292.8 MB, free: 10.44 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.0008972/0.0008972, allocations: 184.6 kB / 361.1 MB, free: 7.105 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.002/1.002, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.0007638/0.0007639, allocations: 90.33 kB / 0.7326 GB, free: 44.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1744/0.1752, allocations: 121.5 MB / 0.8512 GB, free: 2.879 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4108/0.5861, allocations: 115.3 MB / 0.9638 GB, free: 78.34 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1296/0.7157, allocations: 137.9 MB / 1.098 GB, free: 2.07 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00017/0.7159, allocations: 63.97 kB / 1.099 GB, free: 2.008 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.01215/0.7281, allocations: 4.574 MB / 1.103 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.109e-05/0.7281, allocations: 8 kB / 1.103 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.645e-05/0.7282, allocations: 27.72 kB / 1.103 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.7283, allocations: 207.8 kB / 1.103 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.7284, allocations: 8.562 kB / 1.103 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.082e-05/0.7284, allocations: 12 kB / 1.103 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001182/0.7285, allocations: 48 kB / 1.103 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.7287, allocations: 123.6 kB / 1.103 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.7287, allocations: 0 / 1.103 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.7287, allocations: 0.6094 kB / 1.103 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.7287, allocations: 3.984 kB / 1.103 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006765/0.7294, allocations: 0.6535 MB / 1.104 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002661/0.7297, allocations: 132.6 kB / 1.104 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.581e-05/0.7298, allocations: 46.58 kB / 1.104 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/0.7298, allocations: 0 / 1.104 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001408/0.7299, allocations: 125.9 kB / 1.104 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 1.994e-06/0.7299, allocations: 1.031 kB / 1.104 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.0002484/0.7302, allocations: 128.5 kB / 1.104 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.82e-05/0.7303, allocations: 106.8 kB / 1.105 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.7304, allocations: 165.9 kB / 1.105 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.092e-05/0.7304, allocations: 37.69 kB / 1.105 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.428e-05/0.7305, allocations: 104.5 kB / 1.105 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.606e-05/0.7305, allocations: 43.61 kB / 1.105 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.166e-05/0.7306, allocations: 3.938 kB / 1.105 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.825e-05/0.7307, allocations: 326.8 kB / 1.105 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001559/0.7308, allocations: 87.98 kB / 1.105 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001871/0.731, allocations: 149.4 kB / 1.105 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003387/0.7314, allocations: 99.86 kB / 1.106 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.7314, allocations: 1.781 kB / 1.106 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006334/0.732, allocations: 282.8 kB / 1.106 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.839e-06/0.732, allocations: 4 kB / 1.106 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.732, allocations: 4 kB / 1.106 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.7321, allocations: 3.984 kB / 1.106 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.7322, allocations: 24.11 kB / 1.106 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.7322, allocations: 7.938 kB / 1.106 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004446/0.7326, allocations: 119.8 kB / 1.106 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.564e-05/0.7327, allocations: 12 kB / 1.106 GB, free: 10.17 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 8.281e-05/0.7328, allocations: 113.1 kB / 1.106 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.609e-05/0.7328, allocations: 19.8 kB / 1.106 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001263/0.7329, allocations: 82.61 kB / 1.106 GB, free: 9.941 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.7329, allocations: 0 / 1.106 GB, free: 9.941 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.733, allocations: 9.625 kB / 1.106 GB, free: 9.934 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.733, allocations: 0 / 1.106 GB, free: 9.934 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001574/0.7331, allocations: 214 kB / 1.106 GB, free: 9.688 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.7331, allocations: 0 / 1.106 GB, free: 9.688 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.139e-05/0.7332, allocations: 19.98 kB / 1.106 GB, free: 9.668 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.7332, allocations: 0 / 1.106 GB, free: 9.668 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.7333, allocations: 6.438 kB / 1.106 GB, free: 9.664 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.7333, allocations: 3.906 kB / 1.106 GB, free: 9.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.7333, allocations: 8 kB / 1.106 GB, free: 9.652 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001933/0.7335, allocations: 183.4 kB / 1.107 GB, free: 9.438 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002656/0.7338, allocations: 0.5565 MB / 1.107 GB, free: 8.844 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.089e-05/0.7338, allocations: 92.83 kB / 1.107 GB, free: 8.734 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.017e-05/0.7339, allocations: 7.984 kB / 1.107 GB, free: 8.727 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.734, allocations: 28.7 kB / 1.107 GB, free: 8.699 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.688e-05/0.7341, allocations: 31.88 kB / 1.107 GB, free: 8.668 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.7341, allocations: 8 kB / 1.107 GB, free: 8.66 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8.474e-05/0.7342, allocations: 136 kB / 1.107 GB, free: 8.527 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008001/0.735, allocations: 63.83 kB / 1.107 GB, free: 8.465 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.0001386/0.7351, allocations: 115 kB / 1.108 GB, free: 8.344 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003322/0.7355, allocations: 228.9 kB / 1.108 GB, free: 8.109 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.7355, allocations: 3.938 kB / 1.108 GB, free: 8.105 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.968e-05/0.7356, allocations: 52 kB / 1.108 GB, free: 8.055 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002495/0.7358, allocations: 38.19 kB / 1.108 GB, free: 8.02 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004101/0.7363, allocations: 205.6 kB / 1.108 GB, free: 7.781 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002711/0.7365, allocations: 0.7506 MB / 1.109 GB, free: 7.008 MB / 0.7136 GB Notification: Performance of SimCode: time 5.01e-07/0.7365, allocations: 0 / 1.109 GB, free: 7.008 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Hysteresis_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Hysteresis.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe 2>&1)