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_bar.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_bar,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_bar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_bar,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_bar",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.302/1.302, allocations: 285.5 MB / 292.8 MB, free: 10.43 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.0009075/0.0009075, allocations: 183.5 kB / 361.1 MB, free: 7.094 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.021/1.021, allocations: 205.1 MB / 0.6195 GB, free: 11.95 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.0007675/0.0007675, allocations: 88.42 kB / 0.7326 GB, free: 44.5 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1766/0.1774, allocations: 121.4 MB / 0.8511 GB, free: 3.148 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4038/0.5812, allocations: 115.3 MB / 0.9638 GB, free: 77.86 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.13/0.7112, allocations: 136.8 MB / 1.097 GB, free: 3.395 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001667/0.7114, allocations: 64.58 kB / 1.097 GB, free: 3.332 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.002638/0.714, allocations: 1.208 MB / 1.099 GB, free: 2.109 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.043e-05/0.7141, allocations: 8.5 kB / 1.099 GB, free: 2.102 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.115e-05/0.7141, allocations: 12.31 kB / 1.099 GB, free: 2.09 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/0.7143, allocations: 183.5 kB / 1.099 GB, free: 1.871 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.7143, allocations: 4 kB / 1.099 GB, free: 1.867 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.102e-05/0.7143, allocations: 5.688 kB / 1.099 GB, free: 1.863 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.063e-05/0.7144, allocations: 33.75 kB / 1.099 GB, free: 1.832 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001091/0.7145, allocations: 84.09 kB / 1.099 GB, free: 1.738 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.7145, allocations: 0.5312 kB / 1.099 GB, free: 1.738 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.836e-06/0.7145, allocations: 0.5938 kB / 1.099 GB, free: 1.738 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.7145, allocations: 4 kB / 1.099 GB, free: 1.734 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004291/0.715, allocations: 414.1 kB / 1.099 GB, free: 1.293 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.057e-05/0.715, allocations: 37.94 kB / 1.099 GB, free: 1.238 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.445e-05/0.7151, allocations: 21.39 kB / 1.099 GB, free: 1.215 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.293e-06/0.7151, allocations: 0.5625 kB / 1.099 GB, free: 1.215 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.659e-05/0.7151, allocations: 35.12 kB / 1.099 GB, free: 1.172 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.362e-06/0.7151, allocations: 0.5625 kB / 1.099 GB, free: 1.172 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001336/0.7152, allocations: 51.19 kB / 1.099 GB, free: 1.117 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.939e-05/0.7153, allocations: 77.11 kB / 1.099 GB, free: 1.023 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.909e-05/0.7154, allocations: 129.2 kB / 1.1 GB, free: 0.8906 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.365e-06/0.7154, allocations: 25.7 kB / 1.1 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.221e-05/0.7154, allocations: 108.6 kB / 1.1 GB, free: 0.75 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.561e-06/0.7154, allocations: 5.125 kB / 1.1 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-06/0.7155, allocations: 0 / 1.1 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.752e-05/0.7155, allocations: 325.5 kB / 1.1 GB, free: 432 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.63e-05/0.7156, allocations: 12.84 kB / 1.1 GB, free: 420 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.032e-05/0.7156, allocations: 17.72 kB / 1.1 GB, free: 396 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.958e-05/0.7156, allocations: 4 kB / 1.1 GB, free: 392 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.7156, allocations: 0 / 1.1 GB, free: 392 kB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.021e-05/0.7157, allocations: 61.53 kB / 1.1 GB, free: 324 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.828e-06/0.7157, allocations: 8 kB / 1.1 GB, free: 316 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.7157, allocations: 0.8125 kB / 1.1 GB, free: 316 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.524e-06/0.7157, allocations: 4.219 kB / 1.1 GB, free: 312 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.155e-05/0.7158, allocations: 8 kB / 1.1 GB, free: 304 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.527e-06/0.7158, allocations: 4.781 kB / 1.1 GB, free: 300 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.768e-05/0.7158, allocations: 7.844 kB / 1.1 GB, free: 292 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.7159, allocations: 0 / 1.1 GB, free: 292 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 4.76e-05/0.7159, allocations: 105 kB / 1.1 GB, free: 180 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.301e-05/0.716, allocations: 3.906 kB / 1.1 GB, free: 176 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.334e-05/0.716, allocations: 19.52 kB / 1.1 GB, free: 160 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.716, allocations: 2.125 kB / 1.1 GB, free: 160 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.716, allocations: 4 kB / 1.1 GB, free: 156 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.716, allocations: 5.125 kB / 1.1 GB, free: 152 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003006/0.7163, allocations: 448 kB / 1.101 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.7163, allocations: 0 / 1.101 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.609e-05/0.7164, allocations: 7.938 kB / 1.101 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.7164, allocations: 0 / 1.101 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.88e-06/0.7164, allocations: 0 / 1.101 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.7164, allocations: 4.062 kB / 1.101 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.552e-06/0.7164, allocations: 0 / 1.101 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.309e-05/0.7165, allocations: 88.64 kB / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001604/0.7166, allocations: 476 kB / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.652e-05/0.7167, allocations: 89.02 kB / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.7167, allocations: 0 / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.161e-05/0.7167, allocations: 0 / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.278e-05/0.7167, allocations: 5.594 kB / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.7167, allocations: 4 kB / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.857e-05/0.7168, allocations: 103.3 kB / 1.101 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007106/0.7175, allocations: 15.91 kB / 1.101 GB, free: 14.81 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 7.987e-05/0.7176, allocations: 99.03 kB / 1.102 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.059e-05/0.7177, allocations: 19.98 kB / 1.102 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.7177, allocations: 0 / 1.102 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.488e-05/0.7177, allocations: 15.69 kB / 1.102 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.669e-05/0.7178, allocations: 2.75 kB / 1.102 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002249/0.718, allocations: 113.4 kB / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002103/0.7182, allocations: 0.7113 MB / 1.102 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of SimCode: time 2.3e-07/0.7182, allocations: 0 / 1.102 GB, free: 13.8 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_bar_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_bar.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe 2>&1)