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.Or3.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.Or3,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Or3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Or3",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.319/1.319, 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.0008954/0.0008955, allocations: 177.3 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 0.9982/0.9982, allocations: 205.1 MB / 0.6195 GB, free: 10.32 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.000756/0.0007559, allocations: 88.14 kB / 0.7325 GB, free: 44.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1724/0.1731, allocations: 121.5 MB / 0.8512 GB, free: 2.883 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3947/0.5679, allocations: 115.3 MB / 0.9638 GB, free: 78.15 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1251/0.693, allocations: 137.3 MB / 1.098 GB, free: 2.773 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001691/0.6932, allocations: 74.08 kB / 1.098 GB, free: 2.703 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.01125/0.7045, allocations: 4.204 MB / 1.102 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.7045, allocations: 10.94 kB / 1.102 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.036e-05/0.7046, allocations: 15.91 kB / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.45e-05/0.7047, allocations: 174.9 kB / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.7047, allocations: 0 / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.457e-05/0.7047, allocations: 12 kB / 1.102 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.306e-05/0.7048, allocations: 20 kB / 1.102 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.421e-05/0.7049, allocations: 53.61 kB / 1.102 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.41e-06/0.7049, allocations: 0 / 1.102 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.098e-06/0.7049, allocations: 0 / 1.102 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.7049, allocations: 8 kB / 1.102 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004689/0.7054, allocations: 391.2 kB / 1.103 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.791e-05/0.7055, allocations: 30.58 kB / 1.103 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.935e-05/0.7055, allocations: 16.86 kB / 1.103 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.027e-05/0.7055, allocations: 3.906 kB / 1.103 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.205e-05/0.7056, allocations: 79.42 kB / 1.103 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.402e-06/0.7056, allocations: 0 / 1.103 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0001884/0.7058, allocations: 99.39 kB / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/0.7058, allocations: 59.47 kB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.609e-05/0.7059, allocations: 123.9 kB / 1.103 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.457e-05/0.706, allocations: 29.7 kB / 1.103 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.423e-05/0.706, allocations: 100 kB / 1.103 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.65e-05/0.7061, allocations: 19.81 kB / 1.103 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.472e-05/0.7061, allocations: 4 kB / 1.103 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.042e-05/0.7062, allocations: 318.8 kB / 1.104 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/0.7063, allocations: 75.98 kB / 1.104 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001681/0.7065, allocations: 124.9 kB / 1.104 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004203/0.7069, allocations: 115.8 kB / 1.104 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.7069, allocations: 0 / 1.104 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006791/0.7076, allocations: 277.3 kB / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.7076, allocations: 4 kB / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.7077, allocations: 4 kB / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.668e-06/0.7077, allocations: 7.938 kB / 1.104 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.679e-05/0.7077, allocations: 0 / 1.104 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.7077, allocations: 8.172 kB / 1.104 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000486/0.7082, allocations: 115.9 kB / 1.104 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.085e-05/0.7083, allocations: 19.98 kB / 1.104 GB, free: 12.08 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: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,or1.y,$PRE.booPul3.y,booPul3.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.131e-05/0.7083, allocations: 122 kB / 1.104 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.663e-05/0.7084, allocations: 7.906 kB / 1.104 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.799e-05/0.7084, allocations: 12.38 kB / 1.104 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.7084, allocations: 3.984 kB / 1.104 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.7084, allocations: 3.984 kB / 1.104 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.7084, allocations: 0 / 1.104 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001033/0.7085, allocations: 162.2 kB / 1.105 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.7085, allocations: 7.906 kB / 1.105 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.204e-05/0.7086, allocations: 6.188 kB / 1.105 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.7086, allocations: 0 / 1.105 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.7086, allocations: 4 kB / 1.105 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.7086, allocations: 0 / 1.105 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.7086, allocations: 1.688 kB / 1.105 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001278/0.7087, allocations: 116.9 kB / 1.105 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000194/0.7089, allocations: 0.4903 MB / 1.105 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.142e-05/0.709, allocations: 81.02 kB / 1.105 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.767e-05/0.709, allocations: 0 / 1.105 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.407e-05/0.709, allocations: 4 kB / 1.105 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.335e-05/0.7091, allocations: 7.984 kB / 1.105 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.297e-06/0.7091, allocations: 11.98 kB / 1.105 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.762e-05/0.7091, allocations: 87.28 kB / 1.105 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007873/0.7099, allocations: 55.83 kB / 1.105 GB, free: 10.81 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.y,booPul3.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001341/0.71, allocations: 119 kB / 1.106 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003034/0.7104, allocations: 229.6 kB / 1.106 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.7104, allocations: 0 / 1.106 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.066e-05/0.7104, allocations: 39.98 kB / 1.106 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001944/0.7106, allocations: 22.94 kB / 1.106 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002527/0.7109, allocations: 117.1 kB / 1.106 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002458/0.7111, allocations: 0.7083 MB / 1.107 GB, free: 9.512 MB / 0.7136 GB Notification: Performance of SimCode: time 2.31e-07/0.7112, allocations: 4 kB / 1.107 GB, free: 9.508 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Or3_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Or3.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1)