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: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And") [: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.341/1.341, allocations: 285.5 MB / 292.8 MB, free: 10.47 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.0009853/0.0009852, allocations: 181.3 kB / 361.1 MB, free: 7.129 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.044/1.044, 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.0007125/0.0007125, allocations: 87.66 kB / 0.7326 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.945e-06/7.965e-06, allocations: 4 kB / 0.8511 GB, free: 2.969 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4398/0.4398, allocations: 115.3 MB / 0.9637 GB, free: 78.13 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.132/0.5718, allocations: 137.3 MB / 1.098 GB, free: 2.742 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001782/0.5721, allocations: 64.67 kB / 1.098 GB, free: 2.68 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.007837/0.5799, allocations: 2.614 MB / 1.1 GB, free: 136 kB / 0.698 GB Notification: Performance of Transformations before backend: time 8.105e-06/0.5799, allocations: 4 kB / 1.1 GB, free: 132 kB / 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.0003516/0.5803, allocations: 401.7 kB / 1.101 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.5803, allocations: 12.03 kB / 1.101 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.771e-05/0.5804, allocations: 8 kB / 1.101 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.5805, allocations: 167 kB / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.5805, allocations: 4 kB / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.099e-05/0.5806, allocations: 8.703 kB / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.89e-05/0.5806, allocations: 12.69 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.704e-05/0.5807, allocations: 47.75 kB / 1.101 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.5807, allocations: 0 / 1.101 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.5807, allocations: 0 / 1.101 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.5807, allocations: 3.906 kB / 1.101 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004118/0.5812, allocations: 334 kB / 1.101 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.468e-05/0.5812, allocations: 30.58 kB / 1.101 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.508e-05/0.5813, allocations: 16.8 kB / 1.101 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.518e-06/0.5813, allocations: 7.656 kB / 1.101 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.38e-05/0.5814, allocations: 71.47 kB / 1.101 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.253e-06/0.5814, allocations: 0 / 1.101 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.000173/0.5815, allocations: 70.16 kB / 1.102 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.841e-05/0.5816, allocations: 55.41 kB / 1.102 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.495e-05/0.5817, allocations: 105.1 kB / 1.102 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.124e-05/0.5817, allocations: 33.7 kB / 1.102 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.706e-05/0.5818, allocations: 96.17 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.445e-05/0.5818, allocations: 11.89 kB / 1.102 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.85e-05/0.5818, allocations: 4 kB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.532e-05/0.5819, allocations: 322.8 kB / 1.102 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/0.582, allocations: 55.92 kB / 1.102 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/0.5821, allocations: 84.28 kB / 1.102 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002939/0.5824, allocations: 67.92 kB / 1.102 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.5824, allocations: 4 kB / 1.102 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004788/0.5829, allocations: 193.4 kB / 1.102 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.583, allocations: 10.19 kB / 1.102 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.583, allocations: 4.109 kB / 1.103 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.583, allocations: 4.938 kB / 1.103 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.777e-05/0.583, allocations: 4 kB / 1.103 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.387e-06/0.583, allocations: 0 / 1.103 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000323/0.5833, allocations: 79.94 kB / 1.103 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.037e-05/0.5834, allocations: 15.98 kB / 1.103 GB, free: 13.61 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 7.484e-05/0.5835, allocations: 115.6 kB / 1.103 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.154e-05/0.5835, allocations: 4 kB / 1.103 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.779e-05/0.5835, allocations: 12.89 kB / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.5835, allocations: 4 kB / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.5835, allocations: 4 kB / 1.103 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.5835, allocations: 2.625 kB / 1.103 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001018/0.5836, allocations: 151.7 kB / 1.103 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.5837, allocations: 0 / 1.103 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.019e-05/0.5837, allocations: 8 kB / 1.103 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.5837, allocations: 0.7031 kB / 1.103 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.5837, allocations: 0 / 1.103 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.5837, allocations: 0 / 1.103 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.5837, allocations: 0 / 1.103 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001111/0.5838, allocations: 104.9 kB / 1.103 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.06e-05/0.5839, allocations: 77.11 kB / 1.103 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.5839, allocations: 0 / 1.103 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.258e-05/0.5839, allocations: 13.22 kB / 1.103 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.954e-05/0.5839, allocations: 3.984 kB / 1.103 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.584, allocations: 4 kB / 1.103 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.06e-05/0.584, allocations: 87.28 kB / 1.103 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000232/0.5842, allocations: 35.92 kB / 1.103 GB, free: 12.93 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.0001351/0.5844, allocations: 119 kB / 1.103 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002314/0.5846, allocations: 163.3 kB / 1.103 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.5846, allocations: 0 / 1.103 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.605e-05/0.5847, allocations: 24.81 kB / 1.103 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001677/0.5848, allocations: 14.05 kB / 1.104 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002102/0.5851, allocations: 96.36 kB / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002228/0.5853, allocations: 0.7063 MB / 1.104 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of SimCode: time 2.51e-07/0.5853, allocations: 0 / 1.104 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of Templates: time 0.003348/0.5887, allocations: 1.578 MB / 1.106 GB, free: 10.23 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.makefile (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 & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1)