Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.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.Logical.Validation.And3,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_And3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And3,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.374/1.374, allocations: 289.8 MB / 297.1 MB, free: 6.664 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.001006/0.001006, allocations: 177.3 kB / 366.3 MB, free: 2.012 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.062/1.062, 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.0008162/0.0008162, allocations: 83.69 kB / 0.7395 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1906/0.1914, allocations: 122.4 MB / 0.8591 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4213/0.6127, allocations: 116.3 MB / 0.9727 GB, free: 68.05 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1355/0.7482, allocations: 138.3 MB / 1.108 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001752/0.7484, allocations: 71.95 kB / 1.108 GB, free: 10.13 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.01174/0.7602, allocations: 4.205 MB / 1.112 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.7602, allocations: 8 kB / 1.112 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.622e-05/0.7603, allocations: 15.91 kB / 1.112 GB, free: 5.863 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.7605, allocations: 175.6 kB / 1.112 GB, free: 5.652 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.7605, allocations: 4 kB / 1.112 GB, free: 5.648 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.149e-05/0.7605, allocations: 23.92 kB / 1.112 GB, free: 5.625 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.692e-05/0.7606, allocations: 12 kB / 1.112 GB, free: 5.613 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.757e-05/0.7607, allocations: 49.69 kB / 1.112 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.7607, allocations: 3.984 kB / 1.112 GB, free: 5.555 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.7608, allocations: 8.547 kB / 1.112 GB, free: 5.547 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.7608, allocations: 4 kB / 1.112 GB, free: 5.543 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005817/0.7614, allocations: 389.2 kB / 1.113 GB, free: 5.125 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.48e-05/0.7614, allocations: 30.52 kB / 1.113 GB, free: 5.086 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.236e-05/0.7615, allocations: 16.86 kB / 1.113 GB, free: 5.066 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.522e-05/0.7615, allocations: 7.906 kB / 1.113 GB, free: 5.059 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001064/0.7616, allocations: 76.14 kB / 1.113 GB, free: 4.973 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 2.043e-06/0.7616, allocations: 4 kB / 1.113 GB, free: 4.969 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0002297/0.7619, allocations: 94.27 kB / 1.113 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.609e-05/0.7619, allocations: 51.41 kB / 1.113 GB, free: 4.809 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.762, allocations: 126.8 kB / 1.113 GB, free: 4.68 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.768e-05/0.7621, allocations: 30.83 kB / 1.113 GB, free: 4.645 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.476e-05/0.7622, allocations: 100 kB / 1.113 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.898e-05/0.7622, allocations: 19.81 kB / 1.113 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.844e-05/0.7622, allocations: 4 kB / 1.113 GB, free: 4.52 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.7623, allocations: 322.8 kB / 1.113 GB, free: 4.195 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00016/0.7625, allocations: 71.98 kB / 1.113 GB, free: 4.125 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001817/0.7627, allocations: 122.7 kB / 1.114 GB, free: 3.984 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004582/0.7631, allocations: 111.8 kB / 1.114 GB, free: 3.875 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.7632, allocations: 0 / 1.114 GB, free: 3.875 MB / 0.7136 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007434/0.7639, allocations: 288.8 kB / 1.114 GB, free: 3.59 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.7639, allocations: 8 kB / 1.114 GB, free: 3.582 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.764, allocations: 0 / 1.114 GB, free: 3.582 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.764, allocations: 4.562 kB / 1.114 GB, free: 3.578 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.423e-05/0.764, allocations: 7.984 kB / 1.114 GB, free: 3.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.764, allocations: 192 / 1.114 GB, free: 3.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004759/0.7645, allocations: 115.9 kB / 1.114 GB, free: 3.457 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.529e-05/0.7646, allocations: 23.98 kB / 1.114 GB, free: 3.434 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 8.681e-05/0.7647, allocations: 121.8 kB / 1.114 GB, free: 3.309 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.705e-05/0.7647, allocations: 9.219 kB / 1.114 GB, free: 3.301 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.431e-05/0.7647, allocations: 12.36 kB / 1.114 GB, free: 3.285 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.7647, allocations: 0 / 1.114 GB, free: 3.285 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.7647, allocations: 0 / 1.114 GB, free: 3.285 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.7647, allocations: 0 / 1.114 GB, free: 3.285 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001099/0.7649, allocations: 166.2 kB / 1.114 GB, free: 3.086 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.145e-06/0.7649, allocations: 7.906 kB / 1.114 GB, free: 3.078 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.628e-06/0.7649, allocations: 0 / 1.114 GB, free: 3.078 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.7649, allocations: 4 kB / 1.114 GB, free: 3.074 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.7649, allocations: 3.984 kB / 1.114 GB, free: 3.07 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.7649, allocations: 4 kB / 1.114 GB, free: 3.066 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.7649, allocations: 3.938 kB / 1.114 GB, free: 3.062 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000127/0.765, allocations: 110.3 kB / 1.115 GB, free: 2.938 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002205/0.7653, allocations: 0.4903 MB / 1.115 GB, free: 2.426 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.026e-05/0.7653, allocations: 81.02 kB / 1.115 GB, free: 2.328 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.7653, allocations: 4 kB / 1.115 GB, free: 2.324 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.633e-05/0.7654, allocations: 3.984 kB / 1.115 GB, free: 2.32 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.675e-05/0.7654, allocations: 11.98 kB / 1.115 GB, free: 2.309 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.295e-06/0.7654, allocations: 4 kB / 1.115 GB, free: 2.305 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.696e-05/0.7655, allocations: 93.11 kB / 1.115 GB, free: 2.215 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008566/0.7663, allocations: 55.83 kB / 1.115 GB, free: 2.16 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,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.0001442/0.7665, allocations: 112.6 kB / 1.115 GB, free: 2.043 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000314/0.7668, allocations: 229 kB / 1.116 GB, free: 1.801 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.7668, allocations: 0 / 1.116 GB, free: 1.801 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.477e-05/0.7669, allocations: 39.92 kB / 1.116 GB, free: 1.762 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002049/0.7671, allocations: 24.98 kB / 1.116 GB, free: 1.738 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002565/0.7674, allocations: 108.8 kB / 1.116 GB, free: 1.609 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002053/0.7676, allocations: 0.7114 MB / 1.116 GB, free: 0.8711 MB / 0.7136 GB Notification: Performance of SimCode: time 2.51e-07/0.7676, allocations: 0 / 1.116 GB, free: 0.8711 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_And3_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_And3.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe 2>&1)