Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal",fmuType="me",version="2.0",platforms={"static"}) [: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 7.0.3-maint.7.0.x/package.mo): time 1.19/1.19, allocations: 249.4 MB / 256.7 MB, free: 15.7 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009844/0.0009845, allocations: 187.8 kB / 316 MB, free: 7.07 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.3/1.3, allocations: 205.1 MB / 0.5667 GB, free: 23.62 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008862/0.0008863, allocations: 89.97 kB / 0.671 GB, free: 0.8828 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.2037/0.2047, allocations: 112.5 MB / 0.7808 GB, free: 304 kB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3843/0.589, allocations: 106.3 MB / 0.8846 GB, free: 76.23 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1358/0.7248, allocations: 130.8 MB / 1.012 GB, free: 9.199 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001865/0.725, allocations: 71.95 kB / 1.012 GB, free: 9.129 MB / 0.6667 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.002957/0.728, allocations: 0.9771 MB / 1.013 GB, free: 8.109 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.7281, allocations: 8 kB / 1.013 GB, free: 8.102 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.628e-05/0.7281, allocations: 7.906 kB / 1.013 GB, free: 8.094 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.7282, allocations: 167 kB / 1.014 GB, free: 7.891 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.7283, allocations: 0 / 1.014 GB, free: 7.891 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.438e-05/0.7283, allocations: 3.984 kB / 1.014 GB, free: 7.887 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.438e-05/0.7284, allocations: 27.94 kB / 1.014 GB, free: 7.859 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.242e-05/0.7285, allocations: 61.56 kB / 1.014 GB, free: 7.793 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.721e-06/0.7285, allocations: 0 / 1.014 GB, free: 7.793 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.7285, allocations: 0 / 1.014 GB, free: 7.793 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.7285, allocations: 4 kB / 1.014 GB, free: 7.789 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003725/0.7289, allocations: 257.4 kB / 1.014 GB, free: 7.5 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 8.861e-05/0.729, allocations: 42.52 kB / 1.014 GB, free: 7.449 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.678e-05/0.729, allocations: 21.03 kB / 1.014 GB, free: 7.426 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.477e-05/0.7291, allocations: 3.984 kB / 1.014 GB, free: 7.422 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/0.7291, allocations: 34.56 kB / 1.014 GB, free: 7.379 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.7291, allocations: 0 / 1.014 GB, free: 7.379 MB / 0.6667 GB Notification: Performance of matching and sorting (n=4): time 0.0001713/0.7293, allocations: 57.59 kB / 1.014 GB, free: 7.316 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.665e-05/0.7293, allocations: 51.41 kB / 1.014 GB, free: 7.254 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.7e-05/0.7294, allocations: 100.9 kB / 1.014 GB, free: 7.148 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.7294, allocations: 25.7 kB / 1.014 GB, free: 7.117 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 3.307e-05/0.7294, allocations: 88.12 kB / 1.014 GB, free: 7.027 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 1.965e-05/0.7295, allocations: 15.75 kB / 1.014 GB, free: 7.012 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-06/0.7295, allocations: 4 kB / 1.014 GB, free: 7.008 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.539e-05/0.7296, allocations: 310.8 kB / 1.015 GB, free: 6.695 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.564e-05/0.7296, allocations: 12 kB / 1.015 GB, free: 6.684 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.22e-05/0.7296, allocations: 11.98 kB / 1.015 GB, free: 6.672 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.976e-05/0.7297, allocations: 15.94 kB / 1.015 GB, free: 6.656 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.7297, allocations: 0 / 1.015 GB, free: 6.656 MB / 0.6667 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001015/0.7298, allocations: 57.78 kB / 1.015 GB, free: 6.594 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.7298, allocations: 4 kB / 1.015 GB, free: 6.59 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.7298, allocations: 3.984 kB / 1.015 GB, free: 6.586 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.947e-06/0.7298, allocations: 8 kB / 1.015 GB, free: 6.578 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001378/0.73, allocations: 15.98 kB / 1.015 GB, free: 6.562 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.034e-06/0.73, allocations: 3.984 kB / 1.015 GB, free: 6.559 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.468e-05/0.7301, allocations: 4 kB / 1.015 GB, free: 6.555 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.876e-06/0.7301, allocations: 4.25 kB / 1.015 GB, free: 6.551 MB / 0.6667 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 6.29e-05/0.7301, allocations: 105 kB / 1.015 GB, free: 6.441 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.079e-05/0.7302, allocations: 11.89 kB / 1.015 GB, free: 6.43 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.337e-05/0.7302, allocations: 8 kB / 1.015 GB, free: 6.418 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.7302, allocations: 4 kB / 1.015 GB, free: 6.414 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.7302, allocations: 0 / 1.015 GB, free: 6.414 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.7302, allocations: 0 / 1.015 GB, free: 6.414 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001328/0.7304, allocations: 146.1 kB / 1.015 GB, free: 6.234 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.7304, allocations: 0 / 1.015 GB, free: 6.234 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/0.7305, allocations: 27.86 kB / 1.015 GB, free: 6.207 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.7305, allocations: 0 / 1.015 GB, free: 6.207 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.7305, allocations: 7.984 kB / 1.015 GB, free: 6.199 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.7305, allocations: 3.938 kB / 1.015 GB, free: 6.195 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.7305, allocations: 0 / 1.015 GB, free: 6.195 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001341/0.7307, allocations: 155.5 kB / 1.015 GB, free: 6.027 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002434/0.7309, allocations: 0.5297 MB / 1.016 GB, free: 5.48 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 3.029e-05/0.7309, allocations: 81.05 kB / 1.016 GB, free: 5.383 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/0.731, allocations: 3.906 kB / 1.016 GB, free: 5.379 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.7311, allocations: 11.98 kB / 1.016 GB, free: 5.367 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.718e-05/0.7311, allocations: 11.98 kB / 1.016 GB, free: 5.355 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-06/0.7312, allocations: 4 kB / 1.016 GB, free: 5.352 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.188e-05/0.7312, allocations: 79.28 kB / 1.016 GB, free: 5.273 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0007596/0.732, allocations: 12 kB / 1.016 GB, free: 5.262 MB / 0.6667 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.0001063/0.7321, allocations: 107.2 kB / 1.016 GB, free: 5.148 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 8.512e-05/0.7322, allocations: 24 kB / 1.016 GB, free: 5.125 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.7322, allocations: 0 / 1.016 GB, free: 5.125 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 4.327e-05/0.7322, allocations: 23.92 kB / 1.016 GB, free: 5.102 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001663/0.7324, allocations: 11.91 kB / 1.016 GB, free: 5.09 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002473/0.7327, allocations: 83.69 kB / 1.016 GB, free: 4.984 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002374/0.7329, allocations: 0.6954 MB / 1.017 GB, free: 4.266 MB / 0.6667 GB Notification: Performance of SimCode: time 3.21e-07/0.7329, allocations: 0 / 1.017 GB, free: 4.266 MB / 0.6667 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1)