Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.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.CDL.Continuous.Validation.Hysteresis,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.368/1.368, allocations: 289.8 MB / 297.1 MB, free: 6.652 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.0009763/0.0009765, allocations: 185.2 kB / 366.3 MB, free: 1.992 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.063/1.063, allocations: 205.1 MB / 0.6256 GB, free: 5.832 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.0008333/0.0008332, allocations: 94.97 kB / 0.7395 GB, free: 39.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2069/0.2077, allocations: 122.4 MB / 0.8591 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4726/0.6803, allocations: 116.3 MB / 0.9727 GB, free: 67.98 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1454/0.8258, allocations: 138.9 MB / 1.108 GB, free: 9.59 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002092/0.8261, allocations: 68.95 kB / 1.108 GB, free: 9.523 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.01264/0.8387, allocations: 4.567 MB / 1.113 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/0.8388, allocations: 9.312 kB / 1.113 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.537e-05/0.8389, allocations: 31.72 kB / 1.113 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001737/0.8391, allocations: 199.8 kB / 1.113 GB, free: 4.648 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/0.8391, allocations: 7.891 kB / 1.113 GB, free: 4.641 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.916e-05/0.8392, allocations: 20 kB / 1.113 GB, free: 4.621 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001449/0.8393, allocations: 47.94 kB / 1.113 GB, free: 4.574 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001773/0.8395, allocations: 108.2 kB / 1.113 GB, free: 4.453 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.8395, allocations: 7.984 kB / 1.113 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.8395, allocations: 0 / 1.113 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.8396, allocations: 4 kB / 1.113 GB, free: 4.441 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008388/0.8404, allocations: 0.6574 MB / 1.114 GB, free: 3.738 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003059/0.8407, allocations: 128 kB / 1.114 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.561e-05/0.8408, allocations: 46.64 kB / 1.114 GB, free: 3.531 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.668e-05/0.8408, allocations: 4 kB / 1.114 GB, free: 3.527 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000151/0.841, allocations: 127.9 kB / 1.114 GB, free: 3.383 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 1.943e-06/0.841, allocations: 0 / 1.114 GB, free: 3.383 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.0002817/0.8413, allocations: 129.4 kB / 1.114 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.598e-05/0.8414, allocations: 106.8 kB / 1.114 GB, free: 3.121 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001718/0.8415, allocations: 170.6 kB / 1.115 GB, free: 2.941 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.462e-05/0.8416, allocations: 41.62 kB / 1.115 GB, free: 2.895 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.148e-05/0.8417, allocations: 104.5 kB / 1.115 GB, free: 2.789 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.432e-05/0.8417, allocations: 35.61 kB / 1.115 GB, free: 2.754 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.491e-05/0.8418, allocations: 4 kB / 1.115 GB, free: 2.75 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.8419, allocations: 326.8 kB / 1.115 GB, free: 2.422 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001883/0.8421, allocations: 87.98 kB / 1.115 GB, free: 2.336 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002174/0.8423, allocations: 151.3 kB / 1.115 GB, free: 2.16 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003841/0.8427, allocations: 104 kB / 1.115 GB, free: 2.059 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.8427, allocations: 0 / 1.115 GB, free: 2.059 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007075/0.8434, allocations: 281.2 kB / 1.116 GB, free: 1.777 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.8434, allocations: 8.125 kB / 1.116 GB, free: 1.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.8434, allocations: 4 kB / 1.116 GB, free: 1.766 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.8435, allocations: 0 / 1.116 GB, free: 1.766 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.8436, allocations: 23.92 kB / 1.116 GB, free: 1.742 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.8436, allocations: 9.234 kB / 1.116 GB, free: 1.734 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004715/0.8441, allocations: 119.8 kB / 1.116 GB, free: 1.617 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.944e-05/0.8441, allocations: 12.66 kB / 1.116 GB, free: 1.605 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.0001018/0.8442, allocations: 120.9 kB / 1.116 GB, free: 1.48 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.872e-05/0.8443, allocations: 19.81 kB / 1.116 GB, free: 1.461 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001488/0.8444, allocations: 74.67 kB / 1.116 GB, free: 1.379 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.237e-06/0.8444, allocations: 0 / 1.116 GB, free: 1.379 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.8444, allocations: 0 / 1.116 GB, free: 1.379 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.8445, allocations: 4 kB / 1.116 GB, free: 1.375 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001888/0.8446, allocations: 214.9 kB / 1.116 GB, free: 1.129 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.8447, allocations: 0 / 1.116 GB, free: 1.129 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/0.8448, allocations: 31.92 kB / 1.116 GB, free: 1.098 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.8448, allocations: 0 / 1.116 GB, free: 1.098 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/0.8448, allocations: 4 kB / 1.116 GB, free: 1.094 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.8448, allocations: 3.906 kB / 1.116 GB, free: 1.09 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.8448, allocations: 0 / 1.116 GB, free: 1.09 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002188/0.845, allocations: 182.1 kB / 1.116 GB, free: 0.875 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002909/0.8453, allocations: 0.5591 MB / 1.117 GB, free: 284 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.774e-05/0.8454, allocations: 97.62 kB / 1.117 GB, free: 168 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.566e-05/0.8454, allocations: 7.984 kB / 1.117 GB, free: 160 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/0.8456, allocations: 28.88 kB / 1.117 GB, free: 132 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.183e-05/0.8457, allocations: 27.95 kB / 1.117 GB, free: 104 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-05/0.8457, allocations: 15.92 kB / 1.117 GB, free: 88 kB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001019/0.8458, allocations: 135.3 kB / 1.117 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0008694/0.8467, allocations: 47.89 kB / 1.117 GB, free: 15.91 MB / 0.7292 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.0001807/0.8469, allocations: 121.1 kB / 1.117 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003871/0.8472, allocations: 227.5 kB / 1.118 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.8473, allocations: 0 / 1.118 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001149/0.8474, allocations: 55.94 kB / 1.118 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002619/0.8476, allocations: 32.72 kB / 1.118 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004874/0.8481, allocations: 209.5 kB / 1.118 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002974/0.8485, allocations: 0.7506 MB / 1.119 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of SimCode: time 2.41e-07/0.8485, allocations: 0 / 1.119 GB, free: 14.45 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Hysteresis_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Hysteresis.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe 2>&1)