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.And3.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.And3,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_And3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And3,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_And3",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.337/1.337, allocations: 285.5 MB / 292.8 MB, free: 9.906 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.0009093/0.0009093, allocations: 185.2 kB / 361.1 MB, free: 368 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.028/1.028, allocations: 205.1 MB / 0.6195 GB, free: 2.938 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007599/0.0007599, allocations: 91.72 kB / 0.7326 GB, free: 1.094 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.3492/0.35, allocations: 121.5 MB / 0.8512 GB, free: 151.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.4921, allocations: 115.3 MB / 0.9638 GB, free: 56.25 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4063/0.8984, allocations: 137.3 MB / 1.098 GB, free: 40.14 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000165/0.8986, allocations: 71.78 kB / 1.098 GB, free: 40.14 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.01018/0.9088, allocations: 4.21 MB / 1.102 GB, free: 39.47 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.982e-05/0.9089, allocations: 6.344 kB / 1.102 GB, free: 39.47 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.805e-05/0.9089, allocations: 16.72 kB / 1.102 GB, free: 39.46 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.902e-05/0.909, allocations: 177.5 kB / 1.102 GB, free: 39.26 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.909, allocations: 0 / 1.102 GB, free: 39.26 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.891e-05/0.9091, allocations: 15.38 kB / 1.102 GB, free: 39.26 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.202e-05/0.9091, allocations: 18.16 kB / 1.102 GB, free: 39.26 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.386e-05/0.9092, allocations: 49.11 kB / 1.102 GB, free: 39.23 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.051e-06/0.9092, allocations: 0 / 1.102 GB, free: 39.23 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.9092, allocations: 7.219 kB / 1.102 GB, free: 39.23 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.9092, allocations: 0 / 1.102 GB, free: 39.23 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004073/0.9096, allocations: 393.7 kB / 1.103 GB, free: 38.99 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.031e-05/0.9097, allocations: 33.58 kB / 1.103 GB, free: 38.96 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.667e-05/0.9097, allocations: 15.05 kB / 1.103 GB, free: 38.96 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.59e-06/0.9097, allocations: 0 / 1.103 GB, free: 38.96 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.855e-05/0.9098, allocations: 87.89 kB / 1.103 GB, free: 38.9 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.262e-06/0.9098, allocations: 0 / 1.103 GB, free: 38.9 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0001655/0.91, allocations: 89.69 kB / 1.103 GB, free: 38.86 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.745e-05/0.91, allocations: 58.62 kB / 1.103 GB, free: 38.8 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.052e-05/0.9101, allocations: 131.2 kB / 1.103 GB, free: 38.7 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.132e-05/0.9101, allocations: 32.44 kB / 1.103 GB, free: 38.67 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.927e-05/0.9102, allocations: 95.39 kB / 1.103 GB, free: 38.58 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.571e-05/0.9102, allocations: 19.69 kB / 1.103 GB, free: 38.57 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.632e-05/0.9102, allocations: 12.78 kB / 1.103 GB, free: 38.57 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 3.781e-05/0.9103, allocations: 321.1 kB / 1.104 GB, free: 38.25 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.9104, allocations: 73.5 kB / 1.104 GB, free: 38.25 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001409/0.9106, allocations: 118.7 kB / 1.104 GB, free: 38.2 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003846/0.9109, allocations: 104.6 kB / 1.104 GB, free: 38.2 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.911, allocations: 3.938 kB / 1.104 GB, free: 38.19 MB / 0.7136 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006137/0.9116, allocations: 281.1 kB / 1.104 GB, free: 38.14 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.087e-06/0.9116, allocations: 6.406 kB / 1.104 GB, free: 38.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.9116, allocations: 0 / 1.104 GB, free: 38.14 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.9116, allocations: 7.125 kB / 1.104 GB, free: 38.14 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.85e-05/0.9116, allocations: 13.84 kB / 1.104 GB, free: 38.14 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.928e-06/0.9117, allocations: 7.406 kB / 1.104 GB, free: 38.13 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004289/0.9121, allocations: 114.9 kB / 1.104 GB, free: 38.12 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.455e-05/0.9121, allocations: 15.78 kB / 1.104 GB, free: 38.12 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,and1.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 6.328e-05/0.9122, allocations: 120.9 kB / 1.104 GB, free: 38.01 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.296e-05/0.9122, allocations: 7.125 kB / 1.104 GB, free: 38.01 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.837e-05/0.9123, allocations: 9.906 kB / 1.104 GB, free: 38.01 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.9123, allocations: 0 / 1.104 GB, free: 38.01 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.9123, allocations: 3.188 kB / 1.104 GB, free: 38.01 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.9123, allocations: 0 / 1.104 GB, free: 38.01 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.608e-05/0.9124, allocations: 159.4 kB / 1.105 GB, free: 37.85 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.9124, allocations: 7.938 kB / 1.105 GB, free: 37.84 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.798e-06/0.9124, allocations: 7.062 kB / 1.105 GB, free: 37.84 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.9124, allocations: 7.891 kB / 1.105 GB, free: 37.84 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.9124, allocations: 3 kB / 1.105 GB, free: 37.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.9124, allocations: 5.062 kB / 1.105 GB, free: 37.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.9124, allocations: 0 / 1.105 GB, free: 37.84 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001012/0.9125, allocations: 110 kB / 1.105 GB, free: 37.77 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001474/0.9127, allocations: 0.4951 MB / 1.105 GB, free: 53.31 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.483e-05/0.9127, allocations: 84.89 kB / 1.105 GB, free: 53.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.807e-05/0.9127, allocations: 0 / 1.105 GB, free: 53.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.357e-05/0.9128, allocations: 0 / 1.105 GB, free: 53.21 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.133e-05/0.9128, allocations: 10.16 kB / 1.105 GB, free: 53.21 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/0.9128, allocations: 10 kB / 1.105 GB, free: 53.21 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.12e-05/0.9129, allocations: 90.94 kB / 1.105 GB, free: 53.14 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0007791/0.9136, allocations: 55.89 kB / 1.105 GB, free: 53.13 MB / 0.7292 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,and1.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.0001234/0.9138, allocations: 110.3 kB / 1.106 GB, free: 53.03 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002789/0.9141, allocations: 229.6 kB / 1.106 GB, free: 52.93 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.9141, allocations: 3.938 kB / 1.106 GB, free: 52.93 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.146e-05/0.9141, allocations: 35.34 kB / 1.106 GB, free: 52.93 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002003/0.9143, allocations: 26.2 kB / 1.106 GB, free: 52.92 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002167/0.9145, allocations: 118.4 kB / 1.106 GB, free: 52.84 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001731/0.9147, allocations: 0.7082 MB / 1.107 GB, free: 52.14 MB / 0.7292 GB Notification: Performance of SimCode: time 2.31e-07/0.9147, allocations: 0 / 1.107 GB, free: 52.14 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_And3_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_And3.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe 2>&1)