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_Btu.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_Btu,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu",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.298/1.298, allocations: 285.5 MB / 292.8 MB, free: 10.47 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.0009754/0.0009756, allocations: 187.2 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 0.9923/0.9923, allocations: 205.1 MB / 0.6195 GB, free: 10.35 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.000792/0.000792, allocations: 89.69 kB / 0.7325 GB, free: 44.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1735/0.1743, allocations: 121.4 MB / 0.8511 GB, free: 2.914 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3975/0.5718, allocations: 115.3 MB / 0.9638 GB, free: 78.04 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1272/0.6991, allocations: 136.8 MB / 1.097 GB, free: 3.27 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001653/0.6993, allocations: 59.97 kB / 1.097 GB, free: 3.211 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.002684/0.702, allocations: 1.208 MB / 1.099 GB, free: 1.988 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.079e-05/0.7021, allocations: 9.062 kB / 1.099 GB, free: 1.98 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.406e-05/0.7021, allocations: 15.81 kB / 1.099 GB, free: 1.965 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/0.7022, allocations: 175.5 kB / 1.099 GB, free: 1.754 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.7022, allocations: 5.312 kB / 1.099 GB, free: 1.75 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.008e-05/0.7023, allocations: 4.719 kB / 1.099 GB, free: 1.746 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.108e-05/0.7023, allocations: 32.66 kB / 1.099 GB, free: 1.715 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001032/0.7025, allocations: 84.72 kB / 1.099 GB, free: 1.621 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.851e-06/0.7025, allocations: 0.8438 kB / 1.099 GB, free: 1.621 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.7025, allocations: 3.984 kB / 1.099 GB, free: 1.617 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.7025, allocations: 4.625 kB / 1.099 GB, free: 1.613 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004433/0.7029, allocations: 413.6 kB / 1.099 GB, free: 1.172 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.36e-05/0.703, allocations: 43.88 kB / 1.099 GB, free: 1.113 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.341e-05/0.703, allocations: 17.44 kB / 1.099 GB, free: 1.094 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.542e-06/0.703, allocations: 0 / 1.099 GB, free: 1.094 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.729e-05/0.7031, allocations: 36.05 kB / 1.099 GB, free: 1.051 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.7031, allocations: 0.5938 kB / 1.099 GB, free: 1.051 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001362/0.7032, allocations: 50.22 kB / 1.099 GB, free: 0.9961 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/0.7032, allocations: 81.8 kB / 1.099 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.654e-05/0.7033, allocations: 124.1 kB / 1.1 GB, free: 0.7695 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.197e-06/0.7034, allocations: 26.33 kB / 1.1 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.405e-05/0.7034, allocations: 108.7 kB / 1.1 GB, free: 0.6289 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.362e-06/0.7034, allocations: 7.906 kB / 1.1 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-06/0.7034, allocations: 0.5312 kB / 1.1 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.539e-05/0.7035, allocations: 322.2 kB / 1.1 GB, free: 308 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.7e-05/0.7035, allocations: 8 kB / 1.1 GB, free: 300 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.084e-05/0.7036, allocations: 18.62 kB / 1.1 GB, free: 276 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.275e-05/0.7036, allocations: 9.375 kB / 1.1 GB, free: 268 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.7036, allocations: 0 / 1.1 GB, free: 268 kB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.744e-05/0.7037, allocations: 62.06 kB / 1.1 GB, free: 200 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.458e-06/0.7037, allocations: 4.719 kB / 1.1 GB, free: 196 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.7037, allocations: 0 / 1.1 GB, free: 196 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.655e-06/0.7037, allocations: 1 kB / 1.1 GB, free: 196 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.232e-05/0.7038, allocations: 10.34 kB / 1.1 GB, free: 188 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.7038, allocations: 2.781 kB / 1.1 GB, free: 188 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.005e-05/0.7038, allocations: 13.22 kB / 1.1 GB, free: 176 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.7038, allocations: 4 kB / 1.1 GB, free: 172 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.48e-05/0.7039, allocations: 108.3 kB / 1.1 GB, free: 60 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.485e-05/0.7039, allocations: 12.48 kB / 1.1 GB, free: 48 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.322e-05/0.704, allocations: 8.469 kB / 1.1 GB, free: 44 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.704, allocations: 4 kB / 1.1 GB, free: 40 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.704, allocations: 0 / 1.1 GB, free: 40 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.704, allocations: 1.062 kB / 1.1 GB, free: 40 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003039/0.7043, allocations: 452 kB / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.7043, allocations: 0.5156 kB / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.53e-05/0.7043, allocations: 7.938 kB / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.7044, allocations: 0 / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.619e-06/0.7044, allocations: 0 / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.7044, allocations: 4 kB / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.7044, allocations: 0 / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.642e-05/0.7045, allocations: 92.64 kB / 1.101 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001447/0.7046, allocations: 468 kB / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.916e-05/0.7047, allocations: 89.02 kB / 1.101 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.262e-05/0.7047, allocations: 4.719 kB / 1.101 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.201e-05/0.7047, allocations: 0 / 1.101 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.423e-05/0.7047, allocations: 11.89 kB / 1.101 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-06/0.7047, allocations: 0 / 1.101 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.556e-05/0.7048, allocations: 102.6 kB / 1.101 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007099/0.7055, allocations: 13.41 kB / 1.101 GB, free: 14.7 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.517e-05/0.7056, allocations: 103 kB / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.051e-05/0.7057, allocations: 20 kB / 1.102 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.7057, allocations: 0 / 1.102 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.385e-05/0.7057, allocations: 11.94 kB / 1.102 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.783e-05/0.7058, allocations: 0 / 1.102 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002265/0.706, allocations: 109.1 kB / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002135/0.7063, allocations: 0.7116 MB / 1.102 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of SimCode: time 2.4e-07/0.7063, allocations: 3.938 kB / 1.102 GB, free: 13.68 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1)