Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.362/1.362, allocations: 289.8 MB / 297.1 MB, free: 6.711 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.001005/0.001005, allocations: 189.2 kB / 366.3 MB, free: 2.008 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.117/1.117, allocations: 205.1 MB / 0.6256 GB, free: 5.855 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.0007854/0.0007853, allocations: 85 kB / 0.7395 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1966/0.1975, allocations: 122.4 MB / 0.8591 GB, free: 13.28 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4557/0.6532, allocations: 116.3 MB / 0.9726 GB, free: 68.38 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1357/0.7889, allocations: 137.7 MB / 1.107 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001752/0.7891, allocations: 63.97 kB / 1.107 GB, free: 10.7 MB / 0.7136 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.002835/0.792, allocations: 1.207 MB / 1.108 GB, free: 9.465 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.792, allocations: 8.875 kB / 1.108 GB, free: 9.457 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.823e-05/0.7921, allocations: 11.81 kB / 1.108 GB, free: 9.445 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/0.7922, allocations: 186.4 kB / 1.109 GB, free: 9.227 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.7922, allocations: 4.625 kB / 1.109 GB, free: 9.223 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.083e-05/0.7923, allocations: 4.562 kB / 1.109 GB, free: 9.219 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.299e-05/0.7924, allocations: 35.94 kB / 1.109 GB, free: 9.184 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001208/0.7925, allocations: 80.84 kB / 1.109 GB, free: 9.094 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.7925, allocations: 0 / 1.109 GB, free: 9.094 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.7925, allocations: 0.7188 kB / 1.109 GB, free: 9.094 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.303e-06/0.7925, allocations: 3.984 kB / 1.109 GB, free: 9.09 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006022/0.7931, allocations: 421.8 kB / 1.109 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.908e-05/0.7932, allocations: 37.16 kB / 1.109 GB, free: 8.582 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.231e-05/0.7932, allocations: 17.84 kB / 1.109 GB, free: 8.559 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.471e-05/0.7933, allocations: 3.984 kB / 1.109 GB, free: 8.555 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/0.7933, allocations: 30.66 kB / 1.109 GB, free: 8.516 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.7933, allocations: 3.938 kB / 1.109 GB, free: 8.512 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001607/0.7935, allocations: 50.34 kB / 1.109 GB, free: 8.457 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.7935, allocations: 81.17 kB / 1.109 GB, free: 8.359 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.7936, allocations: 124 kB / 1.109 GB, free: 8.23 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.7936, allocations: 29.7 kB / 1.109 GB, free: 8.195 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.018e-05/0.7937, allocations: 108 kB / 1.11 GB, free: 8.086 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.641e-06/0.7937, allocations: 3.906 kB / 1.11 GB, free: 8.082 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.036e-06/0.7937, allocations: 0 / 1.11 GB, free: 8.082 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.794e-05/0.7938, allocations: 325.4 kB / 1.11 GB, free: 7.758 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.665e-05/0.7938, allocations: 5.781 kB / 1.11 GB, free: 7.754 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.378e-05/0.7939, allocations: 25.66 kB / 1.11 GB, free: 7.723 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.217e-05/0.7939, allocations: 8 kB / 1.11 GB, free: 7.715 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.7939, allocations: 0 / 1.11 GB, free: 7.715 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.371e-05/0.794, allocations: 57.59 kB / 1.11 GB, free: 7.652 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.794, allocations: 10.03 kB / 1.11 GB, free: 7.645 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.794, allocations: 224 / 1.11 GB, free: 7.645 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.794, allocations: 0 / 1.11 GB, free: 7.645 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.58e-05/0.7941, allocations: 11.94 kB / 1.11 GB, free: 7.633 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.7941, allocations: 12 kB / 1.11 GB, free: 7.621 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.047e-05/0.7942, allocations: 7.844 kB / 1.11 GB, free: 7.613 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.7942, allocations: 0 / 1.11 GB, free: 7.613 MB / 0.7136 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.337e-05/0.7942, allocations: 105 kB / 1.11 GB, free: 7.504 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.352e-05/0.7943, allocations: 7.891 kB / 1.11 GB, free: 7.496 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.519e-05/0.7943, allocations: 11.59 kB / 1.11 GB, free: 7.484 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.7943, allocations: 0 / 1.11 GB, free: 7.484 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.7943, allocations: 0 / 1.11 GB, free: 7.484 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.7943, allocations: 4 kB / 1.11 GB, free: 7.48 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003192/0.7947, allocations: 451.3 kB / 1.111 GB, free: 6.988 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.7947, allocations: 0.6562 kB / 1.111 GB, free: 6.988 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.597e-05/0.7947, allocations: 4 kB / 1.111 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.7947, allocations: 0 / 1.111 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.63e-06/0.7947, allocations: 0 / 1.111 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.7947, allocations: 0 / 1.111 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.7947, allocations: 0 / 1.111 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.553e-05/0.7948, allocations: 95.58 kB / 1.111 GB, free: 6.863 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001622/0.795, allocations: 476.6 kB / 1.111 GB, free: 6.367 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.204e-05/0.795, allocations: 85.02 kB / 1.111 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.367e-05/0.7951, allocations: 0 / 1.111 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.245e-05/0.7951, allocations: 0 / 1.111 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.839e-05/0.7951, allocations: 7.891 kB / 1.111 GB, free: 6.258 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.646e-06/0.7951, allocations: 4 kB / 1.111 GB, free: 6.254 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.81e-05/0.7952, allocations: 99.28 kB / 1.111 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000763/0.796, allocations: 12.56 kB / 1.111 GB, free: 6.145 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 9.011e-05/0.7961, allocations: 107.3 kB / 1.111 GB, free: 6.031 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.288e-05/0.7961, allocations: 19.94 kB / 1.111 GB, free: 6.012 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.7961, allocations: 0 / 1.111 GB, free: 6.012 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.132e-05/0.7961, allocations: 4 kB / 1.111 GB, free: 6.008 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.664e-05/0.7962, allocations: 4.656 kB / 1.111 GB, free: 6.004 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002563/0.7965, allocations: 104.3 kB / 1.112 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002445/0.7968, allocations: 0.7187 MB / 1.112 GB, free: 5.133 MB / 0.7136 GB Notification: Performance of SimCode: time 2.81e-07/0.7968, allocations: 3.938 kB / 1.112 GB, free: 5.129 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.fmu > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1)