Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.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.Conversions.Validation.BooleanToReal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.421/2.421, allocations: 253.1 MB / 260.4 MB, free: 7.547 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.001727/0.001726, allocations: 177.3 kB / 319.6 MB, free: 3.32 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.363/2.363, allocations: 205.4 MB / 0.5704 GB, free: 15.06 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.001413/0.001413, allocations: 90.77 kB / 0.6746 GB, free: 4.43 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.468e-06/9.688e-06, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2407/0.2407, allocations: 106.2 MB / 0.8881 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7183/0.9591, allocations: 131.5 MB / 1.016 GB, free: 6.867 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002899/0.9595, allocations: 70.95 kB / 1.016 GB, free: 6.828 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.002467/0.962, allocations: 362 kB / 1.017 GB, free: 6.531 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.03e-05/0.9621, allocations: 0 / 1.017 GB, free: 6.531 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005332/0.9626, allocations: 340.8 kB / 1.017 GB, free: 6.16 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/0.9627, allocations: 8.031 kB / 1.017 GB, free: 6.152 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.695e-05/0.9627, allocations: 8.734 kB / 1.017 GB, free: 6.145 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002164/0.963, allocations: 171 kB / 1.017 GB, free: 5.938 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.467e-05/0.963, allocations: 1.125 kB / 1.017 GB, free: 5.938 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.327e-05/0.963, allocations: 0 / 1.017 GB, free: 5.938 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.564e-05/0.9631, allocations: 15.56 kB / 1.017 GB, free: 5.926 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.741e-05/0.9632, allocations: 40.56 kB / 1.017 GB, free: 5.883 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.9633, allocations: 4 kB / 1.017 GB, free: 5.879 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.9633, allocations: 0 / 1.017 GB, free: 5.879 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.9633, allocations: 3.938 kB / 1.017 GB, free: 5.875 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004462/0.9637, allocations: 228.6 kB / 1.018 GB, free: 5.621 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002229/0.964, allocations: 37.08 kB / 1.018 GB, free: 5.582 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.47e-05/0.9641, allocations: 16.36 kB / 1.018 GB, free: 5.566 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/0.9641, allocations: 0 / 1.018 GB, free: 5.566 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001311/0.9642, allocations: 50.19 kB / 1.018 GB, free: 5.508 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 2.174e-06/0.9642, allocations: 2.625 kB / 1.018 GB, free: 5.508 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002164/0.9645, allocations: 53.52 kB / 1.018 GB, free: 5.453 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.654e-05/0.9645, allocations: 51.41 kB / 1.018 GB, free: 5.391 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.9646, allocations: 100.9 kB / 1.018 GB, free: 5.293 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.9647, allocations: 29.7 kB / 1.018 GB, free: 5.258 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.894e-05/0.9648, allocations: 80.14 kB / 1.018 GB, free: 5.176 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.763e-05/0.9648, allocations: 19.08 kB / 1.018 GB, free: 5.16 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-06/0.9648, allocations: 0 / 1.018 GB, free: 5.16 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.965, allocations: 314.8 kB / 1.018 GB, free: 4.844 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.08e-05/0.965, allocations: 11.44 kB / 1.018 GB, free: 4.836 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.83e-05/0.9651, allocations: 21.59 kB / 1.018 GB, free: 4.812 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.587e-05/0.9651, allocations: 7.984 kB / 1.018 GB, free: 4.805 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.9651, allocations: 4 kB / 1.018 GB, free: 4.801 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001468/0.9653, allocations: 48.89 kB / 1.018 GB, free: 4.754 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.9653, allocations: 4 kB / 1.018 GB, free: 4.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.9653, allocations: 0.625 kB / 1.018 GB, free: 4.75 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/0.9654, allocations: 3.906 kB / 1.018 GB, free: 4.746 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.498e-05/0.9655, allocations: 11.92 kB / 1.018 GB, free: 4.734 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.9655, allocations: 0 / 1.018 GB, free: 4.734 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001216/0.9656, allocations: 12.03 kB / 1.018 GB, free: 4.723 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.9656, allocations: 384 / 1.018 GB, free: 4.723 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001089/0.9657, allocations: 105 kB / 1.019 GB, free: 4.613 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.025e-05/0.9658, allocations: 3.906 kB / 1.019 GB, free: 4.609 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.693e-05/0.9658, allocations: 11.48 kB / 1.019 GB, free: 4.598 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.9659, allocations: 7.938 kB / 1.019 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/0.9659, allocations: 4 kB / 1.019 GB, free: 4.586 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.9659, allocations: 0 / 1.019 GB, free: 4.586 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000244/0.9661, allocations: 133 kB / 1.019 GB, free: 4.422 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.742e-06/0.9662, allocations: 7.891 kB / 1.019 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.698e-05/0.9662, allocations: 8 kB / 1.019 GB, free: 4.406 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.9662, allocations: 0 / 1.019 GB, free: 4.406 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.9662, allocations: 0 / 1.019 GB, free: 4.406 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.9662, allocations: 3.938 kB / 1.019 GB, free: 4.402 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.82e-06/0.9663, allocations: 4 kB / 1.019 GB, free: 4.398 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001707/0.9664, allocations: 75.72 kB / 1.019 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.802e-05/0.9665, allocations: 77.11 kB / 1.019 GB, free: 4.219 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.362e-05/0.9665, allocations: 4 kB / 1.019 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.973e-05/0.9667, allocations: 11.98 kB / 1.019 GB, free: 4.203 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.223e-05/0.9667, allocations: 7.906 kB / 1.019 GB, free: 4.195 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.827e-06/0.9668, allocations: 3.5 kB / 1.019 GB, free: 4.195 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.459e-05/0.9668, allocations: 83.27 kB / 1.019 GB, free: 4.113 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002603/0.9671, allocations: 8 kB / 1.019 GB, free: 4.105 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: 3 ($whenCondition1,booPul.y,booPul.pulseStart) * 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.0001568/0.9673, allocations: 99.06 kB / 1.019 GB, free: 4.004 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001353/0.9674, allocations: 23.19 kB / 1.019 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.9674, allocations: 0 / 1.019 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.246e-05/0.9675, allocations: 11.31 kB / 1.019 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002429/0.9677, allocations: 7.984 kB / 1.019 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003156/0.9681, allocations: 74.52 kB / 1.019 GB, free: 3.879 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000414/0.9685, allocations: 0.6876 MB / 1.02 GB, free: 3.168 MB / 0.6355 GB Notification: Performance of SimCode: time 1.243e-06/0.9685, allocations: 8.062 kB / 1.02 GB, free: 3.16 MB / 0.6355 GB Notification: Performance of Templates: time 0.00358/0.9721, allocations: 0.5121 MB / 1.02 GB, free: 2.664 MB / 0.6355 GB