Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.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_bar,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_bar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_bar,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_bar",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.369/1.369, allocations: 289.8 MB / 297.1 MB, free: 6.629 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.0009372/0.0009372, allocations: 177.3 kB / 366.3 MB, free: 1.98 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.112/1.112, allocations: 205.1 MB / 0.6256 GB, free: 5.895 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.0007998/0.0007998, allocations: 95.92 kB / 0.7396 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2042/0.205, allocations: 122.4 MB / 0.8591 GB, free: 13.28 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4462/0.6512, allocations: 116.3 MB / 0.9727 GB, free: 68.31 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1472/0.7985, allocations: 137.7 MB / 1.107 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001876/0.7987, allocations: 59.97 kB / 1.107 GB, free: 10.73 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.002844/0.8015, allocations: 1.209 MB / 1.108 GB, free: 9.492 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.8016, allocations: 12.55 kB / 1.108 GB, free: 9.48 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.681e-05/0.8016, allocations: 12.94 kB / 1.108 GB, free: 9.469 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001576/0.8018, allocations: 179.5 kB / 1.109 GB, free: 9.254 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.8018, allocations: 4.625 kB / 1.109 GB, free: 9.25 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/0.8018, allocations: 4 kB / 1.109 GB, free: 9.246 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.067e-05/0.8019, allocations: 32.53 kB / 1.109 GB, free: 9.215 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.8021, allocations: 92.45 kB / 1.109 GB, free: 9.113 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.8021, allocations: 4 kB / 1.109 GB, free: 9.109 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.8021, allocations: 0 / 1.109 GB, free: 9.109 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.8021, allocations: 0 / 1.109 GB, free: 9.109 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005241/0.8026, allocations: 413.2 kB / 1.109 GB, free: 8.664 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.258e-05/0.8027, allocations: 45.17 kB / 1.109 GB, free: 8.602 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.964e-05/0.8027, allocations: 17.83 kB / 1.109 GB, free: 8.578 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.154e-06/0.8027, allocations: 1.594 kB / 1.109 GB, free: 8.578 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.8028, allocations: 39.12 kB / 1.109 GB, free: 8.531 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.402e-06/0.8028, allocations: 0 / 1.109 GB, free: 8.531 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001529/0.8029, allocations: 45.55 kB / 1.109 GB, free: 8.48 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.623e-05/0.803, allocations: 81.11 kB / 1.109 GB, free: 8.383 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.8031, allocations: 121.5 kB / 1.109 GB, free: 8.258 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.085e-05/0.8031, allocations: 25.7 kB / 1.109 GB, free: 8.227 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.233e-05/0.8032, allocations: 112 kB / 1.11 GB, free: 8.113 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.066e-05/0.8032, allocations: 15.95 kB / 1.11 GB, free: 8.098 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-06/0.8032, allocations: 0 / 1.11 GB, free: 8.098 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.8033, allocations: 317.4 kB / 1.11 GB, free: 7.781 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.797e-05/0.8033, allocations: 8 kB / 1.11 GB, free: 7.773 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.224e-05/0.8034, allocations: 17.72 kB / 1.11 GB, free: 7.75 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.355e-05/0.8034, allocations: 11.98 kB / 1.11 GB, free: 7.738 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.8034, allocations: 0 / 1.11 GB, free: 7.738 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.476e-05/0.8035, allocations: 57.55 kB / 1.11 GB, free: 7.676 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.8035, allocations: 8 kB / 1.11 GB, free: 7.668 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.8035, allocations: 1.5 kB / 1.11 GB, free: 7.668 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.997e-06/0.8035, allocations: 0 / 1.11 GB, free: 7.668 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.738e-05/0.8036, allocations: 4.906 kB / 1.11 GB, free: 7.664 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.285e-05/0.8036, allocations: 7.984 kB / 1.11 GB, free: 7.656 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.067e-05/0.8037, allocations: 11.78 kB / 1.11 GB, free: 7.645 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.528e-06/0.8037, allocations: 0 / 1.11 GB, free: 7.645 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 6.518e-05/0.8038, allocations: 113 kB / 1.11 GB, free: 7.527 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.376e-05/0.8038, allocations: 3.906 kB / 1.11 GB, free: 7.523 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.654e-05/0.8038, allocations: 7.594 kB / 1.11 GB, free: 7.516 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.8038, allocations: 0 / 1.11 GB, free: 7.516 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.8038, allocations: 0.875 kB / 1.11 GB, free: 7.516 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.8039, allocations: 4 kB / 1.11 GB, free: 7.512 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003785/0.8042, allocations: 451.3 kB / 1.111 GB, free: 7.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.8042, allocations: 64 / 1.111 GB, free: 7.02 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.718e-05/0.8043, allocations: 8 kB / 1.111 GB, free: 7.012 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.8043, allocations: 0 / 1.111 GB, free: 7.012 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.8043, allocations: 5.484 kB / 1.111 GB, free: 7.008 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.8043, allocations: 0 / 1.111 GB, free: 7.008 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.8043, allocations: 3.938 kB / 1.111 GB, free: 7.004 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.134e-05/0.8044, allocations: 91.53 kB / 1.111 GB, free: 6.887 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000179/0.8046, allocations: 468 kB / 1.111 GB, free: 6.398 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.344e-05/0.8047, allocations: 81.02 kB / 1.111 GB, free: 6.301 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/0.8047, allocations: 8.828 kB / 1.111 GB, free: 6.293 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.648e-05/0.8047, allocations: 4.625 kB / 1.111 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.341e-05/0.8047, allocations: 3.906 kB / 1.111 GB, free: 6.285 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.8047, allocations: 7.938 kB / 1.111 GB, free: 6.277 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8.007e-05/0.8048, allocations: 99.27 kB / 1.111 GB, free: 6.18 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007682/0.8056, allocations: 11.91 kB / 1.111 GB, free: 6.168 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 0.0001016/0.8057, allocations: 99.25 kB / 1.111 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.84e-05/0.8058, allocations: 16 kB / 1.111 GB, free: 6.047 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.8058, allocations: 4.125 kB / 1.111 GB, free: 6.043 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.258e-05/0.8058, allocations: 12.69 kB / 1.111 GB, free: 6.031 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.987e-05/0.8059, allocations: 0 / 1.111 GB, free: 6.031 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002642/0.8062, allocations: 108.3 kB / 1.112 GB, free: 5.898 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000258/0.8064, allocations: 0.7075 MB / 1.112 GB, free: 5.164 MB / 0.7136 GB Notification: Performance of SimCode: time 2.81e-07/0.8065, allocations: 4.062 kB / 1.112 GB, free: 5.16 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_bar_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_bar.fmu > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe 2>&1)