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.Or.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.Or,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Or",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Or",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.288/1.288, allocations: 285.5 MB / 292.8 MB, free: 10.46 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.0009753/0.0009753, allocations: 191.5 kB / 361.1 MB, free: 7.09 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.9982/0.9982, allocations: 205.1 MB / 0.6195 GB, free: 11.91 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.000774/0.000774, allocations: 95.34 kB / 0.7326 GB, free: 44.48 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1725/0.1733, allocations: 121.5 MB / 0.8512 GB, free: 3.141 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4034/0.5767, allocations: 115.3 MB / 0.9638 GB, free: 77.8 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1286/0.7054, allocations: 137.3 MB / 1.098 GB, free: 2.754 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001798/0.7056, allocations: 68.67 kB / 1.098 GB, free: 2.688 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.008279/0.7139, allocations: 3.011 MB / 1.101 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.7139, allocations: 8.5 kB / 1.101 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.03e-05/0.714, allocations: 8 kB / 1.101 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.7141, allocations: 176.3 kB / 1.101 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.7141, allocations: 0 / 1.101 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.018e-05/0.7142, allocations: 8 kB / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.098e-05/0.7142, allocations: 15.94 kB / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.567e-05/0.7143, allocations: 41.69 kB / 1.101 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.801e-06/0.7143, allocations: 1.5 kB / 1.101 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-06/0.7143, allocations: 0 / 1.101 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.7143, allocations: 7.906 kB / 1.101 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004384/0.7148, allocations: 337.4 kB / 1.101 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.777e-05/0.7148, allocations: 26.58 kB / 1.101 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.683e-05/0.7149, allocations: 16.8 kB / 1.101 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.697e-06/0.7149, allocations: 8.469 kB / 1.101 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.926e-05/0.715, allocations: 59.48 kB / 1.102 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 3.246e-06/0.715, allocations: 4 kB / 1.102 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0001568/0.7151, allocations: 76.17 kB / 1.102 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.558e-05/0.7152, allocations: 51.41 kB / 1.102 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.165e-05/0.7153, allocations: 111.7 kB / 1.102 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.971e-05/0.7153, allocations: 33.7 kB / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.693e-05/0.7154, allocations: 88.23 kB / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.662e-05/0.7154, allocations: 19.88 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.971e-05/0.7154, allocations: 7.938 kB / 1.102 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.737e-05/0.7155, allocations: 322.7 kB / 1.102 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001023/0.7156, allocations: 51.98 kB / 1.102 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001156/0.7157, allocations: 84.28 kB / 1.102 GB, free: 14 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003032/0.716, allocations: 71.92 kB / 1.102 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.7161, allocations: 0 / 1.102 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004901/0.7166, allocations: 202.7 kB / 1.103 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.7166, allocations: 5.781 kB / 1.103 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.7166, allocations: 0 / 1.103 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.7166, allocations: 4 kB / 1.103 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.1e-05/0.7166, allocations: 4.125 kB / 1.103 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.7167, allocations: 4 kB / 1.103 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003279/0.717, allocations: 75.94 kB / 1.103 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.411e-05/0.717, allocations: 16.55 kB / 1.103 GB, free: 13.62 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,or1.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 8.298e-05/0.7171, allocations: 116.8 kB / 1.103 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.074e-05/0.7171, allocations: 0 / 1.103 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.519e-05/0.7172, allocations: 16.28 kB / 1.103 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.7172, allocations: 0 / 1.103 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.7172, allocations: 0 / 1.103 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.7172, allocations: 4.547 kB / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000105/0.7173, allocations: 151.5 kB / 1.103 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.7173, allocations: 0 / 1.103 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.027e-05/0.7173, allocations: 4 kB / 1.103 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.7173, allocations: 0 / 1.103 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.7174, allocations: 4 kB / 1.103 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.7174, allocations: 0 / 1.103 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.7174, allocations: 1.5 kB / 1.103 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001184/0.7175, allocations: 96.86 kB / 1.103 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000208/0.7177, allocations: 485.4 kB / 1.104 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.733e-05/0.7178, allocations: 87.95 kB / 1.104 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.7178, allocations: 0 / 1.104 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.952e-05/0.7178, allocations: 0 / 1.104 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.103e-05/0.7178, allocations: 7.984 kB / 1.104 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.7179, allocations: 0 / 1.104 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.815e-05/0.7179, allocations: 89.81 kB / 1.104 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007673/0.7187, allocations: 47.92 kB / 1.104 GB, free: 12.44 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,or1.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.0001517/0.7188, allocations: 110.9 kB / 1.104 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002381/0.7191, allocations: 151.4 kB / 1.104 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.7191, allocations: 0 / 1.104 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.925e-05/0.7191, allocations: 27.94 kB / 1.104 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001726/0.7193, allocations: 21.17 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.0002321/0.7196, allocations: 96.06 kB / 1.104 GB, free: 12 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002377/0.7198, allocations: 0.7036 MB / 1.105 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of SimCode: time 2.51e-07/0.7198, allocations: 0 / 1.105 GB, free: 11.27 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Or_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Or.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1)