Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.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_gal,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_gal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_gal",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.656 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.0009197/0.0009197, allocations: 177.3 kB / 366.3 MB, free: 1.988 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.05/1.05, allocations: 205.1 MB / 0.6256 GB, free: 5.832 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.0007625/0.0007624, allocations: 88.14 kB / 0.7395 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2053/0.2061, allocations: 122.4 MB / 0.8591 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4913/0.6975, allocations: 116.3 MB / 0.9727 GB, free: 68.66 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1509/0.8485, allocations: 137.7 MB / 1.107 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001988/0.8487, allocations: 64.94 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.002839/0.8516, allocations: 1.196 MB / 1.108 GB, free: 9.477 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.8516, allocations: 16 kB / 1.108 GB, free: 9.461 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.675e-05/0.8517, allocations: 11.81 kB / 1.108 GB, free: 9.449 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/0.8518, allocations: 182.8 kB / 1.109 GB, free: 9.23 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.8518, allocations: 0 / 1.109 GB, free: 9.23 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.325e-05/0.8519, allocations: 4 kB / 1.109 GB, free: 9.227 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.308e-05/0.852, allocations: 36 kB / 1.109 GB, free: 9.191 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.8521, allocations: 83.3 kB / 1.109 GB, free: 9.098 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.8521, allocations: 4 kB / 1.109 GB, free: 9.094 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.8521, allocations: 7.984 kB / 1.109 GB, free: 9.086 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.8521, allocations: 5.031 kB / 1.109 GB, free: 9.082 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004753/0.8526, allocations: 417.2 kB / 1.109 GB, free: 8.633 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.744e-05/0.8527, allocations: 37.22 kB / 1.109 GB, free: 8.578 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.645e-05/0.8527, allocations: 17.78 kB / 1.109 GB, free: 8.555 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.417e-06/0.8527, allocations: 96 / 1.109 GB, free: 8.555 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.8527, allocations: 34.5 kB / 1.109 GB, free: 8.512 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.8528, allocations: 4 kB / 1.109 GB, free: 8.508 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001502/0.8529, allocations: 49.59 kB / 1.109 GB, free: 8.453 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/0.8529, allocations: 77.11 kB / 1.109 GB, free: 8.359 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.913e-05/0.8531, allocations: 125.4 kB / 1.109 GB, free: 8.23 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.8531, allocations: 25.7 kB / 1.109 GB, free: 8.199 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.552e-05/0.8531, allocations: 113.3 kB / 1.11 GB, free: 8.086 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.764e-06/0.8531, allocations: 7.906 kB / 1.11 GB, free: 8.078 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-06/0.8531, allocations: 0 / 1.11 GB, free: 8.078 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.271e-05/0.8532, allocations: 325.5 kB / 1.11 GB, free: 7.754 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.615e-05/0.8533, allocations: 4 kB / 1.11 GB, free: 7.75 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.084e-05/0.8533, allocations: 17.72 kB / 1.11 GB, free: 7.727 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.368e-05/0.8533, allocations: 12 kB / 1.11 GB, free: 7.715 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.8533, allocations: 0 / 1.11 GB, free: 7.715 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.952e-05/0.8534, allocations: 57.59 kB / 1.11 GB, free: 7.652 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/0.8534, allocations: 8.062 kB / 1.11 GB, free: 7.645 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.8534, allocations: 4.156 kB / 1.11 GB, free: 7.641 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.8535, allocations: 4 kB / 1.11 GB, free: 7.637 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.099e-05/0.8535, allocations: 7.938 kB / 1.11 GB, free: 7.629 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.8535, allocations: 0 / 1.11 GB, free: 7.629 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.166e-05/0.8536, allocations: 11.84 kB / 1.11 GB, free: 7.617 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-06/0.8536, allocations: 0.8438 kB / 1.11 GB, free: 7.617 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.318e-05/0.8537, allocations: 101 kB / 1.11 GB, free: 7.512 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.508e-05/0.8537, allocations: 11.89 kB / 1.11 GB, free: 7.5 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.66e-05/0.8537, allocations: 15.59 kB / 1.11 GB, free: 7.484 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.8537, allocations: 0 / 1.11 GB, free: 7.484 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/0.8538, allocations: 0 / 1.11 GB, free: 7.484 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.8538, allocations: 0 / 1.11 GB, free: 7.484 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003332/0.8541, allocations: 447.3 kB / 1.111 GB, free: 6.996 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.8541, allocations: 0 / 1.111 GB, free: 6.996 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.474e-05/0.8541, allocations: 6.062 kB / 1.111 GB, free: 6.992 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.8541, allocations: 0 / 1.111 GB, free: 6.992 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.8542, allocations: 8.062 kB / 1.111 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.8542, allocations: 0 / 1.111 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.8542, allocations: 0 / 1.111 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.919e-05/0.8542, allocations: 95.45 kB / 1.111 GB, free: 6.863 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001724/0.8544, allocations: 470.4 kB / 1.111 GB, free: 6.375 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.739e-05/0.8545, allocations: 85.02 kB / 1.111 GB, free: 6.273 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.8545, allocations: 0 / 1.111 GB, free: 6.273 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.363e-05/0.8545, allocations: 4 kB / 1.111 GB, free: 6.27 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.416e-05/0.8546, allocations: 7.891 kB / 1.111 GB, free: 6.262 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-06/0.8546, allocations: 4.031 kB / 1.111 GB, free: 6.258 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.956e-05/0.8546, allocations: 102.4 kB / 1.111 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007617/0.8554, 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.0001061/0.8555, allocations: 103.2 kB / 1.111 GB, free: 6.039 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.837e-05/0.8556, allocations: 19.94 kB / 1.111 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.8556, allocations: 0 / 1.111 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.078e-05/0.8556, allocations: 4 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.0001146/0.8557, allocations: 12.25 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.0002506/0.856, allocations: 108.8 kB / 1.112 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002419/0.8562, allocations: 0.7152 MB / 1.112 GB, free: 5.133 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.8562, allocations: 0 / 1.112 GB, free: 5.133 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_gal_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_gal.fmu > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1)