Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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 8.0.0/package.mo): time 2.122/2.122, allocations: 284.9 MB / 292.2 MB, free: 1.402 MB / 227.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001615/0.001615, allocations: 183.4 kB / 360.4 MB, free: 15.61 MB / 291.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.628/1.628, allocations: 205.1 MB / 0.6188 GB, free: 6.566 MB / 467.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001241/0.001241, allocations: 93.73 kB / 0.7318 GB, free: 46.96 MB / 0.5186 GB Notification: Performance of FrontEnd - loaded program: time 7.374e-06/7.454e-06, allocations: 0 / 0.8502 GB, free: 13.66 MB / 0.5967 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5669/0.5669, allocations: 115.2 MB / 0.9628 GB, free: 86.38 MB / 0.6749 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2105/0.7775, allocations: 136.8 MB / 1.096 GB, free: 13.57 MB / 0.7061 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002403/0.7778, allocations: 68.52 kB / 1.096 GB, free: 13.5 MB / 0.7061 GB Notification: Performance of FrontEnd: time 0.003587/0.7814, allocations: 0.5989 MB / 1.097 GB, free: 12.93 MB / 0.7061 GB Notification: Performance of Transformations before backend: time 7.154e-06/0.7814, allocations: 0 / 1.097 GB, free: 12.93 MB / 0.7061 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.0004955/0.7819, allocations: 354 kB / 1.097 GB, free: 12.54 MB / 0.7061 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.782, allocations: 8.781 kB / 1.097 GB, free: 12.54 MB / 0.7061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.185e-05/0.782, allocations: 12.38 kB / 1.097 GB, free: 12.52 MB / 0.7061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.7822, allocations: 167.8 kB / 1.098 GB, free: 12.32 MB / 0.7061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/0.7822, allocations: 5.406 kB / 1.098 GB, free: 12.32 MB / 0.7061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.597e-05/0.7822, allocations: 0 / 1.098 GB, free: 12.32 MB / 0.7061 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001144/0.7824, allocations: 23.98 kB / 1.098 GB, free: 12.29 MB / 0.7061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.7825, allocations: 51.47 kB / 1.098 GB, free: 12.24 MB / 0.7061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.7825, allocations: 3.984 kB / 1.098 GB, free: 12.23 MB / 0.7061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.7825, allocations: 0 / 1.098 GB, free: 12.23 MB / 0.7061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.7826, allocations: 8.344 kB / 1.098 GB, free: 12.23 MB / 0.7061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004628/0.783, allocations: 254.7 kB / 1.098 GB, free: 11.95 MB / 0.7061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001289/0.7832, allocations: 47.56 kB / 1.098 GB, free: 11.89 MB / 0.7061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.281e-05/0.7832, allocations: 13.97 kB / 1.098 GB, free: 11.88 MB / 0.7061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.7833, allocations: 11.66 kB / 1.098 GB, free: 11.87 MB / 0.7061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.435e-05/0.7833, allocations: 38.59 kB / 1.098 GB, free: 11.82 MB / 0.7061 GB Notification: Performance of pre-optimization done (n=4): time 1.533e-06/0.7834, allocations: 0 / 1.098 GB, free: 11.82 MB / 0.7061 GB Notification: Performance of matching and sorting (n=4): time 0.0002158/0.7836, allocations: 58.14 kB / 1.098 GB, free: 11.76 MB / 0.7061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.368e-05/0.7836, allocations: 51.41 kB / 1.098 GB, free: 11.7 MB / 0.7061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.831e-05/0.7837, allocations: 99.25 kB / 1.098 GB, free: 11.59 MB / 0.7061 GB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.7838, allocations: 25.7 kB / 1.098 GB, free: 11.56 MB / 0.7061 GB Notification: Performance of collectInitialEqns (initialization): time 4.636e-05/0.7838, allocations: 89.03 kB / 1.098 GB, free: 11.47 MB / 0.7061 GB Notification: Performance of collectInitialBindings (initialization): time 2.479e-05/0.7838, allocations: 11.84 kB / 1.098 GB, free: 11.46 MB / 0.7061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.793e-06/0.7839, allocations: 4.781 kB / 1.098 GB, free: 11.46 MB / 0.7061 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.784, allocations: 314.8 kB / 1.099 GB, free: 11.14 MB / 0.7061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.9e-05/0.784, allocations: 12.94 kB / 1.099 GB, free: 11.13 MB / 0.7061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.941e-05/0.7841, allocations: 8 kB / 1.099 GB, free: 11.12 MB / 0.7061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.675e-05/0.7842, allocations: 17.2 kB / 1.099 GB, free: 11.11 MB / 0.7061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.7842, allocations: 3.906 kB / 1.099 GB, free: 11.1 MB / 0.7061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001601/0.7843, allocations: 57.69 kB / 1.099 GB, free: 11.04 MB / 0.7061 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.7844, allocations: 4 kB / 1.099 GB, free: 11.04 MB / 0.7061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.7844, allocations: 0 / 1.099 GB, free: 11.04 MB / 0.7061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.7844, allocations: 0.8438 kB / 1.099 GB, free: 11.04 MB / 0.7061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002187/0.7846, allocations: 19.92 kB / 1.099 GB, free: 11.02 MB / 0.7061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.7847, allocations: 2.062 kB / 1.099 GB, free: 11.02 MB / 0.7061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001321/0.7848, allocations: 19.89 kB / 1.099 GB, free: 11 MB / 0.7061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/0.7848, allocations: 4 kB / 1.099 GB, free: 10.99 MB / 0.7061 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.287e-05/0.7849, allocations: 101 kB / 1.099 GB, free: 10.89 MB / 0.7061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.039e-05/0.785, allocations: 3.906 kB / 1.099 GB, free: 10.88 MB / 0.7061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.569e-05/0.785, allocations: 15.98 kB / 1.099 GB, free: 10.86 MB / 0.7061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.785, allocations: 0 / 1.099 GB, free: 10.86 MB / 0.7061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.785, allocations: 4 kB / 1.099 GB, free: 10.86 MB / 0.7061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.7851, allocations: 0 / 1.099 GB, free: 10.86 MB / 0.7061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002001/0.7853, allocations: 147.7 kB / 1.099 GB, free: 10.68 MB / 0.7061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.7853, allocations: 0 / 1.099 GB, free: 10.68 MB / 0.7061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001671/0.7855, allocations: 17.23 kB / 1.099 GB, free: 10.66 MB / 0.7061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.7855, allocations: 0 / 1.099 GB, free: 10.66 MB / 0.7061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.488e-05/0.7855, allocations: 7.891 kB / 1.099 GB, free: 10.66 MB / 0.7061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.209e-06/0.7855, allocations: 4 kB / 1.099 GB, free: 10.65 MB / 0.7061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.7855, allocations: 4 kB / 1.099 GB, free: 10.65 MB / 0.7061 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001889/0.7857, allocations: 155.4 kB / 1.099 GB, free: 10.48 MB / 0.7061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.823e-05/0.7858, allocations: 81.11 kB / 1.099 GB, free: 10.38 MB / 0.7061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.108e-05/0.7858, allocations: 0 / 1.099 GB, free: 10.38 MB / 0.7061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001638/0.786, allocations: 7.984 kB / 1.099 GB, free: 10.38 MB / 0.7061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.197e-05/0.7861, allocations: 15.98 kB / 1.099 GB, free: 10.36 MB / 0.7061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.306e-05/0.7861, allocations: 5.062 kB / 1.099 GB, free: 10.36 MB / 0.7061 GB Notification: Performance of sort global known variables: time 5.158e-05/0.7861, allocations: 89.08 kB / 1.099 GB, free: 10.27 MB / 0.7061 GB Notification: Performance of remove unused functions: time 0.0002935/0.7864, allocations: 11.91 kB / 1.099 GB, free: 10.26 MB / 0.7061 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.0001392/0.7866, allocations: 103.2 kB / 1.099 GB, free: 10.15 MB / 0.7061 GB Notification: Performance of simCode: created initialization part: time 0.0001349/0.7867, allocations: 31.98 kB / 1.099 GB, free: 10.12 MB / 0.7061 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.7868, allocations: 0 / 1.099 GB, free: 10.12 MB / 0.7061 GB Notification: Performance of simCode: created simulation system equations: time 6.859e-05/0.7868, allocations: 24.55 kB / 1.1 GB, free: 10.09 MB / 0.7061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002154/0.7871, allocations: 0.5156 kB / 1.1 GB, free: 10.09 MB / 0.7061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003213/0.7874, allocations: 76.58 kB / 1.1 GB, free: 9.996 MB / 0.7061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003295/0.7877, allocations: 0.6954 MB / 1.1 GB, free: 9.277 MB / 0.7061 GB Notification: Performance of SimCode: time 7.51e-07/0.7877, allocations: 0 / 1.1 GB, free: 9.277 MB / 0.7061 GB Notification: Performance of Templates: time 0.003614/0.7914, allocations: 0.7744 MB / 1.101 GB, free: 8.543 MB / 0.7061 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1)