Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.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.From_BtuPerHour,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_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.0.1-maint.8.0.x/package.mo): time 1.291/1.291, allocations: 285.5 MB / 292.8 MB, free: 10.54 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.0009289/0.000929, allocations: 179.5 kB / 361.1 MB, free: 7.125 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.31 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.0007329/0.0007329, allocations: 95.27 kB / 0.7326 GB, free: 44.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1702/0.171, allocations: 121.4 MB / 0.8511 GB, free: 2.926 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.395/0.566, allocations: 115.3 MB / 0.9638 GB, free: 78.08 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1245/0.6905, allocations: 136.8 MB / 1.097 GB, free: 3.328 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001746/0.6907, allocations: 69.14 kB / 1.097 GB, free: 3.262 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.002671/0.6934, allocations: 1.203 MB / 1.099 GB, free: 2.047 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.6934, allocations: 17.38 kB / 1.099 GB, free: 2.031 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.25e-05/0.6934, allocations: 11.81 kB / 1.099 GB, free: 2.02 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.6936, allocations: 174.9 kB / 1.099 GB, free: 1.809 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.766e-06/0.6936, allocations: 0 / 1.099 GB, free: 1.809 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.14e-05/0.6936, allocations: 6.266 kB / 1.099 GB, free: 1.805 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.553e-05/0.6937, allocations: 39.98 kB / 1.099 GB, free: 1.766 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001068/0.6938, allocations: 83.94 kB / 1.099 GB, free: 1.672 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.782e-06/0.6938, allocations: 0 / 1.099 GB, free: 1.672 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/0.6938, allocations: 5.5 kB / 1.099 GB, free: 1.668 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.6939, allocations: 0 / 1.099 GB, free: 1.668 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004517/0.6943, allocations: 414.4 kB / 1.099 GB, free: 1.227 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.094e-05/0.6944, allocations: 44.55 kB / 1.099 GB, free: 1.168 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.774e-05/0.6944, allocations: 18.47 kB / 1.099 GB, free: 1.145 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.552e-06/0.6944, allocations: 0.5 kB / 1.099 GB, free: 1.145 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.737e-05/0.6944, allocations: 31.22 kB / 1.099 GB, free: 1.105 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.6944, allocations: 1 kB / 1.099 GB, free: 1.105 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001393/0.6946, allocations: 54.81 kB / 1.099 GB, free: 1.047 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.124e-05/0.6946, allocations: 77.8 kB / 1.099 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.682e-05/0.6947, allocations: 124.9 kB / 1.1 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.048e-05/0.6948, allocations: 26.2 kB / 1.1 GB, free: 0.793 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.486e-05/0.6948, allocations: 108.6 kB / 1.1 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.802e-06/0.6948, allocations: 9.219 kB / 1.1 GB, free: 0.6758 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-06/0.6948, allocations: 0 / 1.1 GB, free: 0.6758 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.346e-05/0.6949, allocations: 321.4 kB / 1.1 GB, free: 364 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.588e-05/0.695, allocations: 4.5 kB / 1.1 GB, free: 360 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.197e-05/0.695, allocations: 19.81 kB / 1.1 GB, free: 336 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.307e-05/0.695, allocations: 12 kB / 1.1 GB, free: 324 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.695, allocations: 0 / 1.1 GB, free: 324 kB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.302e-05/0.6951, allocations: 63.91 kB / 1.1 GB, free: 256 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.879e-06/0.6951, allocations: 4 kB / 1.1 GB, free: 252 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.6951, allocations: 0.7812 kB / 1.1 GB, free: 252 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.6951, allocations: 8.438 kB / 1.1 GB, free: 248 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.862e-05/0.6952, allocations: 7.938 kB / 1.1 GB, free: 240 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.416e-06/0.6952, allocations: 0.5625 kB / 1.1 GB, free: 240 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.568e-05/0.6953, allocations: 12.73 kB / 1.1 GB, free: 228 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.339e-06/0.6953, allocations: 0.5 kB / 1.1 GB, free: 228 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.074e-05/0.6953, allocations: 102.2 kB / 1.1 GB, free: 120 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.363e-05/0.6954, allocations: 7.906 kB / 1.1 GB, free: 112 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.254e-05/0.6954, allocations: 12.11 kB / 1.1 GB, free: 104 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.6954, allocations: 1.438 kB / 1.1 GB, free: 104 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.6954, allocations: 3.938 kB / 1.1 GB, free: 100 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.6954, allocations: 0 / 1.1 GB, free: 100 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003516/0.6958, allocations: 455.7 kB / 1.101 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.6958, allocations: 0 / 1.101 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.441e-05/0.6958, allocations: 4 kB / 1.101 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.6958, allocations: 4.75 kB / 1.101 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.6958, allocations: 7.938 kB / 1.101 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.6958, allocations: 3.672 kB / 1.101 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.6959, allocations: 0 / 1.101 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.26e-05/0.6959, allocations: 91.52 kB / 1.101 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001681/0.6961, allocations: 464.1 kB / 1.101 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.155e-05/0.6962, allocations: 92.94 kB / 1.101 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.206e-05/0.6962, allocations: 0 / 1.101 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.424e-05/0.6962, allocations: 4 kB / 1.101 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.051e-05/0.6962, allocations: 4.922 kB / 1.101 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-06/0.6962, allocations: 4 kB / 1.101 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.169e-05/0.6963, allocations: 105.1 kB / 1.101 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007062/0.697, allocations: 11.91 kB / 1.102 GB, free: 14.75 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 8.952e-05/0.6971, allocations: 103 kB / 1.102 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.738e-05/0.6972, allocations: 16 kB / 1.102 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.6972, allocations: 0 / 1.102 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.194e-05/0.6972, allocations: 7.938 kB / 1.102 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.188e-05/0.6973, allocations: 16.23 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002263/0.6975, allocations: 101.2 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002448/0.6978, allocations: 0.7152 MB / 1.102 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of SimCode: time 2.3e-07/0.6978, allocations: 0 / 1.102 GB, free: 13.74 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1)