Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or3") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.351/2.351, allocations: 253.1 MB / 260.4 MB, free: 7.441 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002563/0.002563, allocations: 181.3 kB / 319.6 MB, free: 3.316 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.286/2.286, allocations: 205.4 MB / 0.5704 GB, free: 15.05 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001447/0.001447, allocations: 95.38 kB / 0.6746 GB, free: 4.406 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.627e-05/1.649e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2434/0.2435, allocations: 106.2 MB / 0.8881 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7871/1.031, allocations: 131.5 MB / 1.016 GB, free: 6.832 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002908/1.031, allocations: 67.91 kB / 1.017 GB, free: 6.797 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.00504/1.036, allocations: 0.8761 MB / 1.017 GB, free: 6.039 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.037e-06/1.036, allocations: 0 / 1.017 GB, free: 6.039 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007844/1.037, allocations: 385.7 kB / 1.018 GB, free: 5.621 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/1.037, allocations: 16.03 kB / 1.018 GB, free: 5.605 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.941e-05/1.037, allocations: 3.906 kB / 1.018 GB, free: 5.602 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002019/1.037, allocations: 185.9 kB / 1.018 GB, free: 5.383 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.113e-05/1.037, allocations: 0 / 1.018 GB, free: 5.383 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.427e-05/1.037, allocations: 7.984 kB / 1.018 GB, free: 5.375 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001395/1.037, allocations: 31.31 kB / 1.018 GB, free: 5.355 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/1.038, allocations: 52.03 kB / 1.018 GB, free: 5.305 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/1.038, allocations: 0 / 1.018 GB, free: 5.305 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.915e-05/1.038, allocations: 3.984 kB / 1.018 GB, free: 5.301 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.859e-05/1.038, allocations: 4 kB / 1.018 GB, free: 5.297 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005438/1.038, allocations: 276.1 kB / 1.018 GB, free: 5.012 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001266/1.038, allocations: 38.77 kB / 1.018 GB, free: 4.973 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.067e-05/1.038, allocations: 23.61 kB / 1.018 GB, free: 4.953 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.434e-05/1.038, allocations: 0 / 1.018 GB, free: 4.953 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001473/1.039, allocations: 77.7 kB / 1.018 GB, free: 4.875 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 2.034e-06/1.039, allocations: 0 / 1.018 GB, free: 4.875 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0002628/1.039, allocations: 71.28 kB / 1.019 GB, free: 4.809 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.104e-05/1.039, allocations: 63.31 kB / 1.019 GB, free: 4.738 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/1.039, allocations: 122.1 kB / 1.019 GB, free: 4.621 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.994e-05/1.039, allocations: 25.7 kB / 1.019 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.053e-05/1.039, allocations: 84.14 kB / 1.019 GB, free: 4.504 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.229e-05/1.039, allocations: 23.66 kB / 1.019 GB, free: 4.484 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.875e-06/1.039, allocations: 8 kB / 1.019 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001478/1.039, allocations: 317.3 kB / 1.019 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.235e-05/1.04, allocations: 18.62 kB / 1.019 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.555e-05/1.04, allocations: 42.36 kB / 1.019 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.438e-05/1.04, allocations: 13.31 kB / 1.019 GB, free: 4.098 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/1.04, allocations: 0 / 1.019 GB, free: 4.098 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002232/1.04, allocations: 98.45 kB / 1.019 GB, free: 4.004 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/1.04, allocations: 4 kB / 1.019 GB, free: 4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/1.04, allocations: 3.938 kB / 1.019 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/1.04, allocations: 4 kB / 1.019 GB, free: 3.992 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.331e-05/1.04, allocations: 9.312 kB / 1.019 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/1.04, allocations: 3.984 kB / 1.019 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002548/1.04, allocations: 35.97 kB / 1.019 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/1.04, allocations: 0 / 1.019 GB, free: 3.949 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,or1.y,booPul3.y,$PRE.booPul3.pulseStart,booPul3.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * 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 0.0001681/1.041, allocations: 112.9 kB / 1.019 GB, free: 3.832 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.832e-05/1.041, allocations: 11.28 kB / 1.019 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.745e-05/1.041, allocations: 11.88 kB / 1.019 GB, free: 3.812 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/1.041, allocations: 4 kB / 1.019 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/1.041, allocations: 0 / 1.019 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/1.041, allocations: 3.984 kB / 1.019 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002261/1.041, allocations: 164 kB / 1.02 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/1.041, allocations: 0 / 1.02 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.527e-05/1.041, allocations: 0 / 1.02 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/1.041, allocations: 0 / 1.02 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/1.041, allocations: 0 / 1.02 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/1.041, allocations: 7.984 kB / 1.02 GB, free: 3.609 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/1.041, allocations: 96 / 1.02 GB, free: 3.609 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002166/1.041, allocations: 114.1 kB / 1.02 GB, free: 3.492 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.484e-05/1.041, allocations: 81.89 kB / 1.02 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.474e-05/1.041, allocations: 11.89 kB / 1.02 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000218/1.042, allocations: 27.67 kB / 1.02 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.278e-05/1.042, allocations: 11.97 kB / 1.02 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/1.042, allocations: 4 kB / 1.02 GB, free: 3.344 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.263e-05/1.042, allocations: 91.77 kB / 1.02 GB, free: 3.262 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003534/1.042, allocations: 16 kB / 1.02 GB, free: 3.246 MB / 0.6355 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 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,or1.y,booPul3.y,booPul3.pulseStart) * 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.0001819/1.042, allocations: 110.6 kB / 1.02 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002143/1.043, allocations: 56.69 kB / 1.02 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/1.043, allocations: 0 / 1.02 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001106/1.043, allocations: 33.94 kB / 1.02 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003484/1.043, allocations: 14.48 kB / 1.02 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004534/1.044, allocations: 124.2 kB / 1.02 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00041/1.044, allocations: 0.7155 MB / 1.021 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of SimCode: time 6.71e-07/1.044, allocations: 0 / 1.021 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of Templates: time 0.005069/1.049, allocations: 1.165 MB / 1.022 GB, free: 1.043 MB / 0.6355 GB