Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.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: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") [: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.373/1.373, allocations: 289.8 MB / 297.1 MB, free: 6.688 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.0009901/0.0009901, allocations: 181.3 kB / 366.3 MB, free: 2.004 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.107/1.107, allocations: 205.1 MB / 0.6256 GB, free: 5.852 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.0008182/0.0008181, allocations: 93.52 kB / 0.7396 GB, free: 39.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.941e-06/5.961e-06, allocations: 0 / 0.859 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4297/0.4298, allocations: 116.3 MB / 0.9726 GB, free: 68.1 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1371/0.567, allocations: 138.3 MB / 1.108 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001699/0.5672, allocations: 79.83 kB / 1.108 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.004651/0.5718, allocations: 1.484 MB / 1.109 GB, free: 8.742 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.748e-06/0.5718, allocations: 0 / 1.109 GB, free: 8.742 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000279/0.5721, allocations: 372.1 kB / 1.109 GB, free: 8.328 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.5722, allocations: 16.02 kB / 1.109 GB, free: 8.312 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.8e-05/0.5722, allocations: 8.781 kB / 1.109 GB, free: 8.305 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.577e-05/0.5723, allocations: 159.1 kB / 1.11 GB, free: 8.109 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.5723, allocations: 3.906 kB / 1.11 GB, free: 8.105 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.937e-05/0.5724, allocations: 8 kB / 1.11 GB, free: 8.098 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.01e-05/0.5724, allocations: 4.75 kB / 1.11 GB, free: 8.094 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.253e-05/0.5725, allocations: 37.69 kB / 1.11 GB, free: 8.051 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.289e-06/0.5725, allocations: 0 / 1.11 GB, free: 8.051 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.912e-06/0.5725, allocations: 0 / 1.11 GB, free: 8.051 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.267e-06/0.5725, allocations: 4 kB / 1.11 GB, free: 8.047 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003231/0.5728, allocations: 282.1 kB / 1.11 GB, free: 7.734 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.249e-05/0.5729, allocations: 30.56 kB / 1.11 GB, free: 7.695 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.984e-05/0.5729, allocations: 8.922 kB / 1.11 GB, free: 7.684 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.334e-06/0.5729, allocations: 0.6562 kB / 1.11 GB, free: 7.684 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.761e-05/0.573, allocations: 57.88 kB / 1.11 GB, free: 7.617 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.573, allocations: 0 / 1.11 GB, free: 7.617 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001316/0.5731, allocations: 57.59 kB / 1.11 GB, free: 7.555 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.007e-05/0.5732, allocations: 59.28 kB / 1.11 GB, free: 7.484 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.671e-05/0.5732, allocations: 97 kB / 1.11 GB, free: 7.383 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.5732, allocations: 29.7 kB / 1.11 GB, free: 7.348 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.286e-05/0.5733, allocations: 81.27 kB / 1.11 GB, free: 7.266 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.473e-05/0.5733, allocations: 15.89 kB / 1.11 GB, free: 7.25 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.639e-06/0.5733, allocations: 4 kB / 1.11 GB, free: 7.246 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.904e-05/0.5734, allocations: 318.8 kB / 1.111 GB, free: 6.926 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.518e-05/0.5735, allocations: 24 kB / 1.111 GB, free: 6.902 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.345e-05/0.5736, allocations: 48.28 kB / 1.111 GB, free: 6.848 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001684/0.5737, allocations: 35.95 kB / 1.111 GB, free: 6.812 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.5737, allocations: 4 kB / 1.111 GB, free: 6.809 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002762/0.574, allocations: 118.5 kB / 1.111 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.465e-06/0.574, allocations: 4 kB / 1.111 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.574, allocations: 0 / 1.111 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.676e-06/0.5741, allocations: 0 / 1.111 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.367e-05/0.5741, allocations: 4.844 kB / 1.111 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.5741, allocations: 3.906 kB / 1.111 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000172/0.5743, allocations: 41.03 kB / 1.111 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.685e-05/0.5743, allocations: 4 kB / 1.111 GB, free: 6.633 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,$PRE.booPul.y,booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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.165e-05/0.5744, allocations: 121.6 kB / 1.111 GB, free: 6.508 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.06e-05/0.5744, allocations: 7.906 kB / 1.111 GB, free: 6.5 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.461e-05/0.5744, allocations: 4 kB / 1.111 GB, free: 6.484 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.5744, allocations: 96 / 1.111 GB, free: 6.484 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.5745, allocations: 3.984 kB / 1.111 GB, free: 6.48 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.5745, allocations: 2.344 kB / 1.111 GB, free: 6.48 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.602e-05/0.5745, allocations: 138.2 kB / 1.111 GB, free: 6.309 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.5746, allocations: 4.484 kB / 1.111 GB, free: 6.305 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.49e-05/0.5746, allocations: 3.906 kB / 1.111 GB, free: 6.301 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.5746, allocations: 8 kB / 1.111 GB, free: 6.293 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.25e-06/0.5746, allocations: 0 / 1.111 GB, free: 6.293 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.5746, allocations: 0.625 kB / 1.111 GB, free: 6.293 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.5746, allocations: 0 / 1.111 GB, free: 6.293 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.818e-05/0.5747, allocations: 77.03 kB / 1.111 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.791e-05/0.5747, allocations: 77.11 kB / 1.111 GB, free: 6.105 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.335e-05/0.5748, allocations: 4.859 kB / 1.111 GB, free: 6.102 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.476e-05/0.5748, allocations: 7.938 kB / 1.111 GB, free: 6.094 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.066e-05/0.5748, allocations: 7.906 kB / 1.111 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/0.5748, allocations: 3.938 kB / 1.111 GB, free: 6.082 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.308e-05/0.5748, allocations: 89.94 kB / 1.111 GB, free: 5.996 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001926/0.575, allocations: 19.98 kB / 1.112 GB, free: 5.977 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001194/0.5752, allocations: 107.2 kB / 1.112 GB, free: 5.863 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001398/0.5753, allocations: 81.69 kB / 1.112 GB, free: 5.777 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.263e-06/0.5753, allocations: 0 / 1.112 GB, free: 5.777 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.62e-05/0.5754, allocations: 16.06 kB / 1.112 GB, free: 5.762 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001397/0.5755, allocations: 14.28 kB / 1.112 GB, free: 5.75 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001612/0.5757, allocations: 72.61 kB / 1.112 GB, free: 5.656 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002207/0.5759, allocations: 0.6876 MB / 1.112 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of SimCode: time 2.41e-07/0.5759, allocations: 0 / 1.112 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of Templates: time 0.002478/0.5784, allocations: 0.9336 MB / 1.113 GB, free: 4.043 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1)