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_inH2O.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_inH2O,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O",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.299/1.299, allocations: 285.5 MB / 292.8 MB, free: 10.46 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.0008947/0.0008948, allocations: 173.3 kB / 361.1 MB, free: 7.113 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.006/1.006, allocations: 205.1 MB / 0.6195 GB, free: 10.32 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.000758/0.0007579, allocations: 99.09 kB / 0.7326 GB, free: 44.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1764/0.1772, allocations: 121.5 MB / 0.8512 GB, free: 2.875 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4101/0.5873, allocations: 115.3 MB / 0.9638 GB, free: 78.33 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1256/0.713, allocations: 136.8 MB / 1.097 GB, free: 3.238 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001797/0.7132, allocations: 64.7 kB / 1.097 GB, free: 3.176 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.002856/0.7161, allocations: 1.21 MB / 1.099 GB, free: 1.953 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.7161, allocations: 12 kB / 1.099 GB, free: 1.941 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.323e-05/0.7162, allocations: 11.81 kB / 1.099 GB, free: 1.93 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.7163, allocations: 174.9 kB / 1.099 GB, free: 1.719 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.7163, allocations: 0.5156 kB / 1.099 GB, free: 1.719 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.113e-05/0.7163, allocations: 4 kB / 1.099 GB, free: 1.715 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.17e-05/0.7164, allocations: 32 kB / 1.099 GB, free: 1.684 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/0.7165, allocations: 89.05 kB / 1.099 GB, free: 1.586 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.7166, allocations: 0.7031 kB / 1.099 GB, free: 1.586 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.7166, allocations: 4 kB / 1.099 GB, free: 1.582 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.7166, allocations: 0.75 kB / 1.099 GB, free: 1.582 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004551/0.717, allocations: 423.1 kB / 1.099 GB, free: 1.133 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.242e-05/0.7171, allocations: 41.48 kB / 1.099 GB, free: 1.078 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.734e-05/0.7171, allocations: 18.48 kB / 1.099 GB, free: 1.055 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.03e-05/0.7171, allocations: 0.8125 kB / 1.099 GB, free: 1.055 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.7172, allocations: 32.47 kB / 1.099 GB, free: 1.016 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.7172, allocations: 0.8438 kB / 1.099 GB, free: 1.016 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001537/0.7173, allocations: 50.11 kB / 1.099 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.491e-05/0.7174, allocations: 77.64 kB / 1.099 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.7175, allocations: 121.7 kB / 1.1 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.056e-05/0.7175, allocations: 26.2 kB / 1.1 GB, free: 0.707 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.328e-05/0.7176, allocations: 113.1 kB / 1.1 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.474e-06/0.7176, allocations: 7.906 kB / 1.1 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-06/0.7176, allocations: 0 / 1.1 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.109e-05/0.7177, allocations: 319.2 kB / 1.1 GB, free: 276 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.82e-05/0.7177, allocations: 8 kB / 1.1 GB, free: 268 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.26e-05/0.7177, allocations: 17.72 kB / 1.1 GB, free: 244 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.499e-05/0.7178, allocations: 13.2 kB / 1.1 GB, free: 232 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.7178, allocations: 0 / 1.1 GB, free: 232 kB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001059/0.7179, allocations: 62.84 kB / 1.1 GB, free: 168 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.7179, allocations: 4 kB / 1.1 GB, free: 164 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.7179, allocations: 0.9688 kB / 1.1 GB, free: 164 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.7179, allocations: 4 kB / 1.1 GB, free: 160 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.29e-05/0.718, allocations: 12.52 kB / 1.1 GB, free: 148 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.718, allocations: 0 / 1.1 GB, free: 148 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.213e-05/0.7181, allocations: 12.38 kB / 1.1 GB, free: 136 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.589e-06/0.7181, allocations: 0.625 kB / 1.1 GB, free: 136 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.509e-05/0.7181, allocations: 105.5 kB / 1.1 GB, free: 24 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.485e-05/0.7182, allocations: 8.531 kB / 1.1 GB, free: 16 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.708e-05/0.7182, allocations: 12.12 kB / 1.1 GB, free: 8 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.7182, allocations: 1.078 kB / 1.1 GB, free: 8 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.7182, allocations: 0.75 kB / 1.1 GB, free: 8 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.7182, allocations: 3.984 kB / 1.1 GB, free: 4 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003037/0.7186, allocations: 448 kB / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.7186, allocations: 0 / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.762e-05/0.7186, allocations: 11.92 kB / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.093e-06/0.7186, allocations: 0 / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.7186, allocations: 5.5 kB / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.041e-06/0.7186, allocations: 0 / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.7186, allocations: 0 / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.113e-05/0.7187, allocations: 87.59 kB / 1.101 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001436/0.7189, allocations: 472 kB / 1.101 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.754e-05/0.7189, allocations: 89 kB / 1.101 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.7189, allocations: 0 / 1.101 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.346e-05/0.7189, allocations: 4 kB / 1.101 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.452e-05/0.719, allocations: 9.031 kB / 1.101 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-06/0.719, allocations: 0 / 1.101 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.254e-05/0.719, allocations: 105.9 kB / 1.101 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007128/0.7198, allocations: 11.91 kB / 1.101 GB, free: 14.66 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.339e-05/0.7198, allocations: 103 kB / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.18e-05/0.7199, allocations: 16 kB / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.7199, allocations: 0 / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.296e-05/0.7199, allocations: 11.94 kB / 1.102 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.003e-05/0.72, allocations: 4.938 kB / 1.102 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002316/0.7203, allocations: 105.1 kB / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002117/0.7205, allocations: 0.7194 MB / 1.102 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of SimCode: time 2.41e-07/0.7205, allocations: 0 / 1.102 GB, free: 13.65 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe 2>&1)