Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.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.Logical.Validation.And,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_And",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_And",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.296/1.296, allocations: 285.5 MB / 292.8 MB, free: 10.52 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.000924/0.000924, allocations: 173.3 kB / 361.1 MB, free: 7.137 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9968/0.9968, allocations: 205.1 MB / 0.6195 GB, free: 10.34 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.0007196/0.0007196, allocations: 89.27 kB / 0.7326 GB, free: 44.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1735/0.1742, allocations: 121.5 MB / 0.8512 GB, free: 2.918 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3994/0.5736, allocations: 115.3 MB / 0.9638 GB, free: 78.38 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1266/0.7002, allocations: 137.3 MB / 1.098 GB, free: 2.766 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001824/0.7005, allocations: 72.84 kB / 1.098 GB, free: 2.695 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.008098/0.7086, allocations: 3.009 MB / 1.101 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.036e-05/0.7086, allocations: 8.5 kB / 1.101 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.523e-05/0.7087, allocations: 15.75 kB / 1.101 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.031e-05/0.7088, allocations: 167 kB / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.7088, allocations: 0 / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.048e-05/0.7088, allocations: 11.94 kB / 1.101 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.206e-05/0.7089, allocations: 12 kB / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.411e-05/0.7089, allocations: 51.17 kB / 1.101 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.002e-06/0.7089, allocations: 0.6094 kB / 1.101 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/0.709, allocations: 4 kB / 1.101 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.709, allocations: 3.906 kB / 1.101 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003777/0.7094, allocations: 329.4 kB / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.191e-05/0.7094, allocations: 30.52 kB / 1.101 GB, free: 15 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.601e-05/0.7094, allocations: 17.75 kB / 1.101 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.186e-06/0.7095, allocations: 3.906 kB / 1.101 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.447e-05/0.7095, allocations: 59.5 kB / 1.102 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.243e-06/0.7095, allocations: 4 kB / 1.102 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0001504/0.7097, allocations: 77.56 kB / 1.102 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.409e-05/0.7097, allocations: 55.41 kB / 1.102 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.23e-05/0.7098, allocations: 109.1 kB / 1.102 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.87e-05/0.7098, allocations: 29.7 kB / 1.102 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.46e-05/0.7099, allocations: 92.17 kB / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.461e-05/0.7099, allocations: 11.91 kB / 1.102 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.737e-05/0.7099, allocations: 7.938 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.81e-05/0.71, allocations: 326.7 kB / 1.102 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.755e-05/0.7101, allocations: 48 kB / 1.102 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.7102, allocations: 84.27 kB / 1.102 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002873/0.7105, allocations: 73.53 kB / 1.102 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.7105, allocations: 0 / 1.102 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004645/0.711, allocations: 197.4 kB / 1.103 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.445e-06/0.711, allocations: 4 kB / 1.103 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.711, allocations: 4 kB / 1.103 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.536e-06/0.711, allocations: 128 / 1.103 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.447e-05/0.7111, allocations: 9.781 kB / 1.103 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.7111, allocations: 1.5 kB / 1.103 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003228/0.7114, allocations: 83.92 kB / 1.103 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.971e-05/0.7114, allocations: 8 kB / 1.103 GB, free: 13.64 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,and1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * 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 6.548e-05/0.7115, allocations: 119.4 kB / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.317e-05/0.7115, allocations: 9.109 kB / 1.103 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.734e-05/0.7116, allocations: 12.28 kB / 1.103 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.7116, allocations: 0 / 1.103 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.846e-06/0.7116, allocations: 0 / 1.103 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.7116, allocations: 8 kB / 1.103 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.898e-05/0.7117, allocations: 150.2 kB / 1.103 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.7117, allocations: 0 / 1.103 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.173e-06/0.7117, allocations: 0 / 1.103 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.7117, allocations: 7.984 kB / 1.103 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.7117, allocations: 1.188 kB / 1.103 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.7117, allocations: 2.188 kB / 1.103 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.7117, allocations: 0 / 1.103 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001011/0.7118, allocations: 100.9 kB / 1.103 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001818/0.712, allocations: 473.4 kB / 1.104 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.881e-05/0.7121, allocations: 87.45 kB / 1.104 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.7121, allocations: 0.8438 kB / 1.104 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.015e-05/0.7121, allocations: 3.984 kB / 1.104 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.504e-05/0.7121, allocations: 4 kB / 1.104 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.561e-06/0.7122, allocations: 1.188 kB / 1.104 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.179e-05/0.7122, allocations: 95.27 kB / 1.104 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000753/0.7129, allocations: 39.94 kB / 1.104 GB, free: 12.46 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.0001211/0.7131, allocations: 114.9 kB / 1.104 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002141/0.7133, allocations: 151.4 kB / 1.104 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.223e-06/0.7133, allocations: 3.938 kB / 1.104 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.578e-05/0.7133, allocations: 24 kB / 1.104 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001624/0.7135, allocations: 21.33 kB / 1.104 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001919/0.7137, allocations: 103.9 kB / 1.104 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001999/0.7139, allocations: 0.6997 MB / 1.105 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of SimCode: time 2.41e-07/0.7139, allocations: 0 / 1.105 GB, free: 11.28 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_And_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_And.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1)