Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.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.UnitConversions.Validation.To_BtuPerHour,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour",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.317/1.317, allocations: 285.5 MB / 292.8 MB, free: 10.51 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.0009257/0.0009258, allocations: 177.3 kB / 361.1 MB, free: 7.094 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.014/1.014, allocations: 205.1 MB / 0.6195 GB, free: 10.29 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.0007614/0.0007615, allocations: 83.86 kB / 0.7325 GB, free: 44.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1693/0.1701, allocations: 121.5 MB / 0.8512 GB, free: 2.887 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3964/0.5665, allocations: 115.3 MB / 0.9638 GB, free: 78.09 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1294/0.6959, allocations: 136.8 MB / 1.097 GB, free: 3.211 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001641/0.6961, allocations: 60.62 kB / 1.097 GB, free: 3.152 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.002643/0.6988, allocations: 1.207 MB / 1.099 GB, free: 1.934 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.726e-05/0.6988, allocations: 8 kB / 1.099 GB, free: 1.926 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.085e-05/0.6988, allocations: 15.81 kB / 1.099 GB, free: 1.91 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.699, allocations: 178.9 kB / 1.099 GB, free: 1.695 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-06/0.699, allocations: 0 / 1.099 GB, free: 1.695 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/0.699, allocations: 10 kB / 1.099 GB, free: 1.688 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.763e-05/0.6991, allocations: 32 kB / 1.099 GB, free: 1.656 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001016/0.6992, allocations: 80.22 kB / 1.099 GB, free: 1.566 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.691e-06/0.6992, allocations: 0 / 1.099 GB, free: 1.566 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.6992, allocations: 0.7812 kB / 1.099 GB, free: 1.566 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.6992, allocations: 5.031 kB / 1.099 GB, free: 1.562 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004568/0.6997, allocations: 428.5 kB / 1.099 GB, free: 1.109 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.243e-05/0.6998, allocations: 37.22 kB / 1.099 GB, free: 1.055 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.88e-05/0.6998, allocations: 11.91 kB / 1.099 GB, free: 1.039 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.004e-05/0.6998, allocations: 4.156 kB / 1.099 GB, free: 1.035 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.741e-05/0.6998, allocations: 37.09 kB / 1.099 GB, free: 0.9922 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.6998, allocations: 0.5312 kB / 1.099 GB, free: 0.9922 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001326/0.7, allocations: 47.78 kB / 1.099 GB, free: 0.9414 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.808e-05/0.7, allocations: 81.11 kB / 1.099 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.339e-05/0.7001, allocations: 124.1 kB / 1.1 GB, free: 0.7148 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.7001, allocations: 26.3 kB / 1.1 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.556e-05/0.7002, allocations: 115.8 kB / 1.1 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.127e-05/0.7002, allocations: 3.906 kB / 1.1 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.575e-06/0.7002, allocations: 4.688 kB / 1.1 GB, free: 0.5625 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.21e-05/0.7003, allocations: 322.2 kB / 1.1 GB, free: 248 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.722e-05/0.7003, allocations: 8 kB / 1.1 GB, free: 240 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.157e-05/0.7004, allocations: 18.92 kB / 1.1 GB, free: 212 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.2e-05/0.7004, allocations: 12.88 kB / 1.1 GB, free: 200 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.7004, allocations: 0.5312 kB / 1.1 GB, free: 200 kB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.826e-05/0.7005, allocations: 54.25 kB / 1.1 GB, free: 140 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.658e-06/0.7005, allocations: 4.875 kB / 1.1 GB, free: 136 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.7005, allocations: 3.938 kB / 1.1 GB, free: 132 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.945e-06/0.7005, allocations: 0.6562 kB / 1.1 GB, free: 132 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.626e-05/0.7006, allocations: 8.219 kB / 1.1 GB, free: 124 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.7006, allocations: 0.7188 kB / 1.1 GB, free: 124 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.802e-05/0.7006, allocations: 12.47 kB / 1.1 GB, free: 112 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.7006, allocations: 4.562 kB / 1.1 GB, free: 108 kB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * 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.534e-05/0.7007, allocations: 101.6 kB / 1.1 GB, free: 0 / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.916e-05/0.7008, allocations: 8.578 kB / 1.1 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.126e-05/0.7008, allocations: 12.16 kB / 1.1 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.7008, allocations: 4 kB / 1.1 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.7008, allocations: 0.6562 kB / 1.1 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.7008, allocations: 0.7969 kB / 1.1 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003191/0.7011, allocations: 453.9 kB / 1.101 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.7011, allocations: 2.188 kB / 1.101 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.358e-05/0.7012, allocations: 4 kB / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.7012, allocations: 0.5 kB / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.359e-06/0.7012, allocations: 1.156 kB / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.7012, allocations: 4 kB / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.7012, allocations: 0 / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.641e-05/0.7013, allocations: 93.86 kB / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001778/0.7015, allocations: 469.5 kB / 1.101 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.391e-05/0.7015, allocations: 89.02 kB / 1.101 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.17e-05/0.7015, allocations: 0 / 1.101 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.183e-05/0.7016, allocations: 0 / 1.101 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.413e-05/0.7016, allocations: 8.562 kB / 1.101 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.7016, allocations: 1.125 kB / 1.101 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.323e-05/0.7017, allocations: 103.3 kB / 1.101 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007033/0.7024, allocations: 11.91 kB / 1.101 GB, free: 14.65 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 8.589e-05/0.7025, allocations: 103.1 kB / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.863e-05/0.7025, allocations: 19.94 kB / 1.102 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.7025, allocations: 0 / 1.102 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.345e-05/0.7025, allocations: 11.98 kB / 1.102 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.556e-05/0.7026, allocations: 4.75 kB / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002241/0.7029, allocations: 113.3 kB / 1.102 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002375/0.7031, allocations: 0.7151 MB / 1.102 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of SimCode: time 2.6e-07/0.7031, allocations: 3.938 kB / 1.102 GB, free: 13.62 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1)