Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.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_psi,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_psi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_psi,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_psi",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.403/1.403, allocations: 289.8 MB / 297.1 MB, free: 6.68 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.0009422/0.0009422, allocations: 183.8 kB / 366.3 MB, free: 2.016 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.103/1.103, allocations: 205.1 MB / 0.6256 GB, free: 5.848 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.0007783/0.0007784, allocations: 91.16 kB / 0.7395 GB, free: 39.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1987/0.1995, allocations: 122.4 MB / 0.8591 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4586/0.6581, allocations: 116.3 MB / 0.9727 GB, free: 67.99 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1424/0.8006, allocations: 137.7 MB / 1.107 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002134/0.8008, allocations: 63.95 kB / 1.107 GB, free: 10.71 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.002865/0.8037, allocations: 1.211 MB / 1.108 GB, free: 9.473 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.8038, allocations: 8 kB / 1.108 GB, free: 9.465 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.398e-05/0.8038, allocations: 15.81 kB / 1.108 GB, free: 9.449 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001624/0.804, allocations: 173.9 kB / 1.109 GB, free: 9.242 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.804, allocations: 4 kB / 1.109 GB, free: 9.238 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.457e-05/0.804, allocations: 7.938 kB / 1.109 GB, free: 9.23 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.269e-05/0.8041, allocations: 32 kB / 1.109 GB, free: 9.199 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001246/0.8043, allocations: 87.3 kB / 1.109 GB, free: 9.102 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.8043, allocations: 0 / 1.109 GB, free: 9.102 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.8043, allocations: 1.125 kB / 1.109 GB, free: 9.102 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.8043, allocations: 4 kB / 1.109 GB, free: 9.098 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004936/0.8048, allocations: 417.2 kB / 1.109 GB, free: 8.648 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.08e-05/0.8049, allocations: 43.44 kB / 1.109 GB, free: 8.59 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.951e-05/0.8049, allocations: 13.84 kB / 1.109 GB, free: 8.57 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.568e-06/0.8049, allocations: 4 kB / 1.109 GB, free: 8.566 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.8049, allocations: 38.59 kB / 1.109 GB, free: 8.52 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.805, allocations: 0 / 1.109 GB, free: 8.52 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001461/0.8051, allocations: 41.61 kB / 1.109 GB, free: 8.473 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.38e-05/0.8051, allocations: 77.11 kB / 1.109 GB, free: 8.379 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.482e-05/0.8053, allocations: 128 kB / 1.109 GB, free: 8.246 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.8053, allocations: 25.7 kB / 1.109 GB, free: 8.215 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.028e-05/0.8053, allocations: 113.1 kB / 1.11 GB, free: 8.102 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.235e-06/0.8053, allocations: 11.89 kB / 1.11 GB, free: 8.09 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.475e-06/0.8054, allocations: 0 / 1.11 GB, free: 8.09 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.86e-05/0.8054, allocations: 317.4 kB / 1.11 GB, free: 7.773 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.866e-05/0.8055, allocations: 8 kB / 1.11 GB, free: 7.766 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.153e-05/0.8055, allocations: 21.66 kB / 1.11 GB, free: 7.738 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.698e-05/0.8055, allocations: 11.98 kB / 1.11 GB, free: 7.727 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.8055, allocations: 4 kB / 1.11 GB, free: 7.723 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.965e-05/0.8056, allocations: 53.61 kB / 1.11 GB, free: 7.664 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/0.8056, allocations: 6.812 kB / 1.11 GB, free: 7.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.8056, allocations: 0 / 1.11 GB, free: 7.66 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.398e-06/0.8057, allocations: 1.594 kB / 1.11 GB, free: 7.66 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.191e-05/0.8057, allocations: 16.14 kB / 1.11 GB, free: 7.645 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.8058, allocations: 0 / 1.11 GB, free: 7.645 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.88e-05/0.8058, allocations: 11.78 kB / 1.11 GB, free: 7.633 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-06/0.8058, allocations: 4 kB / 1.11 GB, free: 7.629 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.205e-05/0.8059, allocations: 105 kB / 1.11 GB, free: 7.52 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.402e-05/0.8059, allocations: 7.906 kB / 1.11 GB, free: 7.512 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.552e-05/0.8059, allocations: 7.594 kB / 1.11 GB, free: 7.504 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.8059, allocations: 0 / 1.11 GB, free: 7.504 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.806, allocations: 8 kB / 1.11 GB, free: 7.496 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.806, allocations: 96 / 1.11 GB, free: 7.496 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003275/0.8063, allocations: 459.3 kB / 1.111 GB, free: 6.996 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.8063, allocations: 0 / 1.111 GB, free: 6.996 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.568e-05/0.8063, allocations: 7.984 kB / 1.111 GB, free: 6.988 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.8063, allocations: 0 / 1.111 GB, free: 6.988 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.8064, allocations: 0 / 1.111 GB, free: 6.988 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.8064, allocations: 0 / 1.111 GB, free: 6.988 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.8064, allocations: 5.594 kB / 1.111 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.827e-05/0.8065, allocations: 87.59 kB / 1.111 GB, free: 6.871 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001591/0.8066, allocations: 468 kB / 1.111 GB, free: 6.383 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.535e-05/0.8067, allocations: 93 kB / 1.111 GB, free: 6.273 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.286e-05/0.8067, allocations: 4.062 kB / 1.111 GB, free: 6.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.17e-05/0.8067, allocations: 0 / 1.111 GB, free: 6.27 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.253e-05/0.8067, allocations: 7.906 kB / 1.111 GB, free: 6.262 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-06/0.8067, allocations: 0 / 1.111 GB, free: 6.262 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.653e-05/0.8068, allocations: 103.3 kB / 1.111 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007574/0.8076, allocations: 11.91 kB / 1.111 GB, free: 6.148 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.0001149/0.8077, allocations: 95.25 kB / 1.111 GB, free: 6.047 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.017e-05/0.8078, allocations: 24 kB / 1.111 GB, free: 6.023 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.8078, allocations: 0 / 1.111 GB, free: 6.023 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.28e-05/0.8078, allocations: 8 kB / 1.111 GB, free: 6.016 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001028/0.8079, allocations: 1.406 kB / 1.111 GB, free: 6.016 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002607/0.8082, allocations: 108.3 kB / 1.112 GB, free: 5.883 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002591/0.8084, allocations: 0.7181 MB / 1.112 GB, free: 5.141 MB / 0.7136 GB Notification: Performance of SimCode: time 2.7e-07/0.8084, allocations: 3.938 kB / 1.112 GB, free: 5.137 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_psi_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_psi.fmu > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1)