Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.33/1.33, allocations: 285.5 MB / 292.8 MB, free: 10.45 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.0009552/0.0009552, allocations: 181.3 kB / 361.1 MB, free: 7.07 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.008/1.008, allocations: 205.1 MB / 0.6195 GB, free: 10.27 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.000747/0.000747, allocations: 92.09 kB / 0.7325 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1775/0.1783, allocations: 121.5 MB / 0.8512 GB, free: 2.836 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4138/0.5921, allocations: 115.3 MB / 0.9638 GB, free: 78.15 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1313/0.7235, allocations: 136.9 MB / 1.097 GB, free: 3.043 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001757/0.7237, allocations: 73.27 kB / 1.098 GB, free: 2.973 MB / 0.698 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.002664/0.7264, allocations: 0.9563 MB / 1.098 GB, free: 2.012 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.7264, allocations: 9 kB / 1.098 GB, free: 2.004 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.94e-05/0.7265, allocations: 3.906 kB / 1.098 GB, free: 2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.7266, allocations: 171 kB / 1.099 GB, free: 1.793 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.7266, allocations: 0.7188 kB / 1.099 GB, free: 1.793 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.245e-05/0.7266, allocations: 4.656 kB / 1.099 GB, free: 1.789 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.229e-05/0.7267, allocations: 24.67 kB / 1.099 GB, free: 1.766 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.915e-05/0.7268, allocations: 50.17 kB / 1.099 GB, free: 1.711 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.42e-06/0.7268, allocations: 4.594 kB / 1.099 GB, free: 1.707 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.7268, allocations: 0 / 1.099 GB, free: 1.707 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.7269, allocations: 6 kB / 1.099 GB, free: 1.703 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00038/0.7272, allocations: 259.5 kB / 1.099 GB, free: 1.414 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.47e-05/0.7273, allocations: 48.16 kB / 1.099 GB, free: 1.359 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.187e-05/0.7274, allocations: 16.89 kB / 1.099 GB, free: 1.34 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.558e-05/0.7274, allocations: 0.5312 kB / 1.099 GB, free: 1.34 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/0.7274, allocations: 43.19 kB / 1.099 GB, free: 1.293 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 2.274e-06/0.7274, allocations: 0.5625 kB / 1.099 GB, free: 1.293 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0001602/0.7276, allocations: 57.77 kB / 1.099 GB, free: 1.23 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.326e-05/0.7276, allocations: 56.08 kB / 1.099 GB, free: 1.164 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.109e-05/0.7277, allocations: 97.56 kB / 1.099 GB, free: 1.062 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.7277, allocations: 26.2 kB / 1.099 GB, free: 1.031 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.662e-05/0.7278, allocations: 88.73 kB / 1.099 GB, free: 0.9414 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.778e-05/0.7278, allocations: 11.83 kB / 1.099 GB, free: 0.9297 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-06/0.7278, allocations: 4.562 kB / 1.099 GB, free: 0.9258 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.132e-05/0.7279, allocations: 312.7 kB / 1.1 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.365e-05/0.7279, allocations: 8 kB / 1.1 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.216e-05/0.7279, allocations: 12 kB / 1.1 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.76e-05/0.728, allocations: 12.69 kB / 1.1 GB, free: 0.582 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.728, allocations: 5.344 kB / 1.1 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001055/0.7281, allocations: 61.62 kB / 1.1 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.788e-06/0.7281, allocations: 4 kB / 1.1 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.7281, allocations: 0 / 1.1 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.407e-06/0.7281, allocations: 2.656 kB / 1.1 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.7283, allocations: 17.33 kB / 1.1 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.7283, allocations: 0.5625 kB / 1.1 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.282e-05/0.7284, allocations: 17.48 kB / 1.1 GB, free: 488 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.7284, allocations: 4.688 kB / 1.1 GB, free: 484 kB / 0.698 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 5.911e-05/0.7285, allocations: 113.6 kB / 1.1 GB, free: 364 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.715e-05/0.7285, allocations: 3.906 kB / 1.1 GB, free: 360 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.234e-05/0.7285, allocations: 4 kB / 1.1 GB, free: 352 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.7285, allocations: 0 / 1.1 GB, free: 352 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.7285, allocations: 4 kB / 1.1 GB, free: 348 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.7285, allocations: 3.984 kB / 1.1 GB, free: 344 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000134/0.7287, allocations: 146.2 kB / 1.1 GB, free: 160 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.7287, allocations: 0 / 1.1 GB, free: 160 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001013/0.7288, allocations: 20.88 kB / 1.1 GB, free: 140 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.7288, allocations: 0 / 1.1 GB, free: 140 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.7288, allocations: 3.906 kB / 1.1 GB, free: 136 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.7288, allocations: 1.812 kB / 1.1 GB, free: 136 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.7288, allocations: 0 / 1.1 GB, free: 136 kB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001396/0.729, allocations: 160.9 kB / 1.1 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002109/0.7292, allocations: 0.5232 MB / 1.101 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.894e-05/0.7292, allocations: 85 kB / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.7293, allocations: 4 kB / 1.101 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.7294, allocations: 4 kB / 1.101 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.495e-05/0.7294, allocations: 15.97 kB / 1.101 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.7294, allocations: 0 / 1.101 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.585e-05/0.7295, allocations: 91.28 kB / 1.101 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007423/0.7302, allocations: 15.91 kB / 1.101 GB, free: 15.19 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: 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.0001057/0.7303, allocations: 106.9 kB / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.687e-05/0.7304, allocations: 31.98 kB / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.7304, allocations: 0 / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.152e-05/0.7305, allocations: 23.98 kB / 1.101 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001541/0.7306, allocations: 1.688 kB / 1.101 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002682/0.7309, allocations: 88.53 kB / 1.101 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002603/0.7312, allocations: 0.7032 MB / 1.102 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of SimCode: time 2.81e-07/0.7312, allocations: 0 / 1.102 GB, free: 14.18 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1)