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.IntegerToReal.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.IntegerToReal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal") [: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.393/2.393, allocations: 253.1 MB / 260.4 MB, free: 7.551 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.001757/0.001757, allocations: 180.5 kB / 319.6 MB, free: 3.309 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.119/2.119, 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.001279/0.001279, allocations: 90.61 kB / 0.6746 GB, free: 4.398 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.196e-05/1.25e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2235/0.2236, allocations: 106.3 MB / 0.8881 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6547/0.8783, allocations: 131.7 MB / 1.017 GB, free: 6.617 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002418/0.8786, allocations: 70.33 kB / 1.017 GB, free: 6.578 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.003882/0.8825, allocations: 0.6248 MB / 1.017 GB, free: 6.051 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.378e-06/0.8826, allocations: 0 / 1.017 GB, free: 6.051 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005573/0.8831, allocations: 352.2 kB / 1.018 GB, free: 5.668 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.8832, allocations: 12.03 kB / 1.018 GB, free: 5.656 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.059e-05/0.8833, allocations: 3.906 kB / 1.018 GB, free: 5.652 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001783/0.8834, allocations: 167.1 kB / 1.018 GB, free: 5.449 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/0.8835, allocations: 0 / 1.018 GB, free: 5.449 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.776e-05/0.8835, allocations: 4 kB / 1.018 GB, free: 5.445 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001164/0.8836, allocations: 22.12 kB / 1.018 GB, free: 5.434 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.8838, allocations: 61.62 kB / 1.018 GB, free: 5.375 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.8838, allocations: 0 / 1.018 GB, free: 5.375 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.8838, allocations: 7.906 kB / 1.018 GB, free: 5.367 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.8838, allocations: 0 / 1.018 GB, free: 5.367 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000575/0.8844, allocations: 262.3 kB / 1.018 GB, free: 5.09 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000143/0.8846, allocations: 45.25 kB / 1.018 GB, free: 5.047 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.85e-05/0.8847, allocations: 16.2 kB / 1.018 GB, free: 5.031 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.8847, allocations: 7.984 kB / 1.018 GB, free: 5.023 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.742e-05/0.8847, allocations: 41.88 kB / 1.018 GB, free: 4.977 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.914e-06/0.8847, allocations: 3.938 kB / 1.018 GB, free: 4.973 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002582/0.885, allocations: 56.67 kB / 1.018 GB, free: 4.918 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.073e-05/0.8851, allocations: 51.41 kB / 1.018 GB, free: 4.855 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.8852, allocations: 96.23 kB / 1.018 GB, free: 4.758 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.8852, allocations: 29.7 kB / 1.018 GB, free: 4.723 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.017e-05/0.8853, allocations: 88.02 kB / 1.019 GB, free: 4.637 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.817e-05/0.8853, allocations: 11.75 kB / 1.019 GB, free: 4.625 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.154e-06/0.8853, allocations: 0 / 1.019 GB, free: 4.625 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.8855, allocations: 322.4 kB / 1.019 GB, free: 4.305 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.174e-05/0.8855, allocations: 7.188 kB / 1.019 GB, free: 4.301 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.8e-05/0.8856, allocations: 10.81 kB / 1.019 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.767e-05/0.8856, allocations: 7.5 kB / 1.019 GB, free: 4.289 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.8857, allocations: 0 / 1.019 GB, free: 4.289 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001644/0.8858, allocations: 62.67 kB / 1.019 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 7.134e-05/0.8859, allocations: 11.91 kB / 1.019 GB, free: 4.219 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.8859, allocations: 4 kB / 1.019 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.886, allocations: 0 / 1.019 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002494/0.8862, allocations: 15.98 kB / 1.019 GB, free: 4.199 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.8862, allocations: 0 / 1.019 GB, free: 4.199 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001409/0.8864, allocations: 8 kB / 1.019 GB, free: 4.191 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.479e-05/0.8864, allocations: 7.984 kB / 1.019 GB, free: 4.184 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intToRea.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 8.494e-05/0.8865, allocations: 101 kB / 1.019 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.41e-05/0.8866, allocations: 7.906 kB / 1.019 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.77e-05/0.8866, allocations: 7.125 kB / 1.019 GB, free: 4.062 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.8866, allocations: 0 / 1.019 GB, free: 4.062 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.8866, allocations: 3.938 kB / 1.019 GB, free: 4.059 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.8867, allocations: 4 kB / 1.019 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000215/0.8869, allocations: 157.2 kB / 1.019 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.8869, allocations: 0 / 1.019 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001767/0.8871, allocations: 19.98 kB / 1.019 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.8871, allocations: 0 / 1.019 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/0.8871, allocations: 0 / 1.019 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.8871, allocations: 7.125 kB / 1.019 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.8871, allocations: 0 / 1.019 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002208/0.8874, allocations: 161.4 kB / 1.019 GB, free: 3.684 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.224e-05/0.8874, allocations: 77.11 kB / 1.02 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.487e-05/0.8875, allocations: 3.906 kB / 1.02 GB, free: 3.586 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001835/0.8877, allocations: 8 kB / 1.02 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.505e-05/0.8878, allocations: 15.09 kB / 1.02 GB, free: 3.566 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.877e-06/0.8878, allocations: 0 / 1.02 GB, free: 3.566 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.792e-05/0.8878, allocations: 82.59 kB / 1.02 GB, free: 3.488 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000337/0.8882, allocations: 12 kB / 1.02 GB, free: 3.477 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: 1 (intToRea.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0001522/0.8884, allocations: 111.1 kB / 1.02 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001483/0.8885, allocations: 30.98 kB / 1.02 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.8885, allocations: 0 / 1.02 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.152e-05/0.8886, allocations: 18.5 kB / 1.02 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002386/0.8889, allocations: 7.984 kB / 1.02 GB, free: 3.316 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003587/0.8892, allocations: 82.31 kB / 1.02 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003672/0.8896, allocations: 0.6986 MB / 1.021 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of SimCode: time 7.81e-07/0.8896, allocations: 0 / 1.021 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of Templates: time 0.004421/0.8941, allocations: 0.7877 MB / 1.021 GB, free: 1.734 MB / 0.6355 GB